:root {
            --primary-gold: #D4AF37;
            --secondary-gold: #F9E076;
            --accent-red: #E63946;
            --deep-navy: #0A192F;
            --main-bg: #0B0E11;
            --surface: #1E2329;
            --overlay: #2B3139;
            --card: #181A20;
            --text-primary: #FFFFFF;
            --text-secondary: #B7BDC6;
            --text-muted: #848E9C;
            --brand-accent: #FCD535;
            --success: #0ECB81;
            --error: #F6465D;
            --border-default: #474D57;
            --border-active: #D4AF37;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            background-color: var(--main-bg);
            color: var(--text-primary);
            font-family: 'Montserrat', sans-serif;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }
        header {
            background-color: var(--deep-navy);
            border-bottom: 2px solid var(--primary-gold);
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        header .brand { display: flex; align-items: center; gap: 8px; }
        header .brand img { width: 25px; height: 25px; border-radius: 4px; }
        header .brand strong { font-size: 16px; font-weight: 400; color: var(--secondary-gold); }
        header .actions { display: flex; gap: 10px; }
        .btn {
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            font-family: 'Inter', sans-serif;
            transition: opacity 0.2s;
        }
        .btn-login { background: transparent; color: var(--text-primary); border: 1px solid var(--border-default); }
        .btn-reg { background: var(--primary-gold); color: var(--deep-navy); }
        main { max-width: 1200px; margin: 0 auto; padding: 15px; padding-bottom: 80px; }
        .banner { width: 100%; border-radius: 16px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 2/1; cursor: pointer; }
        .banner img { width: 100%; height: 100%; object-fit: cover; }
        .jackpot-container {
            background: linear-gradient(135deg, var(--deep-navy) 0%, #1a2a44 100%);
            border: 2px solid var(--primary-gold);
            border-radius: 16px;
            padding: 20px;
            text-align: center;
            margin-bottom: 20px;
            box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
        }
        .jackpot-label { color: var(--secondary-gold); font-weight: 700; font-size: 14px; text-transform: uppercase; margin-bottom: 10px; }
        .jackpot-value { font-size: 32px; font-weight: 800; color: var(--brand-accent); font-family: 'Poppins', sans-serif; letter-spacing: 1px; }
        .intro-card { background: var(--card); border-radius: 16px; padding: 25px; margin-bottom: 20px; border-left: 4px solid var(--primary-gold); }
        h1 { font-size: 24px; color: var(--secondary-gold); margin-bottom: 12px; }
        h2 { font-size: 20px; color: var(--text-primary); margin: 25px 0 15px; display: flex; align-items: center; gap: 10px; }
        h2::before { content: ""; display: block; width: 4px; height: 20px; background: var(--accent-red); border-radius: 2px; }
        .game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
        .game-card { background: var(--surface); border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform 0.2s; }
        .game-card:active { transform: scale(0.98); }
        .game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
        .game-card h3 { padding: 10px; font-size: 14px; color: var(--text-secondary); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
        .payment-item { background: var(--overlay); padding: 15px 5px; border-radius: 8px; text-align: center; font-size: 12px; color: var(--text-secondary); border: 1px solid var(--border-subtle); }
        .payment-item i { font-size: 20px; color: var(--brand-accent); margin-bottom: 8px; display: block; }
        .guide-section { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 20px; }
        .guide-item { background: var(--card); padding: 15px; border-radius: 12px; }
        .guide-item h3 { color: var(--primary-gold); margin-bottom: 8px; font-size: 16px; }
        .guide-item p { font-size: 14px; color: var(--text-secondary); }
        .lottery-list { background: var(--card); border-radius: 16px; padding: 15px; }
        .lottery-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--overlay); }
        .lottery-item:last-child { border-bottom: none; }
        .user-info { display: flex; flex-direction: column; }
        .user-name { font-weight: 600; color: var(--text-primary); font-size: 14px; }
        .game-name { font-size: 12px; color: var(--text-muted); }
        .win-amount { color: var(--success); font-weight: 700; font-size: 14px; text-align: right; }
        .win-time { font-size: 11px; color: var(--text-muted); text-align: right; }
        .provider-wall { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
        .provider-tag { flex: 1; min-width: calc(50% - 5px); background: linear-gradient(45deg, var(--deep-navy), var(--surface)); padding: 12px; border-radius: 8px; text-align: center; font-weight: 600; color: var(--secondary-gold); border: 1px solid var(--overlay); }
        .comment-grid { display: grid; gap: 15px; margin-bottom: 20px; }
        .comment-card { background: var(--card); padding: 20px; border-radius: 16px; border: 1px solid var(--overlay); }
        .comment-header { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
        .comment-header i { font-size: 30px; color: var(--primary-gold); }
        .comment-meta { flex: 1; }
        .stars { color: var(--brand-accent); font-size: 12px; margin-bottom: 4px; }
        .faq-item { background: var(--surface); border-radius: 12px; margin-bottom: 10px; padding: 15px; }
        .faq-item h3 { font-size: 16px; color: var(--secondary-gold); margin-bottom: 10px; }
        .faq-item p { font-size: 14px; color: var(--text-secondary); }
        .security-section { background: var(--deep-navy); padding: 20px; border-radius: 16px; border: 1px solid var(--primary-gold); text-align: center; margin-bottom: 20px; }
        .security-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 24px; color: var(--brand-accent); }
        .navigator { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); display: flex; justify-content: space-around; padding: 10px 0; border-top: 1px solid var(--border-default); z-index: 1000; }
        .nav-item { text-decoration: none; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
        .nav-item i { font-size: 18px; }
        footer { background: var(--main-bg); padding: 40px 20px 100px; color: var(--text-muted); border-top: 1px solid var(--overlay); }
        .footer-row { margin-bottom: 30px; }
        .footer-contact { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 25px; }
        .footer-contact a { color: var(--text-secondary); text-decoration: none; font-size: 14px; border: 1px solid var(--overlay); padding: 8px 15px; border-radius: 20px; }
        .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; text-align: center; }
        .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
        .footer-copy { text-align: center; padding-top: 25px; border-top: 1px solid var(--overlay); font-size: 12px; color: var(--text-muted); }
        @media (min-width: 768px) {
            .game-grid { grid-template-columns: repeat(3, 1fr); }
            .guide-section { grid-template-columns: repeat(2, 1fr); }
            .payment-grid { grid-template-columns: repeat(8, 1fr); }
        }