:root {

    --primary-dark: #051b35;
    --primary-blue: #0b2d5b;
    --accent-red: #d80027;
    --accent-red-hover: #b00020;


    --text-main: #111827;
    --text-muted: #6b7280;
    --bg-body: #f3f4f6;
    --bg-white: #ffffff;


    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.15);


    --nav-height: 80px;
    --container-width: 1140px;

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--nav-height);
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
}


h1,
h2,
h3,
h4 {
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.section-padding {
    padding: 80px 0;
}

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

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


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c40022 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(216, 0, 39, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(216, 0, 39, 0.4);
}

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

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

.btn-block {
    width: 100%;
    display: flex;
}


.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--nav-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
}

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


.burger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-dark);
}



.hero {

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



    background-image: url('../img/hero.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    color: white;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(5, 27, 53, 0.75);


    z-index: 1;
}



.hero .container {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;

    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-box {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 50px;
}

.time-unit {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    line-height: 1;
    text-align: center;
}

.time-unit span {
    display: block;
    font-size: 2.8rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.ticket-card {
    background: var(--bg-white);
    color: var(--text-main);
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);

    animation: floatUp 0.8s ease-out;
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.jackpot-amount {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-red) 0%, #ff4d6d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 15px 0;
    letter-spacing: -1px;
}

.ticket-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0;
    background: #f9fafb;
    border-radius: var(--radius-sm);
    padding: 8px;
    border: 1px solid #e5e7eb;
}

.stepper-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    background: white;
    color: var(--primary-blue);
    font-weight: bold;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: 0.2s;
}

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

.ticket-qty {
    font-weight: 700;
    font-size: 1.1rem;
}


table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: 24px;
}

th,
td {
    padding: 16px 24px;
    text-align: left;
}

th {
    background-color: var(--primary-dark);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

td {
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

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

tr:hover td {
    background-color: #f9fafb;
}


.result-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
    transition: 0.3s;
}

.result-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    border-color: var(--primary-blue);
}

.ball {
    width: 36px;
    height: 36px;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}


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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: 0.2s;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary-blue);
    background: #f0f7ff;
}


.responsible-strip {
    background-color: white;
    padding: 30px 0;
    text-align: center;
    border-top: 4px solid var(--accent-red);
    border-bottom: 1px solid #eee;
}

.main-footer {
    background-color: var(--primary-dark);
    color: #9ca3af;
    padding: 80px 0 30px;
}

.main-footer h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.regulatory-text {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 27, 53, 0.95);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-card {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: var(--primary-dark);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-md);
    z-index: 5000;
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: white;
        flex-direction: column;
        padding: 40px 24px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        border-top: 1px solid #eee;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-links .btn {
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

    .burger-menu {
        display: block;
    }

    .hero {
        padding: 40px 0 60px;
        text-align: center;
    }

    .timer-box {
        gap: 10px;
    }

    .time-unit {
        font-size: 2rem;
    }

    .ticket-card {
        padding: 25px;
        margin: 0 10px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }


    .container {
        overflow-x: hidden;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

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

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


.auth-card {
    background: var(--bg-white);
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--radius-lg);


    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.5);
}


.auth-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;

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


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


.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}


.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text-main);


    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);


    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}


.form-group input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--primary-blue);


    box-shadow: 0 0 0 4px rgba(11, 45, 91, 0.1);
}


.form-group input::placeholder {
    color: #9ca3af;
}


.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding: 16px;
    font-size: 1.05rem;
}


@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
        box-shadow: none;
        background: transparent;
    }

    .bg-gray {
        background: white;
    }
}

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

.page-header h1 {
    color: white;
    margin-bottom: 15px;
}

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


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

.step-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    background: var(--accent-red);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 15px;
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}


.cta-box {
    background: var(--primary-blue);
    color: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 60px;
}

.cta-box h2 {
    color: white;
}

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

.legal-content {
    background: white;
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border: 1px solid #e5e7eb;
}

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

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

.legal-content p {
    margin-bottom: 16px;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

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

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

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

.warning-box {
    background-color: #fef2f2;
    border-left: 4px solid var(--accent-red);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.warning-box p {
    margin: 0;
    color: #991b1b;
}