:root {
    --bg-color: #020617;
    --card-bg: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-gold: #d4af37;
    --accent-teal: #2dd4bf;
    --border-color: #1e293b;
    --radius: 0.5rem;
    --max-width: 1200px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --header-height: 70px;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.top-strip {
    background-color: #000;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.main-header {
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

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

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

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

.nav-link:hover {
    color: var(--accent-teal);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
}

.btn-outline:hover {
    background: rgba(45, 212, 191, 0.1);
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background: #e5c148;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-teal {
    background: var(--accent-teal);
    color: #000;
}

.btn-teal:hover {
    background: #5eead4;
}

.burger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background: linear-gradient(rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.9)), url('../img/hero.png') no-repeat center center/cover;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.jackpot-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin: 0.5rem 0;
}

.ticket-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.control-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #1e293b;
    color: #fff;
    cursor: pointer;
}

.ticket-count {
    font-size: 1.25rem;
    font-weight: 700;
    min-width: 30px;
}

.price {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.disclaimer-small {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 1rem;
}

.timer-box {
    margin-bottom: 2rem;
    font-family: monospace;
    font-size: 1.25rem;
    color: var(--accent-teal);
    background: rgba(45, 212, 191, 0.1);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #fff;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

.text-block p {
    margin-bottom: 1.5rem;
}

.odds-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    color: var(--text-muted);
}

.odds-table th,
.odds-table td {
    border: 1px solid var(--border-color);
    padding: 1rem;
    text-align: left;
}

.odds-table th {
    background: #1e293b;
    color: #fff;
}

.logos-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.logos-row img {
    height: 40px;
    opacity: 0.7;
}

.page-content {
    padding: 4rem 0;
    flex: 1;
}

.form-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    max-width: 500px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    background: #020617;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: #fff;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.form-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ball-sequence span {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
    margin-right: 4px;
}


.warning-19 {
    color: #ef4444;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 0.5rem;
    }

    .nav-menu,
    .auth-buttons {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--card-bg);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .grid-3,
    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .result-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.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-hero {
    background: linear-gradient(135deg, var(--card-bg) 0%, #1e293b 100%);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--accent-teal);
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.1);
}

.big-balls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.big-ball {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #020617;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-gold);
}

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

.prize-breakdown-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--accent-teal);
}

.prize-breakdown-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.archive-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
}


.archive-list::-webkit-scrollbar {
    width: 6px;
}

.archive-list::-webkit-scrollbar-track {
    background: var(--bg-color);
}

.archive-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius);
    height: 100%;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.step-icon {
    color: var(--accent-teal);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}


details {
    background: #1e293b;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid transparent;
}

details[open] {
    border-color: var(--accent-gold);
}

summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 3rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-gold);
    top: 50%;
    transform: translateY(-50%);
}

details[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.ticket-example {
    font-family: monospace;
    background: #000;
    color: var(--accent-teal);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    letter-spacing: 2px;
    display: inline-block;
    margin: 0.5rem 0;
    border: 1px dashed var(--accent-teal);
}

.policy-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

.table-of-contents {
    background: #0f172a;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.toc-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.toc-link:hover {
    color: var(--accent-teal);
    text-decoration: underline;
}

.policy-content h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-gold);
    padding-left: 1rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    color: #e2e8f0;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    color: #94a3b8;
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #94a3b8;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.last-updated {
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent-teal);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-family: monospace;
}

@media (max-width: 900px) {
    .policy-container {
        grid-template-columns: 1fr;
    }

    .table-of-contents {
        position: static;
        margin-bottom: 2rem;
    }
}

.overlay-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay-full.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.age-modal-box {
    background: #0f172a;
    padding: 3rem;
    border-radius: 1rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
}

.cookie-modal-box {
    background: #1e293b;
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--border-color);
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--accent-teal);
    padding: 1rem;
    z-index: 9990;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}


.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #334155;
    gap: 1rem;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #475569;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
}

.toggle-switch .knob {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

.toggle-switch.active {
    background: var(--accent-teal);
}

.toggle-switch.active .knob {
    transform: translateX(20px);
}

.toggle-switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--accent-teal);
}

.toggle-switch.disabled::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 22px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }

    .cookie-actions button {
        flex: 1;
    }
}