/* ═══════════════════════════════════════════
   ASL Minecraft — Speedrun
   Vychádza zo štýlu amateurslovakleague.sk (Dark Brutalist Esport)
═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black:    #050507;
    --deep:     #0a0a0f;
    --panel:    #0f0f18;
    --border:   #1e1e2e;
    --neon:     #22c55e;
    --neon-dim: rgba(34, 197, 94, 0.12);
    --neon-glow:0 0 20px rgba(34, 197, 94, 0.4), 0 0 60px rgba(34, 197, 94, 0.15);
    --red:      #e3242b;
    --purple:   #3b2a55;
    --white:    #f0f0f5;
    --muted:    #6b6b80;
    --font-hero:'Bebas Neue', sans-serif;
    --font-body:'Barlow Condensed', sans-serif;
    --font-mono:'Space Mono', monospace;
    --font-pixel:'Silkscreen', monospace;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    max-width: 100vw;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--neon); }

.pixel { font-family: var(--font-pixel); }
.text-neon { color: var(--neon); }

/* ── NAV ── */
.main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 3rem; height: 64px;
    background: rgba(5,5,7,0.93);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.logo-link { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--white); }
.logo-img { height: 34px; image-rendering: pixelated; filter: drop-shadow(0 0 1px rgba(255,255,255,0.35)); }
.logo-text { display: flex; align-items: flex-end; gap: 0.6rem; line-height: 1; }
.logo-asl { height: 20px; width: auto; image-rendering: pixelated; display: block; }
.logo-text .pixel { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; line-height: 0.8; }

.nav-links { display: flex; list-style: none; }
.nav-links a {
    display: block; padding: 0 1.1rem; height: 64px; line-height: 64px;
    color: var(--muted); text-decoration: none;
    font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.03); }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer; padding: 0.5rem; }

.btn-social {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.45rem 1rem; color: #fff; text-decoration: none;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: opacity 0.2s, transform 0.15s;
}
.btn-social:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-discord { background: #5865F2; }

/* ── SECTION UTILS ── */
.section-label {
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--neon); display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
}
.section-label::before { content: '//'; opacity: 0.5; }
.section-title { font-family: var(--font-hero); font-size: clamp(3rem, 5vw, 5.5rem); line-height: 0.95; text-transform: uppercase; }

/* ── HERO ── */
.hero-section {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr; align-items: center;
    padding: 120px 3rem 4rem;
    position: relative; overflow: hidden;
}
/* pixelová mriežka namiesto jemných čiar — "bloky" */
.hero-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 60% 70% at 70% 50%, rgba(34, 197, 94,0.08) 0%, transparent 70%),
        repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(255,255,255,0.02) 48px),
        repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(255,255,255,0.02) 48px);
}
.hero-bg-text {
    position: absolute; top: 50%; left: -2rem; transform: translateY(-50%);
    font-family: var(--font-hero); font-size: clamp(10rem, 20vw, 22rem);
    color: rgba(255,255,255,0.018); line-height: 1;
    pointer-events: none; user-select: none; white-space: nowrap;
}
.hero-content { position: relative; z-index: 2; }

.hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.3rem 0.8rem; border: 1px solid var(--neon); color: var(--neon);
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--neon); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-title {
    font-family: var(--font-hero); font-size: clamp(4rem, 9vw, 9rem);
    line-height: 0.92; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--neon); }
.hero-title .stroke { -webkit-text-stroke: 2px var(--white); color: transparent; }

.hero-subtitle { font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 2.5rem; }

.hero-cta { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.cta-primary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 2.2rem; background: var(--neon); color: var(--black);
    font-weight: 900; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: box-shadow 0.3s, transform 0.2s;
}
.cta-primary:hover { box-shadow: var(--neon-glow); transform: translateY(-2px); }
.cta-secondary {
    color: var(--muted); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s;
}
.cta-secondary:hover { color: var(--white); }
.cta-secondary::after { content: '→'; }

.hero-image-area { display: flex; justify-content: center; align-items: center; position: relative; z-index: 2; }
.hero-logo-wrap {
    position: relative; width: 520px; max-width: 100%; aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
}
.hero-logo-wrap::before {
    content: ''; position: absolute; inset: -2px;
    border: 1px solid rgba(34, 197, 94, 0.18);
    clip-path: polygon(30px 0%, 100% 0%, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0% 100%, 0% 30px);
}
.hero-logo-wrap::after {
    content: ''; position: absolute; inset: 20px;
    background: radial-gradient(circle, rgba(34,197,94,0.10) 0%, transparent 70%);
}
.hero-img {
    width: 66%; height: auto; position: relative; z-index: 2;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.25)) drop-shadow(0 0 30px rgba(34, 197, 94, 0.35));
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* speedrun časomiera */
.timer {
    position: absolute; right: -10px; bottom: 28px; z-index: 3;
    display: flex; align-items: baseline; gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--neon);
}
.timer-label { font-family: var(--font-pixel); font-size: 0.7rem; color: var(--muted); }
.timer-value { font-family: var(--font-pixel); font-size: 1.3rem; color: var(--white); font-variant-numeric: tabular-nums; min-width: 9ch; }

/* ── ABOUT ── */
.about-section {
    padding: 7rem 3rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
    border-top: 1px solid var(--border); position: relative; overflow: hidden;
}
.about-section::after {
    content: 'MC'; position: absolute; right: -1rem; top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: var(--font-hero); font-size: 12rem; color: rgba(255,255,255,0.02); pointer-events: none;
}
.about-text-block p { font-size: 1.05rem; line-height: 1.7; color: rgba(240,240,245,0.65); font-weight: 300; margin-top: 1.5rem; max-width: 52ch; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.stat-block { background: var(--panel); padding: 2rem 1.5rem; position: relative; overflow: hidden; transition: background 0.3s; }
.stat-block:hover { background: var(--neon-dim); }
.stat-block.span2 { grid-column: 1 / -1; }
.stat-block::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--neon); transition: height 0.4s ease; }
.stat-block:hover::before { height: 100%; }
.stat-number { display: block; font-family: var(--font-hero); font-size: 3.5rem; line-height: 1; margin-bottom: 0.4rem; }
.stat-number.pixel { font-family: var(--font-pixel); font-size: 2.6rem; }
.stat-desc { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ── LEADERBOARD ── */
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
    margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.lb-section { padding: 7rem 3rem; border-top: 1px solid var(--border); }
.lb-count { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.lb-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.lb-row {
    display: grid; grid-template-columns: 60px 1fr 180px 120px 150px;
    align-items: center; gap: 1rem;
    padding: 1rem 1.5rem; background: var(--panel);
    position: relative; transition: background 0.2s;
}
.lb-row:not(.lb-head):hover { background: var(--neon-dim); }
.lb-head {
    background: var(--deep); padding-top: 0.8rem; padding-bottom: 0.8rem;
    font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.lb-right { text-align: right; }

.lb-pos { font-size: 1.1rem; color: var(--muted); }
.lb-player { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.lb-head-img { width: 32px; height: 32px; flex: none; image-rendering: pixelated; display: block; }
.lb-head-empty { background: repeating-conic-gradient(var(--border) 0 25%, var(--deep) 0 50%) 0 0 / 16px 16px; }
.lb-name { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-flag { font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); border: 1px solid var(--border); padding: 0.1rem 0.35rem; }
.lb-cat, .lb-date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.05em; }
.lb-time { font-size: 1.15rem; color: var(--neon); font-variant-numeric: tabular-nums; }

/* top 3 — zlato, striebro, bronz */
.lb-top::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.lb-top-1::before { background: #eab308; } .lb-top-1 .lb-pos { color: #eab308; }
.lb-top-2::before { background: #cbd5e1; } .lb-top-2 .lb-pos { color: #cbd5e1; }
.lb-top-3::before { background: #c2410c; } .lb-top-3 .lb-pos { color: #ea7a3c; }

.lb-empty .lb-name, .lb-empty .lb-time { color: var(--muted); opacity: 0.55; }
.lb-note { background: var(--panel); padding: 1rem 1.5rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; }

/* ── NAV: registrácia ── */
.btn-reg {
    padding: 0.45rem 1.2rem; background: var(--neon); color: var(--black);
    font-weight: 900; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: box-shadow 0.2s, transform 0.15s;
}
.btn-reg:hover { box-shadow: var(--neon-glow); transform: translateY(-1px); }

/* ── PODSTRÁNKY ── */
.page-section { padding: 4rem 3rem; border-top: 1px solid var(--border); }
.page-section.page-first { padding-top: 120px; border-top: none; }

.reg-state { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.35rem 0.8rem; border: 1px solid currentColor; white-space: nowrap; }
.reg-state.is-open { color: var(--neon); }
.reg-state.is-closed { color: var(--muted); }

/* hlášky */
.flash { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--muted); padding: 1.1rem 1.4rem; margin-bottom: 2rem; }
.flash p { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.02em; }
.flash-success { border-left-color: var(--neon); }
.flash-success > p:first-child { color: var(--neon); }
.flash-info { border-left-color: #eab308; }
.flash-error { border-left-color: var(--red); }
.flash-error > p:first-child { color: #ff6b70; }
.flash .flash-sub { font-size: 0.9rem; font-weight: 400; color: var(--muted); margin-top: 0.8rem; }
.copy-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.copy-row .input { font-family: var(--font-mono); font-size: 0.75rem; }

/* kvalifikácie */
.q-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.q-card { background: var(--panel); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; position: relative; color: inherit; text-decoration: none; transition: background 0.2s; }
.q-card:hover { background: var(--neon-dim); }
.q-top { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.q-num { font-size: 0.85rem; color: var(--neon); }
.q-badge { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.15rem 0.5rem; border: 1px solid currentColor; }
.q-badge.is-open { color: var(--neon); }
.q-badge.is-full { color: #eab308; }
.q-badge.is-closed { color: var(--muted); }
.q-name { font-family: var(--font-hero); font-size: 2rem; line-height: 1; letter-spacing: 0.02em; font-weight: 400; }
.q-meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.q-meta i { margin-right: 0.3rem; }
.q-cap { display: flex; align-items: center; gap: 0.8rem; }
.q-bar { flex: 1; height: 8px; background: var(--deep); border: 1px solid var(--border); }
.q-bar span { display: block; height: 100%; background: var(--neon); }
.q-count { font-size: 0.85rem; white-space: nowrap; }
.q-link { margin-top: auto; color: var(--muted); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: color 0.2s; }
.q-link::after { content: ' →'; }
.q-card:hover .q-link, .q-link:hover { color: var(--white); }
.q-playoff { justify-content: center; border-left: 3px solid #eab308; }
.q-playoff .q-num { color: #eab308; }

/* formulár */
.form-card { max-width: 640px; background: var(--panel); border: 1px solid var(--border); padding: 2.5rem 2rem; position: relative; }
.form-card::before { content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--neon); }
.form-title { font-family: var(--font-hero); font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 0.95; text-transform: uppercase; font-weight: 400; margin-bottom: 1rem; }
.form-text { color: rgba(240,240,245,0.7); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.5rem; }
.form-text a { text-decoration: none; }
.form-closed { font-family: var(--font-mono); font-size: 0.95rem; color: var(--muted); margin-bottom: 0; }
.reg-form { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.field { display: flex; flex-direction: column; gap: 0.45rem; width: 100%; }
.field-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.input {
    width: 100%; background: var(--deep); color: var(--white);
    border: 1px solid var(--border); padding: 0.8rem 1rem;
    font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.03em;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s; border-radius: 0;
}
.input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-dim); }
select.input { appearance: none; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
button.cta-primary { border: none; cursor: pointer; }
button.cta-primary:disabled { cursor: wait; }
.cta-danger { background: var(--red); color: var(--white); }
.cta-danger:hover { box-shadow: 0 0 20px rgba(227,36,43,0.4); }
.cta-inline { display: inline-flex; margin-left: 1.2rem; }
.btn-ghost { background: none; border: 1px solid var(--border); color: var(--white); padding: 0 1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }

/* ── LIVE stav ── */
.reg-state.is-live, .q-badge.is-live { color: var(--red); display: inline-flex; align-items: center; gap: 0.45rem; }
.reg-state.is-live::before, .q-badge.is-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: live-pulse 1.2s infinite; }
@keyframes live-pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(227,36,43,0.6); } 50% { opacity: 0.5; box-shadow: 0 0 0 5px rgba(227,36,43,0); } }
.q-badge.is-done { color: var(--muted); }
.q-card.q-live { box-shadow: inset 3px 0 0 var(--red); }
.q-card.q-live .q-link { color: var(--white); }
.q-link-off { color: var(--muted); opacity: 0.6; }
.q-link-off::after { content: ''; }

/* zoznam hráčov — tlačidlo + popup */
.q-players-btn {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem;
    background: none; border: 1px solid var(--border); color: var(--white); cursor: pointer;
    padding: 0.45rem 0.9rem; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
    letter-spacing: 0.1em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s;
}
.q-players-btn:hover { border-color: var(--neon); color: var(--neon); }
.q-players-btn .pixel { font-size: 0.75rem; color: var(--muted); }

.players-dialog {
    margin: auto; width: min(760px, calc(100vw - 2rem)); max-height: min(80vh, 760px);
    background: var(--panel); color: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--neon);
    padding: 1.6rem 1.6rem 1.2rem; overflow: hidden; flex-direction: column; gap: 1rem;
}
.players-dialog[open] { display: flex; animation: pd-in 0.18s ease-out; }
.players-dialog::backdrop { background: rgba(5,5,7,0.8); backdrop-filter: blur(4px); }
@keyframes pd-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pd-head .section-label { margin-bottom: 0.3rem; }
.pd-title { font-family: var(--font-hero); font-size: 2.4rem; line-height: 1; font-weight: 400; letter-spacing: 0.02em; }
.pd-close { background: none; border: 1px solid var(--border); color: var(--muted); width: 38px; height: 38px; flex: none; cursor: pointer; font-size: 1.1rem; transition: color 0.2s, border-color 0.2s; }
.pd-close:hover { color: var(--white); border-color: var(--white); }
.pd-search { font-size: 1rem; padding: 0.6rem 0.9rem; }
.pd-list {
    list-style: none; overflow-y: auto; min-height: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.pd-list li { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.8rem; background: var(--deep); min-width: 0; }
.pd-list li[hidden] { display: none; }
.pd-list li img { image-rendering: pixelated; flex: none; }
.pd-list li.is-wait { opacity: 0.7; }
.pd-pos { font-size: 0.7rem; color: var(--muted); width: 1.8rem; flex: none; }
.pd-empty { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.q-pname { font-weight: 700; letter-spacing: 0.03em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-pelo { font-size: 0.7rem; color: var(--muted); }
.q-pwait { font-family: var(--font-mono); font-size: 0.6rem; color: #eab308; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 600px) {
    .pd-list { grid-template-columns: 1fr; }
    .players-dialog { padding: 1.2rem 1rem 1rem; }
    .pd-title { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .reg-state.is-live::before, .q-badge.is-live::before { animation: none; } }

/* ── FOOTER ── */
.footer { padding: 2rem 3rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-copyright { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }
.copyright-link { color: var(--neon); text-decoration: none; }
.footer-neon-line { width: 100px; height: 1px; background: linear-gradient(to right, transparent, var(--neon), transparent); }
.footer-tagline { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .main-nav { padding: 0 1rem; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        flex-direction: column; background: rgba(5,5,7,0.98); border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links a { height: 52px; line-height: 52px; padding: 0 1.5rem; }

    .hero-section { grid-template-columns: 1fr; padding: 100px 1rem 3rem; gap: 3rem; text-align: left; }
    .hero-image-area { order: -1; }
    .hero-logo-wrap { width: 320px; }
    .timer { right: 0; bottom: 10px; }
    .timer-value { font-size: 1rem; }

    .about-section { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1rem; }
    .lb-section { padding: 5rem 1rem; }
    .lb-row { grid-template-columns: 36px 1fr auto; padding: 0.85rem 1rem; gap: 0.75rem; }
    .lb-hide-sm { display: none; }
    .lb-name { font-size: 1rem; }
    .lb-time { font-size: 0.95rem; }
    .page-section { padding: 3rem 1rem; }
    .page-section.page-first { padding-top: 96px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .form-card { padding: 2rem 1.25rem; }
    .btn-reg { display: none; }
    .copy-row { flex-direction: column; }
    .btn-ghost { padding: 0.6rem 1rem; }
    .cta-inline { margin: 1rem 0 0; }
    .footer { flex-direction: column; text-align: center; padding: 2rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-img, .hero-tag::before { animation: none; }
}
