:root {
            --bg-primary: #0A0B10;
            --bg-secondary: #15171E;
            --bg-tertiary: #1F222B;
            --bg-surface: #12141B;
            --gold-primary: #D4AF37;
            --gold-light: #F9E076;
            --gold-dark: #996515;
            --accent-red: #FF3B30;
            --accent-blue: #007AFF;
            --text-primary: #FFFFFF;
            --text-secondary: #B0B3B8;
            --text-muted: #6C757D;
            --border-default: #2C2E36;
            --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
            --font-heading: 'Montserrat', 'Inter', sans-serif;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: var(--font-primary);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            padding-bottom: 70px;
        }
        header {
            background-color: var(--bg-secondary);
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 15px;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-default);
        }
        .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: 400; color: var(--gold-primary); letter-spacing: 0.5px; }
        .header-right { display: flex; gap: 10px; }
        .btn-login {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--gold-primary);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 14px;
            cursor: pointer;
        }
        .btn-register {
            background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
            color: var(--bg-primary);
            border: none;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
        }
        main { max-width: 1200px; margin: 0 auto; padding: 10px; }
        .banner { width: 100%; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 12px; margin-bottom: 20px; cursor: pointer; }
        .banner img { width: 100%; height: 100%; object-fit: cover; }
        .jackpot-container {
            background: radial-gradient(circle at center, var(--bg-tertiary), var(--bg-secondary));
            border: 2px solid var(--gold-primary);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            margin-bottom: 25px;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        }
        .jackpot-label { color: var(--gold-light); font-family: var(--font-heading); font-weight: 800; font-size: 14px; text-transform: uppercase; margin-bottom: 5px; }
        .jackpot-amount { font-size: 32px; font-weight: 800; color: #fff; font-family: 'Roboto Mono', monospace; text-shadow: 0 0 10px var(--gold-primary); }
        .intro-card { background: var(--bg-surface); padding: 25px; border-radius: 15px; margin-bottom: 25px; border-left: 4px solid var(--gold-primary); }
        .intro-card h1 { font-family: var(--font-heading); font-size: 24px; margin-bottom: 12px; color: var(--gold-primary); }
        .intro-card p { color: var(--text-secondary); font-size: 15px; }
        .section-title { font-family: var(--font-heading); font-size: 20px; margin: 25px 0 15px; display: flex; align-items: center; gap: 10px; }
        .section-title::before { content: ""; width: 4px; height: 20px; background: var(--gold-primary); border-radius: 2px; }
        .game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 25px; }
        .game-card { background: var(--bg-secondary); border-radius: 12px; overflow: hidden; text-decoration: none; border: 1px solid var(--border-default); transition: transform 0.2s; }
        .game-card:active { transform: scale(0.97); }
        .game-img { width: 100%; aspect-ratio: 1 / 1; position: relative; }
        .game-img img { width: 100%; height: 100%; object-fit: cover; }
        .game-info { padding: 10px; text-align: center; }
        .game-info h3 { font-size: 14px; color: var(--text-primary); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .payment-section { background: var(--bg-surface); padding: 20px; border-radius: 15px; margin-bottom: 25px; }
        .payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; text-align: center; }
        .payment-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; color: var(--text-secondary); }
        .payment-item i { font-size: 24px; color: var(--gold-primary); }
        .guide-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px; }
        .guide-card { background: var(--bg-tertiary); padding: 20px; border-radius: 12px; }
        .guide-card h2 { font-size: 18px; color: var(--gold-primary); margin-bottom: 10px; }
        .guide-card p { font-size: 14px; color: var(--text-secondary); }
        .lottery-list { background: var(--bg-surface); border-radius: 15px; padding: 15px; margin-bottom: 25px; }
        .lottery-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-default); font-size: 13px; }
        .lottery-item:last-child { border-bottom: none; }
        .lottery-user { color: var(--gold-light); font-weight: 600; }
        .lottery-win { color: var(--success); font-weight: 700; }
        .provider-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 25px; }
        .provider-item { background: linear-gradient(45deg, var(--bg-secondary), var(--bg-tertiary)); padding: 15px; border-radius: 8px; text-align: center; border: 1px solid var(--border-default); font-weight: 600; color: var(--gold-primary); }
        .review-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 25px; }
        .review-card { background: var(--bg-surface); padding: 20px; border-radius: 15px; border: 1px solid var(--border-default); }
        .review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .review-header i { font-size: 30px; color: var(--text-muted); }
        .review-user-info h3 { font-size: 15px; margin: 0; }
        .stars { color: #FFC107; font-size: 12px; }
        .review-content { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
        .review-date { font-size: 12px; color: var(--text-muted); }
        .faq-section { margin-bottom: 25px; }
        .faq-item { background: var(--bg-secondary); margin-bottom: 10px; border-radius: 10px; overflow: hidden; }
        .faq-question { padding: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--gold-light); }
        .faq-answer { padding: 0 15px 15px; font-size: 14px; color: var(--text-secondary); display: block; }
        .security-section { background: var(--bg-tertiary); padding: 25px; border-radius: 15px; text-align: center; margin-bottom: 25px; }
        .security-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 30px; color: var(--gold-primary); }
        .age-limit { display: inline-block; border: 2px solid var(--accent-red); color: var(--accent-red); border-radius: 50%; width: 40px; height: 40px; line-height: 36px; font-weight: 800; margin-bottom: 15px; }
        .navigator {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 65px;
            background: var(--bg-secondary);
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid var(--border-default);
            z-index: 1001;
            padding-bottom: env(safe-area-inset-bottom);
        }
        .nav-item { text-decoration: none; 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: 12px; }
        footer { background: var(--bg-secondary); padding: 30px 15px 80px; border-top: 1px solid var(--border-default); }
        .footer-contact { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; flex-wrap: wrap; }
        .footer-contact a { color: var(--text-secondary); text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 5px; }
        .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; text-align: center; margin-bottom: 30px; }
        .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
        .footer-copy { text-align: center; color: var(--text-muted); font-size: 12px; border-top: 1px solid var(--border-default); padding-top: 20px; }
        .success { color: #28A745; }
        @media (min-width: 768px) {
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .guide-grid { grid-template-columns: 1fr 1fr; }
            .review-grid { grid-template-columns: 1fr 1fr; }
        }