:root {
            --primary: #D4AF37;
            --primary-hover: #F9E076;
            --primary-dark: #996515;
            --secondary: #B8860B;
            --accent: #FFD700;
            --bg-main: #0A0A0B;
            --bg-surface: #161618;
            --bg-elevated: #222226;
            --gradient-dark: linear-gradient(180deg, #1A1A1D 0%, #000000 100%);
            --overlay: rgba(0, 0, 0, 0.85);
            --text-primary: #FFFFFF;
            --text-secondary: #A1A1AA;
            --text-muted: #71717A;
            --text-gold: #D4AF37;
            --error: #FF4D4F;
            --success: #52C41A;
            --jackpot: #FF0000;
            --border-subtle: #27272A;
            --border-gold: rgba(212, 175, 55, 0.5);
            --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-display: 'Montserrat', sans-serif;
        }

        * { margin: 0; padding: 0; box-box: border-box; }
        body {
            background-color: var(--bg-main);
            color: var(--text-primary);
            font-family: var(--font-main);
            line-height: 1.5;
            overflow-x: hidden;
        }

        header {
            background-color: var(--bg-surface);
            border-bottom: 1px solid var(--border-subtle);
            padding: 10px 15px;
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-left { display: flex; align-items: center; gap: 8px; }
        .header-left img { width: 25px; height: 25px; object-fit: contain; }
        .header-left strong { font-size: 16px; font-weight: 400; color: var(--text-gold); }

        .header-right { display: flex; gap: 10px; }
        .btn {
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: 0.3s;
        }
        .btn-login { background: transparent; color: var(--text-primary); border: 1px solid var(--primary); }
        .btn-register { background: var(--primary); color: var(--bg-main); }

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

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

        .jackpot-box {
            background: var(--gradient-dark);
            border: 2px solid var(--border-gold);
            margin: 15px;
            padding: 15px;
            text-align: center;
            border-radius: 12px;
        }
        .jackpot-title { color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 5px; }
        .jackpot-amount { color: var(--jackpot); font-size: 30px; font-weight: 800; text-shadow: 0 0 10px rgba(255,0,0,0.5); }

        .intro-card { background: var(--bg-surface); margin: 15px; padding: 20px; border-radius: 12px; border: 1px solid var(--border-subtle); }
        .intro-card h1 { font-size: 20px; color: var(--text-gold); margin-bottom: 10px; font-family: var(--font-display); }
        .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-display); color: var(--text-primary); border-left: 4px solid var(--primary); margin-left: 15px; margin-top: 20px; }

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

        .payments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 15px; background: var(--bg-surface); margin: 15px; border-radius: 12px; }
        .pay-item { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10px; color: var(--text-muted); }
        .pay-item i { font-size: 20px; color: var(--primary); }

        .guide-section { padding: 15px; }
        .guide-card { background: var(--bg-surface); padding: 15px; border-radius: 10px; margin-bottom: 15px; border-left: 3px solid var(--primary); }
        .guide-card h2 { font-size: 16px; color: var(--text-gold); margin-bottom: 8px; }
        .guide-card p { font-size: 13px; color: var(--text-secondary); }

        .lottery-container { background: var(--bg-surface); margin: 15px; padding: 10px; border-radius: 12px; overflow: hidden; height: 200px; position: relative; }
        .marquee-content { animation: scrollUp 20s linear infinite; }
        @keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
        .winner-row { display: flex; justify-content: space-between; padding: 8px 5px; border-bottom: 1px solid var(--border-subtle); font-size: 12px; }
        .winner-name { color: var(--primary); }
        .winner-amount { color: var(--success); font-weight: bold; }

        .provider-wall { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px; }
        .provider-tag { flex: 1 1 calc(50% - 8px); background: var(--bg-elevated); padding: 10px; text-align: center; border-radius: 6px; font-weight: 600; color: var(--text-secondary); border: 1px solid var(--border-subtle); }

        .comment-card { background: var(--bg-surface); margin: 15px; padding: 15px; border-radius: 12px; }
        .user-info { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .user-info i { font-size: 24px; color: var(--text-muted); }
        .star-rating { color: var(--accent); font-size: 12px; }
        .comment-date { font-size: 11px; color: var(--text-muted); float: right; }

        .faq-item { margin: 15px; background: var(--bg-surface); border-radius: 8px; padding: 15px; }
        .faq-item h2 { font-size: 15px; color: var(--text-gold); margin-bottom: 8px; }
        .faq-item p { font-size: 13px; color: var(--text-secondary); }

        .security-section { padding: 20px 15px; text-align: center; background: var(--gradient-dark); border-top: 1px solid var(--border-gold); }
        .security-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 24px; color: var(--primary); }
        .age-limit { border: 2px solid var(--error); color: var(--error); width: 40px; height: 40px; line-height: 36px; border-radius: 50%; font-weight: bold; margin: 0 auto 10px; }

        .navigator {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--bg-surface);
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            border-top: 1px solid var(--border-subtle);
            z-index: 1001;
        }
        .nav-item { text-decoration: none; color: var(--text-secondary); display: flex; flex-direction: column; align-items: center; font-size: 11px; }
        .nav-item i { font-size: 20px; margin-bottom: 4px; }
        .nav-item:active { color: var(--primary); }

        footer {
            background: #000;
            padding: 30px 15px 100px;
            border-top: 1px solid var(--border-subtle);
        }
        .footer-contact { text-align: center; margin-bottom: 25px; }
        .footer-contact a { color: var(--text-secondary); margin: 0 10px; text-decoration: none; font-size: 14px; }
        .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 25px; }
        .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
        .copyright { text-align: center; color: var(--text-muted); font-size: 12px; border-top: 1px solid var(--border-subtle); padding-top: 20px; }