:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #e2e8f0;
    --text-heading: #f8fafc;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --secondary: #0ea5e9;
    --danger: #ef4444;
    --success: #22c55e;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --nav-height: 70px;
}

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

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

h1,
h2,
h3,
h4 {
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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


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

.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);
    color: var(--bg-dark);
}

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

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

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

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

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

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


header {
    background-color: rgba(15, 23, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #334155;
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

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


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


.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: #cbd5e1;
}


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

.card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: transform 0.3s;
}

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

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

.game-card h3 {
    color: var(--accent);
}

.features-list {
    margin: 15px 0;
    padding-left: 20px;
    list-style: disc;
    color: #94a3b8;
}


.form-container {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    margin: 40px auto;
    border: 1px solid #334155;
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    background-color: #0f172a;
    border: 1px solid #475569;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
}

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

.feedback {
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error {
    color: var(--danger);
}

.success {
    color: var(--success);
}


.game-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.game-btn {
    background: var(--bg-card);
    color: white;
    border: 1px solid #475569;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.game-btn.active {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    font-weight: bold;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.num-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #334155;
    border: 2px solid transparent;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.num-btn:hover {
    border-color: var(--accent);
}

.num-btn.selected {
    background-color: var(--accent);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.ticket-summary {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-top: 4px solid var(--accent);
}




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

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

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


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

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        display: none;
        border-bottom: 1px solid #334155;
    }

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

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

.footer-imgs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-imgs img {
    padding: 12px;
    margin: 12px;
    height: 55px;
    background: white;
    border-radius: 10px;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.96);

    display: none;

    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
}

.age-card {
    background: #020617;
    border: 1px solid #f59e0b;
    border-radius: 1rem;
    max-width: 420px;
    width: 100%;
    padding: 2rem 2.25rem;
    color: #f9fafb;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
    text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.age-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    color: #f59e0b;
}

.age-card p {
    margin: 0 0 0.75rem;
    line-height: 1.5;
    color: #e5e7eb;
}

.age-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: #f59e0b;
    color: #020617;
    border-color: #f59e0b;
}

.btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #f9fafb;
    border-color: #4b5563;
}

.btn-secondary:hover {
    border-color: #f59e0b;
    color: #f59e0b;
    transform: translateY(-1px);
}

.age-note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #9ca3af;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    max-width: 960px;
    width: calc(100% - 2rem);
    background-color: #020617;
    border-radius: 0.75rem;
    border: 1px solid #f59e0b;
    padding: 1rem 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
    color: #f9fafb;
    z-index: 9998;
    display: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cookie-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) auto;
    gap: 1rem;
    align-items: center;
}

.cookie-text h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #f59e0b;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #e5e7eb;
    line-height: 1.5;
}

.cookie-settings {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.1rem;
    accent-color: #f59e0b;
}

.cookie-option span {
    color: #e5e7eb;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .cookie-content {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        flex-direction: row;
        justify-content: flex-end;
    }

    .cookie-banner {
        bottom: 0.5rem;
    }

    .age-card {
        padding: 1.5rem 1.75rem;
    }
}

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

.cookie-section {
    background-color: var(--bg-card);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

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

.cookie-header h3 {
    margin-bottom: 0;
    color: var(--text-heading);
}

.badge-required {
    background-color: #334155;
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}


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

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

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

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


input:disabled+.slider {
    background-color: #1e40af;
    opacity: 0.5;
    cursor: not-allowed;
}

.last-updated {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: block;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #334155;
}

.policy-content h2 {
    color: var(--accent);
    margin-top: 30px;
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
    font-size: 1.5rem;
}

.policy-content h3 {
    color: var(--text-heading);
    margin-top: 20px;
    font-size: 1.2rem;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

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

.policy-content p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.last-updated {
    display: block;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.contact-box {
    background-color: #0f172a;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #334155;
}.help-card {
            background-color: #1e293b;
            border-left: 5px solid var(--secondary);
            padding: 25px;
            margin-bottom: 20px;
            border-radius: 0 8px 8px 0;
        }

        .help-card h3 {
            color: var(--secondary);
            margin-bottom: 10px;
        }

        .urgent-box {
            background-color: rgba(239, 68, 68, 0.1);  
            border: 1px solid var(--danger);
            padding: 30px;
            border-radius: 12px;
            text-align: center;
            margin-top: 40px;
        }

        .urgent-box h3 {
            color: var(--danger);
        }

        .tips-list li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .tips-list i {
            color: var(--success);
            margin-top: 5px;
        }