:root {
    --bg-dark: #020617;
    --bg-card: #111827;
    --bg-card-hover: #1f2937;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --accent-gold: #fbbf24;
    --accent-gold-hover: #d97706;
    --accent-teal: #14b8a6;
    --accent-teal-hover: #0f766e;
    --danger: #ef4444;
    --border-color: #374151;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
}

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

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

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

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

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

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

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.age-pill {
    font-size: 0.75rem;
    background: var(--danger);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

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

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

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

.burger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.9)), url('../img/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-info {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.card h3 {
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
}

.card ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.step-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

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

.lottery-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.lottery-header {
    background: linear-gradient(45deg, #0f172a, #1e293b);
    padding: 20px;
    text-align: center;
}

.lottery-body {
    padding: 30px;
    flex-grow: 1;
}

.lottery-details {
    margin: 20px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.lottery-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.resp-block {
    background: linear-gradient(to right, #134e4a, #042f2e);
    border-radius: 12px;
    padding: 60px;
    text-align: center;
}

.resp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    text-align: left;
}

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

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

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

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

.active .faq-question {
    color: var(--accent-gold);
}

.auth-hero {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.9)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-container {
    max-width: 500px;
    margin: -50px auto 50px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.register-container {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: -50px auto 50px;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input, .form-select {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
}

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

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

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

.error-msg {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}
 

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    border: 1px solid var(--accent-gold);
}

.modal-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .register-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px 20px;
        transition: 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-buttons .btn {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .grid-2 {
        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-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            margin-top: -50px;
            position: relative;
            z-index: 10;
        }

        .legal-sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }

        .legal-nav {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 20px;
        }

        .legal-nav a {
            display: block;
            padding: 12px 15px;
            color: var(--text-secondary);
            border-bottom: 1px solid #1f2937;
            transition: all 0.2s;
        }

        .legal-nav a:last-child {
            border-bottom: none;
        }

        .legal-nav a:hover, .legal-nav a.active {
            color: var(--accent-gold);
            background: rgba(251, 191, 36, 0.05);
            padding-left: 20px;
        }

        .legal-content {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 60px;
        }

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

        .legal-content h3 {
            color: var(--accent-teal);
            font-size: 1.3rem;
            margin-top: 30px;
            margin-bottom: 15px;
        }

        .legal-content p, .legal-content li {
            color: #d1d5db;
            margin-bottom: 15px;
            text-align: justify;
        }

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

        @media (max-width: 900px) {
            .legal-layout {
                grid-template-columns: 1fr;
            }
            .legal-sidebar {
                position: static;
            }
        }.cookie-table {
            width: 100%;
            border-collapse: collapse;
            margin: 25px 0;
            font-size: 0.9rem;
            color: #d1d5db;
        }

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

        .cookie-table th {
            background: #1f2937;
            color: var(--accent-gold);
        }

        @media (max-width: 900px) {
            .legal-layout { grid-template-columns: 1fr; }
            .legal-sidebar { position: static; }
        }