:root {
            --primary: #D4AF37;
            --secondary: #FFD700;
            --accent: #F5C518;
            --gold-gradient: linear-gradient(180deg, #FFD700 0%, #D4AF37 100%);
            --bg-main: #0A0B0D;
            --bg-surface: #16191E;
            --bg-overlay: #1E2228;
            --bg-card: #1C1F26;
            --text-primary: #FFFFFF;
            --text-secondary: #9BA3AF;
            --text-muted: #6B7280;
            --text-brand: #D4AF37;
            --success: #00C853;
            --border: #2D333B;
            --font-main: 'Inter', sans-serif;
            --font-heading: 'Montserrat', sans-serif;
            --font-mono: 'Roboto Mono', monospace;
        }

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

        header {
            height: 60px;
            background: var(--bg-surface);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 15px;
            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-family: var(--font-heading); font-size: 16px; font-weight: 400; color: var(--text-primary); }
        .header-right { display: flex; gap: 10px; }
        .btn-login, .btn-register { padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; font-family: var(--font-heading); }
        .btn-login { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
        .btn-register { background: var(--gold-gradient); color: #000; }

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

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

        .jackpot-box {
            margin: 20px 15px;
            background: var(--bg-card);
            border: 2px solid var(--primary);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
        }
        .jackpot-label { color: var(--secondary); font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; font-size: 0.875rem; letter-spacing: 1px; }
        .jackpot-amount { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700; color: var(--text-primary); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }

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

        .section-title { margin: 30px 15px 15px; font-family: var(--font-heading); font-size: 1.25rem; color: var(--text-primary); display: flex; align-items: center; gap: 10px; }
        .section-title::before { content: ""; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; }

        .game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 15px; }
        .game-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; text-decoration: none; border: 1px solid var(--border); transition: transform 0.2s; }
        .game-card:active { transform: scale(0.97); }
        .game-img { width: 100%; aspect-ratio: 1/1; position: relative; }
        .game-img img { width: 100%; height: 100%; object-fit: cover; }
        .game-card h3 { padding: 10px; font-size: 0.875rem; color: var(--text-primary); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }

        .payments-section { margin: 30px 15px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
        .payment-item { background: var(--bg-overlay); border-radius: 8px; padding: 15px 5px; text-align: center; border: 1px solid var(--border); }
        .payment-item i { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; display: block; }
        .payment-item span { font-size: 0.7rem; color: var(--text-secondary); font-weight: 600; display: block; }

        .guide-section { padding: 0 15px; display: flex; flex-direction: column; gap: 15px; }
        .guide-card { background: var(--bg-surface); padding: 20px; border-radius: 12px; border-left: 3px solid var(--primary); }
        .guide-card h2 { font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; font-family: var(--font-heading); }
        .guide-card p { font-size: 0.875rem; color: var(--text-secondary); }

        .lottery-section { margin: 30px 15px; background: var(--bg-overlay); border-radius: 16px; padding: 15px; border: 1px solid var(--border); }
        .lottery-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
        .lottery-row:last-child { border-bottom: none; }
        .user-info { display: flex; flex-direction: column; }
        .user-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
        .game-name { font-size: 0.75rem; color: var(--text-muted); }
        .win-info { text-align: right; }
        .win-amount { color: var(--success); font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem; }
        .win-time { font-size: 0.7rem; color: var(--text-muted); }

        .providers-wall { margin: 20px 15px; display: flex; flex-wrap: wrap; gap: 10px; }
        .provider-tag { flex: 1 1 calc(50% - 10px); background: linear-gradient(90deg, #1C1F26 0%, #2D333B 100%); padding: 12px; border-radius: 8px; text-align: center; color: var(--primary); font-weight: 700; font-family: var(--font-heading); font-size: 0.85rem; border: 1px solid var(--border); }

        .reviews-section { padding: 0 15px; display: flex; flex-direction: column; gap: 15px; }
        .review-card { background: var(--bg-card); padding: 20px; border-radius: 16px; border: 1px solid var(--border); }
        .review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
        .review-avatar { width: 40px; height: 40px; background: var(--bg-overlay); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); border: 1px solid var(--primary); }
        .review-meta h3 { font-size: 0.95rem; color: var(--text-primary); }
        .stars { color: var(--secondary); font-size: 0.75rem; }
        .review-content { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 10px; font-style: italic; }
        .review-date { font-size: 0.75rem; color: var(--text-muted); text-align: right; }

        .faq-section { padding: 0 15px; }
        .faq-item { background: var(--bg-surface); border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--border); }
        .faq-question { padding: 15px; font-weight: 600; color: var(--primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; }
        .faq-answer { padding: 0 15px 15px; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; }

        .security-section { margin: 30px 15px; padding: 25px; background: var(--bg-overlay); border-radius: 16px; text-align: center; border: 1px dashed var(--primary); }
        .security-title { color: var(--primary); font-family: var(--font-heading); margin-bottom: 15px; font-size: 1.1rem; }
        .security-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 1.5rem; color: var(--text-secondary); }
        .security-text { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 15px; }
        .age-limit { display: inline-block; padding: 4px 10px; border: 1px solid var(--error); color: var(--error); border-radius: 4px; font-weight: 700; font-size: 0.8rem; }

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

        footer {
            background: var(--bg-surface);
            padding: 40px 15px 100px;
            border-top: 1px solid var(--border);
        }
        .footer-contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 30px; }
        .contact-link { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
        .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 30px; }
        .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; }
        .footer-copy { text-align: center; color: var(--text-muted); font-size: 0.75rem; border-top: 1px solid var(--border); padding-top: 20px; }

        @media (min-width: 800px) {
            .game-grid { grid-template-columns: repeat(3, 1fr); }
        }