:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-overlay: rgba(15, 23, 42, 0.85);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-gold: #c5a059;
    --accent-gold-hover: #b08d48;
    --accent-teal: #14b8a6;
    --accent-teal-hover: #0d9488;
    --danger: #ef4444;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --spacing-container: 1200px;
}

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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

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

.btn-teal:hover {
    background-color: var(--accent-teal-hover);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.section-padding {
    padding: 60px 0;
}


header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #334155;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: -0.5px;
}

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}


.hero {
    margin-top: 80px;
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(var(--bg-overlay), var(--bg-dark)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 2rem;
}

.trust-badges {
    font-size: 0.85rem;
    color: var(--accent-teal);
    letter-spacing: 1px;
    text-transform: uppercase;
}


.bg-light-dark {
    background-color: var(--bg-card);
}


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

.about-img-placeholder {
    background: linear-gradient(135deg, var(--bg-dark), var(--accent-teal));
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}


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

.draw-card {
    background-color: var(--bg-dark);
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.draw-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.draw-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.draw-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.draw-jackpot {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.jackpot-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.jackpot-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
}


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

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-bottom: 15px;
    display: block;
}

.step-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}


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

.feature-card {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--text-main);
}


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

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
}

.faq-answer.active {
    display: block;
}


.auth-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 40px 20px;
}

.auth-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    border: 1px solid #334155;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.auth-card h1 {
    margin-bottom: 10px;
    color: var(--accent-gold);
    text-align: center;
}

.auth-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-dark);
    border: 1px solid #475569;
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--accent-teal);
    font-weight: 600;
}


.responsible-page {
    margin-top: 80px;
    flex: 1;
}

.rg-hero {
    background-color: var(--bg-card);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #334155;
}

.rg-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.rg-content h2 {
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
}

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

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

.warning-box {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    color: #fca5a5;
}


.age-18 {
    display: inline-block;
    border: 2px solid #64748b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}


#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#age-gate.active {
    opacity: 1;
    pointer-events: auto;
}

.gate-content {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

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


@media (max-width: 768px) {

    .nav-links,
    .auth-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }


    .header-inner.mobile-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        padding: 20px;
        border-bottom: 1px solid #334155;
    }

    .header-inner.mobile-open .auth-buttons {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 350px;
        left: 20px;
        right: 20px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }
}

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

#success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#success-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    border: 1px solid var(--accent-teal);
    box-shadow: 0 0 50px rgba(20, 184, 166, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

#success-modal.active .success-content {
    transform: translateY(0);
}

.success-icon {
    font-size: 3rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
    display: block;
}

.success-content h2 {
    color: var(--text-main);
    margin-bottom: 15px;
}

.success-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.legal-content {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

.legal-content h1 {
    color: var(--accent-gold);
    margin-bottom: 30px;
    text-align: center;
}

.legal-content h2 {
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
}

.legal-content h3 {
    color: var(--accent-teal);
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

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

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

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

.legal-intro-box {
    background-color: rgba(30, 41, 59, 0.5);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-gold);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.9rem;
}

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

.cookie-table th {
    background-color: var(--bg-card);
    color: var(--accent-gold);
}

.cookie-table td {
    background-color: rgba(30, 41, 59, 0.3);
}

.help-resource {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.help-resource strong {
    color: var(--text-main);
    font-size: 1.1rem;
}

.help-btn {
    background-color: transparent;
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.help-btn:hover {
    background-color: var(--accent-teal);
    color: white;
}

.self-test-box {
    background-color: rgba(15, 23, 42, 0.8);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
    margin: 30px 0;
}

.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    border-top: 1px solid var(--accent-gold);
    padding: 20px;
    z-index: 9990;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s ease-in-out;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    max-width: 600px;
}

.cookie-text h4 {
    color: var(--text-main);
    margin-bottom: 5px;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

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


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

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--bg-card);
    border: 1px solid #334155;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.cookie-header h3 {
    color: var(--accent-gold);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.cookie-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    border-bottom: 1px solid #334155;
    padding-bottom: 15px;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-info strong {
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
}

.option-info span {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    max-width: 300px;
}


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

.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: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

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

input:focus+.slider {
    box-shadow: 0 0 1px var(--accent-gold);
}

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


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

.switch.disabled .slider {
    background-color: var(--accent-teal);
}


@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}