:root {
            --brand-primary: #1E3A8A;
            --brand-primary-hover: #2563EB;
            --brand-secondary: #C0C0C0;
            --brand-secondary-hover: #E5E7EB;
            --brand-accent: #06B6D4;
            --bg-main: #050B1A;
            --bg-surface: #0D172D;
            --bg-elevated: #162341;
            --bg-overlay: rgba(5, 11, 26, 0.8);
            --text-primary: #F1F5F9;
            --text-secondary: #94A3B8;
            --text-muted: #64748B;
            --text-brand-contrast: #050B1A;
            --text-link: #06B6D4;
            --text-link-hover: #22D3EE;
            --btn-bg: #06B6D4;
            --btn-text: #050B1A;
            --btn-bg-hover: #22D3EE;
            --btn-text-hover: #050B1A;
            --semantic-success: #10B981;
            --semantic-error: #EF4444;
            --semantic-warning: #F59E0B;
            --semantic-info: #3B82F6;
            --border-default: #1E293B;
            --border-strong: #334155;
            --border-brand: rgba(6, 182, 212, 0.4);
            --radius-sm: 4px;
            --radius-md: 12px;
            --radius-lg: 24px;
            --radius-pill: 9999px;
            --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
            --shadow-elevated: 0 10px 30px rgba(0, 0, 0, 0.6);
            --shadow-glow: 0 0 15px rgba(6, 182, 212, 0.5);
            --grad-brand: linear-gradient(135deg, #1E3A8A 0%, #06B6D4 100%);
            --grad-hero: radial-gradient(circle at top right, #1E3A8A 0%, #050B1A 70%);
            --grad-button: linear-gradient(180deg, #06B6D4 0%, #0891B2 100%);
        }

        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));
            overflow-x: hidden;
            background-color: var(--bg-main);
            color: var(--text-primary);
        }
        img, video, iframe { max-width: 100%; height: auto; display: block; }
        a { color: var(--text-link); text-decoration: none; transition: color 0.2s; }
        a:hover { color: var(--text-link-hover); }
        .btn, .cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            min-inline-size: 44px;
            padding: 12px 18px;
            border-radius: var(--radius-md);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            text-align: center;
        }
        .btn-primary { background: var(--grad-button); color: var(--btn-text); box-shadow: var(--shadow-glow); }
        .btn-primary:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
        
        h1, h2, h3 { font-family: 'Be Vietnam Pro', 'Outfit', sans-serif; color: var(--text-primary); margin-top: 0; }
        h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.2; margin-bottom: 1.5rem; text-align: center; }
        h2 { font-size: clamp(1.3rem, 5.2vw, 1.8rem); line-height: 1.25; margin-top: 2rem; margin-bottom: 1.2rem; border-left: 4px solid var(--brand-accent); padding-left: 1rem; }
        h3 { font-size: clamp(1.05rem, 4.2vw, 1.25rem); line-height: 1.3; margin-bottom: 0.8rem; }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            max-width: 1200px;
            margin: 0 auto;
        }
        .header-logo { display: flex; align-items: center; gap: 8px; }
        .header-logo strong { font-size: 16px; font-weight: normal; }
        .header-actions { display: flex; gap: 10px; }
        .btn-login { color: var(--text-primary); border: 1px solid var(--border-brand); background: transparent; }
        .btn-register { background: var(--grad-brand); color: white; }

        main { max-width: 1200px; margin: 0 auto; }
        
        .hero-panel {
            background: var(--grad-hero);
            padding: 3rem 1.5rem;
            border-radius: var(--radius-lg);
            text-align: center;
            border: 1px solid var(--border-brand);
            margin-bottom: 2rem;
        }
        .hero-intro { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 800px; margin-inline: auto; }
        .hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2rem; }
        .hero-tag {
            background: rgba(6, 182, 212, 0.1);
            border: 1px solid var(--border-brand);
            color: var(--brand-accent);
            padding: 4px 12px;
            border-radius: var(--radius-pill);
            font-size: 0.85rem;
            white-space: nowrap;
        }

        .banner-link { display: block; margin-bottom: 2rem; border-radius: var(--radius-md); overflow: hidden; }
        .banner-img { width: 1024px; height: 512px; aspect-ratio: 2/1; object-fit: cover; }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 2rem;
        }
        .category-tile {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            text-align: center;
            transition: border-color 0.3s;
        }
        .category-tile:hover { border-color: var(--brand-accent); }
        .category-tile i { font-size: 2rem; color: var(--brand-accent); margin-bottom: 1rem; display: block; }
        .category-tile h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
        .category-tile p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-bottom: 2rem;
        }
        .game-card {
            background: var(--bg-surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-default);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--border-brand); }
        .game-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
        .game-card h3 { padding: 12px; margin: 0; font-size: 1rem; text-align: center; color: var(--text-primary); }

        .facts-container {
            background: var(--bg-surface);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            border: 1px solid var(--border-default);
            margin-bottom: 2rem;
        }
        .facts-notice { font-style: italic; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
        .facts-table { width: 100%; border-collapse: collapse; }
        .facts-row { border-bottom: 1px solid var(--border-default); }
        .facts-label { padding: 12px 0; font-weight: 600; color: var(--text-secondary); width: 40%; }
        .facts-value { padding: 12px 0; color: var(--text-primary); text-align: right; }
        .facts-footer { margin-top: 1rem; font-size: 0.85rem; text-align: center; }

        .toc-nav {
            display: flex;
            overflow-x: auto;
            gap: 12px;
            padding: 1rem 0;
            margin-bottom: 2rem;
            scrollbar-width: none;
        }
        .toc-nav::-webkit-scrollbar { display: none; }
        .toc-link {
            background: var(--bg-elevated);
            padding: 8px 16px;
            border-radius: var(--radius-pill);
            white-space: nowrap;
            font-size: 0.9rem;
            border: 1px solid var(--border-default);
        }

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

        .usp-grid { display: grid; gap: 16px; margin-bottom: 2rem; }
        .usp-tile {
            background: var(--bg-surface);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            border-left: 4px solid var(--brand-accent);
        }
        .usp-tile i { font-size: 1.5rem; color: var(--brand-accent); margin-top: 4px; }
        .usp-content h3 { margin-bottom: 0.3rem; font-size: 1.1rem; }
        .usp-content p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; }

        .payment-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 2rem;
        }
        .payment-card {
            background: var(--bg-surface);
            padding: 1.2rem;
            border-radius: var(--radius-md);
            text-align: center;
            border: 1px solid var(--border-default);
        }
        .payment-card i { font-size: 2rem; color: var(--brand-accent); margin-bottom: 0.8rem; display: block; }
        .payment-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
        .payment-card p { font-size: 0.8rem; color: var(--text-secondary); margin: 0; }

        .guide-list { display: grid; gap: 1rem; margin-bottom: 2rem; }
        .guide-step {
            display: flex;
            gap: 1.5rem;
            background: var(--bg-surface);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            align-items: center;
        }
        .step-badge {
            width: 40px;
            height: 40px;
            background: var(--grad-brand);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
        }
        .guide-step h3 { margin: 0 0 0.5rem 0; }
        .guide-step a { color: inherit; text-decoration: none; }

        .download-box {
            background: var(--bg-elevated);
            padding: 2rem;
            border-radius: var(--radius-lg);
            text-align: center;
            border: 1px solid var(--border-brand);
            margin-bottom: 2rem;
        }

        .player-guide-item {
            background: var(--bg-surface);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            margin-bottom: 1rem;
            border: 1px solid var(--border-default);
        }
        .meta-text { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.8rem; display: block; }

        .announcement-item {
            display: flex;
            gap: 1rem;
            padding: 1.2rem;
            background: var(--bg-surface);
            border-radius: var(--radius-md);
            margin-bottom: 1rem;
            border: 1px solid var(--border-default);
        }
        .announcement-item i { color: var(--brand-accent); font-size: 1.2rem; margin-top: 4px; }
        .announcement-content h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
        .announcement-date { font-size: 0.8rem; color: var(--text-muted); }

        .faq-item { margin-bottom: 1rem; background: var(--bg-surface); border-radius: var(--radius-md); }
        .faq-item summary { padding: 1.2rem; cursor: pointer; font-weight: 600; color: var(--text-primary); outline: none; }
        .faq-item p { padding: 0 1.2rem 1.2rem; color: var(--text-secondary); margin: 0; }

        .trust-statement {
            background: var(--bg-surface);
            padding: 2rem;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-brand);
            margin-bottom: 2rem;
        }
        .team-card {
            margin-top: 2rem;
            padding: 1.5rem;
            background: var(--bg-elevated);
            border-radius: var(--radius-md);
            border-left: 4px solid var(--brand-accent);
        }

        .rg-section {
            padding: 2rem;
            background: var(--bg-surface);
            border-radius: var(--radius-lg);
            text-align: center;
        }
        .rg-links { display: flex; justify-content: center; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; }

        footer {
            margin-top: 4rem;
            padding: 3rem 0;
            border-top: 1px solid var(--border-default);
            text-align: center;
        }
        .footer-sitemap {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
            text-align: center;
        }
        .footer-sitemap a { color: var(--text-secondary); font-size: 0.9rem; }
        .footer-contact { margin-bottom: 1.5rem; font-size: 0.9rem; }
        .footer-legal { font-size: 0.8rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

        .navigator {
            position: fixed;
            inset-inline: 0;
            bottom: 0;
            height: 72px;
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            border-top: 1px solid var(--border-brand);
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding-bottom: env(safe-area-inset-bottom);
            z-index: 1000;
        }
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            color: var(--text-secondary);
            font-size: 0.75rem;
            text-decoration: none;
        }
        .nav-item i { font-size: 1.2rem; }

        @media (min-width: 768px) {
            body { padding-inline: 24px; padding-bottom: 24px; }
            .category-grid { grid-template-columns: repeat(3, 1fr); }
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 1fr); }
            .navigator { position: static; display: none; }
            .guide-step { align-items: center; }
        }
        @media (min-width: 1200px) {
            body { padding-inline: 32px; max-width: 1200px; margin-inline: auto; }
            .category-grid { grid-template-columns: repeat(4, 1fr); }
        }

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