/* =====================================================
   Ontario Lotto - Custom Styles
   Color Palette: Deep Teal & Gold/Amber theme
   ===================================================== */

/* CSS Variables for theming */
:root {
    /* Primary Colors - Deep Teal/Cyan */
    --primary-50: #ecfeff;
    --primary-100: #cffafe;
    --primary-200: #a5f3fc;
    --primary-300: #67e8f9;
    --primary-400: #22d3ee;
    --primary-500: #06b6d4;
    --primary-600: #0891b2;
    --primary-700: #0e7490;
    --primary-800: #155e75;
    --primary-900: #164e63;
    --primary-950: #083344;

    /* Accent Colors - Gold/Amber */
    --accent-50: #fffbeb;
    --accent-100: #fef3c7;
    --accent-200: #fde68a;
    --accent-300: #fcd34d;
    --accent-400: #fbbf24;
    --accent-500: #f59e0b;
    --accent-600: #d97706;
    --accent-700: #b45309;
    --accent-800: #92400e;
    --accent-900: #78350f;

    /* Neutral Colors */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--neutral-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
    color: var(--neutral-900);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-body {
    padding: 1.5rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    background: white;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-input::placeholder {
    color: var(--neutral-400);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    accent-color: var(--primary-600);
    cursor: pointer;
}

/* Header/Navigation */
.header {
    background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand:hover {
    color: var(--accent-300);
}

.nav-brand i {
    color: var(--accent-400);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    list-style: none;
}

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

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        flex-direction: row;
        gap: 0.25rem;
        width: auto;
    }
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--primary-100);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link i {
    margin-right: 0.5rem;
}

.nav-cta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-cta .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 50%, var(--primary-950) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-text h1 span {
    color: var(--accent-400);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--primary-200);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--neutral-100);
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-900), var(--primary-950));
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

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

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

.section-dark .section-header p {
    color: var(--primary-200);
}

/* Lottery Cards */
.lottery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .lottery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lottery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lottery-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--neutral-200);
}

.lottery-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--primary-300);
}

.lottery-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-50));
    padding: 1.5rem;
}

.lottery-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.lottery-card-body {
    padding: 1.5rem;
}

.lottery-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-800);
}

.lottery-card p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.lottery-card-meta {
    list-style: none;
    margin-bottom: 1.5rem;
}

.lottery-card-meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--neutral-100);
    font-size: 0.875rem;
}

.lottery-card-meta li:last-child {
    border-bottom: none;
}

.lottery-card-meta i {
    color: var(--accent-500);
    width: 1.25rem;
}

.lottery-card-meta strong {
    color: var(--neutral-800);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: var(--accent-400);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--neutral-900);
    font-size: 0.875rem;
}

.step-card h4 {
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.25rem;
    color: var(--neutral-900);
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-content p {
    color: var(--primary-200);
    font-size: 0.9375rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--neutral-100);
    border-radius: var(--radius-xl);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--success);
}

.trust-badge span {
    font-weight: 500;
    color: var(--neutral-700);
}

/* Responsible Gaming Section */
.responsible-section {
    background: linear-gradient(135deg, var(--neutral-800), var(--neutral-900));
    color: white;
    padding: 3rem 0;
}

.responsible-content {
    display: grid;
    gap: 1.5rem;
}

.responsible-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.responsible-item i {
    color: var(--accent-400);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.responsible-item p {
    color: var(--neutral-300);
}

.responsible-item strong {
    color: white;
}

/* Weather Widget */
.weather-widget {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.weather-header {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.weather-header i {
    font-size: 1.25rem;
}

.weather-header h3 {
    color: white;
    font-size: 1.125rem;
    margin: 0;
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--neutral-200);
}

@media (min-width: 768px) {
    .weather-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.weather-card {
    background: white;
    padding: 1.25rem;
    text-align: center;
}

.weather-card h4 {
    font-size: 0.875rem;
    color: var(--neutral-600);
    margin-bottom: 0.5rem;
}

.weather-card .temp {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-700);
}

.weather-card .condition {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
}

.weather-card i {
    font-size: 2rem;
    color: var(--accent-500);
    margin-bottom: 0.5rem;
}

/* Quiz Widget */
.quiz-widget {
    background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.quiz-widget h3 {
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.quiz-widget p {
    color: var(--neutral-800);
    margin-bottom: 1.5rem;
}

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

.quiz-start-btn:hover {
    background: var(--primary-900);
}

/* Quiz Modal */
.quiz-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.quiz-modal.active {
    opacity: 1;
    visibility: visible;
}

.quiz-container {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.quiz-header {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-header h3 {
    color: white;
    margin: 0;
}

.quiz-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.quiz-progress {
    height: 4px;
    background: var(--neutral-200);
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-400), var(--accent-500));
    transition: width var(--transition-normal);
}

.quiz-body {
    padding: 2rem;
}

.quiz-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 1.5rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quiz-option {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--neutral-50);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.quiz-option:hover {
    border-color: var(--primary-400);
    background: var(--primary-50);
}

.quiz-option.selected {
    border-color: var(--primary-500);
    background: var(--primary-100);
}

.quiz-result {
    text-align: center;
    padding: 2rem;
}

.quiz-result-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.quiz-result-icon i {
    font-size: 2.5rem;
    color: var(--neutral-900);
}

.quiz-result h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.quiz-result p {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
}

.quiz-result-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--neutral-100);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.quiz-result-brand img {
    height: 60px;
    width: auto;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--neutral-900), var(--neutral-800));
    color: var(--neutral-300);
    padding: 3rem 0 0;
    margin-top: auto;
}

.footer-help {
    background: var(--primary-800);
    color: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    text-align: center;
}

.footer-help p {
    margin: 0;
}

.footer-help strong {
    color: var(--accent-400);
}

.footer-help a {
    color: var(--accent-300);
}

.footer-legal {
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.footer-legal p {
    margin-bottom: 0.75rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-700);
}

.footer-links a {
    color: var(--neutral-400);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-partners a {
    display: block;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-partners a:hover {
    opacity: 1;
}

.footer-partners img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) brightness(2);
}

.footer-partners img:hover {
    filter: grayscale(0%) brightness(1);
}

.footer-bottom {
    background: var(--neutral-950);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.age-modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 100%;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.age-modal-header {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    color: white;
    padding: 2rem;
}

.age-modal-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-400);
}

.age-modal-header h2 {
    color: white;
    margin: 0;
}

.age-modal-body {
    padding: 2rem;
}

.age-modal-body p {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
}

.age-modal-body ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.age-modal-body ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

.age-modal-body ul li i {
    color: var(--success);
}

.age-modal-buttons {
    display: flex;
    gap: 1rem;
}

.age-modal-buttons .btn {
    flex: 1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 999;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.cookie-text h4 {
    margin-bottom: 0.25rem;
}

.cookie-text p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Auth Forms */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-50), var(--neutral-100));
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-400);
}

.auth-header h1 {
    color: white;
    font-size: 1.75rem;
    margin: 0;
}

.auth-body {
    padding: 2rem;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
    margin-top: 1.5rem;
}

.auth-footer p {
    color: var(--neutral-600);
    margin: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    color: white;
    padding: 3rem 0;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.9375rem;
}

.breadcrumb a {
    color: var(--primary-200);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    color: var(--primary-400);
}

.breadcrumb .current {
    color: var(--accent-400);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

.contact-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* Buy Tickets Page */
.buy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .buy-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.number-selector {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0;
}

@media (min-width: 640px) {
    .number-grid {
        grid-template-columns: repeat(10, 1fr);
    }
}

.number-ball {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-100);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--neutral-700);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.number-ball:hover {
    border-color: var(--primary-400);
    background: var(--primary-50);
}

.number-ball.selected {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-color: var(--primary-600);
    color: white;
    box-shadow: var(--shadow-md);
}

.cart-panel {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
}

.cart-item-numbers {
    display: flex;
    gap: 0.25rem;
}

.cart-item-number {
    width: 28px;
    height: 28px;
    background: var(--primary-600);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    padding: 0.25rem;
}

.cart-summary {
    border-top: 2px solid var(--neutral-200);
    padding-top: 1rem;
    margin-top: 1rem;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--neutral-600);
}

.cart-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    border-top: 1px solid var(--neutral-200);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

/* Policy Pages */
.policy-content {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .policy-content {
        padding: 3rem;
    }
}

.policy-content h2 {
    color: var(--primary-800);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-100);
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    color: var(--primary-700);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--neutral-700);
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: var(--neutral-700);
}

.policy-content strong {
    color: var(--neutral-800);
}

.last-updated {
    font-style: italic;
    color: var(--neutral-500);
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-story {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.about-story h2 {
    color: var(--primary-800);
    margin-bottom: 1rem;
}

.about-story p {
    color: var(--neutral-700);
    margin-bottom: 1rem;
}

.disclaimer-box {
    background: linear-gradient(135deg, var(--accent-50), var(--accent-100));
    border-left: 4px solid var(--accent-500);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.disclaimer-box h3 {
    color: var(--accent-700);
    margin-bottom: 0.75rem;
}

.disclaimer-box p {
    color: var(--neutral-700);
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.team-avatar i {
    font-size: 2.5rem;
    color: white;
}

.team-card h3 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 1rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--success);
}

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

.toast.error {
    border-left: 4px solid var(--error);
}

.toast.error i {
    color: var(--error);
}

.toast.info {
    border-left: 4px solid var(--info);
}

.toast.info i {
    color: var(--info);
}

.toast-message {
    flex: 1;
    color: var(--neutral-700);
}

.toast-close {
    background: none;
    border: none;
    color: var(--neutral-400);
    cursor: pointer;
    padding: 0.25rem;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--neutral-200);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Utilities */
.hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .md\:hidden {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .md\:block {
        display: block !important;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .age-modal {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .section {
        padding: 1rem 0;
    }
}
