@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

:root {
    --primary-blue: #002664;
    --accent-red: #C60C30;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-grey: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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


.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: #a30a27;
}

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

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


.top-bar {
    background-color: #001a45;
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 0;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 35px;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo small {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--primary-blue);
}

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

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

.hero {
    background: linear-gradient(135deg, rgba(240, 244, 248, 0.85) 0%, rgba(255, 255, 255, 0.9) 100%),
        url('../img/hero.png') center center/cover no-repeat;

    padding: 80px 0;
    display: flex;
    align-items: center;
    position: relative;


    color: var(--text-dark);
}


.hero-content h1 {
    color: var(--primary-blue);
}

.hero-content p {
    color: #475569;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}



.hero-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent-red);
}

.hero-card h3 {
    margin-bottom: 10px;
}

.jackpot-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-red);
    display: block;
    margin: 10px 0;
}


.features {
    padding: 60px 0;
    background-color: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 20px;
}

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


.steps {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
}


.filter-bar {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-bar select {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    flex: 1;
}

.latest-draw-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    text-align: center;
}

.ball-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.ball {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.ball.bonus {
    background: var(--accent-red);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.results-table th {
    background-color: #f1f5f9;
    color: var(--primary-blue);
}


.login-section {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.error-msg {
    color: var(--accent-red);
    font-size: 0.8rem;
    display: none;
    margin-top: 5px;
}

.age-badge-footer {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 10px;
}


#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 38, 100, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-gate-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.age-gate-content i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.age-btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-grid,
    .login-grid {
        grid-template-columns: 1fr;
    }

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

.ticket-card-design {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.ticket-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.ticket-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1.2;
}

.ticket-info .asterisk {
    font-size: 0.9rem;
    vertical-align: top;
}

.draw-meta {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
}

.ticket-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}


.ticket-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.counter-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: #e2e8f0;
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.counter-btn:hover {
    background-color: #cbd5e1;
}

.counter-value {
    font-size: 1.8rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}


.btn-full-width {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.ticket-footer-text {
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--text-grey);
    line-height: 1.4;
}

.ticket-footer-text p {
    margin-bottom: 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;
    }
}

.hero-results {
    background: linear-gradient(135deg, #002664 0%, #004080 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.results-controls {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.control-group {
    flex: 1;
    min-width: 200px;
}

.control-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
}


.latest-draw-card {
    border-top: 5px solid var(--accent-red);
}

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

.draw-meta-badge {
    background: #e2e8f0;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #475569;
}

.divider {
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}

.big-balls .ball {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.draw-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.jackpot-box,
.winner-box {
    display: flex;
    flex-direction: column;
}

.jackpot-box strong {
    color: var(--accent-red);
    font-size: 1.5rem;
}


.results-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

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


.section-title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-blue);
    border-left: 4px solid var(--accent-red);
    padding-left: 10px;
}

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

.div-badge {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #cbd5e1;
    color: #333;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.8rem;
    font-weight: bold;
}


.ticket-checker-widget {
    background: #002664;
    color: white;
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
}

.ticket-checker-widget h3 {
    color: white;
}

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

.checker-inputs input {
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 4px;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.login-prompt {
    margin-top: 15px;
    font-size: 0.9rem;
}

.login-prompt a {
    color: #93c5fd;
    text-decoration: underline;
}


.history-section {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th,
.history-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.history-table th {
    background: #f1f5f9;
    color: var(--primary-blue);
}

.mini-balls {
    font-family: monospace;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}

.link-blue {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.link-blue:hover {
    text-decoration: underline;
}

.table-responsive {
    overflow-x: auto;
}

.hero-how-to {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}


.game-rules-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--accent-red);
}

.mechanics-row {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.mech-step {
    flex: 1;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.mech-badge {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.rules-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.decor-ball {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #475569, #1e293b);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

.decor-ball.b2 {
    margin-top: -30px;
    background: radial-gradient(circle at 30% 30%, var(--accent-red), #991b1b);
}


.play-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s;
}

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

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

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-red);
    font-weight: 600;
}


.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 1;
    flex-shrink: 0;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.timeline-content h4 {
    margin-bottom: 5px;
    color: var(--primary-blue);
}


.faq-section {
    background: #f1f5f9;
    padding: 50px;
    border-radius: var(--radius);
    margin-top: 50px;
}

.faq-item {
    background: white;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    border-top: 1px solid transparent;
}

.faq-answer p {
    margin-bottom: 20px;
    color: #64748b;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

.cta-box {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: white;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .game-rules-card {
        flex-direction: column;
    }

    .rules-visual {
        margin-top: 20px;
    }

    .mechanics-row {
        flex-direction: column;
    }
}

.hero-privacy {
    background: #f1f5f9;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.hero-privacy h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-privacy p {
    color: #64748b;
    font-size: 0.9rem;
}

.policy-content {
    background: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-red);
    padding-left: 15px;
}

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

.policy-content h3 {
    font-size: 1.3rem;
    color: #334155;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-content p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.8;
}

.policy-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 25px;
}

.policy-content ul li {
    margin-bottom: 10px;
    color: #333;
}

.policy-content strong {
    color: var(--primary-blue);
}

.policy-content hr {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 25px;
    }

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

.hero-terms {
    background: #e2e8f0;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #cbd5e1;
}

.hero-terms h1 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-terms p {
    color: #475569;
    font-size: 1rem;
}