:root {
            --brand-primary: #064E3B;
            --brand-primary-hover: #065F46;
            --brand-secondary: #C5A059;
            --brand-secondary-hover: #D4B475;
            --brand-accent: #FACC15;
            --bg-main: #022C22;
            --bg-surface: #063D31;
            --bg-elevated: #0A4D3F;
            --text-primary: #ECFDF5;
            --text-secondary: #A7F3D0;
            --text-muted: #6EE7B7;
            --btn-bg: #FACC15;
            --btn-text: #064E3B;
            --btn-hover-bg: #FDE047;
            --btn-hover-text: #043A2D;
            --border-brand: #C5A059;
            --radius-md: 4px;
            --radius-lg: 8px;
            --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 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));
            overflow-x: hidden;
            background-color: var(--bg-main);
            color: var(--text-primary);
        }
        img { max-width: 100%; height: auto; display: block; }
        a { color: var(--brand-accent); text-decoration: none; transition: color 0.2s; }
        a:hover { color: #FDE047; }
        .btn {
            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;
            border: none;
            text-align: center;
            transition: transform 0.1s, background-color 0.2s;
        }
        .btn-primary { background: var(--btn-bg); color: var(--btn-text); }
        .btn-primary:hover { background: var(--btn-hover-bg); color: var(--btn-hover-text); }
        .btn-full { width: 100%; }
        .btn-outline { border: 1px solid var(--border-brand); color: var(--border-brand); background: transparent; }
        .btn-outline:hover { background: var(--border-brand); color: var(--bg-main); }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            max-width: 1200px;
            margin: 0 auto;
        }
        .header-logo-link { display: flex; align-items: center; gap: 8px; }
        .header-logo-link strong { font-size: 16px; font-weight: normal; }
        .header-actions { display: flex; gap: 10px; }

        main { max-width: 1200px; margin: 0 auto; }
        h1, h2, h3 { font-family: 'Archivo Black', sans-serif; letter-spacing: -0.02em; line-height: 1.1; }
        h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); margin-bottom: 1rem; color: var(--brand-accent); }
        h2 { font-size: clamp(1.3rem, 5.2vw, 1.8rem); margin-top: 2rem; margin-bottom: 1.25rem; border-left: 4px solid var(--brand-secondary); padding-left: 12px; }
        h3 { font-size: clamp(1.05rem, 4.2vw, 1.25rem); margin-bottom: 0.75rem; }

        .hero-section {
            background: radial-gradient(circle at center, #0A4D3F 0%, #022C22 100%);
            padding: 2rem 0;
            text-align: center;
        }
        .hero-intro { max-width: 800px; margin: 0 auto 1.5rem; }
        .hero-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 1.5rem; }
        .hero-tag { background: var(--bg-surface); color: var(--text-secondary); padding: 4px 12px; border-radius: 9999px; font-size: 0.8rem; border: 1px solid var(--bg-elevated); }

        .banner-link { display: block; width: 100%; margin: 1rem 0; }
        .banner-img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-lg); }

        .category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 2rem; }
        .category-tile { 
            background: var(--bg-surface); 
            padding: 1.25rem; 
            border-radius: var(--radius-lg); 
            text-align: center; 
            border: 1px solid var(--bg-elevated);
            transition: background 0.3s;
        }
        .category-tile:hover { background: var(--bg-elevated); }
        .category-tile i { font-size: 2rem; color: var(--brand-secondary); margin-bottom: 0.5rem; display: block; }
        .category-tile strong { display: block; margin-bottom: 4px; color: var(--text-primary); }
        .category-tile span { font-size: 0.85rem; color: var(--text-muted); }

        .game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
        .game-card { 
            background: var(--bg-surface); 
            border-radius: var(--radius-lg); 
            overflow: hidden; 
            border: 1px solid var(--bg-elevated);
            box-shadow: var(--shadow-card);
            transition: transform 0.2s;
        }
        .game-card:hover { transform: translateY(-4px); }
        .game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
        .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-lg); padding: 1.5rem; border: 1px solid var(--border-brand); }
        .freshness-notice { font-style: italic; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; display: block; }
        .facts-table { width: 100%; border-collapse: collapse; }
        .facts-table td { padding: 12px; border-bottom: 1px solid var(--bg-elevated); }
        .facts-table td:first-child { font-weight: 600; color: var(--brand-secondary); width: 40%; }
        .terms-link-wrapper { margin-top: 1rem; text-align: center; font-size: 0.85rem; }
        .terms-link-wrapper a { color: var(--text-muted); }

        .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 { 
            white-space: nowrap; 
            background: var(--bg-elevated); 
            padding: 8px 16px; 
            border-radius: var(--radius-md); 
            font-size: 0.9rem; 
            border: 1px solid var(--brand-secondary);
        }

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

        .usp-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
        .usp-tile { 
            background: var(--bg-elevated); 
            padding: 1.25rem; 
            border-radius: var(--radius-lg); 
            display: flex; 
            gap: 16px; 
            align-items: flex-start;
        }
        .usp-tile i { font-size: 1.5rem; color: var(--brand-accent); margin-top: 4px; }
        .usp-content strong { display: block; color: var(--text-primary); margin-bottom: 4px; }
        .usp-content p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

        .payment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .pay-card { 
            background: var(--bg-surface); 
            padding: 1rem; 
            border-radius: var(--radius-lg); 
            text-align: center; 
            border: 1px solid var(--bg-elevated);
        }
        .pay-card i { font-size: 1.5rem; color: var(--brand-secondary); margin-bottom: 8px; display: block; }
        .pay-card strong { display: block; font-size: 0.9rem; margin-bottom: 6px; }
        .pay-card p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

        .guide-step { 
            display: flex; 
            gap: 16px; 
            margin-bottom: 1.5rem; 
            background: var(--bg-surface); 
            padding: 1.25rem; 
            border-radius: var(--radius-lg);
        }
        .step-number { 
            background: var(--brand-secondary); 
            color: var(--bg-main); 
            width: 32px; 
            height: 32px; 
            border-radius: 50%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-weight: bold; 
            flex-shrink: 0; 
        }
        .step-content h3 { margin: 0 0 8px 0; }
        .step-content a { color: inherit; text-decoration: none; }

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

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

        .announcement-item { 
            display: flex; 
            gap: 12px; 
            padding: 1rem; 
            background: var(--bg-surface); 
            border-radius: var(--radius-lg); 
            margin-bottom: 12px; 
            border: 1px solid var(--bg-elevated);
        }
        .announcement-item i { color: var(--brand-accent); margin-top: 4px; }
        .announcement-date { font-size: 0.8rem; color: var(--text-muted); display: block; margin-top: 8px; }

        .faq-item { background: var(--bg-surface); border-radius: var(--radius-lg); margin-bottom: 12px; border: 1px solid var(--bg-elevated); }
        .faq-item summary { padding: 16px; cursor: pointer; list-style: none; outline: none; }
        .faq-item summary h3 { margin: 0; font-size: 1rem; color: var(--text-primary); }
        .faq-item p { padding: 0 16px 16px; margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

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

        .security-section { background: var(--bg-surface); padding: 2rem 1.5rem; border-radius: var(--radius-lg); }
        .rg-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.5rem 0; }
        .rg-link { background: var(--bg-main); padding: 8px 16px; border-radius: var(--radius-md); border: 1px solid var(--bg-elevated); font-size: 0.9rem; }

        footer { 
            margin-top: 3rem; 
            padding: 2rem 0; 
            border-top: 1px solid var(--bg-elevated); 
            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); }
        .footer-contact { margin-bottom: 1.5rem; font-size: 0.9rem; }
        .footer-legal { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

        .navigator { 
            position: fixed; 
            inset-inline: 0; 
            bottom: 0; 
            background: var(--bg-surface); 
            display: flex; 
            justify-content: space-around; 
            padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); 
            border-top: 1px solid var(--border-brand); 
            z-index: 1000; 
        }
        .nav-item { text-align: center; color: var(--text-secondary); font-size: 0.75rem; text-decoration: none; }
        .nav-item i { font-size: 1.2rem; display: block; margin-bottom: 4px; }

        .utility-link { display: block; text-align: center; margin-top: 1rem; font-weight: 600; }

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

        @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); }
            .usp-grid { grid-template-columns: repeat(2, 1fr); }
            .navigator { display: none; }
        }
        @media (min-width: 1200px) {
            body { padding-inline: 32px; max-width: 1200px; margin-inline: auto; }
            .category-grid { grid-template-columns: repeat(4, 1fr); }
        }