:root {
            --primary: #D4AF37;
            --primary-light: #FAF089;
            --primary-dark: #996515;
            --secondary: #1A1A1A;
            --accent: #FF4D4D;
            --bg-main: #0B0E11;
            --bg-surface: #1E2329;
            --bg-overlay: #2B3139;
            --gold-grad: linear-gradient(180deg, #D4AF37 0%, #996515 100%);
            --text-primary: #FFFFFF;
            --text-secondary: #EAECEF;
            --text-muted: #848E9C;
            --text-link: #F0B90B;
            --success: #0ECB81;
            --border-default: #474D57;
            --font-main: 'Inter', 'Roboto', 'Segoe UI', sans-serif;
            --font-sec: 'Montserrat', sans-serif;
        }

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

        a { text-decoration: none; color: inherit; }

        header {
            background-color: var(--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 .logo-area { display: flex; align-items: center; gap: 8px; }
        header .logo-area img { width: 25px; height: 25px; object-fit: contain; }
        header .logo-area strong { font-size: 16px; font-weight: 400; color: var(--primary); }
        header .auth-btns { display: flex; gap: 10px; }
        header .btn {
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            border: none;
        }
        header .btn-login { background: transparent; color: var(--text-primary); border: 1px solid var(--border-default); }
        header .btn-reg { background: var(--gold-grad); color: var(--bg-main); }

        main { padding-bottom: 80px; max-width: 1000px; margin: 0 auto; }

        .banner { width: 100%; aspect-ratio: 2/1; cursor: pointer; display: block; }
        .banner img { width: 100%; height: 100%; object-fit: cover; }

        .jackpot-box {
            background: var(--bg-surface);
            margin: 15px;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid var(--primary-dark);
        }
        .jackpot-title { color: var(--primary); font-family: var(--font-sec); font-weight: 700; margin-bottom: 10px; }
        .jackpot-amount { font-size: 32px; font-weight: 700; color: var(--primary-light); text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }

        .intro-card { padding: 20px; margin: 15px; background: var(--bg-surface); border-radius: 12px; }
        .intro-card h1 { font-size: 20px; color: var(--primary); margin-bottom: 10px; }
        .intro-card p { font-size: 14px; color: var(--text-secondary); text-align: justify; }

        .section-title { padding: 15px 15px 5px; font-size: 18px; font-family: var(--font-sec); color: var(--primary); border-left: 4px solid var(--primary); margin-left: 15px; }

        .game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 15px; }
        .game-item { background: var(--bg-overlay); border-radius: 10px; overflow: hidden; transition: transform 0.2s; }
        .game-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
        .game-item h3 { font-size: 14px; padding: 10px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-secondary); }

        .payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 15px; }
        .pay-item { background: var(--bg-surface); padding: 10px; border-radius: 8px; text-align: center; }
        .pay-item i { font-size: 20px; color: var(--primary); margin-bottom: 5px; }
        .pay-item span { display: block; font-size: 10px; color: var(--text-muted); }

        .guide-container { padding: 15px; }
        .guide-card { background: var(--bg-surface); padding: 15px; border-radius: 10px; margin-bottom: 15px; }
        .guide-card h3 { color: var(--primary); margin-bottom: 8px; font-size: 16px; }
        .guide-card p { font-size: 14px; color: var(--text-muted); }

        .lottery-marquee { background: var(--bg-surface); margin: 15px; border-radius: 12px; height: 120px; overflow: hidden; position: relative; border: 1px solid var(--border-default); }
        .lottery-list { position: absolute; width: 100%; animation: scrollUp 20s linear infinite; }
        .lottery-item { padding: 8px 15px; border-bottom: 1px solid var(--bg-overlay); display: flex; justify-content: space-between; font-size: 12px; }
        .lottery-user { color: var(--primary-light); }
        .lottery-win { color: var(--success); font-weight: bold; }

        @keyframes scrollUp {
            0% { transform: translateY(0); }
            100% { transform: translateY(-50%); }
        }

        .providers-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 15px; }
        .provider-tag { background: var(--bg-overlay); color: var(--primary); padding: 12px; text-align: center; border-radius: 6px; font-weight: 600; font-size: 14px; border: 1px solid var(--primary-dark); }

        .reviews-scroll { padding: 15px; }
        .review-card { background: var(--bg-surface); padding: 15px; border-radius: 12px; margin-bottom: 15px; border-left: 3px solid var(--primary); }
        .review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
        .review-user i { color: var(--text-muted); font-size: 24px; }
        .review-stars { color: #FFD700; font-size: 12px; }
        .review-date { font-size: 11px; color: var(--text-muted); margin-top: 5px; }

        .faq-container { padding: 15px; }
        .faq-item { margin-bottom: 15px; border-bottom: 1px solid var(--border-default); padding-bottom: 10px; }
        .faq-item h3 { font-size: 15px; color: var(--primary-light); margin-bottom: 5px; }
        .faq-item p { font-size: 14px; color: var(--text-muted); text-align: justify; }

        .security-section { padding: 20px 15px; background: var(--bg-overlay); margin-top: 20px; text-align: center; }
        .security-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 24px; color: var(--primary); }
        .security-section h2 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
        .security-section p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
        .security-links a { color: var(--text-link); font-size: 13px; margin: 0 5px; text-decoration: underline; }

        .navigator {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 65px;
            background: var(--bg-surface);
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid var(--border-default);
            z-index: 1001;
        }
        .nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-muted); font-size: 11px; }
        .nav-item i { font-size: 18px; }
        .nav-item.active { color: var(--primary); }

        footer {
            background: var(--secondary);
            padding: 30px 15px 100px;
            color: var(--text-muted);
            font-size: 13px;
        }
        footer .contact-line { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; margin-bottom: 25px; }
        footer .contact-line a { color: var(--text-secondary); }
        footer .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
        footer .footer-links a { color: var(--text-muted); }
        footer .copyright { text-align: center; border-top: 1px solid var(--border-default); padding-top: 15px; }

        @media (min-width: 768px) {
            .game-grid { grid-template-columns: repeat(3, 1fr); }
            .payment-grid { grid-template-columns: repeat(8, 1fr); }
            .providers-wall { grid-template-columns: repeat(4, 1fr); }
        }