:root {
    --bg-dark: #050a14;
    --bg-card: #0f1c2e;
    --bg-header: rgba(5, 10, 20, 0.95);
    --primary-accent: #00e5ff;
    --secondary-accent: #ffd700;
    --text-main: #ffffff;
    --text-muted: #a0aab5;
    --danger: #ff4d4d;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --nav-height: 70px;
    --glow: 0 0 15px rgba(0, 229, 255, 0.2);
}

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

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0b1e3b 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}


h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2rem;
    color: var(--primary-accent);
}

p {
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    display: none;
}

.age-modal {
    background: var(--bg-card);
    border: 1px solid var(--primary-accent);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.age-btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-age {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-confirm {
    background: var(--primary-accent);
    color: var(--bg-dark);
}

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

.btn-confirm:hover {
    background: #fff;
    box-shadow: var(--glow);
}


header {
    position: sticky;
    top: 0;
    height: var(--nav-height);
    background: var(--bg-header);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.logo span {
    color: var(--primary-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-accent);
}

.btn-login {
    border: 1px solid var(--primary-accent);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--primary-accent);
    background: transparent;
}

.btn-login:hover {
    background: rgba(0, 229, 255, 0.1);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
}


.warning-strip {
    background: #000;
    color: #ccc;
    font-size: 0.75rem;
    text-align: center;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #222;
}

.badge-19 {
    background: var(--danger);
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 8px;
}


main {
    flex: 1;
    padding-bottom: 3rem;
}

.section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero {
    padding: 4rem 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 229, 255, 0.1) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.countdown-block {
    text-align: left;
}

.countdown-timer {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

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

.time-val {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-main);
}

.time-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-accent);
    letter-spacing: 1px;
}

.draw-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.draw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.jackpot-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.ticket-price {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.qty-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: fit-content;
    margin-bottom: 1.5rem;
}

.qty-btn {
    padding: 10px 15px;
    font-size: 1.2rem;
    transition: 0.2s;
}

.qty-btn:hover {
    color: var(--primary-accent);
}

.qty-val {
    width: 40px;
    text-align: center;
    font-weight: bold;
}

.btn-cta {
    width: 100%;
    padding: 15px;
    background: var(--primary-accent);
    color: var(--bg-dark);
    font-weight: 800;
    border-radius: 8px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: var(--glow);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.fine-print {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}


.info-section {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 12px;
}

.odds-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.odds-table th,
.odds-table td {
    padding: 15px;
    text-align: left;
}

.odds-table th {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.odds-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

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


.results-header {
    text-align: center;
    padding: 3rem 0;
}

.ball-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.ball {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    border-radius: 50%;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}


.login-wrapper {
    max-width: 400px;
    margin: 4rem auto;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.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: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary-accent);
}


footer {
    background: #02060d;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--primary-accent);
}

.responsible-box {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.legal-line {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}


@media (max-width: 768px) {

    .hero-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding: 2rem 0;
        text-align: center;
    }

    .countdown-timer {
        justify-content: center;
    }

    .countdown-block {
        text-align: center;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 80%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-card);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .btn-login {
        width: 100%;
        text-align: center;
    }
}

.ln-footer {
    background-color: #081d36;
    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;
    }
}

.history-list {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.history-info {
    display: flex;
    flex-direction: column;
}

.history-date {
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.1rem;
}

.history-draw {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-balls {
    display: flex;
    gap: 8px;
}

.mini-ball {
    width: 35px;
    height: 35px;
    background: #2a3b55;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .history-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .history-action {
        display: none;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.step-card h3 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item summary {
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    color: white;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-accent);
    line-height: 0;
}

.faq-item[open] summary::after {
    content: '-';
    color: var(--secondary-accent);
}

.faq-content {
    padding: 0 1.2rem 1.2rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item[open] {
    border-color: var(--primary-accent);
}.legal-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 4rem 20px;
        }
        
        .legal-content {
            background: var(--bg-card);
            padding: 3rem;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.05);
        }

        .legal-content h1 {
            margin-bottom: 0.5rem;
            color: white;
        }

        .last-updated {
            color: var(--text-muted);
            font-style: italic;
            margin-bottom: 2rem;
            display: block;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 2rem;
        }

        .legal-content h2 {
            color: var(--primary-accent);
            margin-top: 2.5rem;
            font-size: 1.5rem;
        }

        .legal-content h3 {
            color: #fff;
            margin-top: 1.5rem;
            font-size: 1.1rem;
        }

        .legal-content p, .legal-content li {
            color: #d0d0d0;
            line-height: 1.8;
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }

        .legal-content ul {
            margin-left: 1.5rem;
            list-style-type: disc;
            margin-bottom: 1.5rem;
        }

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