:root {

    --bg-main: #060912;
    --bg-secondary: #0f1525;
    --bg-card: #131c30;


    --primary: #00bfa5;
    --primary-dark: #00a896;
    --primary-glow: rgba(0, 191, 165, 0.4);


    --accent: #ffc107;
    --accent-hover: #e0a800;


    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --text-dark: #0a0a0a;

    --danger: #ff4d4d;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    --border-light: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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


h1,
h2,
h3,
h4 {
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.text-highlight {
    color: var(--primary);
}

.text-gold {
    color: var(--accent);
    font-weight: bold;
}


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


.btn {
    display: inline-block;
    padding: 14px 28px;

    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-dark);
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-glow);
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn:active {
    transform: translateY(0);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-block {
    width: 100%;
}


header {
    background: rgba(6, 9, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo span {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    opacity: 0.8;
}

.nav-menu a:hover,
.nav-menu a.text-highlight {
    opacity: 1;
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.text-highlight::after {
    width: 100%;
}


.btn-register {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover)) !important;
    color: var(--text-dark) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3) !important;
    opacity: 1 !important;
}

.btn-register::after {
    display: none !important;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.5) !important;
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-main);
}



.hero {
    padding: 100px 0 80px;
    background:
        radial-gradient(circle at top right, rgba(0, 191, 165, 0.15), transparent 50%),
        linear-gradient(135deg, rgba(6, 9, 18, 0.9) 0%, rgba(15, 21, 37, 0.85) 100%),
        url('../img/hero.png') center center/cover no-repeat;

    position: relative;
    overflow: hidden;
}


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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 500px;
    opacity: 0.9;
}


.hero-card {
    background: linear-gradient(145deg, var(--bg-card), rgba(19, 28, 48, 0.8));
    padding: 40px;
    border-radius: 16px;

    border: 1px solid rgba(0, 191, 165, 0.2);
    box-shadow: var(--shadow-card), inset 0 0 30px rgba(0, 191, 165, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-card h3 {
    color: var(--text-main);
    margin-bottom: 0;
}

.prize-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    margin: 15px 0 5px;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
    line-height: 1;
}

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

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-val {
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-main);
    min-width: 60px;
}

.time-label {
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}

.ticket-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 50px;
    display: inline-flex;
}

.qty-btn {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 191, 165, 0.1);
}

#ticket-qty {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 0 15px;
}


.section {
    padding: 80px 0;
}

.section-darker {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.feature-card {
    padding: 35px 25px;
    background: linear-gradient(145deg, var(--bg-card), transparent);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
    box-shadow: var(--shadow-card);
}

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

.feature-card h3 {
    font-size: 1.3rem;
}


.results-hero {
    text-align: center;
    padding: 80px 0 60px;
    background: var(--bg-secondary);
}

.results-hero h1 {
    margin-bottom: 0.5rem;
}

.draw-summary {
    background: linear-gradient(145deg, var(--bg-card), #1a243a);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

.winning-numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.ball {
    width: 60px;
    height: 60px;

    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px var(--primary-glow), inset 0 -2px 5px rgba(0, 0, 0, 0.2);
    text-shadow: none;
}


.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    background: rgba(0, 191, 165, 0.1);
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

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


.steps-list {
    counter-reset: step;
}

.step-item {
    position: relative;
    padding-left: 75px;
    margin-bottom: 40px;
}

.step-item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-dark);
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.step-item h3 {
    margin-bottom: 0.5rem;
}

details {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    margin-bottom: 15px;
    transition: var(--transition);
}

details[open] {
    border-color: var(--primary-glow);
}

summary {
    font-weight: 600;
}


.auth-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(0, 191, 165, 0.1);
}

.checkbox-group {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}


.responsible-logos {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;
}

.responsible-logos div {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.05);
}

.legal-text {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 20px auto 0;
    line-height: 1.5;
}

.warning-box {
    border: 1px solid var(--primary);
    background: rgba(0, 191, 165, 0.05);
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    border-radius: 8px;
    font-size: 1.1rem;
}


#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(6, 9, 18, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.age-gate-content {
    background: linear-gradient(145deg, var(--bg-card), #1a243a);
    padding: 50px 40px;
    max-width: 550px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 191, 165, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.age-gate-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.age-gate-content p {
    font-size: 1.1rem;
    color: var(--text-main);
    opacity: 0.9;
}

.age-gate-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.age-gate-buttons .btn {
    min-width: 140px;
}


@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text p {
        margin: 0 auto 20px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-main);
        flex-direction: column;
        padding: 40px 30px;
        transition: var(--transition);
        border-top: 1px solid var(--border-light);
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        width: 100%;
        padding: 10px 0;
    }

    .nav-menu a::after {
        display: none;
    }

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

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .prize-amount {
        font-size: 2.8rem;
    }

    .hero-card {
        padding: 30px 20px;
    }

    .timer-box {
        gap: 8px;
    }

    .time-val {
        font-size: 1.4rem;
        min-width: 50px;
        padding: 8px 10px;
    }

    .winning-numbers {
        gap: 10px;
    }

    .ball {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .auth-container {
        padding: 30px 20px;
    }
}

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

.policy-content h2 {
    color: var(--text-main);
    margin-top: 40px;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.policy-content h3 {
    color: var(--primary);
    margin-top: 25px;
    font-size: 1.3rem;
}

.policy-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
    color: var(--text-muted);
}

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

.policy-content strong {
    color: var(--text-main);
}

.highlight-box {
    background: rgba(0, 191, 165, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.alert-box {
    background: rgba(255, 77, 77, 0.1);
    border-left: 4px solid var(--danger);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.info-box {
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
}

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    padding: 20px;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
    max-width: 800px;
    color: var(--text-muted);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}


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

.cookie-modal-overlay.active {
    display: flex;
}

.cookie-modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-main);
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.cookie-option:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

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

.option-info strong {
    color: var(--text-main);
    font-size: 1rem;
}

.option-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.locked {
    opacity: 0.6;
    cursor: not-allowed;
}


@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}