: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;
            --bg-overlay: rgba(2, 44, 34, 0.8);
            --text-primary: #F0FDF4;
            --text-secondary: #D1FAE5;
            --text-muted: #A7F3D0;
            --text-brand-contrast: #064E3B;
            --text-link: #FACC15;
            --text-link-hover: #FDE047;
            --btn-bg: #FACC15;
            --btn-text: #064E3B;
            --btn-bg-hover: #FDE047;
            --btn-text-hover: #022C22;
            --border-default: #065F46;
            --border-strong: #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);
            --shadow-elevated: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
            --shadow-glow: 0 0 15px rgba(250, 204, 21, 0.4);
            --grad-brand: linear-gradient(135deg, #064E3B 0%, #022C22 100%);
            --grad-hero: radial-gradient(circle at top right, #065F46 0%, #022C22 70%);
            --grad-button: linear-gradient(180deg, #FACC15 0%, #D4AF37 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 ease; }
        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);
            color: var(--btn-text-hover);
            transform: translateY(-2px);
        }
        .btn-outline {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border-brand);
        }
        .btn-outline:hover {
            background: rgba(212, 175, 55, 0.1);
            border-color: var(--brand-secondary-hover);
        }
        h1 { font-family: 'Be Vietnam Pro', sans-serif; font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.2; margin: 0 0 1rem 0; color: var(--text-primary); font-weight: 700; }
        h2 { font-family: 'Be Vietnam Pro', sans-serif; font-size: clamp(1.3rem, 5.2vw, 1.8rem); line-height: 1.25; margin-top: 2rem; margin-bottom: 1rem; color: var(--brand-secondary); font-weight: 600; }
        h3 { font-family: 'Be Vietnam Pro', sans-serif; font-size: clamp(1.05rem, 4.2vw, 1.25rem); line-height: 1.3; margin: 0 0 0.5rem 0; color: var(--text-secondary); font-weight: 600; }

        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
            background: var(--bg-surface);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid var(--border-default);
        }
        .header-brand { display: flex; align-items: center; gap: 8px; }
        .header-brand strong { font-size: 16px; font-weight: 400; color: var(--text-primary); }
        .header-actions { display: flex; gap: 10px; }

        main { width: 100%; }
        .hero-section {
            padding: 2rem 0;
            text-align: center;
            background: var(--grad-hero);
        }
        .hero-intro-text { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1.5rem; max-width: 800px; margin-inline: auto; }
        .hero-cta { width: 100%; margin-bottom: 1.5rem; font-size: 1.2rem; }
        .hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
        .hero-tag {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--border-default);
            padding: 4px 12px;
            border-radius: var(--radius-pill);
            font-size: 0.85rem;
            color: var(--text-muted);
            backdrop-filter: blur(5px);
        }

        .banner-wrapper { width: 100%; line-height: 0; margin-bottom: 2rem; }
        .banner-wrapper img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-md); }

        .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 1rem;
            border-radius: var(--radius-md);
            text-align: center;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        .category-tile:hover { border-color: var(--brand-secondary); background: var(--bg-elevated); transform: translateY(-3px); }
        .category-tile i { font-size: 2rem; color: var(--brand-secondary); margin-bottom: 8px; }
        .category-tile strong { color: var(--text-primary); display: block; margin-bottom: 4px; }
        .category-tile span { font-size: 0.85rem; color: var(--text-muted); }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            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 ease, border-color 0.2s ease;
        }
        .game-card:hover { transform: scale(1.02); border-color: var(--brand-secondary); }
        .game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
        .game-card h3 { padding: 12px; font-size: 1rem; text-align: center; color: var(--text-primary); margin: 0; }

        .facts-container {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        .freshness-notice { font-style: italic; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; display: block; }
        .facts-table { width: 100%; border-collapse: collapse; }
        .facts-table tr { border-bottom: 1px solid var(--border-default); }
        .facts-table tr:last-child { border-bottom: none; }
        .facts-table td { padding: 12px 8px; vertical-align: top; }
        .facts-label { font-weight: 600; color: var(--brand-secondary); width: 40%; }
        .facts-value { color: var(--text-primary); }
        .facts-footer-link { display: block; margin-top: 1rem; text-align: center; font-size: 0.85rem; color: var(--text-muted); }

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

        .promo-section { margin-bottom: 2rem; }
        .promo-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-brand);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            box-shadow: var(--shadow-card);
        }
        .promo-card h3 { color: var(--brand-secondary); font-size: 1.4rem; }

        .usp-bar { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 2rem; }
        .usp-tile {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            padding: 1.2rem;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .usp-tile i { font-size: 1.5rem; color: var(--brand-secondary); }
        .usp-title { font-weight: 600; color: var(--text-primary); display: block; }
        .usp-desc { font-size: 0.9rem; color: var(--text-muted); }

        .payment-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 2rem;
        }
        .payment-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            padding: 1rem;
            border-radius: var(--radius-md);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }
        .payment-card i { font-size: 1.8rem; color: var(--brand-secondary); }
        .payment-card strong { color: var(--text-primary); font-size: 0.95rem; }
        .payment-card p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

        .guide-steps { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 2rem; }
        .step-item {
            display: flex;
            gap: 15px;
            background: var(--bg-surface);
            padding: 1.2rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-default);
        }
        .step-number {
            min-width: 32px;
            height: 32px;
            background: var(--brand-secondary);
            color: var(--btn-text);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
        }
        .step-content h3 { margin: 0 0 8px 0; }
        .step-content a { color: inherit; }

        .mobile-box {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            text-align: center;
            margin-bottom: 2rem;
        }

        .player-guide-item {
            background: var(--bg-surface);
            border-left: 4px solid var(--brand-secondary);
            padding: 1.2rem;
            margin-bottom: 1rem;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
        }
        .guide-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; display: block; }

        .announcements-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 2rem; }
        .announcement-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            padding: 1rem;
            border-radius: var(--radius-md);
            display: flex;
            gap: 12px;
        }
        .announcement-card i { color: var(--brand-accent); margin-top: 4px; }
        .announcement-date { font-size: 0.75rem; color: var(--text-muted); display: block; margin-top: 8px; }

        .faq-section { margin-bottom: 2rem; }
        .faq-item {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            border-radius: var(--radius-md);
            margin-bottom: 12px;
            overflow: hidden;
        }
        .faq-item summary { padding: 1rem; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary h3 { margin: 0; font-size: 1.05rem; color: var(--text-primary); }
        .faq-answer { padding: 0 1rem 1rem 1rem; color: var(--text-secondary); font-size: 0.95rem; border-top: 1px solid var(--border-default); padding-top: 1rem; }

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

        .security-box {
            background: var(--bg-surface);
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-default);
            margin-bottom: 2rem;
        }
        .security-list { list-style: none; padding: 0; margin: 1rem 0; }
        .security-list li { display: flex; gap: 10px; margin-bottom: 10px; color: var(--text-secondary); }
        .security-list i { color: var(--brand-secondary); margin-top: 4px; }

        footer {
            background: var(--bg-surface);
            padding: 2rem 0;
            border-top: 1px solid var(--border-default);
            text-align: center;
        }
        .footer-sitemap {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 2rem;
            text-align: center;
        }
        .footer-sitemap a { font-size: 0.85rem; color: var(--text-muted); }
        .footer-contact { margin-bottom: 1.5rem; font-size: 0.9rem; }
        .footer-legal { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

        .navigator {
            position: fixed;
            inset-inline: 0;
            bottom: 0;
            height: 64px;
            background: var(--bg-surface);
            backdrop-filter: blur(15px);
            border-top: 1px solid var(--border-default);
            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;
            justify-content: center;
            color: var(--text-muted);
            font-size: 0.7rem;
            gap: 4px;
            text-decoration: none;
        }
        .nav-item i { font-size: 1.2rem; }
        .nav-item:hover { color: var(--brand-secondary); }

        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); }
            .usp-bar { grid-template-columns: repeat(3, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 1fr); }
            .guide-steps { grid-template-columns: repeat(2, 1fr); }
            .announcements-grid { grid-template-columns: repeat(2, 1fr); }
            .navigator { position: static; display: none; }
            .header-brand strong { font-size: 18px; }
        }

        @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); }
            .footer-sitemap { grid-template-columns: repeat(5, 1fr); }
        }