:root {
            --brand-primary: #0A192F;
            --brand-primary-hover: #112240;
            --brand-secondary: #C0C0C0;
            --brand-accent: #00F5FF;
            --bg-main: #050B18;
            --bg-surface: #0D172B;
            --bg-elevated: #16223D;
            --text-primary: #E6F1FF;
            --text-secondary: #B0C4DE;
            --text-muted: #708090;
            --btn-bg: #00F5FF;
            --btn-text: #050B18;
            --btn-hover-bg: #70E9FF;
            --border-default: #1B2B4B;
            --border-brand: #00F5FF;
            --radius-md: 4px;
            --radius-lg: 8px;
            --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
            --glow: 0 0 15px rgba(0, 245, 255, 0.4);
        }

        html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
        body {
            margin: 0;
            font-family: 'Be Vietnam Pro', sans-serif;
            font-size: clamp(15px, 3.9vw, 16px);
            line-height: 1.65;
            padding-inline: 14px;
            padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
            background-color: var(--bg-main);
            color: var(--text-primary);
            overflow-x: hidden;
        }

        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--brand-accent); text-decoration: none; transition: color 0.2s ease; }
        a:hover { color: #70E9FF; }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-block: 1rem;
            border-bottom: 1px solid var(--border-default);
        }

        .header-logo-link {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .header-logo-link strong {
            font-size: 16px;
            font-weight: normal;
            color: var(--text-primary);
        }

        .header-actions {
            display: flex;
            gap: 10px;
        }

        .btn-nav {
            min-height: 44px;
            padding: 8px 16px;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 0.875rem;
            text-align: center;
        }

        .btn-login { background: transparent; color: var(--text-primary); border: 1px solid var(--border-default); }
        .btn-register { background: var(--btn-bg); color: var(--btn-text); border: 1px solid var(--btn-bg); }

        main { width: 100%; }

        .hero-section {
            padding-block: 2rem 0;
            text-align: center;
        }

        .hero-section h1 {
            font-family: 'Barlow Condensed', sans-serif;
            font-size: clamp(1.6rem, 6.5vw, 2.4rem);
            line-height: 1.2;
            margin-bottom: 1rem;
            font-style: italic;
            text-transform: uppercase;
        }

        .hero-intro {
            max-width: 700px;
            margin: 0 auto 1.5rem;
            color: var(--text-secondary);
        }

        .hero-cta {
            display: block;
            width: 100%;
            min-height: 48px;
            background: linear-gradient(to right, #00F5FF, #00D1DB);
            color: var(--btn-text);
            font-weight: 700;
            font-size: 1.2rem;
            border-radius: var(--radius-lg);
            text-align: center;
            padding-block: 12px;
            margin-bottom: 1.5rem;
            box-shadow: var(--glow);
        }

        .hero-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
        }

        .hero-tag {
            background: var(--bg-elevated);
            color: var(--brand-secondary);
            font-size: 0.75rem;
            padding: 4px 12px;
            border-radius: 9999px;
            border: 1px solid var(--border-default);
        }

        .banner-wrapper {
            margin-block: 1rem 0;
            line-height: 0;
        }

        .banner-wrapper img {
            width: 100%;
            aspect-ratio: 2 / 1;
            object-fit: cover;
            border-radius: var(--radius-lg);
        }

        .category-hub {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-block: 2rem 0;
        }

        .category-tile {
            background: var(--bg-surface);
            padding: 1rem;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-default);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            transition: border-color 0.3s;
        }

        .category-tile:hover { border-color: var(--brand-accent); }
        .category-tile i { font-size: 1.5rem; color: var(--brand-accent); }
        .category-tile strong { display: block; color: var(--text-primary); font-size: 1rem; }
        .category-tile span { font-size: 0.8rem; color: var(--text-muted); }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-block: 1.5rem 0;
        }

        .game-card {
            background: var(--bg-surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-default);
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
        }

        .game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--brand-accent); }
        .game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
        .game-card h3 {
            font-size: 0.9rem;
            color: var(--text-primary);
            margin: 0;
            padding: 10px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .facts-section h2 { font-style: italic; }
        .freshness-notice {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-style: italic;
            margin-bottom: 1rem;
        }

        .facts-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--bg-surface);
            border-radius: var(--radius-lg);
            overflow: hidden;
        }

        .facts-table tr { border-bottom: 1px solid var(--border-default); }
        .facts-table td { padding: 12px; font-size: 0.9rem; }
        .facts-table td:first-child { color: var(--text-muted); width: 40%; }
        .facts-table td:last-child { color: var(--text-primary); font-weight: 500; }

        .terms-link {
            display: block;
            text-align: center;
            margin-top: 1rem;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .toc-nav {
            display: flex;
            overflow-x: auto;
            gap: 10px;
            padding-block: 1rem 0;
            scrollbar-width: none;
        }
        .toc-nav::-webkit-scrollbar { display: none; }
        .toc-link {
            background: var(--bg-elevated);
            color: var(--text-secondary);
            padding: 6px 14px;
            border-radius: var(--radius-pill);
            white-space: nowrap;
            font-size: 0.85rem;
            border: 1px solid var(--border-default);
        }

        .promo-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 1rem;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .promo-card h3 { margin: 0; color: var(--brand-accent); }
        .promo-card p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }
        .promo-btn {
            align-self: flex-start;
            padding: 10px 20px;
            background: var(--brand-accent);
            color: var(--btn-text);
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 0.9rem;
        }

        .usp-bar {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-block: 2rem 0;
        }

        .usp-item {
            display: flex;
            gap: 15px;
            background: var(--bg-surface);
            padding: 1rem;
            border-radius: var(--radius-lg);
            border-left: 4px solid var(--brand-accent);
        }

        .usp-item i { font-size: 1.2rem; color: var(--brand-accent); margin-top: 3px; }
        .usp-content strong { display: block; color: var(--text-primary); margin-bottom: 4px; }
        .usp-content span { font-size: 0.85rem; color: var(--text-secondary); }

        .payment-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-block: 1.5rem 0;
        }

        .payment-card {
            background: var(--bg-surface);
            padding: 1rem;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-default);
            text-align: center;
        }

        .payment-card i { font-size: 1.5rem; color: var(--brand-accent); margin-bottom: 8px; }
        .payment-card strong { display: block; font-size: 0.9rem; margin-bottom: 6px; }
        .payment-card p { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

        .guide-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-block: 1.5rem 0;
        }

        .guide-step {
            display: flex;
            gap: 15px;
            background: var(--bg-surface);
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            align-items: flex-start;
        }

        .step-badge {
            background: var(--brand-accent);
            color: var(--btn-text);
            min-width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            flex-shrink: 0;
        }

        .guide-text h3 { margin: 0 0 8px 0; font-size: 1.1rem; }
        .guide-text h3 a { color: inherit; }
        .guide-text p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; }

        .download-section {
            background: var(--bg-surface);
            padding: 2rem 1.5rem;
            border-radius: var(--radius-lg);
            text-align: center;
            border: 1px solid var(--border-default);
            margin-block: 2rem 0;
        }

        .download-btn {
            display: inline-block;
            padding: 14px 28px;
            background: var(--brand-accent);
            color: var(--btn-text);
            border-radius: var(--radius-lg);
            font-weight: 700;
            margin-top: 1rem;
        }

        .player-guide-item {
            background: var(--bg-surface);
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            margin-bottom: 1rem;
            border: 1px solid var(--border-default);
        }

        .guide-meta {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 8px;
            display: block;
        }

        .announcement-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-block: 1.5rem 0;
        }

        .announcement-card {
            background: var(--bg-surface);
            padding: 1rem;
            border-radius: var(--radius-lg);
            display: flex;
            gap: 12px;
            border: 1px solid var(--border-default);
        }

        .announcement-card i { color: var(--brand-accent); font-size: 1.2rem; }
        .announcement-content h3 { margin: 0 0 5px 0; font-size: 1rem; }
        .announcement-content p { margin: 0 0 8px 0; font-size: 0.85rem; color: var(--text-secondary); }
        .announcement-date { font-size: 0.75rem; color: var(--text-muted); }

        .faq-item {
            background: var(--bg-surface);
            border-radius: var(--radius-lg);
            margin-bottom: 10px;
            border: 1px solid var(--border-default);
        }

        .faq-item summary {
            padding: 15px;
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .faq-item summary h3 { margin: 0; font-size: 1rem; font-weight: 600; }
        .faq-item p { padding: 0 15px 15px; margin: 0; color: var(--text-secondary); font-size: 0.9rem; }

        .about-section {
            background: var(--bg-surface);
            padding: 2rem 1.5rem;
            border-radius: var(--radius-lg);
            margin-block: 2rem 0;
        }

        .team-card {
            background: var(--bg-elevated);
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            margin-top: 2rem;
            border: 1px solid var(--border-default);
        }

        .security-footer {
            background: var(--bg-surface);
            padding: 2rem 1.5rem;
            border-radius: var(--radius-lg);
            margin-block: 2rem 0;
            border: 1px solid var(--border-default);
        }

        footer {
            margin-top: 3rem;
            padding-block: 2rem;
            border-top: 1px solid var(--border-default);
            text-align: center;
        }

        .footer-sitemap {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 2rem;
        }

        .footer-sitemap a { font-size: 0.85rem; color: var(--text-secondary); }

        .contact-line { margin-bottom: 1.5rem; font-size: 0.9rem; }

        .legal-line { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

        .navigator {
            position: fixed;
            inset-inline: 0;
            bottom: 0;
            background: var(--bg-surface);
            display: flex;
            justify-content: space-around;
            padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
            border-top: 1px solid var(--border-default);
            z-index: 1000;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: var(--text-secondary);
            font-size: 0.7rem;
            text-decoration: none;
        }

        .nav-item i { font-size: 1.2rem; }

        @media (min-width: 768px) {
            body { padding-inline: 24px; padding-bottom: 24px; }
            .category-hub { grid-template-columns: repeat(3, 1fr); }
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 1fr); }
            .usp-bar { grid-template-columns: repeat(2, 1fr); }
            .navigator { position: static; display: none; }
            .footer-sitemap { grid-template-columns: repeat(5, 1fr); }
        }

        @media (min-width: 1200px) {
            body { padding-inline: 32px; max-width: 1200px; margin-inline: auto; }
            .category-hub { grid-template-columns: repeat(6, 1fr); }
            .game-grid { grid-template-columns: repeat(4, 1fr); }
        }

        section { content-visibility: auto; contain-intrinsic-size: 1px 500px; }