:root {
    --primary-color: #0f172a;
    --accent-color: #0d9488;
    --accent-hover: #0f766e;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --danger: #ef4444;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

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

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}


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

.section {
    padding: 60px 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.bg-dark h2,
.bg-dark h3 {
    color: var(--white);
}

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


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

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


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

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

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

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

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

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

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

.nav-links .play-btn {
    background: var(--accent-color);
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-links .play-btn:hover {
    color: white;
    background: var(--accent-hover);
}

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


.hero {

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

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

.hero h1,
h4 {
    color: var(--white);
}

.jackpot-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 10px 0;
    text-shadow: 0 0 20px rgba(13, 148, 136, 0.3);
}

.timer-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
}

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

.time-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.ticket-card {
    background: var(--white);
    color: var(--text-dark);
    max-width: 400px;
    margin: 30px auto 0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #f8fafc;
    cursor: pointer;
    font-size: 1.2rem;
}

.ticket-count {
    font-size: 1.5rem;
    font-weight: 700;
    width: 40px;
    text-align: center;
}


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

.step-card,
.feature-card {
    text-align: center;
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}


.table-responsive {
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.styled-table th,
.styled-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.styled-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

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


.auth-form {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

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

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


.modal-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;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9000;
    flex-wrap: wrap;
    gap: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.legal-badges {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

.badge-icon {
    border: 1px solid #94a3b8;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
    }

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

    .burger {
        display: block;
    }

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

    .ticket-controls {
        width: 100%;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}

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

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.legal-content h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
    color: #334155;
}

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

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

.last-updated {
    font-style: italic;
    color: #64748b;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}