:root {
    --bg-dark: #0a192f;
    --bg-card: #112240;
    --primary-gold: #fbbf24;
    --accent-teal: #14b8a6;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --danger: #ef4444;
    --font-main: 'Inter', sans-serif;
    --spacing: 1rem;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.section {
    padding: 4rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}


header {
    background-color: rgba(10, 25, 47, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: -0.5px;
}

.nav-links {
    display: none;
}

.nav-links a {
    margin-left: 2rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-teal);
}

.btn-login {
    border: 1px solid var(--primary-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    color: var(--primary-gold) !important;
}

.btn-login:hover {
    background-color: var(--primary-gold);
    color: var(--bg-dark) !important;
}

.compliance-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 1rem;
    display: none;
}


.burger {
    cursor: pointer;
    display: block;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    margin: 5px;
}

.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 2rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    text-align: center;
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav a {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

@media(min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
    }

    .burger {
        display: none;
    }

    .compliance-badge {
        display: inline-block;
    }

    .mobile-nav {
        display: none;
    }
}


.hero {
    background: radial-gradient(circle at top right, #1e3a8a20, transparent), url('../img/hero.png') center center/cover no-repeat;
}

.draw-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.draw-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.draw-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.jackpot {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.jackpot-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: block;
}

.timer {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.time-unit {
    text-align: center;
}

.time-val {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.time-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.controls {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 6px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn {
    background: var(--bg-dark);
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.qty-val {
    font-weight: 600;
    width: 20px;
    text-align: center;
}

.btn-cta {
    width: 100%;
    background: var(--accent-teal);
    color: var(--bg-dark);
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cta:hover {
    background: #0d9488;
}

.total-line {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.circle-graphic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-gold);
    text-align: center;
    padding: 2rem;
    box-shadow: 0 0 50px rgba(251, 191, 36, 0.1);
}


h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.info-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
}


.odds-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.odds-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--text-muted);
    color: var(--primary-gold);
}

.odds-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.disclaimer {
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 1rem;
    color: #64748b;
}


.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-header h1 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.result-card {
    background: var(--bg-card);
    border-left: 4px solid var(--accent-teal);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.res-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.res-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.res-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.res-jackpot {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
}

.winning-nums {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.res-stats {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media(min-width: 768px) {
    .result-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .res-top {
        flex-direction: column;
        gap: 0.2rem;
        min-width: 200px;
    }

    .winning-nums {
        margin: 0 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}


.instruction-step {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.instruction-step:last-child {
    border-bottom: none;
}

.step-title {
    color: var(--accent-teal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 700px;
}

.methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.method-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid transparent;
}

.method-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.method-card h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

@media(min-width: 768px) {
    .methods-grid {
        grid-template-columns: 1fr 1fr;
    }
}


.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 12, 27, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.age-gate.active {
    opacity: 1;
    pointer-events: all;
}

.gate-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    border: 1px solid var(--primary-gold);
}

.gate-btn {
    padding: 0.8rem 2rem;
    margin: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
}

.btn-yes {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

.btn-no {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.ln-footer {
    background-color: #0a0836;
    color: #f9fafb;
    padding: 40px 16px 32px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.ln-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.ln-footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
}

.ln-footer-logos a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ln-footer-logo {
    height: 50px;
    width: auto;
    display: block;
}

.ln-footer-text {
    margin-bottom: 8px;
    color: #e5e7eb;
}

.ln-footer-text a {
    color: #ffffff;
    text-decoration: underline;
}

.ln-footer-warning {
    margin: 22px 0 26px;
    font-weight: 600;
    color: #ff3737;
}

.ln-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.ln-footer-copy span {
    font-weight: 600;
}

.ln-footer-links {
    display: flex;
    gap: 24px;
}

.ln-footer-links a {
    color: #e5e7eb;
    text-decoration: none;
}

.ln-footer-links a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .ln-footer {
        padding: 48px 24px 32px;
    }

    .ln-footer-bottom {
        flex-direction: row;
    }
}

.step-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(20, 184, 166, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media(min-width: 768px) {
    .step-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.featured-result {
    background: linear-gradient(135deg, #112240 0%, #0d1b33 100%);
    border: 1px solid var(--primary-gold);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.breakdown-table th {
    text-align: left;
    padding: 0.8rem;
    border-bottom: 1px solid var(--text-muted);
    color: var(--accent-teal);
    font-weight: 600;
}

.breakdown-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 6px;
}

.stat-nums {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.stat-ball {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.hot {
    background: #ef4444;
    color: white;
}

.cold {
    background: #3b82f6;
    color: white;
}

.check-stub {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 3rem;
    border-top: 4px solid var(--accent-teal);
}

.input-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.num-input {
    width: 40px;
    height: 50px;
    background: var(--bg-dark);
    border: 1px solid var(--text-muted);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 4px;
}

.btn-check {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

@media(min-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
}.auth-section {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 70vh;  
            padding: 2rem 0;
        }

        .auth-card {
            background-color: var(--bg-card);
            border: 1px solid rgba(251, 191, 36, 0.2);  
            border-radius: 8px;
            padding: 2.5rem;
            width: 100%;
            max-width: 450px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.5);
        }

        .auth-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .auth-header h1 {
            color: var(--primary-gold);
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .form-control {
            width: 100%;
            padding: 0.8rem 1rem;
            border-radius: 4px;
            border: 1px solid rgba(255,255,255,0.1);
            background-color: var(--bg-dark);
            color: var(--text-main);
            font-size: 1rem;
            font-family: var(--font-main);
            transition: border-color 0.2s;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent-teal);
        }

        .auth-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }

        .auth-actions a {
            color: var(--accent-teal);
        }
        .auth-actions a:hover {
            text-decoration: underline;
        }

        .btn-submit {
            width: 100%;
            background: var(--primary-gold);
            color: var(--bg-dark);
            padding: 1rem;
            border: none;
            border-radius: 4px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn-submit:hover {
            background: #d9a31a; 
        }

        .auth-footer {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        .auth-footer a {
            color: var(--text-main);
            font-weight: 600;
        }.legal-wrapper {
            max-width: 800px;  
            margin: 0 auto;
        }

        .legal-header {
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 2rem;
            margin-bottom: 3rem;
        }

        .legal-header h1 {
            color: var(--primary-gold);
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .last-updated {
            color: var(--text-muted);
            font-size: 0.9rem;
            font-style: italic;
        }

        .legal-content h2 {
            color: var(--text-main);
            font-size: 1.5rem;
            margin-top: 3rem;
            margin-bottom: 1rem;
            border-left: 4px solid var(--accent-teal);
            padding-left: 1rem;
        }

        .legal-content h3 {
            color: var(--primary-gold);
            font-size: 1.1rem;
            margin-top: 2rem;
            margin-bottom: 0.8rem;
        }

        .legal-content p {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            line-height: 1.8;
            font-size: 1rem;
        }

        .legal-content ul {
            list-style: disc;
            padding-left: 2rem;
            margin-bottom: 1.5rem;
            color: var(--text-muted);
        }

        .legal-content li {
            margin-bottom: 0.5rem;
            line-height: 1.6;
        }

        .legal-content strong {
            color: var(--text-main);
        }