:root {
    --primary-blue: #0f172a;
    --accent-red: #d90429;
    --accent-red-hover: #ef233c;
    --text-dark: #333333;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.3s, transform 0.2s;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    color: var(--white) !important;
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white) !important;
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}


header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-red);
}

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

.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%),
        url('../img/hero.png') center center/cover no-repeat;

    background-color: var(--primary-blue);

    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-card {
    background: var(--white);
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jackpot-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin: 10px 0;
}

.ticket-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    cursor: pointer;
}

.ticket-qty {
    font-size: 1.2rem;
    font-weight: bold;
}

.timer {
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 600;
}


section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-card i {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 20px;
}


.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
}


.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    font-weight: 700;
}

.winning-numbers span {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    margin-right: 5px;
    font-size: 0.85rem;
    font-weight: bold;
}


.filter-bar {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.filter-bar input,
.filter-bar select {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}


.login-card {
    max-width: 450px;
    margin: 60px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.form-error {
    color: var(--accent-red);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.age-badge {
    background: var(--white);
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 15px;
}


.responsible-box {
    background: #fff0f0;
    border-left: 5px solid var(--accent-red);
    padding: 30px;
    margin-top: 40px;
    border-radius: 4px;
}


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

.overlay-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 5000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}


@media (max-width: 768px) {
    .navbar {
        position: relative;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .jackpot-amount {
        font-size: 2.5rem;
    }
}

.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;
    }
}

.lottery-numbers {
    display: flex;
    gap: 8px;
}

.ball {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #e2e8f0);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ball.bonus {
    border-color: var(--accent-red);
    color: var(--accent-red);
}


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

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

.status-roll {
    background: #e0f2fe;
    color: #075985;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e293b 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    color: #334155;
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.legal-content h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
}

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

.legal-content li {
    margin-bottom: 8px;
}

.last-updated {
    font-style: italic;
    color: #64748b;
    margin-bottom: 30px;
    font-size: 0.9rem;
}


@media(max-width: 768px) {
    .legal-content {
        padding: 20px;
    }
}