:root {
            --brand-primary: #D4AF37;
            --brand-primary-hover: #FFD700;
            --brand-secondary: #1A1A1A;
            --brand-secondary-hover: #2C2C2C;
            --brand-accent: #C0C0C0;
            --bg-main: #0A0A0A;
            --bg-surface: #141414;
            --bg-elevated: #1E1E1E;
            --bg-overlay: rgba(0, 0, 0, 0.85);
            --text-primary: #FFFFFF;
            --text-secondary: #B3B3B3;
            --text-muted: #666666;
            --text-brand-contrast: #000000;
            --text-link: #D4AF37;
            --text-link-hover: #FFD700;
            --btn-bg: #D4AF37;
            --btn-text: #000000;
            --btn-bg-hover: #FFD700;
            --btn-text-hover: #000000;
            --semantic-success: #2ECC71;
            --semantic-error: #E74C3C;
            --semantic-warning: #F1C40F;
            --semantic-info: #3498DB;
            --border-default: #333333;
            --border-strong: #4D4D4D;
            --border-brand: #D4AF37;
        }

        html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
        body {
            margin: 0;
            font-family: 'Inter', 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: 'Montserrat', sans-serif;
            color: var(--text-primary);
            letter-spacing: -0.02em;
            line-height: 1.2;
            margin-top: 0;
        }
        h1 { font-size: clamp(1.6rem, 6.5vw, 2.4rem); text-align: center; margin-bottom: 1rem; }
        h2 { font-size: clamp(1.3rem, 5.2vw, 1.8rem); line-height: 1.25; margin-top: 2rem; margin-bottom: 1.2rem; border-left: 4px solid var(--brand-primary); padding-left: 12px; }
        h3 { font-size: clamp(1.05rem, 4.2vw, 1.25rem); line-height: 1.3; margin-bottom: 0.5rem; }

        a { color: var(--text-link); text-decoration: none; transition: color 0.2s; }
        a:hover { color: var(--text-link-hover); }

        img, video, iframe { max-width: 100%; height: auto; display: block; }
        .aspect-ratio-box { position: relative; overflow: hidden; border-radius: 8px; }
        .aspect-ratio-2-1 { aspect-ratio: 2 / 1; }
        .aspect-ratio-1-1 { aspect-ratio: 1 / 1; }
        .aspect-ratio-4-3 { aspect-ratio: 4 / 3; }

        button, .btn, .cta {
            min-height: 44px;
            min-inline-size: 44px;
            padding: 12px 18px;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-family: inherit;
            font-weight: 600;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s, background-color 0.2s;
        }
        .btn-primary { background-color: var(--btn-bg); color: var(--btn-text); width: 100%; font-size: 1.1rem; }
        .btn-primary:hover { background-color: var(--btn-bg-hover); transform: translateY(-2px); }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: var(--bg-main);
            border-bottom: 1px solid var(--border-default);
        }
        .header-logo { display: flex; align-items: center; gap: 8px; }
        .header-logo strong { font-size: 16px; font-weight: 400; }
        .header-actions { display: flex; gap: 8px; }
        .btn-sm { padding: 6px 14px; font-size: 14px; border-radius: 4px; }
        .btn-login { background-color: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-default); }
        .btn-register { background-color: var(--brand-primary); color: var(--text-brand-contrast); }

        main { padding-top: 16px; }
        section { 
            margin-bottom: 40px; 
            content-visibility: auto; 
            contain-intrinsic-size: 1px 500px; 
        }

        .hero-banner a { display: block; line-height: 0; }
        .hero-intro { text-align: center; margin: 20px 0; }
        .hero-intro p { color: var(--text-secondary); margin-bottom: 24px; }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .game-card {
            background: var(--bg-surface);
            border-radius: 12px;
            text-decoration: none;
            transition: transform 0.2s;
            border: 1px solid var(--border-default);
            overflow: hidden;
        }
        .game-card:hover { transform: translateY(-5px); border-color: var(--brand-primary); }
        .game-card h3 { font-size: 14px; text-align: center; padding: 10px; margin: 0; color: var(--text-primary); }

        .fact-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--bg-surface);
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 12px;
        }
        .fact-table tr { border-bottom: 1px solid var(--border-default); }
        .fact-table tr:last-child { border-bottom: none; }
        .fact-table td { padding: 12px; font-size: 14px; }
        .fact-table td:first-child { color: var(--text-secondary); width: 40%; }
        .fact-table td:last-child { color: var(--text-primary); font-weight: 500; }
        .freshness-notice { font-style: italic; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

        .toc-nav {
            display: flex;
            overflow-x: auto;
            gap: 10px;
            padding-bottom: 10px;
            scrollbar-width: none;
        }
        .toc-nav::-webkit-scrollbar { display: none; }
        .toc-link {
            background: var(--bg-elevated);
            padding: 8px 16px;
            border-radius: 20px;
            white-space: nowrap;
            font-size: 14px;
            border: 1px solid var(--border-default);
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .category-tile {
            background: var(--bg-surface);
            padding: 20px;
            border-radius: 16px;
            text-align: center;
            border: 1px solid var(--border-default);
            transition: border-color 0.2s;
        }
        .category-tile:hover { border-color: var(--brand-primary); }
        .category-tile i { font-size: 2rem; color: var(--brand-primary); margin-bottom: 12px; }
        .category-tile h3 { font-size: 16px; margin-bottom: 8px; }
        .category-tile p { font-size: 12px; color: var(--text-secondary); margin: 0; }

        .announcement-card {
            background: var(--bg-surface);
            padding: 16px;
            border-radius: 12px;
            margin-bottom: 12px;
            border-left: 4px solid var(--brand-primary);
        }
        .announcement-card i { color: var(--brand-primary); margin-right: 10px; }
        .announcement-date { font-size: 12px; color: var(--text-muted); display: block; margin-top: 8px; }

        .usp-bar { display: grid; grid-template-columns: 1fr; gap: 16px; }
        .usp-item {
            background: var(--bg-surface);
            padding: 20px;
            border-radius: 12px;
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }
        .usp-item i { font-size: 1.5rem; color: var(--brand-primary); }
        .usp-content h3 { font-size: 16px; margin-bottom: 4px; }
        .usp-content p { font-size: 14px; color: var(--text-secondary); margin: 0; }

        .promo-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-default);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 16px;
        }
        .promo-card h3 { color: var(--brand-primary); margin-bottom: 12px; }
        .promo-card p { margin-bottom: 20px; color: var(--text-secondary); }

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

        .guide-step {
            display: flex;
            gap: 16px;
            background: var(--bg-surface);
            padding: 20px;
            border-radius: 16px;
            margin-bottom: 16px;
            align-items: center;
        }
        .step-number {
            width: 40px;
            height: 40px;
            background: var(--brand-primary);
            color: var(--text-brand-contrast);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
        }

        .provider-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        .provider-tile {
            background: var(--bg-surface);
            padding: 15px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid var(--border-default);
        }
        .provider-tile h3 { font-size: 16px; margin-bottom: 8px; }
        .provider-tile p { font-size: 12px; color: var(--text-secondary); margin: 0; }

        .player-guide-item {
            background: var(--bg-surface);
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 16px;
        }
        .guide-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: block; }

        .article-card {
            display: flex;
            gap: 16px;
            background: var(--bg-surface);
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 16px;
            border: 1px solid var(--border-default);
        }
        .article-card img { width: 120px; height: 90px; object-fit: cover; }
        .article-content { padding: 12px; }
        .article-content h3 { font-size: 16px; margin-bottom: 8px; }
        .article-content p { font-size: 13px; color: var(--text-secondary); margin: 0; }

        .vip-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
        .vip-card {
            background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
            padding: 20px;
            border-radius: 16px;
            border: 1px solid var(--border-default);
            text-align: center;
        }
        .vip-card h3 { color: var(--brand-primary); margin-bottom: 8px; }
        .vip-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }

        .faq-item { background: var(--bg-surface); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
        .faq-item summary { padding: 16px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
        .faq-item summary::after { content: '+'; font-size: 20px; color: var(--brand-primary); }
        .faq-item[open] summary::after { content: '-'; }
        .faq-answer { padding: 0 16px 16px; color: var(--text-secondary); font-size: 14px; }

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

        footer {
            background: var(--bg-surface);
            padding: 40px 0 20px;
            border-top: 1px solid var(--border-default);
            margin-top: 40px;
        }
        .footer-sitemap {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 30px;
        }
        .footer-sitemap a { font-size: 14px; color: var(--text-secondary); }
        .footer-legal { text-align: center; font-size: 12px; color: var(--text-muted); line-height: 1.8; }

        .navigator {
            position: fixed;
            inset-inline: 0;
            bottom: 0;
            height: 72px;
            background: var(--bg-surface);
            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: 2000;
        }
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 11px;
            gap: 4px;
        }
        .nav-item i { font-size: 20px; }
        .nav-item:hover { color: var(--brand-primary); }

        @media (min-width: 768px) {
            body { padding-inline: 24px; padding-bottom: 24px; }
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .category-grid { grid-template-columns: repeat(3, 1fr); }
            .usp-bar { grid-template-columns: repeat(2, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 1fr); }
            .provider-grid { grid-template-columns: repeat(4, 1fr); }
            .vip-grid { grid-template-columns: repeat(4, 1fr); }
            .navigator { display: none; }
        }

        @media (min-width: 1200px) {
            body { padding-inline: 32px; max-width: 1200px; margin-inline: auto; }
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .payment-grid { grid-template-columns: repeat(6, 1fr); }
        }