:root {
            --brand-primary: #064E3B;
            --brand-primary-hover: #065F46;
            --brand-secondary: #D4AF37;
            --brand-secondary-hover: #E5C76B;
            --brand-accent: #FACC15;
            --bg-main: #022C22;
            --bg-surface: #063D31;
            --bg-elevated: #0A4D3E;
            --text-primary: #F0FDF4;
            --text-secondary: #BBF7D0;
            --text-muted: #86EFAC;
            --btn-bg: #FACC15;
            --btn-text: #022C22;
            --btn-hover-bg: #FDE047;
            --border-default: #065F46;
            --border-brand: rgba(250, 204, 21, 0.5);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        }
        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.3s ease; }
        a:hover { color: #FDE047; }
        .btn, .cta-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            min-inline-size: 44px;
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            text-align: center;
        }
        .btn-primary { background: var(--btn-bg); color: var(--btn-text); }
        .btn-primary:hover { background: var(--btn-hover-bg); }
        .btn-outline { background: transparent; border: 1px solid var(--brand-secondary); color: var(--brand-secondary); }
        .btn-outline:hover { background: var(--brand-secondary); color: var(--bg-main); }
        
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            max-width: 1200px;
            margin: 0 auto;
        }
        .header-brand { display: flex; align-items: center; gap: 8px; }
        .header-brand strong { font-size: 16px; font-weight: normal; color: var(--text-primary); }
        .header-nav { display: flex; gap: 12px; }

        main { max-width: 1200px; margin: 0 auto; }

        .hero-section {
            text-align: center;
            padding: 40px 0;
            background: radial-gradient(circle at center, #0A4D3E 0%, #022C22 100%);
        }
        .hero-section h1 {
            font-size: clamp(1.8rem, 6.5vw, 3rem);
            line-height: 1.2;
            margin-bottom: 20px;
            color: var(--brand-secondary);
        }
        .hero-intro {
            font-size: 1.1rem;
            margin-bottom: 30px;
            color: var(--text-secondary);
            max-width: 800px;
            margin-inline: auto;
        }
        .hero-cta-wrap { margin-bottom: 24px; }
        .hero-cta { width: 100%; font-size: 1.25rem; }
        .hero-tags {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .tag-pill {
            background: rgba(6, 77, 59, 0.6);
            border: 1px solid var(--border-brand);
            padding: 4px 12px;
            border-radius: 9999px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .banner-link { display: block; width: 100%; overflow: hidden; border-radius: var(--radius-md); }
        .banner-img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin: 32px 0;
        }
        .category-tile {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            padding: 20px;
            border-radius: var(--radius-md);
            text-align: center;
            transition: transform 0.3s ease, border-color 0.3s ease;
            backdrop-filter: blur(10px);
        }
        .category-tile:hover { transform: translateY(-5px); border-color: var(--brand-secondary); }
        .category-tile i { font-size: 2rem; color: var(--brand-secondary); margin-bottom: 12px; }
        .category-tile strong { display: block; font-size: 1.1rem; color: var(--text-primary); margin-bottom: 8px; }
        .category-tile span { font-size: 0.85rem; color: var(--text-muted); }

        .game-section { margin: 40px 0; }
        .game-section h2 { 
            font-size: clamp(1.3rem, 5.2vw, 2.25rem); 
            margin-bottom: 24px; 
            color: var(--brand-secondary); 
        }
        .game-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }
        .game-card {
            background: var(--bg-surface);
            border-radius: var(--radius-md);
            overflow: hidden;
            border: 1px solid var(--border-default);
            transition: all 0.3s ease;
        }
        .game-card:hover { border-color: var(--brand-accent); box-shadow: var(--shadow-card); }
        .game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
        .game-card h3 { 
            font-size: 1rem; 
            padding: 12px; 
            margin: 0; 
            text-align: center; 
            color: var(--text-primary); 
        }

        .facts-container {
            background: var(--bg-surface);
            padding: 24px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-brand);
            margin: 32px 0;
        }
        .facts-notice {
            font-style: italic;
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 20px;
            display: block;
        }
        .facts-table {
            width: 100%;
            border-collapse: collapse;
        }
        .facts-table tr { border-bottom: 1px solid var(--border-default); }
        .facts-table td { padding: 12px 8px; }
        .facts-label { font-weight: 600; color: var(--brand-secondary); width: 40%; }
        .facts-value { color: var(--text-primary); }
        .terms-link-wrap { margin-top: 16px; text-align: center; font-size: 0.85rem; }

        .toc-nav {
            display: flex;
            overflow-x: auto;
            gap: 12px;
            padding: 16px 0;
            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-grid { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
        .promo-card {
            background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
            padding: 24px;
            border-radius: var(--radius-md);
            border-left: 4px solid var(--brand-secondary);
        }
        .promo-card h3 { color: var(--brand-accent); margin-top: 0; }
        .promo-body { margin-bottom: 20px; color: var(--text-secondary); }

        .usp-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            margin: 32px 0;
        }
        .usp-tile {
            display: flex;
            align-items: center;
            gap: 16px;
            background: var(--bg-surface);
            padding: 16px;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-default);
        }
        .usp-tile i { font-size: 1.5rem; color: var(--brand-accent); width: 30px; text-align: center; }
        .usp-content strong { display: block; color: var(--text-primary); }
        .usp-content span { font-size: 0.9rem; color: var(--text-muted); }

        .guide-step {
            display: flex;
            gap: 20px;
            margin-bottom: 24px;
            align-items: flex-start;
        }
        .step-num {
            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 h3 a { color: inherit; }

        .payment-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin: 32px 0;
        }
        .payment-card {
            background: var(--bg-surface);
            padding: 20px;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-default);
            text-align: center;
        }
        .payment-card i { font-size: 2rem; color: var(--brand-secondary); margin-bottom: 12px; }
        .payment-card strong { display: block; margin-bottom: 8px; }
        .payment-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

        .download-box {
            background: var(--bg-surface);
            padding: 32px;
            border-radius: var(--radius-lg);
            text-align: center;
            border: 1px solid var(--brand-secondary);
            margin: 32px 0;
        }

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

        .announcement-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            margin: 32px 0;
        }
        .announcement-item {
            background: var(--bg-elevated);
            padding: 20px;
            border-radius: var(--radius-md);
            border-left: 4px solid var(--brand-accent);
        }
        .announcement-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
        .announcement-header i { color: var(--brand-accent); }
        .announcement-date { font-size: 0.8rem; color: var(--text-muted); display: block; margin-top: 10px; }

        .faq-container { margin: 32px 0; }
        details { background: var(--bg-surface); margin-bottom: 12px; border-radius: var(--radius-md); border: 1px solid var(--border-default); }
        summary { padding: 16px; cursor: pointer; list-style: none; outline: none; }
        summary h3 { margin: 0; font-size: 1.1rem; color: var(--text-primary); }
        .faq-answer { padding: 0 16px 16px 16px; color: var(--text-secondary); }

        .about-box {
            background: var(--bg-surface);
            padding: 32px;
            border-radius: var(--radius-lg);
            margin: 32px 0;
            border: 1px solid var(--border-default);
        }
        .team-card {
            margin-top: 24px;
            padding: 20px;
            background: rgba(0,0,0,0.2);
            border-radius: var(--radius-md);
            border: 1px dashed var(--brand-secondary);
        }

        .security-box {
            background: var(--bg-elevated);
            padding: 32px;
            border-radius: var(--radius-lg);
            margin: 32px 0;
            text-align: center;
        }
        .security-links { display: flex; justify-content: center; gap: 20px; margin: 20px 0; }

        footer {
            border-top: 1px solid var(--border-default);
            padding: 40px 0;
            margin-top: 40px;
            text-align: center;
        }
        .footer-sitemap {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            max-width: 600px;
            margin: 0 auto 32px;
        }
        .footer-contact { margin-bottom: 24px; font-size: 0.9rem; }
        .footer-legal { font-size: 0.8rem; color: var(--text-muted); line-height: 1.8; }

        .navigator {
            position: fixed;
            inset-inline: 0;
            bottom: 0;
            background: var(--bg-surface);
            backdrop-filter: blur(15px);
            display: flex;
            justify-content: space-around;
            padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
            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 { display: block; font-size: 1.2rem; margin-bottom: 4px; }

        @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(2, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 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-grid { grid-template-columns: repeat(4, 1fr); }
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .payment-grid { grid-template-columns: repeat(7, 1fr); }
        }

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