:root {
    --bg-dark: #020617;
    --bg-card: #0f172a;
    --bg-hover: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --accent: #22c55e;
    --border: #1e293b;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.2s;
}

ul {
    list-style: none;
}


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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

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

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

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-accent {
    background-color: var(--accent);
    color: #000;
}


header {
    background-color: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

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

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

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

.auth-buttons .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}


.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;
    background-color: #0b1120;
    padding: 100px 0 80px;
    text-align: left;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.disclaimer-small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 15px;
    display: block;
    opacity: 0.7;
}


section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}


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

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


.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

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

.lottery-badge {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.next-draw {
    background-color: var(--bg-dark);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.next-draw span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.next-draw strong {
    color: var(--accent);
    font-size: 1.1rem;
}


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

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


.auth-container {
    max-width: 500px;
    margin: 60px auto;
    width: 100%;
}

.register-container {
    max-width: 650px;
    margin: 60px auto;
    width: 100%;
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: white;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}


.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--border);
    color: var(--primary);
}

.faq-item p {
    padding: 15px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}


.legal-bar {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
}


#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

.modal-content h2 {
    margin-bottom: 15px;
    color: var(--primary);
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}


@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

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

    .hero-content {
        margin: 0 auto;
    }

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

    .footer-grid {
        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;
}

.legal-content {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content h1 {
    color: var(--text-main);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.legal-content h3 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 20px;
}

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

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

.last-update {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 30px;
    display: block;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--border);
    padding: 20px;
    z-index: 9900;
    backdrop-filter: blur(10px);
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
    min-width: 300px;
}

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}


.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9950;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    padding: 30px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

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

.cookie-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.option-info {
    padding-right: 20px;
}

.option-info strong {
    display: block;
    color: white;
    margin-bottom: 5px;
}

.option-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cookie-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}


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

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


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

.switch.disabled .slider {
    cursor: not-allowed;
}


@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
}