:root {
            --primary: #FFD700;
            --primary-variant: #C5A059;
            --secondary: #E63946;
            --accent: #00FF7F;
            --bg-main: #0A0B0D;
            --bg-surface: #16181D;
            --bg-elevated: #1E2126;
            --bg-modal: #121418;
            --text-primary: #FFFFFF;
            --text-secondary: #B0B8C1;
            --text-muted: #707A8A;
            --border-default: #2F333B;
            --border-active: #FFD700;
            --success: #00C853;
            --error: #FF5252;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            background-color: var(--bg-main);
            color: var(--text-primary);
            font-family: 'Inter', sans-serif;
            line-height: 1.5;
            padding-bottom: 70px;
        }

        h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
        a { text-decoration: none; color: inherit; }

        header {
            background: var(--bg-surface);
            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 .brand { display: flex; align-items: center; gap: 8px; }
        header .brand img { width: 25px; height: 25px; object-fit: contain; }
        header .brand strong { font-size: 16px; font-weight: 400; color: var(--primary); }
        header .auth-btns { display: flex; gap: 10px; }
        header .auth-btns button {
            font-family: 'Oswald', sans-serif;
            padding: 6px 15px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            text-transform: uppercase;
        }
        .btn-login { background: transparent; color: var(--text-primary); border: 1px solid var(--border-default) !important; }
        .btn-register { background: var(--primary); color: var(--bg-main); }

        main { max-width: 1200px; margin: 0 auto; padding: 10px; }

        .banner { 
            width: 100%; 
            aspect-ratio: 2/1; 
            border-radius: 12px; 
            overflow: hidden; 
            margin-bottom: 20px;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        }
        .banner img { width: 100%; height: 100%; object-fit: cover; }

        .jackpot-container {
            background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
            border: 2px solid var(--primary);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }
        .jackpot-title { font-family: 'Oswald', sans-serif; color: var(--primary); font-size: 20px; margin-bottom: 10px; }
        .jackpot-amount { font-size: 36px; font-weight: 900; color: var(--accent); text-shadow: 0 0 10px rgba(0,255,127,0.5); font-family: 'Montserrat', sans-serif; }

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

        .section-title { font-size: 20px; margin: 25px 0 15px; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
        .section-title::before { content: ''; width: 4px; height: 20px; background: var(--secondary); border-radius: 2px; }

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

        .guides-container { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
        .guide-item { background: var(--bg-surface); padding: 15px; border-radius: 10px; border: 1px solid var(--border-default); }
        .guide-item h3 { color: var(--primary-variant); font-size: 16px; margin-bottom: 8px; }
        .guide-item p { font-size: 14px; color: var(--text-secondary); }

        .lottery-list { background: var(--bg-surface); border-radius: 12px; padding: 10px; margin-bottom: 30px; }
        .lottery-item { display: flex; justify-content: space-between; padding: 10px; border-bottom: 1px solid var(--border-divider); font-size: 13px; }
        .lottery-item:last-child { border-bottom: none; }
        .lottery-user { color: var(--accent); font-weight: 600; }
        .lottery-win { color: var(--primary); font-weight: 700; }

        .provider-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
        .provider-tag { background: var(--bg-elevated); color: var(--primary); padding: 8px 15px; border-radius: 20px; font-size: 14px; border: 1px solid var(--primary-variant); font-weight: 600; flex: 1 1 calc(50% - 10px); text-align: center; }

        .comment-list { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
        .comment-card { background: var(--bg-surface); padding: 15px; border-radius: 12px; border: 1px solid var(--border-default); }
        .comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .comment-header i { font-size: 24px; color: var(--text-muted); }
        .comment-info h3 { font-size: 15px; color: var(--primary); }
        .stars { color: var(--primary); font-size: 12px; }
        .comment-content { font-size: 14px; color: var(--text-secondary); margin: 8px 0; }
        .comment-date { font-size: 11px; color: var(--text-muted); }

        .faq-container { margin-bottom: 30px; }
        .faq-item { background: var(--bg-surface); margin-bottom: 10px; border-radius: 8px; overflow: hidden; }
        .faq-question { padding: 15px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--primary); display: flex; justify-content: space-between; align-items: center; }
        .faq-answer { padding: 0 15px 15px; font-size: 14px; color: var(--text-secondary); display: block; }

        .security-section { background: var(--bg-elevated); padding: 20px; border-radius: 12px; text-align: center; margin-bottom: 30px; border: 1px dashed var(--text-muted); }
        .security-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 24px; color: var(--accent); }
        .security-text { font-size: 12px; color: var(--text-muted); }

        .navigator {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--bg-modal);
            height: 65px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid var(--border-default);
            z-index: 1001;
            padding-bottom: 5px;
        }
        .nav-item { text-align: center; color: var(--text-muted); flex: 1; }
        .nav-item i { font-size: 20px; display: block; margin-bottom: 4px; }
        .nav-item span { font-size: 11px; font-weight: 500; }
        .nav-item.active { color: var(--primary); }

        footer {
            background: var(--bg-surface);
            padding: 30px 15px 100px;
            border-top: 1px solid var(--border-default);
            text-align: center;
        }
        .footer-social { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; }
        .footer-social a { color: var(--text-secondary); 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); font-size: 13px; }
        .footer-copy { font-size: 12px; color: var(--text-muted); margin-top: 20px; border-top: 1px solid var(--border-divider); padding-top: 20px; }

        @media (min-width: 768px) {
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .guides-container, .comment-list { grid-template-columns: 1fr 1fr; }
            .payment-grid { grid-template-columns: repeat(8, 1fr); }
        }