:root {
            --brand-primary: #064E3B;
            --brand-primary-hover: #065F46;
            --brand-secondary: #C5A059;
            --brand-secondary-hover: #D4B475;
            --brand-accent: #F3D060;
            --bg-main: #022C22;
            --bg-surface: #063D31;
            --bg-elevated: #0A4D3F;
            --text-primary: #ECFDF5;
            --text-secondary: #A7F3D0;
            --text-muted: #6EE7B7;
            --text-link: #F3D060;
            --btn-bg: #C5A059;
            --btn-text: #022C22;
            --btn-hover-bg: #F3D060;
            --border-brand: #C5A059;
            --radius-sm: 4px;
            --radius-md: 8px;
            --radius-lg: 16px;
            --radius-pill: 9999px;
            --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
            --grad-brand: linear-gradient(135deg, #C5A059 0%, #F3D060 100%);
            --grad-hero: radial-gradient(circle at center, #0A4D3F 0%, #022C22 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;
            background-color: var(--bg-main);
            color: var(--text-primary);
            padding-inline: 14px;
            padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
            overflow-x: hidden;
        }
        h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--brand-accent); margin-top: 2rem; }
        h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.2; text-align: center; margin-bottom: 1rem; }
        h2 { font-size: clamp(1.3rem, 5.2vw, 1.8rem); line-height: 1.25; text-align: center; }
        h3 { font-size: clamp(1.05rem, 4.2vw, 1.25rem); line-height: 1.3; }
        a { color: var(--text-link); text-decoration: none; transition: color 0.3s ease; }
        a:hover { color: #FFFFFF; }
        img { max-width: 100%; height: auto; display: block; }
        .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-pill);
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease, background 0.3s ease;
            border: none;
            text-align: center;
            text-decoration: none;
        }
        .cta-primary { background: var(--grad-brand); color: var(--btn-text); }
        .cta-primary:hover { background: var(--btn-hover-bg); transform: translateY(-2px); }
        .cta-secondary { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--brand-secondary); }
        .cta-secondary:hover { background: var(--bg-elevated); }
        
        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: 400; }
        .header-actions { display: flex; gap: 10px; }

        main { max-width: 1200px; margin: 0 auto; }
        
        .hero-section { 
            padding: 2rem 0; 
            text-align: center; 
            background: var(--grad-hero); 
            border-radius: var(--radius-lg); 
            margin-bottom: 2rem; 
        }
        .hero-intro-text { max-width: 800px; margin: 0 auto 2rem; padding: 0 1rem; }
        .hero-cta-wrapper { padding: 0 1rem; }
        .hero-cta-wrapper .cta-button { width: 100%; box-sizing: border-box; font-size: 1.2rem; }
        .hero-tags { 
            display: flex; 
            justify-content: center; 
            flex-wrap: wrap; 
            gap: 10px; 
            margin-top: 1.5rem; 
            padding: 0 1rem; 
        }
        .tag-pill { 
            background: var(--bg-surface); 
            color: var(--text-muted); 
            padding: 4px 12px; 
            border-radius: var(--radius-pill); 
            font-size: 0.85rem; 
            border: 1px solid var(--brand-primary); 
        }

        .banner-link { display: block; margin: 0 -14px 2rem; }
        .banner-link img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }

        .cat-grid { 
            display: grid; 
            grid-template-columns: repeat(2, 1fr); 
            gap: 15px; 
            margin-bottom: 3rem; 
        }
        .cat-tile { 
            background: var(--bg-surface); 
            padding: 1.5rem; 
            border-radius: var(--radius-md); 
            text-align: center; 
            border: 1px solid var(--bg-elevated); 
            transition: border-color 0.3s ease; 
        }
        .cat-tile:hover { border-color: var(--brand-secondary); }
        .cat-tile i { font-size: 2rem; color: var(--brand-secondary); margin-bottom: 10px; }
        .cat-tile strong { display: block; font-size: 1.1rem; margin-bottom: 8px; color: var(--text-primary); }
        .cat-tile span { font-size: 0.9rem; color: var(--text-secondary); }

        .game-grid { 
            display: grid; 
            grid-template-columns: repeat(2, 1fr); 
            gap: 15px; 
            margin-bottom: 3rem; 
        }
        .game-card { 
            background: var(--bg-surface); 
            border-radius: var(--radius-md); 
            overflow: hidden; 
            border: 1px solid var(--bg-elevated); 
            transition: transform 0.2s ease; 
        }
        .game-card:hover { transform: scale(1.03); }
        .game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
        .game-card h3 { 
            font-family: 'Be Vietnam Pro', sans-serif; 
            font-size: 1rem; 
            text-align: center; 
            margin: 10px 0; 
            color: var(--text-primary); 
        }

        .facts-container { 
            background: var(--bg-surface); 
            padding: 2rem; 
            border-radius: var(--radius-lg); 
            border: 1px solid var(--brand-secondary); 
            margin-bottom: 3rem; 
        }
        .freshness-notice { 
            text-align: center; 
            font-style: italic; 
            color: var(--text-muted); 
            font-size: 0.9rem; 
            margin-bottom: 1.5rem; 
        }
        .facts-table { width: 100%; border-collapse: collapse; }
        .facts-table tr { border-bottom: 1px solid var(--bg-elevated); }
        .facts-table td { padding: 12px; color: var(--text-secondary); }
        .facts-table td:first-child { font-weight: 600; color: var(--brand-accent); width: 40%; }
        .terms-link-wrapper { text-align: center; margin-top: 1rem; 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: 3rem; 
            scrollbar-width: none; 
        }
        .toc-nav::-webkit-scrollbar { display: none; }
        .toc-link { 
            white-space: nowrap; 
            background: var(--bg-surface); 
            padding: 8px 16px; 
            border-radius: var(--radius-pill); 
            font-size: 0.9rem; 
            border: 1px solid var(--brand-primary); 
        }

        .promo-section { margin-bottom: 3rem; }
        .promo-card { 
            background: var(--bg-surface); 
            border-radius: var(--radius-lg); 
            padding: 2rem; 
            margin-bottom: 1.5rem; 
            border-left: 5px solid var(--brand-secondary); 
            display: flex; 
            flex-direction: column; 
            gap: 1rem; 
        }
        .promo-card h3 { margin-top: 0; }

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

        .payment-grid { 
            display: grid; 
            grid-template-columns: repeat(2, 1fr); 
            gap: 15px; 
            margin-bottom: 3rem; 
        }
        .pay-card { 
            background: var(--bg-surface); 
            padding: 1.5rem; 
            border-radius: var(--radius-md); 
            text-align: center; 
            border: 1px solid var(--bg-elevated); 
        }
        .pay-card i { font-size: 2rem; color: var(--brand-secondary); margin-bottom: 10px; }
        .pay-card strong { display: block; margin-bottom: 10px; }
        .pay-card p { font-size: 0.85rem; color: var(--text-secondary); }

        .guide-steps { margin-bottom: 3rem; }
        .step-item { 
            display: flex; 
            gap: 20px; 
            margin-bottom: 20px; 
            background: var(--bg-surface); 
            padding: 1.5rem; 
            border-radius: var(--radius-md); 
        }
        .step-num { 
            min-width: 40px; 
            height: 40px; 
            background: var(--brand-secondary); 
            color: var(--btn-text); 
            border-radius: 50%; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-weight: bold; 
        }
        .step-content h3 { margin-top: 0; color: var(--brand-accent); }
        .step-content h3 a { color: inherit; }

        .mobile-section { 
            background: var(--bg-surface); 
            padding: 2rem; 
            border-radius: var(--radius-lg); 
            text-align: center; 
            margin-bottom: 3rem; 
        }
        .mobile-section p { margin-bottom: 2rem; }

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

        .announcement-list { margin-bottom: 3rem; }
        .announcement-card { 
            background: var(--bg-surface); 
            padding: 1.5rem; 
            border-radius: var(--radius-md); 
            margin-bottom: 15px; 
            display: flex; 
            gap: 15px; 
            border-left: 4px solid var(--brand-primary); 
        }
        .announcement-card i { color: var(--brand-secondary); margin-top: 5px; }
        .announcement-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px; display: block; }

        .faq-section { margin-bottom: 3rem; }
        .faq-item { background: var(--bg-surface); margin-bottom: 10px; border-radius: var(--radius-md); }
        .faq-item summary { padding: 1rem; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; }
        .faq-item summary h3 { margin: 0; font-size: 1.1rem; color: var(--text-primary); }
        .faq-item p { padding: 0 1rem 1rem; color: var(--text-secondary); font-size: 0.95rem; }

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

        .security-section { 
            background: var(--bg-surface); 
            padding: 2rem; 
            border-radius: var(--radius-lg); 
            margin-bottom: 3rem; 
            text-align: center; 
        }
        .security-links { display: flex; justify-content: center; gap: 20px; margin: 1.5rem 0; }

        footer { 
            background: var(--bg-surface); 
            padding: 3rem 0 5rem; 
            border-top: 1px solid var(--brand-primary); 
            text-align: center; 
        }
        .footer-sitemap { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 10px; 
            max-width: 800px; 
            margin: 0 auto 2rem; 
        }
        .footer-sitemap a { color: var(--text-secondary); font-size: 0.9rem; }
        .footer-contact { margin-bottom: 2rem; font-size: 0.95rem; }
        .footer-legal { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }

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

        .utility-link { display: block; text-align: center; margin-top: 1rem; color: var(--brand-accent); font-weight: 500; }

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

        @media (min-width: 768px) {
            body { padding-inline: 24px; padding-bottom: 24px; }
            .cat-grid { 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); }
            .step-item { flex-direction: row; }
            .navigator { position: static; display: none; }
            header { padding: 2rem 0; }
        }
        @media (min-width: 1200px) {
            body { padding-inline: 32px; max-width: 1200px; margin-inline: auto; }
            .cat-grid { grid-template-columns: repeat(4, 1fr); }
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 1fr); }
            .usp-bar { grid-template-columns: repeat(4, 1fr); }
        }