:root {
            --bg: #050a14;
            --surface: rgba(10, 20, 36, 0.76);
            --surface-strong: rgba(13, 25, 44, 0.95);
            --surface-hover: rgba(22, 39, 65, 0.9);
            --text: #f8fafc;
            --muted: #94a3b8;
            --muted-2: #64748b;
            --border: rgba(148, 163, 184, 0.13);
            --border-strong: rgba(96, 165, 250, 0.3);
            --primary: #4f8cff;
            --primary-strong: #2563eb;
            --primary-soft: rgba(79, 140, 255, 0.13);
            --purple: #8b5cf6;
            --discord: #5865f2;
            --success: #22c55e;
            --danger: #ef4444;
            --warning: #f59e0b;
            --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;
            font-family: "Inter", sans-serif;
            color: var(--text);
            background:
                radial-gradient(circle at 15% 0%, rgba(79, 140, 255, 0.14), transparent 30%),
                radial-gradient(circle at 90% 12%, rgba(139, 92, 246, 0.12), transparent 27%),
                radial-gradient(circle at 50% 100%, rgba(37, 99, 235, 0.08), transparent 35%),
                var(--bg);
            overflow-x: hidden;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
        }

        ::selection {
            background: rgba(79, 140, 255, 0.3);
            color: #fff;
        }

        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(148, 163, 184, 0.2);
            border-radius: 999px;
        }

        .hidden {
            display: none !important;
        }

        .nav-wrap {
            position: fixed;
            top: 18px;
            left: 0;
            right: 0;
            z-index: 1000;
            pointer-events: none;
        }

        .island-nav {
            pointer-events: auto;
            width: min(1180px, calc(100% - 40px));
            margin: 0 auto;
            min-height: 68px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 10px 12px 10px 16px;
            background: rgba(7, 15, 27, 0.8);
            border: 1px solid var(--border);
            border-radius: 22px;
            backdrop-filter: blur(22px);
            box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
        }

        .nav-left,
        .brand-info,
        .nav-menu,
        .nav-right {
            display: flex;
            align-items: center;
        }

        .nav-left {
            gap: 24px;
            min-width: 0;
        }

        .brand-info {
            gap: 11px;
            min-width: 0;
            color: inherit;
            text-decoration: none;
        }

        .brand-info img {
            width: 38px;
            height: 38px;
            border-radius: 12px;
            object-fit: cover;
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 8px 22px rgba(59, 130, 246, 0.18);
        }

        .brand-copy h1 {
            font-size: 0.95rem;
            line-height: 1.2;
            white-space: nowrap;
        }

        .brand-copy span {
            display: block;
            margin-top: 3px;
            color: var(--muted-2);
            font-size: 0.72rem;
            font-weight: 600;
        }

        .nav-menu {
            gap: 3px;
        }

        .nav-item {
            color: var(--muted);
            text-decoration: none;
            padding: 9px 11px;
            border-radius: 12px;
            font-size: 0.81rem;
            font-weight: 600;
            transition: 0.2s ease;
        }

        .nav-item:hover,
        .nav-item.active {
            color: #fff;
            background: rgba(255, 255, 255, 0.055);
        }

        .nav-item.active {
            color: #cfe0ff;
            box-shadow: inset 0 0 0 1px rgba(79, 140, 255, 0.17);
        }

        .nav-dropdown {
            position: relative;
            flex-shrink: 0;
        }

        .nav-dropdown > summary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            list-style: none;
            user-select: none;
        }

        .nav-dropdown > summary::-webkit-details-marker {
            display: none;
        }

        .nav-dropdown > summary::marker {
            content: "";
        }

        .nav-dropdown-chevron {
            width: 7px;
            height: 7px;
            margin-top: -4px;
            border-right: 2px solid currentColor;
            border-bottom: 2px solid currentColor;
            transform: rotate(45deg);
            transition: transform 0.2s ease, margin 0.2s ease;
        }

        .nav-dropdown[open] .nav-dropdown-chevron {
            margin-top: 3px;
            transform: rotate(225deg);
        }

        .nav-dropdown > summary:focus-visible,
        .nav-dropdown-link:focus-visible,
        .mobile-menu-toggle:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
        }

        .nav-dropdown-menu {
            position: absolute;
            top: calc(100% + 12px);
            left: 0;
            z-index: 1010;
            width: max-content;
            min-width: 205px;
            padding: 7px;
            border: 1px solid var(--border-strong);
            border-radius: 15px;
            background: rgba(10, 20, 36, 0.98);
            backdrop-filter: blur(20px);
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
        }

        .nav-dropdown-link {
            display: flex;
            align-items: center;
            min-height: 42px;
            padding: 10px 12px;
            border-radius: 9px;
            color: var(--muted);
            font-size: 0.81rem;
            font-weight: 600;
            text-decoration: none;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .nav-dropdown-link:hover,
        .nav-dropdown-link.active {
            color: #fff;
            background: var(--surface-hover);
        }

        .mobile-menu-toggle {
            display: none;
            flex-shrink: 0;
            width: 42px;
            height: 42px;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.045);
            color: var(--text);
            cursor: pointer;
        }

        .nav-right {
            gap: 8px;
            flex-shrink: 0;
        }

        .btn,
        .logout-btn {
            min-height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 16px;
            border-radius: 12px;
            text-decoration: none;
            color: #fff;
            font-size: 0.82rem;
            font-weight: 700;
            transition: 0.2s ease;
        }

        .btn {
            background: var(--discord);
            box-shadow: 0 10px 26px rgba(88, 101, 242, 0.22);
        }

        .btn:hover {
            transform: translateY(-1px);
            background: #6875f5;
        }

        .logout-btn {
            color: #fecaca;
            background: rgba(239, 68, 68, 0.09);
            border: 1px solid rgba(239, 68, 68, 0.16);
        }

        .logout-btn:hover {
            color: #fff;
            background: rgba(239, 68, 68, 0.18);
        }

        .page-shell {
            position: relative;
            z-index: 1;
            width: min(1180px, calc(100% - 40px));
            margin: 0 auto;
            padding: 126px 0 56px;
        }

        .hero {
            position: relative;
            overflow: hidden;
            display: grid;
            grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
            gap: 28px;
            padding: 42px;
            border: 1px solid var(--border);
            border-radius: 30px;
            background: linear-gradient(120deg, rgba(8, 17, 31, 0.97), rgba(11, 22, 40, 0.9));
            box-shadow: var(--shadow);
        }

        .hero::before {
            content: "";
            position: absolute;
            width: 500px;
            height: 500px;
            right: -170px;
            top: -180px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(79, 140, 255, 0.2), transparent 68%);
        }

        .hero-copy,
        .hero-side {
            position: relative;
            z-index: 2;
        }

        .hero-copy {
            align-self: center;
        }

        .eyebrow {
            width: fit-content;
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 8px 12px;
            margin-bottom: 20px;
            border-radius: 999px;
            color: #c9dcff;
            background: var(--primary-soft);
            border: 1px solid rgba(79, 140, 255, 0.2);
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .eyebrow-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--success);
            box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.08);
        }

        .hero h2 {
            font-size: clamp(2.8rem, 6vw, 5rem);
            line-height: 1;
            letter-spacing: -0.06em;
        }

        .hero h2 span {
            background: linear-gradient(100deg, #f8fafc, #9bc0ff 45%, #9d7cff 78%, #f8fafc);
            background-size: 220% auto;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-copy p {
            max-width: 650px;
            margin-top: 20px;
            color: var(--muted);
            line-height: 1.75;
            font-size: 0.96rem;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 26px;
        }

        .hero-action {
            min-height: 48px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 18px;
            border-radius: 13px;
            color: #fff;
            text-decoration: none;
            font-size: 0.86rem;
            font-weight: 700;
            transition: 0.2s ease;
        }

        .hero-action.primary {
            background: linear-gradient(135deg, var(--primary), var(--primary-strong));
            box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
        }

        .hero-action.secondary {
            border: 1px solid var(--border);
            background: rgba(255, 255, 255, 0.04);
        }

        .hero-action:hover {
            transform: translateY(-2px);
        }

        .terms-card {
            padding: 22px;
            border-radius: 22px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: linear-gradient(180deg, rgba(17, 31, 52, 0.7), rgba(7, 15, 27, 0.92));
        }

        .terms-card h3 {
            font-size: 1rem;
            margin-bottom: 14px;
        }

        .terms-list {
            display: grid;
            gap: 10px;
            list-style: none;
        }

        .terms-list li {
            display: flex;
            gap: 10px;
            color: var(--muted);
            font-size: 0.82rem;
            line-height: 1.5;
        }

        .terms-list li::before {
            content: "";
            width: 7px;
            height: 7px;
            margin-top: 6px;
            flex: 0 0 7px;
            border-radius: 50%;
            background: var(--warning);
        }

        .toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin: 30px 0 20px;
        }

        .category-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .category-tab {
            min-height: 40px;
            padding: 0 14px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.025);
            color: var(--muted);
            font-family: inherit;
            font-size: 0.79rem;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s ease;
        }

        .category-tab:hover,
        .category-tab.active {
            color: #fff;
            border-color: var(--border-strong);
            background: rgba(79, 140, 255, 0.08);
        }

        .product-count {
            color: var(--muted-2);
            font-size: 0.8rem;
            font-weight: 600;
            white-space: nowrap;
        }

        .market-section {
            margin-top: 20px;
        }

        .section-head {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 18px;
        }

        .section-head h3 {
            font-size: 1.4rem;
            letter-spacing: -0.03em;
        }

        .section-head p {
            margin-top: 7px;
            color: var(--muted);
            font-size: 0.86rem;
            line-height: 1.55;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
        }

        .product-card {
            min-height: 280px;
            display: flex;
            flex-direction: column;
            padding: 22px;
            border: 1px solid var(--border);
            border-radius: 22px;
            background: linear-gradient(180deg, rgba(15, 28, 48, 0.76), rgba(7, 15, 27, 0.9));
            transition: 0.22s ease;
        }

        .product-card:hover {
            transform: translateY(-4px);
            border-color: var(--border-strong);
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
        }

        .product-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 14px;
        }

        .product-icon {
            width: 42px;
            height: 42px;
            display: grid;
            place-items: center;
            border-radius: 13px;
            background: var(--primary-soft);
            color: #a9c8ff;
            font-size: 1.2rem;
        }

        .product-badge {
            padding: 6px 9px;
            border-radius: 999px;
            color: #cfe0ff;
            background: rgba(79, 140, 255, 0.09);
            border: 1px solid rgba(79, 140, 255, 0.15);
            font-size: 0.66rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .product-card h4 {
            margin-top: 18px;
            font-size: 1.08rem;
            letter-spacing: -0.02em;
        }

        .price-line {
            display: flex;
            align-items: baseline;
            gap: 8px;
            margin-top: 8px;
        }

        .price-current {
            color: #bfdbfe;
            font-size: 1.2rem;
            font-weight: 800;
        }

        .price-old {
            color: var(--muted-2);
            text-decoration: line-through;
            font-size: 0.78rem;
        }

        .product-desc {
            margin-top: 14px;
            color: var(--muted);
            font-size: 0.82rem;
            line-height: 1.6;
        }

        .perk-list {
            display: grid;
            gap: 7px;
            margin: 16px 0 20px;
            list-style: none;
        }

        .perk-list li {
            display: flex;
            gap: 8px;
            color: #cbd5e1;
            font-size: 0.77rem;
            line-height: 1.45;
        }

        .perk-list li::before {
            content: "✓";
            color: var(--success);
            font-weight: 800;
        }

        .product-action {
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: auto;
            padding: 0 14px;
            border-radius: 12px;
            border: 1px solid var(--border-strong);
            color: #fff;
            background: rgba(79, 140, 255, 0.09);
            text-decoration: none;
            font-size: 0.79rem;
            font-weight: 700;
            transition: 0.2s ease;
        }

        .product-action:hover {
            transform: translateY(-1px);
            background: rgba(79, 140, 255, 0.15);
        }

        .product-action.disabled {
            pointer-events: none;
            opacity: 0.45;
            border-color: var(--border);
            background: rgba(255, 255, 255, 0.025);
        }

        .empty-state {
            grid-column: 1 / -1;
            padding: 36px;
            border: 1px dashed var(--border);
            border-radius: 20px;
            color: var(--muted);
            text-align: center;
        }

        .market-note {
            margin-top: 24px;
            padding: 20px;
            border-radius: 18px;
            border: 1px solid rgba(245, 158, 11, 0.16);
            background: rgba(245, 158, 11, 0.055);
            color: #d6d3d1;
            font-size: 0.82rem;
            line-height: 1.65;
        }

        @media (max-width: 1020px) {
            .island-nav {
                position: relative;
            }

            .nav-menu {
                display: none;
                position: absolute;
                top: calc(100% + 10px);
                left: 0;
                right: 0;
                flex-direction: column;
                align-items: stretch;
                gap: 4px;
                padding: 10px;
                border: 1px solid var(--border);
                border-radius: 18px;
                background: rgba(7, 15, 27, 0.98);
                backdrop-filter: blur(22px);
                box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
            }

            .nav-menu.mobile-open {
                display: flex;
            }

            .nav-menu .nav-item,
            .nav-dropdown,
            .nav-dropdown > summary {
                width: 100%;
            }

            .nav-menu .nav-item {
                display: flex;
                align-items: center;
                min-height: 40px;
            }

            .nav-dropdown > summary {
                justify-content: space-between;
            }

            .nav-dropdown-menu {
                position: static;
                width: 100%;
                min-width: 0;
                margin-top: 6px;
                border-color: var(--border);
                box-shadow: none;
            }

            .mobile-menu-toggle {
                display: inline-flex;
            }

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

            .product-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 680px) {
            .page-shell,
            .island-nav {
                width: calc(100% - 24px);
            }

            .island-nav {
                top: 12px;
                min-height: 62px;
                border-radius: 18px;
                padding: 9px 10px 9px 12px;
            }

            .brand-copy span {
                display: none;
            }

            .brand-copy h1 {
                max-width: 145px;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .nav-left {
                gap: 8px;
                min-width: 0;
            }

            .nav-right .btn,
            .nav-right .logout-btn {
                min-height: 40px;
                padding: 0 10px;
                font-size: 0.75rem;
            }

            .page-shell {
                padding-top: 96px;
            }

            .hero {
                padding: 26px;
                border-radius: 24px;
            }

            .hero h2 {
                font-size: clamp(2.6rem, 14vw, 4rem);
            }

            .hero-actions {
                flex-direction: column;
            }

            .hero-action {
                width: 100%;
            }

            .toolbar,
            .section-head {
                align-items: flex-start;
                flex-direction: column;
            }

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