:root {
            --primary: #FFD700;
            --primary-hover: #FFC107;
            --secondary: #B8860B;
            --accent: #E60012;
            --bg-main: #0F0F0F;
            --bg-surface: #1A1A1A;
            --bg-elevated: #2C2C2C;
            --overlay: rgba(0, 0, 0, 0.8);
            --text-primary: #FFFFFF;
            --text-secondary: #B3B3B3;
            --text-disabled: #666666;
            --text-inverse: #000000;
            --success: #4CAF50;
            --warning: #FF9800;
            --error: #F44336;
            --info: #2196F3;
            --border-default: #333333;
            --border-highlight: #FFD700;
            --border-subtle: #222222;
            --font-heading: 'Montserrat', sans-serif;
            --font-body: 'Roboto', sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
        }

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

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

        .header-left { display: flex; align-items: center; gap: 10px; }
        .header-left img { width: 25px; height: 25px; object-fit: contain; }
        .header-left strong { font-size: 16px; font-weight: normal; color: var(--primary); }
        .header-right { display: flex; gap: 10px; }
        .btn { 
            padding: 6px 16px; 
            border-radius: 4px; 
            cursor: pointer; 
            font-family: var(--font-heading); 
            font-weight: 600; 
            font-size: 14px; 
            transition: 0.3s; 
            border: none; 
        }
        .btn-login { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
        .btn-login:hover { background: var(--primary); color: var(--text-inverse); }
        .btn-register { background: var(--primary); color: var(--text-inverse); }
        .btn-register:hover { background: var(--primary-hover); }

        main { 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-section {
            background: linear-gradient(180deg, var(--bg-surface), var(--bg-main));
            text-align: center;
            padding: 20px 0;
            margin: 20px 0;
            border-bottom: 1px solid var(--border-default);
        }
        .jackpot-title { font-family: var(--font-heading); color: var(--primary); font-size: 18px; text-transform: uppercase; }
        .jackpot-amount { 
            font-family: var(--font-mono); 
            font-size: 32px; 
            font-weight: bold; 
            color: #fff; 
            text-shadow: 0 0 10px var(--primary);
            margin: 10px 0;
        }

        .intro-card {
            margin: 20px;
            padding: 25px;
            background: var(--bg-surface);
            border-radius: 16px;
            border: 1px solid var(--border-default);
            text-align: center;
        }
        .intro-card h1 { 
            font-family: var(--font-heading); 
            font-size: 24px; 
            color: var(--primary); 
            margin-bottom: 15px; 
            line-height: 1.3;
        }
        .intro-card p { color: var(--text-secondary); font-size: 16px; }

        .section-title { 
            font-family: var(--font-heading); 
            font-size: 20px; 
            text-align: center; 
            margin: 30px 0 20px; 
            color: var(--primary);
            position: relative;
            padding-bottom: 10px;
        }
        .section-title::after { 
            content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); 
            width: 50px; height: 3px; background: var(--primary); 
        }

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

        .payment-methods {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            padding: 0 15px;
            margin: 20px 0;
        }
        .payment-item {
            background: var(--bg-surface);
            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 { display: block; font-size: 20px; color: var(--primary); margin-bottom: 8px; }

        .guides-container { padding: 0 15px; display: grid; gap: 15px; }
        .guide-card { 
            background: var(--bg-surface); 
            padding: 20px; 
            border-radius: 12px; 
            border-left: 4px solid var(--primary); 
        }
        .guide-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
        .guide-card p { font-size: 14px; color: var(--text-secondary); text-align: justify; }

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

        .providers-wall { 
            display: grid; 
            grid-template-columns: repeat(2, 1fr); 
            gap: 10px; 
            padding: 0 15px; 
        }
        .provider-box { 
            padding: 15px; 
            border-radius: 8px; 
            text-align: center; 
            font-weight: bold; 
            font-family: var(--font-heading); 
            background: linear-gradient(45deg, var(--bg-surface), var(--bg-elevated)); 
            border: 1px solid var(--border-default);
        }
        .provider-box:nth-child(odd) { color: var(--primary); }
        .provider-box:nth-child(even) { color: var(--text-primary); border-color: var(--primary); }

        .comments-grid { display: grid; gap: 15px; padding: 0 15px; }
        .comment-card { 
            background: var(--bg-surface); 
            padding: 20px; 
            border-radius: 12px; 
            border: 1px solid var(--border-subtle); 
        }
        .comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .comment-header i { font-size: 24px; color: var(--primary); }
        .comment-header .user-info { display: flex; flex-direction: column; }
        .comment-header .username { font-weight: bold; font-size: 14px; }
        .comment-header .stars { color: #FFD700; font-size: 12px; }
        .comment-body { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
        .comment-date { font-size: 11px; color: var(--text-disabled); }

        .faq-container { padding: 0 15px; display: grid; gap: 10px; }
        .faq-item { background: var(--bg-surface); border-radius: 8px; overflow: hidden; border: 1px solid var(--border-subtle); }
        .faq-question { 
            padding: 15px; 
            background: var(--bg-elevated); 
            color: var(--primary); 
            font-weight: 600; 
            cursor: pointer; 
            display: flex; 
            justify-content: space-between; 
        }
        .faq-answer { padding: 15px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

        .security-section { 
            margin: 30px 15px; 
            padding: 20px; 
            background: var(--bg-surface); 
            border-radius: 16px; 
            text-align: center; 
            border: 1px dashed var(--primary); 
        }
        .security-badge { font-size: 30px; color: var(--success); margin-bottom: 10px; }
        .security-text { font-size: 13px; color: var(--text-secondary); margin-bottom: 15px; }
        .security-link { color: var(--primary); text-decoration: none; font-size: 12px; border-bottom: 1px solid; }

        .navigator {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 65px;
            background: var(--bg-surface);
            border-top: 2px solid var(--primary);
            display: flex;
            justify-content: space-around;
            align-items: center;
            z-index: 1001;
            padding-bottom: env(safe-area-inset-bottom);
        }
        .nav-item { 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            text-decoration: none; 
            color: var(--text-secondary); 
            font-size: 11px; 
            gap: 4px; 
        }
        .nav-item i { font-size: 20px; }
        .nav-item:hover { color: var(--primary); }

        footer {
            background: var(--bg-surface);
            padding: 30px 15px;
            color: var(--text-secondary);
            font-size: 13px;
            text-align: center;
            border-top: 1px solid var(--border-default);
        }
        .footer-contact { 
            display: flex; 
            justify-content: center; 
            gap: 15px; 
            margin-bottom: 20px; 
            flex-wrap: wrap; 
        }
        .footer-contact a { color: var(--primary); text-decoration: none; }
        .footer-links { 
            display: grid; 
            grid-template-columns: repeat(3, 1fr); 
            gap: 10px; 
            text-align: left; 
            margin-bottom: 20px; 
        }
        .footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 12px; }
        .footer-links a:hover { color: var(--primary); }
        .copyright { margin-top: 20px; color: var(--text-disabled); font-size: 11px; }

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