:root {
    --primary: #008080;
    --primary-dark: #005f5f;
    --secondary: #0F172A;
    --accent: #20B2AA;
    --bg-light: #F8FAFC;
    --text-main: #334155;
    --text-light: #64748B;
    --white: #ffffff;
    --gradient-aurora: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}


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

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

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}


.top-notice {
    background-color: var(--secondary);
    color: #fff;
    text-align: center;
    font-size: 0.75rem;
    padding: 8px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}


header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.brand-sub {
    font-size: 0.7rem;
    color: var(--text-light);
    display: block;
    line-height: 1;
    margin-top: 2px;
}

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

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.btn-nav {
    background-color: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


.hero {
    background: url('../img/hero.png') center center/cover no-repeat;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(32, 178, 170, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    animation: moveLight 15s infinite alternate;
}

@keyframes moveLight {
    from {
        transform: translate(-20px, -20px);
    }

    to {
        transform: translate(20px, 20px);
    }
}

.draw-card {
    background: white;
    color: var(--secondary);
    max-width: 500px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.prize-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0.5rem 0;
    line-height: 1.1;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.time-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

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

.btn-cta {
    background: var(--primary);
    color: white;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cta:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}


.features-section {
    padding: 4rem 0;
    background: white;
}

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

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}


.content-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    text-align: center;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
}


.result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.result-row:last-child {
    border-bottom: none;
}

.balls-container {
    display: flex;
    gap: 0.5rem;
}

.ball {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ball.bonus {
    background: var(--accent);
}

.check-ticket-box {
    background: #E0F2F1;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.ticket-input {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 300px;
    margin-right: 10px;
    font-size: 1rem;
}


.auth-box {
    max-width: 450px;
    margin: 4rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
}


.legal-bar {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
}

.warning-19 {
    color: #F87171;
    font-weight: 700;
    border: 1px solid #F87171;
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}


#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate-content {
    text-align: center;
    color: white;
    max-width: 500px;
    padding: 2rem;
}

.gate-btn {
    padding: 1rem 2.5rem;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    margin: 0 10px;
    font-size: 1.1rem;
}

.btn-yes {
    background: var(--primary);
    color: white;
}

.btn-no {
    background: #334155;
    color: white;
}


@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .main-nav ul.show {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--secondary);
    }

    .hero {
        padding: 3rem 0;
    }

    .result-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .ticket-input {
        width: 100%;
        margin-bottom: 10px;
    }
}

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

.latest-draw-container {
    background: linear-gradient(to right, #ffffff, #f0f9ff);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.breakdown-table th {
    text-align: left;
    background: #0F172A;
    color: white;
    padding: 12px;
    font-weight: 500;
}

.breakdown-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.breakdown-table tr:last-child td {
    border-bottom: none;
}

.archive-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.archive-table th {
    background: #f1f5f9;
    padding: 15px;
    text-align: left;
    color: #475569;
    font-weight: 600;
}

.archive-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.archive-table tr:hover {
    background-color: #f8fafc;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-official {
    background-color: #dcfce7;
    color: #166534;
}

.status-pending {
    background-color: #fef9c3;
    color: #854d0e;
}

.search-panel {
    background: var(--secondary);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-group {
    flex: 1;
    min-width: 200px;
}

.search-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.search-input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #475569;
    background: #1e293b;
    color: white;
}.policy-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 3rem;
            padding-top: 3rem;
            padding-bottom: 3rem;
        }

        
        .policy-sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }
        .policy-sidebar h3 {
            font-size: 1rem;
            margin-bottom: 1rem;
            color: var(--secondary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .policy-nav li { margin-bottom: 0.5rem; }
        .policy-nav a {
            color: #64748B;
            font-size: 0.9rem;
            display: block;
            padding: 5px 0;
        }
        .policy-nav a:hover { color: var(--primary); transform: translateX(5px); }
        
        
        .policy-content {
            background: white;
            padding: 3rem;
            border-radius: 8px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            color: #334155;
        }
        .policy-content h1 { font-size: 2.2rem; color: var(--secondary); margin-bottom: 0.5rem; }
        .policy-content .last-updated { color: #94a3b8; font-size: 0.9rem; display: block; margin-bottom: 2rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 2rem; }
        
        .policy-content h2 { color: var(--secondary); font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; }
        .policy-content h3 { color: var(--primary-dark); font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
        .policy-content p { margin-bottom: 1rem; line-height: 1.7; text-align: justify; }
        .policy-content ul { list-style: disc; padding-left: 20px; margin-bottom: 1.5rem; }
        .policy-content li { margin-bottom: 0.5rem; }

        @media (max-width: 900px) {
            .policy-layout { grid-template-columns: 1fr; }
            .policy-sidebar { display: none; } 
            .policy-content { padding: 1.5rem; }
        }