:root {
    --bg: #0d1117;
    --surface: #121924;
    --surface-2: #17202c;
    --border: rgba(64, 159, 255, 0.14);
    --border-strong: rgba(64, 159, 255, 0.35);
    --accent: #409fff;
    --accent-dim: #2277dd;
    --accent-glow: rgba(64, 159, 255, 0.35);
    --text: #e0e6ed;
    --muted: #8b949e;
    --muted-2: #566170;
    --danger: #f85149;
    --gold: #ffc857;
    --silver: #c7d0cc;
    --bronze: #d98a4a;
    --sidebar-w: 250px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    position: relative;
}

/* grain + grid texture, echoes the panel aesthetic */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(64, 159, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(64, 159, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }

::selection { background: var(--accent); color: #0d1117; }

/* ---------- Sidebar Nav ---------- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-w);
    background: var(--surface);
    border-right: 1px solid var(--border);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 28px 20px;
}

.side-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 6px 26px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.side-brand .mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(64, 159, 255, 0.08);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.side-brand .name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.2px;
}

.side-brand .name span { color: var(--accent); }

.side-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 14px;
    border-radius: 10px;
    border-left: 2px solid transparent;
    transition: 0.15s ease;
}

.side-nav a i { width: 16px; text-align: center; font-size: 13px; }

.side-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.side-nav a.current {
    color: var(--accent);
    background: rgba(64, 159, 255, 0.07);
    border-left-color: var(--accent);
}

.side-foot {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.side-ip {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: 0.15s ease;
}

.side-ip:hover { border-color: var(--border-strong); }

.side-ip .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.side-ip .ip-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    word-break: break-all;
}

/* Mobile topbar */
.topbar {
    display: none;
}

.mobile-menu {
    display: none;
}

/* ---------- Layout shell ---------- */
.shell {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ---------- Hero ---------- */
.hero {
    padding: 90px 60px 60px;
    max-width: 980px;
    position: relative;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    background: rgba(64, 159, 255, 0.08);
    border: 1px solid var(--border-strong);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.hero-title .accent { color: var(--accent); }
.hero-title .outline {
    -webkit-text-stroke: 1.5px var(--muted-2);
    color: transparent;
}

.hero-sub {
    font-size: 16.5px;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-core {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #0d1117;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    padding: 15px 30px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: 0.2s ease;
    box-shadow: 0 0 0 rgba(0,245,147,0);
}

.btn-core:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    padding: 15px 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: 0.2s ease;
}

.btn-ghost:hover { border-color: var(--border-strong); background: rgba(64, 159, 255, 0.04); }

/* Reactor core signature graphic */
.core-graphic {
    position: absolute;
    top: 40px;
    right: 30px;
    width: 320px;
    height: 320px;
    opacity: 0.9;
}

@media (max-width: 1200px) {
    .core-graphic { display: none; }
}

.ring {
    fill: none;
    stroke: var(--border-strong);
    stroke-width: 1;
}

.ring-glow {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.4;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

.core-center {
    fill: var(--accent);
    filter: drop-shadow(0 0 14px var(--accent));
}

.spin-slow { animation: spin 40s linear infinite; transform-origin: center; }
.spin-slow-rev { animation: spin-rev 55s linear infinite; transform-origin: center; }
.spin-fast { animation: spin 18s linear infinite; transform-origin: center; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-rev { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

@keyframes core-pulse {
    0%, 100% { r: 7; opacity: 1; }
    50% { r: 10; opacity: 0.75; }
}
.core-pulse { animation: core-pulse 2.4s ease-in-out infinite; transform-origin: center; }

/* ---------- Stat strip ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 0 60px;
}

.stat-cell {
    padding: 22px 24px;
    border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }

.stat-cell .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-cell .lbl {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ---------- Section shared ---------- */
.section {
    padding: 70px 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 34px;
}

.section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    padding: 70px 60px 20px;
    max-width: 1440px;
    margin: 0 auto;
}

.page-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.page-lede {
    font-size: 16px;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.7;
}

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: 0.2s ease;
}

.card:hover { border-color: var(--border-strong); }

/* ---------- Rules ---------- */
.rules-wrap {
    padding: 20px 60px 80px;
    max-width: 1440px;
    margin: 0 auto;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rules-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 32px;
}

.rules-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.rules-card-head .idx {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    background: rgba(64, 159, 255, 0.08);
    border: 1px solid var(--border-strong);
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rules-card-head h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.rules-list { list-style: none; columns: 1; }

.rules-list li {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.rules-list li:last-child { border-bottom: none; }

.rules-list li::before {
    content: "\2715";
    color: var(--danger);
    font-size: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

.rules-note {
    margin-top: 24px;
    background: rgba(64, 159, 255, 0.05);
    border: 1px dashed var(--border-strong);
    border-radius: 14px;
    padding: 18px 22px;
    font-size: 13.5px;
    color: var(--muted);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rules-note i { color: var(--accent); margin-top: 2px; }

/* ---------- Status ---------- */
.status-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 26px;
    border-bottom: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
}
.status-row:last-child { border-bottom: none; }

.status-label { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: 1px; }
.status-value { color: var(--text); font-weight: 600; text-align: right; }
.status-online { color: var(--accent); background: rgba(64, 159, 255, 0.1); padding: 3px 14px; border-radius: 20px; }
.status-offline { color: var(--danger); background: rgba(255, 84, 112, 0.1); padding: 3px 14px; border-radius: 20px; }
.status-loading { color: var(--muted-2); }

.motd-box p { color: var(--text); }

/* ---------- Players ---------- */
.players-grid { display: flex; flex-wrap: wrap; gap: 10px; }

.player-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 9px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}

.player-card::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}

/* ---------- Members ---------- */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.member-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    transition: 0.2s ease;
}

.member-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }

.member-card .avatar {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: rgba(64, 159, 255, 0.08);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
}

.member-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; margin-bottom: 6px; }

.member-card .role {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent);
    background: rgba(64, 159, 255, 0.08);
    border: 1px solid var(--border-strong);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.member-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Leaderboard ---------- */
.lb-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.lb-tab {
    font-family: 'JetBrains Mono', monospace;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.15s ease;
}

.lb-tab:hover { border-color: var(--border-strong); }
.lb-tab.active { background: rgba(64, 159, 255, 0.1); color: var(--accent); border-color: var(--border-strong); }

.lb-container { display: none; flex-direction: column; gap: 10px; max-width: 640px; }
.lb-container.active { display: flex; }

.lb-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.lb-rank {
    font-family: 'JetBrains Mono', monospace;
    background: var(--surface-2);
    color: var(--muted);
    font-weight: 700;
    font-size: 12.5px;
    padding: 5px 12px;
    border-radius: 8px;
    min-width: 38px;
    text-align: center;
}

.lb-card.top-1 .lb-rank { background: var(--gold); color: #1a1200; }
.lb-card.top-2 .lb-rank { background: var(--silver); color: #16201c; }
.lb-card.top-3 .lb-rank { background: var(--bronze); color: #1a1200; }

.lb-info { display: flex; justify-content: space-between; align-items: center; flex: 1; }
.lb-name { font-weight: 700; font-size: 15px; }
.lb-stats { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); }
.lb-card.top-1 .lb-stats { color: var(--accent); }
.lb-empty { text-align: center; color: var(--muted); padding: 30px 0; font-size: 14px; }

/* ---------- Store ---------- */
.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.currency-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 10px;
}

.currency-label { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

.currency-select {
    background: rgba(64, 159, 255, 0.08);
    color: var(--accent);
    border: 1px solid var(--border-strong);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12.5px;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    appearance: none;
}

.currency-select option { background: var(--surface); color: var(--text); }

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.store-item, .rank-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 22px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.2s ease;
}

.store-item:hover, .rank-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.store-item i, .rank-card i {
    font-size: 38px;
    color: var(--accent);
    margin-bottom: 16px;
    background: rgba(64, 159, 255, 0.08);
    border: 1px solid var(--border-strong);
    padding: 16px;
    border-radius: 14px;
}

.store-item h3, .rank-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; margin-bottom: 6px; }
.store-item p, .rank-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-bottom: 18px; min-height: 40px; }

.rank-card .rank-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px;
    font-weight: 700;
    color: var(--accent);
    margin: 4px 0 12px;
}

.rank-detail {
    width: 100%;
    text-align: left;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.rank-detail-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}

.rank-detail-label:not(:first-child) { margin-top: 14px; }

.rank-detail-list {
    list-style: none;
}

.rank-detail-list li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--muted);
    padding: 3px 0;
}


.store-btn, .rank-btn {
    background: var(--accent);
    color: #0d1117;
    border: none;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    max-width: 170px;
    transition: 0.2s ease;
}

.store-btn:hover, .rank-btn:hover { transform: scale(1.04); box-shadow: 0 8px 22px var(--accent-glow); }

.price-tag { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); margin-top: 8px; }

.demo-card i { color: var(--muted); background: rgba(255, 255, 255, 0.04); border-color: var(--border); }
.demo-card .demo-title { color: var(--muted); font-style: italic; font-weight: 500; font-size: 17px; font-family: 'Space Grotesk', sans-serif; }
.demo-card .store-btn { background: var(--border); color: var(--muted); cursor: not-allowed; box-shadow: none; }
.demo-card .store-btn:hover { transform: none; box-shadow: none; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 22px;
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}

.faq-q i { color: var(--accent); font-size: 15px; width: 20px; }

.faq-a { font-size: 13.5px; color: var(--muted); padding-left: 32px; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer {
    padding: 30px 60px 40px;
    color: var(--muted-2);
    font-size: 12.5px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer .discord-link {
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.15s ease;
}
.site-footer .discord-link:hover { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .spin-slow, .spin-slow-rev, .spin-fast, .core-pulse, .pulse-dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .rules-grid { grid-template-columns: 1fr; }
    .store-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-strip { grid-template-columns: repeat(2, 1fr); margin: 0 24px; }
    .stat-cell:nth-child(2) { border-right: none; }
}

@media (max-width: 860px) {
    .sidebar { display: none; }
    .topbar {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
    }
    .topbar .brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; }
    .topbar .brand .mark {
        width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
        background: rgba(64, 159, 255, 0.08); border: 1px solid var(--border-strong); border-radius: 8px; color: var(--accent); font-size: 13px; font-weight: 700;
    }
    .topbar .brand span { color: var(--accent); }
    .topbar-toggle { background: none; border: 1px solid var(--border); color: var(--text); width: 38px; height: 38px; border-radius: 8px; font-size: 15px; cursor: pointer; }
    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 2px;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 10px 14px 16px;
        position: sticky;
        top: 63px;
        z-index: 99;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
        display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted);
        font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 10px;
    }
    .mobile-menu a.current { color: var(--accent); background: rgba(64, 159, 255, 0.07); }
    .shell { margin-left: 0; }
    .hero { padding: 50px 24px 40px; }
    .hero-title { font-size: 44px; letter-spacing: -1px; }
    .section, .rules-wrap, .page-hero { padding-left: 24px; padding-right: 24px; }
    .stat-strip { margin: 0 24px; }
    .site-footer { padding: 24px; flex-direction: column; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 34px; }
    .rules-card { padding: 22px 20px; }
    .store-grid { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: 1fr 1fr; }
    .page-title { font-size: 32px; }
    .status-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .status-value { text-align: left; }
}