:root {
            --brand-primary: #044A3E;
            --brand-primary-hover: #066354;
            --brand-secondary: #C5A059;
            --brand-secondary-hover: #D9B875;
            --brand-accent: #FFD300;
            --bg-main: #021B16;
            --bg-surface: #052620;
            --bg-elevated: #09332B;
            --text-primary: #E8F2F0;
            --text-secondary: #B0C4C1;
            --text-muted: #7A8E8B;
            --text-contrast: #021B16;
            --border-default: #0A3D35;
            --border-strong: #145C4F;
            --border-brand: #C5A059;
            --grad-brand: linear-gradient(135deg, #C5A059 0%, #FFD300 100%);
            --grad-btn: linear-gradient(to bottom, #D9B875 0%, #C5A059 100%);
            --radius-sm: 2px;
            --radius-md: 4px;
            --radius-lg: 8px;
            --radius-pill: 9999px;
            --shadow-card: 0 4px 0px rgba(0,0,0,0.5);
        }

        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, video { max-width: 100%; height: auto; display: block; }
        a { color: var(--brand-secondary); text-decoration: none; transition: color 0.2s; }
        a:hover { color: var(--brand-accent); }
        h1, h2, h3 { font-family: 'Archivo Black', sans-serif; color: var(--text-primary); margin-top: 2rem; letter-spacing: -0.02em; line-height: 1.1; }
        h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.2; margin-bottom: 1rem; }
        h2 { font-size: clamp(1.3rem, 5.2vw, 1.8rem); line-height: 1.25; }
        h3 { font-size: clamp(1.05rem, 4.2vw, 1.25rem); line-height: 1.3; }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 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: 10px; }
        
        .btn-base {
            min-height: 44px;
            min-inline-size: 44px;
            padding: 12px 18px;
            border-radius: var(--radius-md);
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.1s, opacity 0.2s;
            border: none;
        }
        .btn-base:active { transform: scale(0.98); }
        .btn-primary { background: var(--grad-btn); color: var(--text-contrast); }
        .btn-primary:hover { background: var(--brand-accent); }
        .btn-outline { border: 1px solid var(--brand-secondary); color: var(--brand-secondary); background: transparent; }
        .btn-outline:hover { background: rgba(197, 160, 89, 0.1); }
        .btn-full { width: 100%; display: block; box-sizing: border-box; }

        .hero-section { padding: 2rem 0; text-align: center; }
        .hero-intro-text { color: var(--text-secondary); margin-bottom: 1.5rem; max-width: 800px; margin-inline: auto; }
        .hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 1.5rem; }
        .hero-tag-pill { background: var(--bg-surface); border: 1px solid var(--border-strong); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.85rem; color: var(--text-secondary); }

        .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: 2rem 0; }
        .cat-tile { background: var(--bg-surface); border: 1px solid var(--border-default); padding: 1.5rem 1rem; border-radius: var(--radius-lg); text-align: center; transition: background 0.2s; }
        .cat-tile:hover { background: var(--bg-elevated); border-color: var(--brand-secondary); }
        .cat-tile i { font-size: 2rem; color: var(--brand-secondary); margin-bottom: 10px; display: block; }
        .cat-tile-name { display: block; font-weight: bold; margin-bottom: 5px; color: var(--text-primary); }
        .cat-tile-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

        .game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 1.5rem 0; }
        .game-card { background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.2s; border: 1px solid var(--border-default); }
        .game-card:hover { transform: translateY(-5px); border-color: var(--brand-secondary); }
        .game-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
        .game-card-info { padding: 10px; text-align: center; }
        .game-card-title { margin: 0; font-size: 1rem; color: var(--text-primary); }

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

        .toc-nav { display: flex; overflow-x: auto; gap: 10px; padding: 1rem 0; margin-bottom: 2rem; 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); border: 1px solid var(--border-default); font-size: 0.9rem; }
        .toc-link:hover { border-color: var(--brand-secondary); }

        .promo-list { display: flex; flex-direction: column; gap: 15px; margin: 1.5rem 0; }
        .promo-card { background: var(--bg-elevated); border-left: 4px solid var(--brand-secondary); padding: 1.5rem; border-radius: var(--radius-md); }
        .promo-card h3 { margin-top: 0; color: var(--brand-accent); }
        .promo-card p { margin-bottom: 1.5rem; color: var(--text-secondary); }

        .usp-bar { display: grid; grid-template-columns: 1fr; gap: 15px; margin: 2rem 0; }
        .usp-tile { background: var(--bg-surface); padding: 1.5rem; border-radius: var(--radius-lg); display: flex; gap: 15px; align-items: flex-start; border: 1px solid var(--border-default); }
        .usp-tile i { font-size: 1.5rem; color: var(--brand-accent); margin-top: 4px; }
        .usp-title { display: block; font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; }
        .usp-desc { font-size: 0.9rem; color: var(--text-secondary); }

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

        .guide-steps { display: flex; flex-direction: column; gap: 20px; margin: 1.5rem 0; }
        .step-item { display: flex; gap: 15px; align-items: flex-start; }
        .step-num { background: var(--brand-secondary); color: var(--text-contrast); 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 5px 0; }
        .step-content h3 a { color: inherit; }

        .download-panel { background: var(--bg-surface); border: 2px dashed var(--brand-secondary); padding: 2rem; border-radius: var(--radius-lg); text-align: center; margin: 2rem 0; }

        .player-guide-list { display: flex; flex-direction: column; gap: 15px; margin: 1.5rem 0; }
        .guide-card { background: var(--bg-surface); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border-default); }
        .guide-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; display: block; }

        .announcement-list { display: flex; flex-direction: column; gap: 15px; margin: 1.5rem 0; }
        .ann-card { background: var(--bg-surface); padding: 1rem; border-radius: var(--radius-md); border: 1px solid var(--border-default); display: flex; gap: 12px; }
        .ann-card i { color: var(--brand-accent); margin-top: 4px; }
        .ann-info h3 { margin: 0 0 5px 0; font-size: 1.1rem; }
        .ann-info p { margin: 0 0 8px 0; font-size: 0.9rem; color: var(--text-secondary); }
        .ann-date { font-size: 0.75rem; color: var(--text-muted); }

        .faq-section { margin: 2rem 0; }
        .faq-item { background: var(--bg-surface); margin-bottom: 10px; border-radius: var(--radius-md); border: 1px solid var(--border-default); }
        .faq-item summary { padding: 1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary h3 { margin: 0; font-size: 1.05rem; pointer-events: none; }
        .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; }

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

        .security-box { background: var(--bg-surface); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); margin: 2rem 0; }
        .security-links { display: flex; flex-wrap: wrap; gap: 15px; margin: 1.5rem 0; }
        .security-link { background: var(--bg-main); padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-default); font-size: 0.9rem; }

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

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

        .utility-link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--brand-secondary); text-decoration: underline; }

        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(2, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 1fr); }
            .usp-bar { grid-template-columns: repeat(3, 1fr); }
            .navigator { position: static; display: none; }
            footer { padding-bottom: 24px; }
        }

        @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(4, 1fr); }
        }