:root {

    --primary-navy: #0b1b33;
    --primary-light: #162a47;
    --accent-teal: #00b4d8;
    --accent-glow: #48cae4;
    --accent-ice: #caf0f8;


    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;


    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 10px 40px -10px rgba(11, 27, 51, 0.08);
    --shadow-hover: 0 20px 40px -5px rgba(0, 180, 216, 0.2);

    --radius-md: 12px;
    --radius-lg: 20px;

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


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

body {
    font-family: var(--font-main);
    background-color: #f8fafc;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(0, 180, 216, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(11, 27, 51, 0.05) 0%, transparent 40%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}




.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #0096c7 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid rgba(11, 27, 51, 0.1);
}

.btn-outline:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    background: rgba(0, 180, 216, 0.05);
}


header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand i {
    background: linear-gradient(135deg, var(--accent-teal), #0077b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
}

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

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

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


.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

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

.hero {
    background:
        linear-gradient(160deg, rgba(11, 27, 51, 0.85) 0%, rgba(0, 48, 73, 0.8) 100%),
        url('../img/hero.png') center center/cover no-repeat;

    position: relative;
    padding: 4rem 1.5rem 6rem;
    text-align: center;
    overflow: hidden;
    color: var(--text-white);
}


.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero::before {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(0, 180, 216, 0.15);
}

.hero::after {
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(72, 202, 228, 0.1);
}

.hero h1 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    max-width: 650px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out;
}

.hero-card h2 {
    color: var(--accent-ice);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.jackpot-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #caf0f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0.5rem 0;
    text-shadow: 0 0 30px rgba(0, 180, 216, 0.4);
}


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

.timer-segment {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    min-width: 70px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timer-segment div {
    font-size: 1.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.timer-segment span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}


main {
    flex: 1;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.section-box {
    background: var(--text-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin: 2rem auto;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.section-box:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.section-box h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-box h2 i {
    color: var(--accent-teal);
}


.table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th {
    background-color: #f1f5f9;
    color: var(--primary-navy);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 16px;
}

td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
}

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

tr:nth-child(even) {
    background-color: #f8fafc;
}


.ball-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.ball {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: inset -2px -2px 6px rgba(0, 0, 0, 0.2);
}

.ball.main {
    background: var(--primary-navy);
    color: #fff;
}

.ball.bonus {
    background: var(--accent-teal);
    color: #fff;
}


footer {
    background-color: var(--primary-navy);
    color: #94a3b8;
    padding-top: 4rem;
    border-top: 4px solid var(--accent-teal);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    color: #94a3b8;
}

.footer-col a:hover {
    color: var(--accent-teal);
    padding-left: 5px;
}

.legal-strip {
    background: #061121;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.resp-gaming-strip {
    background: var(--text-main);
    color: var(--text-white);
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}


.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 27, 51, 0.98);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.age-gate-box {
    background: var(--text-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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


@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--text-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 20px;
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s;
    }

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

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

    .auth-buttons {
        display: none;
    }

    .mobile-auth {
        display: block !important;
        margin-top: 1rem;
        width: 100%;
    }

    .mobile-auth a {
        display: block;
        text-align: center;
        background: var(--primary-navy);
        color: #fff;
        padding: 12px;
        border-radius: 8px;
    }

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

    .timer-segment {
        min-width: 60px;
        padding: 5px;
    }

    .timer-segment div {
        font-size: 1.4rem;
    }

    .hero {
        padding-bottom: 4rem;
    }

    .section-box {
        padding: 1.5rem;
    }
}

.ticket-control-wrapper {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.ticket-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0.5rem;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--accent-teal);
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

#ticket-qty {
    width: 60px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-main);
    -moz-appearance: textfield;
}

#ticket-qty::-webkit-outer-spin-button,
#ticket-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-ice);
    margin-top: 5px;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step-card {
    background: rgba(241, 245, 249, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px rgba(11, 27, 51, 0.3);
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--accent-teal);
    color: #fff;
    margin-bottom: 10px;
}

.legal-content h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
    color: var(--primary-navy);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #475569;
    text-align: justify;
}

.legal-content ul {
    list-style: disc;
    margin: 1rem 0 1rem 2rem;
    color: #475569;
}

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

.last-updated {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 10px;
}

.latest-result-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero-balls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    background: radial-gradient(circle at 30% 30%, #ffffff, #e2e8f0);
    color: var(--primary-navy);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), inset -2px -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-ball.bonus {
    background: radial-gradient(circle at 30% 30%, #48cae4, #0077b6);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.checker-box {
    background: var(--primary-navy);
    color: #fff;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 3rem;
    background-image: linear-gradient(135deg, var(--primary-navy) 0%, #1a3c6e 100%);
}

.checker-input {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.checker-input input {
    width: 100%;
    padding: 16px;
    padding-right: 50px;
    border-radius: 50px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.checker-input i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
}

.archive-table td {
    vertical-align: middle;
}

.small-balls {
    display: flex;
    gap: 5px;
}

.small-ball {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--primary-navy);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-ball.bonus {
    background: var(--accent-teal);
    color: #fff;
}

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

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