:root {

    --bg-dark: #0f0518;
    --bg-card: #1e102e;
    --primary: #fbbf24;
    --primary-hover: #f59e0b;
    --text-main: #ffffff;
    --text-muted: #a78bfa;
    --border: #4c1d95;

    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);

    background: linear-gradient(135deg, #180929 0%, #05020a 100%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

ul {
    list-style: none;
}

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

header {
    background: rgba(15, 5, 24, 0.95);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

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

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

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

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

.btn-nav-reg {
    background: var(--primary);
    color: #1a0526;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.btn-nav-reg:hover {
    background: var(--primary-hover);
    color: #000;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
}

.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

main {
    margin-top: 80px;
    flex: 1;
    padding-bottom: 40px;
}


.hero {
    padding: 70px 0;
    text-align: center;

    background: radial-gradient(circle at top, rgba(251, 191, 36, 0.1), transparent 60%);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.jackpot-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.timer-block,
.jackpot-info {
    flex: 1;
    min-width: 300px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 0;
}

.time-unit {
    background: rgba(30, 16, 46, 0.8);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.time-unit span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 800;
}

.jackpot-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);

    text-shadow: 0 0 25px rgba(251, 191, 36, 0.5);
    margin: 10px 0;
    letter-spacing: -1px;
}

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

.btn-qty {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.btn-qty:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(to right, #fbbf24, #d97706);
    color: #1a0526;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.6);
    filter: brightness(1.1);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(76, 29, 149, 0.5);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.card:hover::before {
    transform: scaleX(1);
}

.card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;

    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.4));
}

.card h3 {
    margin-bottom: 10px;
    color: #fff;
}

.section-block {
    margin: 70px auto;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #fff;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: var(--primary);
    border-radius: 2px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.data-table th {
    background: rgba(76, 29, 149, 0.3);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: rgba(251, 191, 36, 0.05);
}

.draw-balls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

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

    background: radial-gradient(circle at 30% 30%, #fff, #fde68a);
    color: #1e102e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid #fff;
}

.form-box {
    max-width: 500px;
    margin: 50px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px;
    background: #13071f;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}


.error-msg {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid #7f1d1d;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.success-msg {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid #14532d;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.accordion-item {
    background: var(--bg-card);
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid transparent;
}

.accordion-header {
    padding: 18px 25px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.accordion-header:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #fff;
}

.accordion-header i {
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
    background: #170b24;
}

.accordion-content p {
    padding: 20px 0;
    color: var(--text-muted);
}



.res-icon {
    width: 45px;
    height: 45px;
    background: #2e1065;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid #4c1d95;
}

.copyright {
    text-align: center;
    border-top: 1px solid #1e102e;
    padding-top: 25px;
    font-size: 0.85rem;
    color: #6b7280;
}

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

.modal-content {
    background: var(--bg-card);
    padding: 45px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--primary);

    box-shadow: 0 0 40px rgba(251, 191, 36, 0.15);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e102e;
    border-top: 2px solid var(--primary);
    padding: 25px;
    z-index: 9990;
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: #fff;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #fff;
}

@media (max-width: 768px) {
    .nav-links {
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
    }

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

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

    .card:hover {
        transform: none;
    }
}

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

.checker-box {
    background: linear-gradient(135deg, #2e1065 0%, #1e102e 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--primary);
    margin-bottom: 50px;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

.checker-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.num-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: #0f0518;
    border: 1px solid var(--border);
    color: var(--primary);
    border-radius: 8px;
}

.num-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.checker-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}


.details-row {
    display: none;
    background: #13071f;
}

.details-row.active {
    display: table-row;
}

.details-content {
    padding: 20px;
    border-left: 3px solid var(--primary);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.btn-text:hover {
    color: #fff;
}

.calc-box {
    background: linear-gradient(135deg, #1e102e 0%, #2e1065 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.calc-total {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 800;
    text-align: right;
}

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

.term-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.term-item h4 {
    color: #fff;
    margin-bottom: 10px;
}

.legal-block {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.policy-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 40px;
    position: relative;
}


.policy-nav {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid rgba(76, 29, 149, 0.5);
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    max-height: 80vh;
    overflow-y: auto;
}

.policy-nav ul {
    list-style: none;
}

.policy-nav li {
    margin-bottom: 12px;
}

.policy-nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    padding: 5px 0;
    transition: 0.2s;
}

.policy-nav a:hover,
.policy-nav a.active {
    color: var(--primary);
    padding-left: 5px;
    border-left: 2px solid var(--primary);
}


.policy-content {
    background: rgba(30, 16, 46, 0.5);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(76, 29, 149, 0.5);
}

.policy-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 25px 0 10px;
}

.policy-section p {
    color: #d1d5db;
    margin-bottom: 15px;
    text-align: justify;
}

.policy-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.policy-section li {
    margin-bottom: 8px;
}

.last-updated {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 10px;
}

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

    .policy-nav {
        position: static;
        border-bottom: 1px solid var(--border);
        margin-bottom: 30px;
    }
}

.important-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}