:root {
            --primary: #FFD700;
            --primary-hover: #FFC800;
            --secondary: #C0C0C0;
            --accent: #FF4500;
            --bg-main: #0F0F0F;
            --bg-surface: #1A1A1A;
            --bg-overlay: rgba(0, 0, 0, 0.8);
            --grad-start: #1A1A1A;
            --grad-end: #000000;
            --text-heading: #FFFFFF;
            --text-body: #E0E0E0;
            --text-muted: #A0A0A0;
            --text-on-brand: #000000;
            --success: #00C853;
            --warning: #FFAB00;
            --error: #FF1744;
            --info: #2979FF;
            --border-def: #333333;
            --border-high: #FFD700;
            --border-sub: #262626;
            --font-primary: 'Montserrat', sans-serif;
            --font-secondary: 'Roboto', sans-serif;
            --font-heading: 'Poppins', sans-serif;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body { background-color: var(--bg-main); color: var(--text-body); font-family: var(--font-primary); line-height: 1.5; overflow-x: hidden; }
        h1, h2, h3 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.2; }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        
        header {
            background: var(--bg-surface);
            border-bottom: 2px solid var(--border-high);
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        }
        header .brand { display: flex; align-items: center; gap: 10px; }
        header .brand img { width: 25px; height: 25px; object-fit: contain; }
        header .brand strong { font-size: 16px; font-weight: normal; color: var(--text-heading); }
        header .auth-btns { display: flex; gap: 10px; }
        header .btn { 
            padding: 8px 16px; 
            border-radius: 5px; 
            font-family: var(--font-secondary); 
            font-weight: 600; 
            cursor: pointer; 
            border: none; 
            font-size: 14px;
        }
        header .btn-login { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
        header .btn-login:hover { background: var(--primary); color: var(--text-on-brand); }
        header .btn-reg { background: var(--primary); color: var(--text-on-brand); }
        header .btn-reg:hover { background: var(--primary-hover); }

        main { padding: 20px 15px; max-width: 1200px; margin: 0 auto; padding-bottom: 80px; }
        .banner-wrap { width: 100%; aspect-ratio: 2/1; overflow: hidden; border-radius: 15px; margin-bottom: 20px; cursor: pointer; border: 2px solid var(--border-sub); }
        .banner-wrap img { width: 100%; height: 100%; object-fit: cover; }

        .jackpot-box { 
            background: linear-gradient(45deg, #B8860B, #FFD700, #B8860B);
            color: var(--text-on-brand);
            text-align: center;
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 20px;
            font-weight: bold;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
        }
        .jackpot-amount { font-size: 28px; font-family: var(--font-heading); display: block; margin-top: 5px; }

        .intro-card { 
            background: var(--bg-surface); 
            padding: 25px; 
            border-radius: 15px; 
            border-left: 5px solid var(--primary); 
            margin-bottom: 30px;
        }
        .intro-card h1 { font-size: 24px; margin-bottom: 15px; }
        .intro-card p { font-size: 16px; color: var(--text-body); }

        .section-title { 
            font-size: 22px; 
            margin-bottom: 20px; 
            display: flex; 
            align-items: center; 
            gap: 10px; 
            color: var(--primary);
        }
        .section-title::after { content: ""; flex: 1; height: 1px; background: var(--border-def); }

        .game-grid { 
            display: grid; 
            grid-template-columns: repeat(2, 1fr); 
            gap: 15px; 
            margin-bottom: 30px; 
        }
        .game-card { 
            background: var(--bg-surface); 
            border-radius: 12px; 
            overflow: hidden; 
            border: 1px solid var(--border-sub); 
            transition: transform 0.3s; 
        }
        .game-card:hover { transform: translateY(-5px); border-color: var(--primary); }
        .game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
        .game-card h3 { padding: 10px; font-size: 14px; 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: 30px; 
        }
        .payment-item { 
            background: var(--bg-surface); 
            padding: 12px; 
            text-align: center; 
            border-radius: 8px; 
            font-size: 12px; 
            border: 1px solid var(--border-sub);
        }
        .payment-item i { display: block; font-size: 20px; color: var(--primary); margin-bottom: 5px; }

        .guide-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
            gap: 20px; 
            margin-bottom: 30px; 
        }
        .guide-card { background: var(--bg-surface); padding: 20px; border-radius: 12px; border: 1px solid var(--border-sub); }
        .guide-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
        .guide-card p { font-size: 14px; color: var(--text-muted); }

        .lottery-table { 
            width: 100%; 
            background: var(--bg-surface); 
            border-collapse: collapse; 
            border-radius: 12px; 
            overflow: hidden; 
            margin-bottom: 30px; 
            font-size: 13px;
        }
        .lottery-table th { background: var(--border-sub); color: var(--primary); padding: 12px; text-align: left; }
        .lottery-table td { padding: 12px; border-bottom: 1px solid var(--border-sub); }

        .provider-wall { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 10px; 
            margin-bottom: 30px; 
        }
        .provider-item { 
            padding: 15px; 
            text-align: center; 
            border-radius: 8px; 
            font-weight: bold; 
            font-size: 14px; 
            color: var(--text-on-brand); 
            background: var(--primary);
        }
        .provider-item:nth-child(even) { background: var(--secondary); }

        .comment-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
            gap: 20px; 
            margin-bottom: 30px; 
        }
        .comment-card { background: var(--bg-surface); padding: 20px; border-radius: 12px; border: 1px solid var(--border-sub); }
        .comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .comment-header i { font-size: 30px; color: var(--primary); }
        .comment-header .user-info { display: flex; flex-direction: column; }
        .comment-header .user-info strong { font-size: 14px; }
        .comment-header .user-info .stars { color: var(--primary); font-size: 12px; }
        .comment-body { font-size: 14px; margin-bottom: 10px; color: var(--text-body); }
        .comment-date { font-size: 12px; color: var(--text-muted); text-align: right; }

        .faq-section { margin-bottom: 30px; }
        .faq-item { background: var(--bg-surface); margin-bottom: 10px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-sub); }
        .faq-question { padding: 15px; font-weight: bold; cursor: pointer; color: var(--primary); display: flex; justify-content: space-between; }
        .faq-answer { padding: 0 15px 15px; font-size: 14px; color: var(--text-body); }

        .security-footer { 
            background: var(--bg-surface); 
            padding: 25px; 
            border-radius: 15px; 
            text-align: center; 
            border: 1px solid var(--border-sub);
        }
        .security-footer .ssl-badge { font-size: 24px; color: var(--success); margin-bottom: 10px; display: block; }
        .security-footer p { font-size: 14px; margin-bottom: 10px; }
        .security-footer a { color: var(--primary); text-decoration: underline; }

        .navigator { 
            position: fixed; 
            bottom: 0; 
            left: 0; 
            width: 100%; 
            background: var(--bg-surface); 
            display: flex; 
            justify-content: space-around; 
            padding: 10px 0; 
            border-top: 2px solid var(--border-high); 
            z-index: 2000; 
        }
        .nav-item { text-align: center; color: var(--text-muted); flex: 1; }
        .nav-item i { display: block; font-size: 20px; margin-bottom: 4px; }
        .nav-item span { font-size: 11px; display: block; }
        .nav-item:hover { color: var(--primary); }

        footer { 
            background: var(--bg-surface); 
            padding: 40px 20px 100px; 
            border-top: 1px solid var(--border-def); 
            text-align: center;
        }
        footer .contact-row { margin-bottom: 30px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
        footer .contact-link { font-size: 14px; color: var(--text-muted); }
        footer .contact-link:hover { color: var(--primary); }
        footer .footer-links { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 10px; 
            max-width: 800px; 
            margin: 0 auto 30px; 
            text-align: left; 
        }
        footer .link-item { font-size: 13px; color: var(--text-muted); }
        footer .copyright { font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-sub); padding-top: 20px; }

        @media (max-width: 768px) {
            .payment-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-links { grid-template-columns: repeat(2, 1fr); }
        }