:root {
            --brand-primary: #064E3B;
            --brand-primary-hover: #065F46;
            --brand-secondary: #D4AF37;
            --brand-secondary-hover: #E5C76B;
            --brand-accent: #FACC15;
            --bg-main: #022C22;
            --bg-surface: #063B2E;
            --bg-elevated: #0A4D3F;
            --text-primary: #F0FDF4;
            --text-secondary: #BBF7D0;
            --text-muted: #86EFAC;
            --btn-bg: #D4AF37;
            --btn-text: #022C22;
            --btn-hover-bg: #FACC15;
            --border-default: #064E3B;
            --border-brand: #D4AF37;
            --radius-sm: 6px;
            --radius-md: 12px;
            --radius-lg: 24px;
            --radius-pill: 9999px;
            --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            --grad-brand: linear-gradient(135deg, #D4AF37 0%, #FACC15 100%);
            --grad-hero: radial-gradient(circle at center, #064E3B 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;
        }
        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-base {
            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(--btn-bg); color: var(--btn-text); }
        .btn-primary:hover { background: var(--btn-hover-bg); }
        .btn-full { width: 100%; }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid var(--border-default);
        }
        .header-logo-link { display: flex; align-items: center; gap: 8px; }
        .header-logo-text { font-size: 16px; font-weight: normal; color: var(--text-primary); }
        .header-actions { display: flex; gap: 12px; }

        main { width: 100%; }
        section { 
            padding: 40px 0; 
            content-visibility: auto; 
            contain-intrinsic-size: 1px 500px; 
        }

        .hero-wrapper {
            padding: 40px 0;
            text-align: center;
            background: var(--grad-hero);
        }
        h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.2; margin-bottom: 20px; color: var(--brand-secondary); }
        .hero-intro { font-size: 1.1rem; margin-bottom: 30px; color: var(--text-secondary); }
        .hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
        .tag-pill { 
            background: rgba(6, 78, 59, 0.5); 
            border: 1px solid var(--border-brand); 
            padding: 4px 12px; 
            border-radius: var(--radius-pill); 
            font-size: 0.85rem; 
            color: var(--text-muted);
        }

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

        .cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
        .cat-tile { 
            background: var(--bg-surface); 
            border: 1px solid var(--border-default); 
            padding: 20px; 
            border-radius: var(--radius-md); 
            text-align: center; 
            transition: transform 0.2s ease;
            backdrop-filter: blur(10px);
        }
        .cat-tile:hover { transform: translateY(-5px); border-color: var(--brand-secondary); }
        .cat-icon { font-size: 2rem; color: var(--brand-secondary); margin-bottom: 12px; }
        .cat-name { display: block; font-size: 1.1rem; color: var(--text-primary); margin-bottom: 8px; }
        .cat-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

        .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-secondary); box-shadow: var(--shadow-card); }
        .game-img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
        .game-info { padding: 12px; text-align: center; }
        .game-title { font-size: 1rem; margin: 0; color: var(--text-primary); }

        .facts-wrapper { margin-top: 20px; }
        .freshness-notice { font-style: italic; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; display: block; }
        .facts-table { width: 100%; border-collapse: collapse; background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; }
        .facts-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-default); }
        .facts-label { font-weight: 600; color: var(--brand-secondary); width: 40%; }
        .facts-value { color: var(--text-primary); }
        .terms-note { display: block; margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); text-align: center; }

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

        .promo-card { 
            background: var(--bg-surface); 
            border: 1px solid var(--border-brand); 
            border-radius: var(--radius-lg); 
            padding: 24px; 
            margin-bottom: 20px; 
            position: relative;
            overflow: hidden;
        }
        .promo-card::before { content: ""; position: absolute; top: 0; right: 0; width: 60px; height: 60px; background: var(--grad-brand); clip-path: polygon(100% 0, 0 0, 100% 100%); opacity: 0.3; }

        .usp-tile { 
            display: flex; 
            align-items: center; 
            gap: 16px; 
            background: var(--bg-surface); 
            padding: 20px; 
            border-radius: var(--radius-md); 
            margin-bottom: 16px; 
            border-left: 4px solid var(--brand-secondary);
        }
        .usp-icon { font-size: 1.5rem; color: var(--brand-secondary); width: 30px; text-align: center; }

        .pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .pay-card { 
            background: var(--bg-surface); 
            border: 1px solid var(--border-default); 
            padding: 16px; 
            border-radius: var(--radius-md); 
            text-align: center;
        }
        .pay-icon { font-size: 1.5rem; color: var(--brand-secondary); margin-bottom: 8px; }
        .pay-name { display: block; font-weight: 600; margin-bottom: 8px; }
        .pay-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

        .step-item { 
            display: flex; 
            gap: 20px; 
            padding: 20px; 
            background: var(--bg-surface); 
            border-radius: var(--radius-md); 
            margin-bottom: 16px; 
            align-items: flex-start;
        }
        .step-badge { 
            min-width: 32px; height: 32px; background: var(--grad-brand); 
            color: var(--bg-main); border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; 
            font-weight: 800; 
        }
        .step-content h3 { margin: 0 0 8px 0; }
        .step-link { color: inherit; text-decoration: none; }

        .announcement-item { 
            display: flex; 
            gap: 15px; 
            padding: 16px; 
            background: var(--bg-surface); 
            border-radius: var(--radius-md); 
            margin-bottom: 12px; 
            border: 1px solid var(--border-default);
        }
        .ann-icon { color: var(--brand-secondary); margin-top: 4px; }
        .ann-date { font-size: 0.8rem; color: var(--text-muted); display: block; margin-top: 8px; }

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

        .trust-card { 
            background: var(--bg-elevated); 
            padding: 24px; 
            border-radius: var(--radius-lg); 
            border: 1px solid var(--brand-secondary); 
            margin-top: 30px;
        }

        footer { 
            background: var(--bg-surface); 
            padding: 40px 0 80px 0; 
            border-top: 2px solid var(--brand-secondary); 
            margin-top: 40px; 
        }
        .footer-sitemap { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 12px; 
            margin-bottom: 30px; 
            text-align: center;
        }
        .footer-contact { text-align: center; margin-bottom: 20px; }
        .footer-legal { text-align: center; font-size: 0.85rem; color: var(--text-muted); }

        .navigator { 
            position: fixed; inset-inline: 0; bottom: 0; 
            background: rgba(6, 59, 46, 0.95); 
            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); flex: 1; }
        .nav-item i { display: block; font-size: 1.2rem; margin-bottom: 4px; }
        .nav-label { font-size: 0.75rem; display: block; }

        h2 { font-size: clamp(1.3rem, 5.2vw, 1.8rem); line-height: 1.25; margin-top: 2rem; color: var(--brand-secondary); }

        @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(2, 1fr); }
            .navigator { position: static; display: none; }
            footer { padding-bottom: 40px; }
        }

        @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); }
            .footer-sitemap { grid-template-columns: repeat(5, 1fr); }
        }
        .utility-link { font-weight: 600; color: var(--brand-accent); text-decoration: underline; }