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

:root {

    --bg-main: #020617;
    --bg-secondary: #0f172a;
    --bg-card: #1e293b;
    --primary: #06b6d4;
    --primary-hover: #22d3ee;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: #334155;
    --danger: #ef4444;


    --container-width: 1200px;
    --header-height: 70px;
    --radius: 8px;
}

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

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


.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}


.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-main);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background-color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-main);
}


header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}


.hero {
    background: linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.9)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.badge-18 {
    background-color: var(--bg-card);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.age-banner {
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border);
}


.section {
    padding: 4rem 0;
}

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


.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}


.lottery-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.lottery-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.lottery-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lottery-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.price-tag {
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
}


.step-item,
.feature-item {
    text-align: center;
    padding: 1rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
}


.accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 0.5rem;
    border-radius: var(--radius);
}

.accordion-header {
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.accordion-content {
    padding: 0 1rem 1rem 1rem;
    display: none;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.accordion-content.active {
    display: block;
}


.auth-container {
    max-width: 450px;
    margin: 4rem auto;
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--bg-main);
    border: 1px solid #334155;
    border-radius: var(--radius);
    color: var(--text-main);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-group input {
    margin-top: 0.25rem;
}



@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

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

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

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

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

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

.text-content-section {
    background-color: var(--bg-card);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.article-block {
    max-width: 900px;
    margin: 0 auto;
}

.article-block h3 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.article-block p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    text-align: justify;
}


.results-list {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #1e293b;
}

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

.result-numbers span {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.legal-content {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.legal-content h1 {
    color: var(--text-main);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 2rem;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.legal-content h3 {
    color: var(--text-main);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.8;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

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

.legal-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

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

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

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

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.content-wrapper h1 {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: var(--text-main);
}

.content-wrapper h2 {
    color: var(--primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.content-wrapper h3 {
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.content-wrapper p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

.content-wrapper ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
}

.content-wrapper li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.content-wrapper li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.alert-box {
    background-color: rgba(6, 182, 212, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.external-link-card {
    display: block;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    transition: transform 0.2s, border-color 0.2s;
}

.external-link-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.external-link-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}


.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.age-modal {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: var(--radius);
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.age-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.age-modal h2 {
    color: var(--text-main);
    margin-bottom: 1rem;
}

.age-modal p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.age-question {
    font-weight: 600;
    color: var(--text-main) !important;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.age-legal {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0f172a;
    border-top: 1px solid var(--primary);
    padding: 1.5rem;
    z-index: 9000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9500;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}


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

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

.cookie-info strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.cookie-info small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.toggle-switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.toggle-switch.disabled .slider {
    background-color: var(--primary);
    opacity: 0.5;
}


@media (max-width: 768px) {
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-actions button {
        width: 100%;
    }
}