:root {
            --primary: #FFD700;
            --primary-variant: #C5A000;
            --secondary: #E31C25;
            --accent: #00C8FF;
            --bg-main: #0A0B0D;
            --bg-surface: #16181D;
            --bg-elevated: #22262D;
            --bg-modal: #1C1F26;
            --text-primary: #FFFFFF;
            --text-secondary: #9BA3AF;
            --text-muted: #6B7280;
            --on-brand: #000000;
            --success: #00E676;
            --warning: #FFAB00;
            --error: #FF5252;
            --info: #2196F3;
            --border-subtle: #2D323C;
            --border-default: #3F4654;
            --border-active: #FFD700;
            --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-heading: 'Montserrat', 'Inter', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body { background-color: var(--bg-main); color: var(--text-primary); font-family: var(--font-primary); line-height: 1.5; overflow-x: hidden; }
        a { text-decoration: none; color: inherit; }

        header {
            position: sticky; top: 0; z-index: 1000; background: var(--bg-surface);
            padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
            border-bottom: 1px solid var(--border-subtle);
        }
        .header-left { display: flex; align-items: center; gap: 8px; }
        .header-left img { width: 25px; height: 25px; border-radius: 4px; }
        .header-left strong { font-size: 16px; font-weight: 500; font-family: var(--font-heading); }
        .header-right { display: flex; gap: 10px; }
        .btn-login { padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; border: 1px solid var(--border-default); background: transparent; color: var(--text-primary); }
        .btn-register { padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; background: var(--primary); color: var(--on-brand); border: none; }

        main { padding: 16px; max-width: 600px; margin: 0 auto; padding-bottom: 100px; }
        .banner { width: 100%; aspect-ratio: 2/1; border-radius: 12px; overflow: hidden; margin-bottom: 20px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
        .banner img { width: 100%; height: 100%; object-fit: cover; }

        .jackpot-container {
            background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
            border: 1px solid var(--primary); border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 20px;
        }
        .jackpot-label { font-family: var(--font-heading); font-size: 14px; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
        .jackpot-amount { font-family: var(--font-mono); font-size: 32px; font-weight: 900; color: var(--primary); text-shadow: 0 0 15px rgba(255,215,0,0.4); }

        .intro-card { background: var(--bg-surface); border-radius: 16px; padding: 20px; border: 1px solid var(--border-subtle); margin-bottom: 24px; }
        .intro-card h1 { font-family: var(--font-heading); font-size: 24px; line-height: 1.2; margin-bottom: 12px; color: var(--primary); }
        .intro-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

        h2 { font-family: var(--font-heading); font-size: 20px; margin: 24px 0 16px; display: flex; align-items: center; gap: 10px; border-left: 4px solid var(--primary); padding-left: 12px; }

        .game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
        .game-card { background: var(--bg-surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-subtle); transition: transform 0.2s; }
        .game-card:active { transform: scale(0.96); }
        .game-image { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
        .game-info { padding: 10px; }
        .game-info h3 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-primary); }

        .payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
        .payment-item { background: var(--bg-elevated); padding: 12px 5px; border-radius: 8px; text-align: center; border: 1px solid var(--border-subtle); }
        .payment-item i { font-size: 20px; color: var(--accent); margin-bottom: 6px; display: block; }
        .payment-item span { font-size: 10px; color: var(--text-secondary); font-weight: 500; }

        .guidelines { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
        .guide-item { background: var(--bg-surface); padding: 16px; border-radius: 12px; border: 1px solid var(--border-subtle); }
        .guide-item h3 { color: var(--primary); margin-bottom: 8px; font-size: 16px; }
        .guide-item p { font-size: 13px; color: var(--text-secondary); }

        .lottery-marquee { background: var(--bg-surface); border-radius: 12px; padding: 10px; height: 200px; overflow: hidden; position: relative; border: 1px solid var(--border-subtle); }
        .marquee-content { animation: marqueeScroll 30s linear infinite; display: flex; flex-direction: column; gap: 10px; }
        @keyframes marqueeScroll { 0% { transform: translateY(0); } 100% { transform: translateY(-100%); } }
        .winner-item { display: flex; justify-content: space-between; align-items: center; font-size: 12px; padding: 8px; background: var(--bg-elevated); border-radius: 6px; }
        .winner-user { color: var(--accent); font-weight: 600; }
        .winner-amount { color: var(--success); font-weight: bold; }

        .providers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
        .provider-tag { padding: 15px; text-align: center; border-radius: 8px; font-weight: 700; color: var(--on-brand); font-family: var(--font-heading); font-size: 14px; }
        .p-1 { background: #F3BA2F; } .p-2 { background: #627EEA; } .p-3 { background: #E84142; } .p-4 { background: #00A68C; }
        .p-5 { background: #FF4000; } .p-6 { background: #26A17B; } .p-7 { background: #5865F2; } .p-8 { background: #9146FF; }

        .review-card { background: var(--bg-surface); padding: 16px; border-radius: 12px; border: 1px solid var(--border-subtle); margin-bottom: 12px; }
        .review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .review-header i { font-size: 24px; color: var(--text-muted); }
        .review-stars { color: var(--primary); font-size: 12px; }
        .review-user { font-weight: 600; font-size: 14px; }
        .review-date { font-size: 11px; color: var(--text-muted); margin-left: auto; }

        .faq-item { background: var(--bg-surface); border-radius: 12px; padding: 16px; border: 1px solid var(--border-subtle); margin-bottom: 12px; }
        .faq-item h3 { font-size: 15px; margin-bottom: 8px; color: var(--primary); }
        .faq-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

        .security-section { background: var(--bg-elevated); padding: 20px; border-radius: 16px; text-align: center; margin-bottom: 24px; }
        .security-badges { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 24px; color: var(--accent); }
        .security-section p { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; }
        .age-badge { display: inline-block; width: 40px; height: 40px; line-height: 40px; border: 2px solid var(--error); border-radius: 50%; color: var(--error); font-weight: 800; margin-bottom: 10px; }

        .navigator {
            position: fixed; bottom: 0; left: 0; right: 0; height: 65px; background: var(--bg-modal);
            display: flex; justify-content: space-around; align-items: center; z-index: 1000;
            border-top: 1px solid var(--border-subtle); padding-bottom: env(safe-area-inset-bottom);
        }
        .nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-secondary); }
        .nav-item i { font-size: 20px; }
        .nav-item span { font-size: 11px; font-weight: 500; }
        .nav-item.active { color: var(--primary); }

        footer { background: var(--bg-surface); padding: 40px 16px 100px; border-top: 1px solid var(--border-subtle); }
        .footer-contact { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; justify-content: center; }
        .footer-contact a { font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
        .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 30px; }
        .footer-links a { color: var(--text-muted); font-size: 13px; text-align: center; }
        .copyright { text-align: center; font-size: 11px; color: var(--text-muted); line-height: 1.5; }