:root {

    --primary: #1e3a8a;

    --primary-dark: #172554;
    --secondary: #d97706;

    --accent: #f59e0b;

    --text: #1f2937;

    --text-light: #6b7280;

    --bg: #f3f4f6;

    --white: #ffffff;
    --danger: #ef4444;

    --success: #10b981;



    --radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}


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

h1,
h2,
h3,
h4 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 10px;
}

main {
    flex: 1;
    padding: 40px 0 !important;
}


header {
    background-color: var(--primary);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.9;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}


.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}


.hero {

    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(30, 58, 138, 0.8)),
        url('../img/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    border-radius: 0 0 30px 30px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-lg);
}

.hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-warning {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}




.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.3);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.4);
}

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

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

.btn-block {
    width: 100%;
}


.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    background: #fff7ed;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}


.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}


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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}




.results-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 50px;
    border: 1px solid #eee;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.result-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.2s;
}

.result-card:hover {
    border-color: var(--secondary);
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.game-name {
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.draw-date {
    color: var(--text-light);
}

.winning-numbers {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.winning-numbers span {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border: 2px solid var(--secondary);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.extra-numbers {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--text-light);
    background: #fff;
    padding: 8px;
    border-radius: 4px;
}

.pot-box {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
}


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

.step-item {
    position: relative;
    background: var(--white);
    padding: 40px 20px 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border: 3px solid var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-item h4 {
    margin: 15px 0 10px;
    font-weight: 700;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}


.stats-banner {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    margin: 80px -20px;

    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
    color: var(--white);
}

@media (min-width: 1240px) {
    .stats-banner {
        border-radius: var(--radius);
        margin: 80px 0;
    }
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}


.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    border-left: 5px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}


.lottery-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 25px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.lottery-num {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
    transition: all 0.2s;
    user-select: none;
}

.lottery-num:hover {
    border-color: var(--secondary);
    transform: scale(1.1);
}

.lottery-num.active {
    background-color: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.4);
}

.cart-section {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 30px;
    border: 1px solid #eee;
    box-shadow: var(--shadow-md);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
}

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



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;

    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease-out;
}

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 25px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    display: none;

    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;

        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;

    }

    .nav-links a {
        color: var(--white);
        font-size: 1.1rem;
    }

    .burger {
        display: block;
    }

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

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

    .stats-banner {
        grid-template-columns: 1fr 1fr;
    }

    .lottery-grid {
        gap: 5px;
    }
}

.site-footer {
    background: linear-gradient(180deg, #020617 0%, #020617 100%);
    color: #d4d4d4;
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.8;
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.site-footer p {
    margin: 10px auto;
    max-width: 900px;
    color: #e5e7eb;
}

.site-footer strong {
    color: #ffffff;
    font-weight: 600;
}

.site-footer a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

.site-footer .footer-warning {
    color: #f97316;
    font-weight: bold;
    font-size: 15px;
}

.site-footer .footer-links {
    font-size: 13px;
}

.site-footer .footer-links a {
    color: #9ca3af;
    margin: 0 10px;
}

.site-footer .footer-links a:hover {
    color: #38bdf8;
}

.site-footer .footer-copyright {
    margin-top: 22px;
    font-size: 12px;
    color: #6b7280;
    padding-top: 18px;
    border-top: 1px solid #1f2937;
}

.page-hero {
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.9), rgba(20, 83, 45, 0.8)),
        url('../img/hero.png');
    background-size: cover;
    background-position: center;
}

.game-info-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 15px 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 3px solid var(--secondary);
}

.game-jackpot {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.ticket-preview {
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-lg);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.ticket-header {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 4px solid var(--accent);
}

.ticket-body {
    padding: 20px;
    min-height: 200px;
    background-image: radial-gradient(#f3f4f6 1px, transparent 1px);
    background-size: 20px 20px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px dashed #ccc;
    margin-bottom: 10px;
    border-radius: 4px;
}

.ticket-numbers {
    display: flex;
    gap: 5px;
}

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

.toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.selected-preview {
    background: #e0f2fe;
    color: var(--primary-dark);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #4b5563;
}

.contact-icon-circle {
    width: 45px;
    height: 45px;
    background-color: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.contact-info-list li:hover .contact-icon-circle {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #e5e7eb;
    height: 300px;
    margin-top: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.auth-container {
    max-width: 900px;
    margin: -40px auto 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.auth-form-side {
    padding: 50px;
}

.auth-info-side {
    background-color: #f8fafc;
    padding: 50px;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.btn-social {
    flex: 1;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-social:hover {
    background-color: #f1f5f9;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        margin: 20px;
    }

    .auth-info-side {
        display: none;
    }

    .auth-form-side {
        padding: 30px;
    }
}

.auth-container {
    max-width: 1000px;
    margin: -40px auto 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
}

.auth-form-side {
    padding: 40px 50px;
}

.auth-info-side {
    background-color: #f8fafc;
    padding: 40px;
    border-left: 1px solid #e5e7eb;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.password-requirements {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: -10px;
    margin-bottom: 15px;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #065f46;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid #a7f3d0;
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        margin: 20px;
    }

    .auth-info-side {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-side {
        padding: 30px;
    }
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
    color: #4b5563;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.cookie-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

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

.cookie-type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-tech {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-pref {
    background: #fef3c7;
    color: #92400e;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.privacy-nav {
    position: sticky;
    top: 100px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.privacy-nav h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

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

.privacy-nav ul li a {
    font-size: 0.9rem;
    color: var(--text);
    transition: color 0.2s;
}

.privacy-nav ul li a:hover {
    color: var(--primary);
    font-weight: 600;
}

.privacy-content section {
    margin-bottom: 50px;
}

.privacy-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.privacy-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #4b5563;
    text-align: justify;
}

.privacy-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 25px;
    color: #4b5563;
}

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

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

    .privacy-nav {
        display: none;
    }
}

.responsible-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.warning-card {
    border: 2px solid var(--success);
    background: #f0fdf4;
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
}

.warning-card i {
    font-size: 3.5rem;
    color: var(--success);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.tip-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--success);
}

.tip-card h4 {
    margin-bottom: 12px;
    color: var(--primary);
}

.self-test {
    background: #1e293b;
    color: white;
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 60px;
}

.self-test h3 {
    color: var(--accent);
}

.resource-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.resource-link:hover {
    border-color: var(--success);
    transform: translateX(5px);
}

.danger-zone {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 30px;
    border-radius: var(--radius);
}