:root {
            --bg-primary: #0B0E11;
            --bg-secondary: #151921;
            --bg-tertiary: #1C212B;
            --overlay: rgba(0, 0, 0, 0.85);
            --brand-primary: #D4AF37;
            --brand-variant: #F9E076;
            --brand-secondary: #8B0000;
            --brand-accent: #FFD700;
            --text-primary: #FFFFFF;
            --text-secondary: #B0B3B8;
            --text-muted: #6C757D;
            --border-default: #2D333B;
            --border-active: #D4AF37;
            --heading-font: 'Montserrat', sans-serif;
            --body-font: 'Inter', sans-serif;
            --display-font: 'Bebas Neue', cursive;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: var(--body-font);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            padding-bottom: 70px;
        }

        h1, h2, h3 {
            font-family: var(--heading-font);
            font-weight: 700;
            color: var(--brand-variant);
        }

        h1 { font-size: 32px; text-align: center; margin: 20px 0; padding: 0 15px; }
        h2 { font-size: 24px; margin-bottom: 15px; padding-left: 10px; border-left: 4px solid var(--brand-primary); }
        h3 { font-size: 16px; margin: 10px 0; }

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

        header {
            background-color: var(--bg-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-left { display: flex; align-items: center; gap: 8px; }
        .header-left img { width: 25px; height: 25px; border-radius: 4px; }
        .header-left strong { font-size: 16px; font-weight: 400; color: var(--brand-primary); }

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

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

        .jackpot-section {
            background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--brand-secondary) 100%);
            margin: 15px;
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            border: 2px solid var(--brand-primary);
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
        }
        .jackpot-label { font-family: var(--display-font); font-size: 20px; color: var(--brand-accent); letter-spacing: 2px; }
        .jackpot-amount { font-family: var(--display-font); font-size: 42px; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

        .content-section { padding: 20px 15px; }
        .intro-text { color: var(--text-secondary); font-size: 15px; text-align: center; margin-bottom: 30px; }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }
        .game-card {
            background: var(--bg-tertiary);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid var(--border-default);
            transition: transform 0.2s;
        }
        .game-card:active { transform: scale(0.95); }
        .game-card img {
            width: 100%;
            aspect-ratio: 1/1;
            object-fit: cover;
            display: block;
        }
        .game-info { padding: 10px; text-align: center; }

        .article-list { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
        .article-card {
            display: flex;
            background: var(--bg-secondary);
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--border-default);
        }
        .article-card img { width: 100px; height: 100px; object-fit: cover; }
        .article-content { padding: 10px; }
        .article-content h3 { font-size: 14px; margin-top: 0; line-height: 1.3; }
        .article-content p { font-size: 12px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        .trust-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-bottom: 30px;
        }
        .trust-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 10px;
            color: var(--text-secondary);
            text-align: center;
        }
        .trust-item i { font-size: 24px; color: var(--brand-primary); margin-bottom: 5px; }

        .lottery-section {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 30px;
        }
        .lottery-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid var(--border-subtle);
            font-size: 13px;
        }
        .lottery-name { color: var(--brand-variant); }
        .lottery-win { color: var(--brand-accent); font-weight: bold; }

        .provider-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-bottom: 30px;
        }
        .provider-block {
            background: var(--bg-tertiary);
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            font-weight: bold;
            color: var(--brand-primary);
            border: 1px solid var(--border-default);
        }

        .review-grid { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
        .review-card {
            background: var(--bg-tertiary);
            padding: 15px;
            border-radius: 12px;
            border-left: 4px solid var(--brand-primary);
        }
        .review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .review-header i { font-size: 20px; color: var(--text-muted); }
        .review-stars { color: var(--brand-accent); font-size: 12px; }
        .review-body { font-size: 14px; color: var(--text-secondary); font-style: italic; }
        .review-date { font-size: 11px; color: var(--text-muted); margin-top: 5px; text-align: right; }

        .faq-section { margin-bottom: 30px; }
        .faq-item { margin-bottom: 15px; background: var(--bg-secondary); padding: 15px; border-radius: 8px; }
        .faq-q { color: var(--brand-variant); font-weight: 600; margin-bottom: 8px; font-size: 15px; }
        .faq-a { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

        .security-section {
            text-align: center;
            padding: 20px;
            background: var(--bg-tertiary);
            border-radius: 12px;
            margin-bottom: 20px;
        }
        .security-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; font-size: 30px; color: var(--brand-primary); }
        .security-text { font-size: 12px; color: var(--text-muted); }
        .age-limit { display: inline-block; border: 2px solid #ff0000; color: #ff0000; border-radius: 50%; width: 30px; height: 30px; line-height: 26px; font-weight: bold; margin-bottom: 10px; }

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

        footer {
            background: var(--bg-primary);
            padding: 30px 15px 100px;
            border-top: 1px solid var(--border-default);
            text-align: center;
        }
        .footer-links {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 30px;
            text-align: left;
        }
        .footer-links a { font-size: 13px; color: var(--text-muted); }
        .copyright { font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border-default); padding-top: 20px; }