        :root {
            --bg: #0b0e13;
            --bg2: #0f1319;
            --card: #151c28;
            --card-hi: #1a2436;
            --border: #243049;
            --border-glow: rgba(88, 166, 255, 0.15);
            --text: #e6edf3;
            --muted: #8b949e;
            --accent: #58a6ff;
            --accent-dim: rgba(88, 166, 255, 0.12);
            --success: #3fb950;
            --danger: #f85149;
            --warn: #e3b341;
            --discord: #5865F2;
            --stripe: #635bff;
        }

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

        html {
            overflow-x: hidden;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        .site-shell {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            overflow-x: clip;
        }

        /* ── Navbar ────────────────────────────────────────── */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(11, 14, 19, 0.92);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
        }

        .nav-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
            align-items: center;
            gap: 0.75rem;
            padding: 0 1.5rem;
            height: 56px;
        }

        .nav-brand {
            justify-self: start;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
            color: var(--text);
            flex-shrink: 0;
        }

        .nav-brand-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: var(--accent-dim);
            border: 1px solid rgba(88, 166, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 0.9rem;
        }

        .nav-brand-name {
            font-size: 1rem;
            font-weight: 700;
        }

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

        .nav-tabs {
            justify-self: center;
            display: flex;
            gap: 0.1rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .nav-tab {
            background: none;
            border: none;
            color: var(--muted);
            font-size: 0.88rem;
            font-weight: 500;
            padding: 0.45rem 0.9rem;
            cursor: pointer;
            border-radius: 6px;
            transition: color 0.2s, background 0.2s;
        }

        .nav-tab:hover {
            color: var(--text);
            background: rgba(255, 255, 255, 0.04);
        }

        .nav-tab.active {
            color: var(--accent);
            background: var(--accent-dim);
        }

        .nav-tab-icon {
            display: inline-block;
            margin-right: 0.3rem;
            font-size: 0.78rem;
        }

        .nav-admin-link {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--muted);
            text-decoration: none;
            padding: 0.35rem 0.65rem;
            border-radius: 6px;
            border: 1px solid var(--border);
            transition: color 0.2s, background 0.2s, border-color 0.2s;
            white-space: nowrap;
        }

        .nav-admin-link:hover {
            color: var(--accent);
            background: var(--accent-dim);
            border-color: rgba(88, 166, 255, 0.35);
        }

        .nav-steam-link {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--muted);
            text-decoration: none;
            padding: 0.35rem 0.65rem;
            border-radius: 6px;
            border: 1px solid var(--border);
            transition: color 0.2s, background 0.2s, border-color 0.2s;
            white-space: nowrap;
        }

        .nav-steam-link:hover {
            color: #c6d4df;
            background: rgba(27, 40, 56, 0.6);
            border-color: rgba(198, 212, 223, 0.25);
        }

        .nav-auth {
            justify-self: end;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
        }

        .nav-steamid {
            font-family: ui-monospace, monospace;
            font-size: 0.75rem;
            color: var(--muted);
            max-width: 140px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .btn-nav-logout {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--muted);
            border-radius: 6px;
            padding: 0.35rem 0.7rem;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-nav-logout:hover {
            color: var(--text);
            border-color: var(--muted);
        }

        /* ── Page layout ───────────────────────────────────── */
        .page {
            flex: 1;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 1.5rem 2rem;
            width: 100%;
        }

        .tab-pane {
            display: none;
        }

        .tab-pane.active {
            display: block;
        }

        /* ── Hero ──────────────────────────────────────────── */
        .hero {
            padding: 4rem 0 3rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 600px;
            height: 300px;
            background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(88, 166, 255, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(88, 166, 255, 0.1);
            border: 1px solid rgba(88, 166, 255, 0.2);
            border-radius: 20px;
            padding: 0.3rem 0.75rem;
            font-size: 0.78rem;
            color: var(--accent);
            font-weight: 500;
            margin-bottom: 1.25rem;
        }

        .hero h1 {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 800;
            letter-spacing: -0.03em;
            line-height: 1.1;
            margin-bottom: 1rem;
        }

        .hero h1 span {
            color: var(--accent);
        }

        .hero-sub {
            color: var(--muted);
            font-size: 1.05rem;
            max-width: 540px;
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .hero-actions {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.65rem 1.3rem;
            border-radius: 8px;
            font-size: 0.92rem;
            font-weight: 600;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-primary {
            background: linear-gradient(135deg, #3d8bfd, var(--accent));
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, var(--accent), #79b8ff);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(88, 166, 255, 0.25);
        }

        .btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .btn-primary i {
            color: #fff !important;
        }

        .btn-secondary {
            background: var(--card-hi);
            color: var(--text);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background: #212d40;
            border-color: #2e3f5c;
        }

        .btn-steam {
            background: linear-gradient(135deg, #1b2838, #2a475e);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        .btn-steam:hover {
            background: linear-gradient(135deg, #2a475e, #3a6080);
            transform: translateY(-1px);
        }

        /* ── Features grid ─────────────────────────────────── */
        .section {
            margin-top: 3.5rem;
        }

        .section-label {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }

        .section-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 0.6rem;
        }

        .section-sub {
            color: var(--muted);
            font-size: 0.9rem;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1rem;
        }

        .feature-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.25rem 1.5rem;
            transition: border-color 0.2s, background 0.2s;
        }

        .feature-card:hover {
            border-color: var(--border-glow);
            background: var(--card-hi);
        }

        .feature-icon {
            width: 38px;
            height: 38px;
            border-radius: 9px;
            background: var(--accent-dim);
            border: 1px solid rgba(88, 166, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 1rem;
            margin-bottom: 0.8rem;
        }

        .feature-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.35rem;
        }

        .feature-desc {
            color: var(--muted);
            font-size: 0.83rem;
            line-height: 1.55;
        }

        /* ── Gallery ───────────────────────────────────────── */
        .gallery-grid {
            display: block;
        }

        .gallery-slider {
            position: relative;
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            background: var(--card);
        }

        .gallery-track {
            display: flex;
            transition: transform 0.35s ease;
            width: 100%;
        }

        .gallery-slide {
            min-width: 100%;
            aspect-ratio: 16/9;
            cursor: pointer;
        }

        .gallery-item {
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--border);
            background: var(--card);
            aspect-ratio: 16/9;
            cursor: pointer;
            transition: border-color 0.2s, transform 0.2s;
        }

        .gallery-item:hover {
            border-color: var(--border-glow);
            transform: scale(1.01);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .gallery-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .gallery-controls {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            pointer-events: none;
            padding: 0 0.75rem;
        }

        .gallery-arrow {
            pointer-events: auto;
            width: 36px;
            height: 36px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(11, 14, 19, 0.65);
            color: #fff;
            cursor: pointer;
        }

        .gallery-dots {
            position: absolute;
            left: 50%;
            bottom: 0.75rem;
            transform: translateX(-50%);
            display: flex;
            gap: 0.4rem;
            padding: 0.3rem 0.5rem;
            border-radius: 99px;
            background: rgba(11, 14, 19, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .gallery-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            border: 0;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.35);
        }

        .gallery-dot.active {
            background: #fff;
        }

        .gallery-empty {
            grid-column: 1/-1;
            padding: 2.5rem;
            text-align: center;
            color: var(--muted);
            border: 1px dashed var(--border);
            border-radius: 10px;
            font-size: 0.88rem;
        }

        /* ── Lightbox ──────────────────────────────────────── */
        .lightbox {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 9999;
            background: rgba(0, 0, 0, 0.88);
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
        }

        .lightbox.open {
            display: flex;
        }

        .lightbox img {
            max-width: 100%;
            max-height: 90vh;
            border-radius: 10px;
        }

        .lightbox-close {
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            background: var(--card);
            border: 1px solid var(--border);
            color: var(--text);
            font-size: 1.2rem;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* ── Buy section ───────────────────────────────────── */
        .buy-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem;
            margin-top: 2rem;
        }

        @media (max-width: 640px) {
            .buy-grid {
                grid-template-columns: 1fr;
            }
        }

        .price-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.75rem;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .price-card.featured {
            border-color: rgba(88, 166, 255, 0.35);
            background: linear-gradient(135deg, #151c28 0%, #1a2436 100%);
        }

        .price-card.featured::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent), var(--discord));
        }

        .price-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            background: var(--accent-dim);
            color: var(--accent);
            border: 1px solid rgba(88, 166, 255, 0.25);
            border-radius: 4px;
            padding: 0.2rem 0.5rem;
            letter-spacing: 0.05em;
        }

        .price-platform {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--muted);
            margin-bottom: 0.75rem;
        }

        .price-platform i {
            font-size: 0.9rem;
        }

        .price-amount {
            font-size: 2.4rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            line-height: 1;
            margin-bottom: 0.35rem;
        }

        .price-amount span {
            font-size: 1rem;
            font-weight: 400;
            color: var(--muted);
            margin-left: 0.25rem;
        }

        .price-desc {
            color: var(--muted);
            font-size: 0.83rem;
            line-height: 1.5;
            margin-bottom: 1.25rem;
        }

        .price-stripe-gms-note {
            font-size: 0.8rem;
            line-height: 1.55;
            color: var(--muted);
            margin: 0 0 1rem 0;
        }

        .price-stripe-gms-note a:link,
        .price-stripe-gms-note a:visited {
            color: #fff;
            font-weight: 700;
            text-decoration: none;
        }

        .price-stripe-gms-note a:hover {
            color: #fff;
            text-decoration: none;
        }

        .price-features {
            list-style: none;
            margin-bottom: 0;
        }

        .price-features li {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: var(--text);
            margin-bottom: 0.45rem;
        }

        .price-features li i {
            color: var(--success);
            margin-top: 0.1rem;
            flex-shrink: 0;
        }

        .price-card-footer {
            margin-top: auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding-top: 1rem;
        }

        .price-card-footer:has(.stripe-msg:not(:empty)) {
            gap: 0.65rem;
        }

        .price-card-footer>.btn,
        .price-card-footer>.btn-steam {
            width: 100%;
            justify-content: center;
        }

        .btn-gmodstore {
            background: linear-gradient(135deg, #c47c1e, #e3a835);
            color: #fff;
            border: none;
            justify-content: center;
            width: 100%;
        }

        .btn-gmodstore:hover:not(:disabled) {
            filter: brightness(1.1);
            transform: translateY(-1px);
        }

        .btn-gmodstore:disabled {
            opacity: 0.55;
            cursor: not-allowed;
            filter: grayscale(0.25);
            transform: none;
        }

        .btn-stripe {
            background: linear-gradient(135deg, #4b45c9, var(--stripe));
            color: #fff;
            border: none;
            justify-content: center;
            width: 100%;
        }

        .btn-stripe:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
        }

        .btn-stripe:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            filter: none;
        }

        .stripe-msg {
            font-size: 0.83rem;
            color: var(--danger);
            line-height: 1.45;
            min-height: 0;
        }

        .stripe-msg:empty {
            display: none;
        }

        .coupon-wrap {
            width: 100%;
        }

        .coupon-input {
            width: 100%;
            box-sizing: border-box;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text);
            font-size: 0.88rem;
            padding: 0.55rem 0.85rem;
            outline: none;
            transition: border-color 0.15s, box-shadow 0.15s;
        }

        .coupon-input::placeholder {
            color: var(--muted);
        }

        .coupon-input:focus {
            border-color: rgba(88, 166, 255, 0.45);
            box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.12);
        }

        .legal-checks {
            margin: -0.9rem 0 0 0;
            padding: 1rem 1.15rem;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--card);
            box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
            transition: border-color 0.2s, background 0.2s;
        }

        .price-card.featured .legal-checks {
            border-color: rgba(88, 166, 255, 0.22);
            background: rgba(11, 14, 19, 0.45);
        }

        .legal-check {
            display: flex;
            align-items: flex-start;
            gap: 0.65rem;
            color: var(--text);
            font-size: 0.82rem;
            line-height: 1.55;
            cursor: pointer;
            margin: 0;
        }

        .legal-check span {
            color: var(--muted);
        }

        .legal-check input {
            appearance: none;
            width: 18px;
            height: 18px;
            min-width: 18px;
            margin: 0.2rem 0 0 0;
            border-radius: 5px;
            border: 1px solid var(--border);
            background: var(--bg);
            cursor: pointer;
            flex-shrink: 0;
            position: relative;
            transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
        }

        .legal-check input:hover {
            border-color: rgba(88, 166, 255, 0.45);
        }

        .legal-check input:checked {
            background: var(--accent);
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2);
        }

        .legal-check input:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 2px;
            width: 5px;
            height: 9px;
            border: solid #fff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .legal-check input:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(88, 166, 255, 0.45);
        }

        .legal-check input:checked:focus-visible {
            box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(88, 166, 255, 0.45);
        }

        .legal-check a {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
        }

        .legal-check a:hover {
            text-decoration: underline;
        }

        .already-access {
            background: rgba(63, 185, 80, 0.08);
            border: 1px solid rgba(63, 185, 80, 0.2);
            border-radius: 12px;
            padding: 1.25rem 1.5rem;
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-top: 2rem;
        }

        .already-access>i {
            color: var(--success);
            font-size: 1.4rem;
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .already-access .btn-primary i {
            color: #fff !important;
        }

        .already-access h3 {
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }

        .already-access p {
            color: var(--muted);
            font-size: 0.83rem;
            line-height: 1.5;
        }

        /* ── Key card ──────────────────────────────────────── */
        .key-section {
            max-width: 920px;
            margin: 2.5rem auto 0;
        }

        .key-grid {
            display: grid;
            gap: 1.25rem;
            align-items: stretch;
        }

        .key-grid.key-grid-two {
            grid-template-columns: 1fr 1fr;
        }

        .key-grid.key-grid-three {
            grid-template-columns: 1fr 1fr 1fr;
        }

        @media (max-width: 640px) {

            .key-grid.key-grid-two,
            .key-grid.key-grid-three {
                grid-template-columns: 1fr;
            }
        }

        .key-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 2rem;
            position: relative;
            overflow: hidden;
        }

        .key-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent), var(--discord), var(--accent));
            opacity: 0.7;
        }

        .key-card.discord-link-card::before {
            background: linear-gradient(90deg, var(--discord), #7289da, var(--discord));
            opacity: 0.9;
        }

        .btn-discord {
            background: linear-gradient(135deg, #4752c4, var(--discord));
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .btn-discord:hover {
            filter: brightness(1.15);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
        }

        .btn-discord i {
            color: #fff !important;
        }

        .key-card.download-card.download-card--ready::before {
            background: linear-gradient(90deg, var(--accent), rgba(88, 166, 255, 0.85), var(--accent));
            opacity: 0.95;
        }

        .key-card.download-card.download-card--empty::before {
            background: linear-gradient(90deg, var(--danger), rgba(248, 81, 73, 0.85), var(--danger));
            opacity: 0.95;
        }

        .download-card .download-card-title {
            font-size: 1.15rem;
            margin-bottom: 0.3rem;
            display: flex;
            align-items: center;
            gap: 0.45rem;
        }

        .download-card.download-card--ready .download-card-title i {
            color: var(--accent);
        }

        .download-card.download-card--empty .download-card-title i {
            color: var(--danger);
        }

        .user-info {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 0.7rem 1rem;
            margin-bottom: 1.25rem;
        }

        .user-info-label {
            color: var(--muted);
            font-size: 0.8rem;
        }

        .user-info-id {
            font-family: ui-monospace, monospace;
            font-size: 0.88rem;
            font-weight: 600;
        }

        .msg {
            padding: 0.8rem 1rem;
            border-radius: 10px;
            margin-bottom: 1rem;
            font-size: 0.86rem;
            line-height: 1.5;
            border: 1px solid transparent;
        }

        .msg.error {
            background: rgba(248, 81, 73, 0.1);
            color: var(--danger);
            border-color: rgba(248, 81, 73, 0.15);
        }

        .msg.success {
            background: rgba(63, 185, 80, 0.1);
            color: var(--success);
            border-color: rgba(63, 185, 80, 0.15);
        }

        .msg.warn {
            background: rgba(227, 179, 65, 0.1);
            color: var(--warn);
            border-color: rgba(227, 179, 65, 0.15);
        }

        .key-box {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 0.9rem 1rem;
            font-family: ui-monospace, monospace;
            font-size: 0.82rem;
            word-break: break-all;
            margin: 0.75rem 0;
            line-height: 1.6;
        }

        .video-frame {
            width: 100%;
            aspect-ratio: 16/9;
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            background: var(--card);
        }

        .video-frame iframe {
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
        }

        .discord-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(88, 101, 242, 0.08);
            border: 1px solid rgba(88, 101, 242, 0.18);
            color: var(--discord);
            border-radius: 8px;
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.2s;
            margin: 1rem auto 0;
            max-width: 280px;
            justify-content: center;
        }

        .discord-cta-wrap {
            margin-top: 2.5rem;
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .discord-link.discord-link-wide {
            width: auto;
            max-width: 480px;
            margin: 0;
            padding: 0.85rem 2.5rem;
            box-sizing: border-box;
            white-space: nowrap;
        }

        @media (max-width: 520px) {
            .discord-link.discord-link-wide {
                max-width: 100%;
                font-size: 0.8rem;
                padding: 0.7rem 0.85rem;
            }
        }

        .discord-link:hover {
            background: rgba(88, 101, 242, 0.15);
            transform: translateY(-1px);
        }

        .admin-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(248, 81, 73, 0.08);
            border: 1px solid rgba(248, 81, 73, 0.2);
            color: var(--danger);
            border-radius: 6px;
            padding: 0.4rem 0.8rem;
            font-size: 0.8rem;
            text-decoration: none;
            transition: all 0.2s;
            margin-top: 0.5rem;
        }

        .admin-link:hover {
            background: rgba(248, 81, 73, 0.15);
        }

        /* ── Divider ───────────────────────────────────────── */
        .divider {
            height: 1px;
            background: var(--border);
            margin: 1.25rem 0;
        }

        /* ── Loading spinner ───────────────────────────────── */
        .spinner {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
            display: inline-block;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(12px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .page {
            animation: fadeInUp 0.35s ease-out;
        }

        @media (max-width: 640px) {
            .page {
                padding: 0 1rem 1.5rem;
            }
        }

        /* ── Burger button (hidden on desktop) ─────────────── */
        .nav-burger {
            display: none;
            align-items: center;
            justify-content: center;
            background: none;
            border: 1px solid var(--border);
            color: var(--muted);
            border-radius: 6px;
            padding: 0.4rem 0.65rem;
            cursor: pointer;
            font-size: 0.9rem;
            line-height: 1;
            flex-shrink: 0;
            transition: color 0.2s, background 0.2s, border-color 0.2s;
        }

        .nav-burger:hover,
        .nav-burger.open {
            color: var(--text);
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.12);
        }

        @media (max-width: 700px) {
            .nav-burger {
                display: flex;
            }

            .nav-inner {
                display: flex;
                align-items: center;
                height: 56px;
                padding: 0 1rem;
                gap: 0.5rem;
                position: relative;
            }

            .nav-brand {
                flex: 0 0 auto;
                justify-self: unset;
            }

            .nav-auth {
                margin-left: auto;
                justify-self: unset;
                justify-content: flex-end;
                gap: 0.4rem;
                flex-shrink: 0;
            }

            .nav-steamid {
                display: none;
            }

            .nav-tabs {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                flex-direction: column;
                gap: 0.15rem;
                padding: 0.5rem 0.75rem 0.75rem;
                background: rgba(11, 14, 19, 0.97);
                backdrop-filter: blur(12px);
                border-bottom: 1px solid var(--border);
                z-index: 99;
                justify-content: unset;
            }

            .nav-tabs.open {
                display: flex;
            }

            .nav-tab {
                width: 100%;
                text-align: left;
                padding: 0.6rem 0.9rem;
                font-size: 0.9rem;
                border-radius: 8px;
            }

            .hero {
                padding: 2rem 0 1.5rem;
            }

            .hero h1 {
                font-size: clamp(1.6rem, 7vw, 2.5rem);
            }

            .hero-sub {
                font-size: 0.92rem;
            }

            .section {
                margin-top: 2.5rem;
            }

            .key-card {
                padding: 1.5rem 1.25rem;
            }

            .price-card {
                padding: 1.25rem;
            }

            .price-amount {
                font-size: 2rem;
            }
        }

        @media (max-width: 420px) {
            .page {
                padding: 0 0.75rem 1.25rem;
            }

            .hero {
                padding: 1.5rem 0 1.25rem;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .already-access {
                padding: 1rem;
                gap: 0.75rem;
            }

            .user-info {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.25rem;
            }
        }

        .logout-form-inline {
            display: inline;
            margin: 0;
            padding: 0;
            border: none;
            background: none;
        }