/**
 * EXPLOZONE - Booking System CSS
 * Design System complet pour pages de réservation
 *
 * Palette officielle basée sur l'univers réel Explozone:
 * - Noir profond (fond)
 * - Or/Jaune (#C9A227) - Logo, CTAs primaires
 * - Vert néon (#00FF88) - Accents, succès
 * - Violet/Magenta (#9D4EDD) - Éclairage ambiant
 * - Bleu électrique (#00D4FF) - Néons secondaires
 * - Rose vif (#FF006E) - Accents fun
 */

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* COULEURS PRINCIPALES */
    --black: #000000;
    --black-soft: #0a0a0a;
    --black-card: #111111;
    --black-elevated: #1a1a1a;

    /* BRAND EXPLOZONE */
    --gold: #C9A227;
    --gold-light: #E8C547;
    --gold-glow: rgba(201, 162, 39, 0.4);

    --neon-green: #00FF88;
    --neon-green-dim: #00CC6A;
    --neon-green-glow: rgba(0, 255, 136, 0.3);

    --violet: #9D4EDD;
    --violet-glow: rgba(157, 78, 221, 0.3);

    --blue-electric: #00D4FF;
    --blue-glow: rgba(0, 212, 255, 0.3);

    --pink-hot: #FF006E;
    --pink-glow: rgba(255, 0, 110, 0.3);

    --orange-fire: #FF6B35;
    --red-urgent: #FF3333;

    /* TEXTE */
    --text-white: #FFFFFF;
    --text-light: #E8E8E8;
    --text-muted: #888888;
    --text-dim: #555555;

    /* ÉTATS */
    --success: #00FF88;
    --warning: #FFB800;
    --error: #FF3333;

    /* GRADIENTS */
    --gradient-gold: linear-gradient(135deg, #C9A227 0%, #E8C547 100%);
    --gradient-fire: linear-gradient(135deg, #FF6B35 0%, #C9A227 100%);
    --gradient-neon: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);
    --gradient-purple: linear-gradient(135deg, #9D4EDD 0%, #FF006E 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);

    /* SPACING */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* TYPOGRAPHY */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* RADIUS */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* SHADOWS */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-gold: 0 0 20px var(--gold-glow), 0 0 40px var(--gold-glow);
    --shadow-glow-green: 0 0 20px var(--neon-green-glow), 0 0 40px var(--neon-green-glow);

    /* TRANSITIONS */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;

    /* Z-INDEX */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 1000;
    --z-toast: 1100;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-white);
    background: var(--black);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.headline-hero {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
}

.headline-section {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
}

.headline-card {
    font-size: 1.25rem;
    font-weight: 600;
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-neon {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold { color: var(--gold); }
.text-green { color: var(--neon-green); }
.text-muted { color: var(--text-muted); }

.text-strike {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==================== LAYOUT ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: 800px;
}

.container-wide {
    max-width: 1400px;
}

.section {
    padding: var(--space-3xl) 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ==================== HEADER BOOKING ==================== */
.booking-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.booking-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.booking-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.booking-logo img {
    height: 40px;
    width: auto;
}

.booking-logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    display: none;
}

@media (min-width: 768px) {
    .booking-logo-text {
        display: block;
    }
}

.booking-header-contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.booking-phone {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.booking-phone:hover {
    color: var(--gold);
}

@media (min-width: 640px) {
    .booking-phone {
        display: flex;
    }
}

.booking-back {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.booking-back:hover {
    color: var(--gold);
}

/* ==================== HERO SECTION ==================== */
.hero-booking {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.85) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.hero-background img,
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: var(--space-2xl);
    }
}

/* Hero Left - Info */
.hero-info {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-info {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: var(--space-lg);
}

.hero-badge-icon {
    font-size: 1rem;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: auto;
    }
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.hero-rating-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
}

.hero-rating-score {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-rating-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

@media (min-width: 1024px) {
    .hero-features {
        justify-content: flex-start;
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-feature-icon {
    color: var(--neon-green);
}

/* Hero Right - Booking Card */
.hero-booking-card {
    background: var(--black-card);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
}

@media (min-width: 768px) {
    .hero-booking-card {
        padding: var(--space-xl);
    }
}

.booking-card-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
}

.booking-card-activity {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

/* ==================== CALENDAR ==================== */
.calendar-wrapper {
    margin-bottom: var(--space-lg);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.calendar-month {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.calendar-nav {
    display: flex;
    gap: var(--space-sm);
}

.calendar-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.calendar-nav-btn:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: var(--space-sm);
}

.calendar-weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: var(--space-sm) 0;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    background: transparent;
    border: none;
    color: var(--text-light);
}

.calendar-day:hover:not(.calendar-day--disabled):not(.calendar-day--empty) {
    background: rgba(201, 162, 39, 0.2);
}

.calendar-day--empty {
    cursor: default;
}

.calendar-day--disabled {
    color: var(--text-dim);
    cursor: not-allowed;
    opacity: 0.4;
}

.calendar-day--today {
    border: 2px solid var(--violet);
}

.calendar-day--selected {
    background: var(--gold) !important;
    color: var(--black) !important;
    font-weight: 700;
}

.calendar-day--available::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
}

.calendar-day--limited::after {
    background: var(--warning);
}

.calendar-day--full::after {
    background: var(--error);
}

/* ==================== TIME SLOTS ==================== */
.timeslots-wrapper {
    margin-bottom: var(--space-lg);
}

.timeslots-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.timeslots-date {
    color: var(--gold);
    font-weight: 700;
}

.timeslots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

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

.timeslot {
    padding: var(--space-sm) var(--space-xs);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.timeslot:hover:not(.timeslot--disabled) {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.1);
}

.timeslot--selected {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--black);
}

.timeslot--disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.timeslot-time {
    font-weight: 700;
    font-size: 0.95rem;
}

.timeslot-spots {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.timeslot--selected .timeslot-spots {
    color: rgba(0, 0, 0, 0.6);
}

.timeslots-empty {
    text-align: center;
    padding: var(--space-xl);
    color: var(--text-muted);
}

/* ==================== PARTICIPANTS SELECTOR ==================== */
.participants-wrapper {
    margin-bottom: var(--space-lg);
}

.participants-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.participants-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.participants-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.participants-btn:hover:not(:disabled) {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.participants-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.participants-count {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    min-width: 60px;
    text-align: center;
}

.participants-badge {
    display: block;
    font-size: 0.8rem;
    color: var(--neon-green);
    font-weight: 600;
    margin-top: var(--space-xs);
    text-align: center;
}

/* ==================== PRICING DISPLAY ==================== */
.pricing-wrapper {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.pricing-original {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.pricing-current {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-green);
    line-height: 1;
}

.pricing-current small {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-savings {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(0, 255, 136, 0.1);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon-green);
    margin-top: var(--space-sm);
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* ==================== CTA BUTTON ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--black);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-cta {
    width: 100%;
    padding: var(--space-lg);
    font-size: 1.2rem;
    background: linear-gradient(135deg, #00FF88 0%, #00CC6A 100%);
    color: var(--black);
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow-green);
}

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

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
}

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

.cta-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
}

.cta-secure i {
    color: var(--neon-green);
}

/* ==================== SOCIAL PROOF SECTION ==================== */
.social-proof {
    background: var(--black-soft);
    padding: var(--space-3xl) var(--space-md);
}

.social-proof-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.social-proof-title {
    margin-bottom: var(--space-sm);
}

.social-proof-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: var(--black-card);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-white);
}

.testimonial-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-proof-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.google-reviews-link:hover {
    color: var(--gold-light);
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: var(--space-3xl) var(--space-md);
    background: var(--black);
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

.faq-icon {
    font-size: 1.2rem;
    color: var(--gold);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding-bottom: var(--space-lg);
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== STICKY CTA (Mobile) ==================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.sticky-cta.visible {
    transform: translateY(0);
}

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

.sticky-cta-price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}

.sticky-cta-price small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

.sticky-cta .btn {
    flex: 1;
    max-width: 250px;
}

/* ==================== MODAL CHECKOUT ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.modal {
    background: var(--black-card);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-white);
}

.modal-body {
    padding: var(--space-lg);
}

/* ==================== FORM ELEMENTS ==================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.form-label .required {
    color: var(--error);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-input::placeholder {
    color: var(--text-dim);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--gold-glow), 0 0 10px var(--gold-glow);
    }
    50% {
        box-shadow: 0 0 10px var(--gold-glow), 0 0 20px var(--gold-glow), 0 0 30px var(--gold-glow);
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-slide-up {
    animation: slideUp 0.5s ease forwards;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ==================== UTILITIES ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hidden { display: none !important; }
.invisible { visibility: hidden; }

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

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ==================== LOADING STATES ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-toast);
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(201, 162, 39, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    color: var(--text-light);
    font-size: 1.1rem;
}
