/**
 * Design Ultra-Moderne - Application Réservation Invités
 * Style : Glassmorphism + Gradients + Animations fluides
 */

/* === IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* === VARIABLES MODERNES === */
:root {
    /* Gradients modernes */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-premium: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-dark: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    
    /* Couleurs */
    --color-primary: #667eea;
    --color-primary-dark: #5568d3;
    --color-primary-light: #e0e7ff;
    
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    
    /* Shadows modernes */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 10px 40px rgba(102, 126, 234, 0.3);
    
    /* Glass effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing */
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

/* === STABILISATION LARGEUR MOBILE === */
/* Empêche tout débordement horizontal et garantit une largeur fixe cohérente */
html, body, #root, .app {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Empêche les éléments enfants de déborder */
body * {
    max-width: 100%;
}

/* Stabilise la largeur du viewport sur mobile */
@viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

/* Force les images et médias à rester dans les limites */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Empêche les tableaux de déborder */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Garantit que pre et code ne débordent pas */
pre, code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
}

html {
    scroll-behavior: smooth;
    /* Largeur fixe pour éviter les variations */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Largeur fixe pour tous les écrans */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 87, 108, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 15s ease infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 1rem;
    /* Force une largeur cohérente */
    box-sizing: border-box;
}

.main-content {
    flex: 1;
    padding: 3rem 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* === NAVBAR MODERNE === */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.navbar-user {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.navbar-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-link:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

.navbar-link:hover::before {
    width: 60%;
}

/* === CARDS MODERNES === */
.card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Empêche le débordement */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* === BUTTONS ULTRA-MODERNES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

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

.btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
}

.btn-success:hover {
    transform: translateY(-3px);
}

.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* === FORMS MODERNES === */
.form-group {
    margin-bottom: 1.5rem;
}

.label {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-surface);
    font-family: inherit;
}

.input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.input::placeholder {
    color: #94a3b8;
}

/* === ALERTS MODERNES === */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid;
    animation: slideInDown 0.4s ease;
}

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

.alert::before {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #10b981;
}

.alert-success::before {
    background: #10b981;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #ef4444;
}

.alert-error::before {
    background: #ef4444;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #f59e0b;
}

.alert-warning::before {
    background: #f59e0b;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e3a8a;
    border-color: #3b82f6;
}

.alert-info::before {
    background: #3b82f6;
}

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}

.badge-success {
    background: var(--gradient-success);
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

/* === STEPPER MODERNE === */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    gap: 0.5rem;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.stepper-number {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow);
}

.stepper-item.active .stepper-number {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.15);
    box-shadow: var(--shadow-colored);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

.stepper-item.completed .stepper-number {
    background: var(--gradient-success);
    color: white;
    transform: scale(1.05);
}

.stepper-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.stepper-item.active .stepper-label {
    color: var(--color-primary);
}

.stepper-line {
    width: 4rem;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
}

/* === GUEST CARDS === */
.guest-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    gap: 1rem;
    transition: var(--transition);
}

.guest-card:hover {
    border-color: var(--color-primary);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.guest-info {
    flex: 1;
}

.guest-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.05rem;
}

/* === REMAINING COUNTER ULTRA-MODERNE === */
.remaining-counter {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.remaining-counter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.remaining-counter.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.remaining-counter.critical {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.remaining-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    position: relative;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.remaining-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
}

.remaining-details {
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
}

/* === HERO SECTION === */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 450px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* === STAT CARDS === */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* === FOOTER === */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: auto;
}

/* === FEATURE GRID === */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.feature-description {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* === ADMIN HEADER === */
.admin-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.admin-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    position: relative;
}

.admin-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    position: relative;
}

/* === ACTION BUTTONS === */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

/* === PAGE TITLES === */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* === LINKS === */
a {
    color: var(--color-primary);
    transition: var(--transition);
}

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

/* Fix: boutons restent avec leur couleur d'origine */
a.btn,
a.btn:hover,
a.btn:active,
a.btn:focus,
a.btn:visited {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-success,
.btn-success:hover,
.btn-success:active,
.btn-success:focus,
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus,
.btn-danger,
.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus {
    color: white;
}

.btn-outline:hover {
    color: white;
}

/* Supprimer complètement les effets de focus/active bleus du navigateur */
a:focus,
a:active,
button:focus,
button:active {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Empêcher tout changement de couleur au clic pour les boutons */
.btn:active,
.btn:focus {
    outline: none !important;
    box-shadow: inherit;
}

/* Spécifique pour Tailwind - empêcher les couleurs bleues */
a[class*="bg-blue"]:active,
a[class*="bg-blue"]:focus,
a[class*="bg-green"]:active,
a[class*="bg-green"]:focus,
a[class*="bg-purple"]:active,
a[class*="bg-purple"]:focus,
a[class*="bg-pink"]:active,
a[class*="bg-pink"]:focus {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Forcer le texte blanc sur tous les liens avec background coloré */
a[class*="bg-blue"][class*="text-white"]:hover,
a[class*="bg-green"][class*="text-white"]:hover,
a[class*="bg-purple"][class*="text-white"]:hover,
a[class*="bg-pink"][class*="text-white"]:hover,
a[class*="bg-gradient"][class*="text-white"]:hover {
    color: white !important;
}

/* Tailwind classes pour garantir le texte blanc */
.hover\:text-white:hover {
    color: white !important;
}

/* === MOBILE OPTIMIZATIONS === */
@media (max-width: 639px) {
    /* Container garde le même padding défini globalement */
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .navbar-menu {
        width: 100%;
        justify-content: space-between;
    }
    
    .navbar-user {
        font-size: 0.8rem;
    }
    
    .stepper {
        gap: 0.25rem;
        margin: 2rem 0;
    }
    
    .stepper-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .stepper-label {
        font-size: 0.75rem;
    }
    
    .stepper-line {
        width: 2rem;
        height: 2px;
    }
    
    .remaining-number {
        font-size: 3rem;
    }
    
    .remaining-label {
        font-size: 1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .guest-card {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* === NOUVEAUX COMPOSANTS MOBILE === */
    .availability-alert {
        padding: 0.85rem 1rem;
        flex-direction: row;
        gap: 0.6rem;
    }
    
    .alert-icon {
        font-size: 1.5rem;
    }
    
    .alert-title {
        font-size: 0.85rem;
    }
    
    .alert-subtitle {
        font-size: 0.7rem;
    }
    
    .capacity-counters {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        padding: 0.85rem;
    }
    
    .capacity-card {
        padding: 0.85rem;
        border-radius: 10px;
    }
    
    .capacity-icon {
        font-size: 1.1rem;
    }
    
    .capacity-event {
        font-size: 0.7rem;
    }
    
    .capacity-number {
        font-size: 1.75rem;
    }
    
    .capacity-label {
        font-size: 0.65rem;
    }
    
    .extra-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    .capacity-stats {
        font-size: 0.6rem;
    }
    
    .opportunity-card {
        padding: 1.25rem;
        border-radius: 14px;
    }
    
    .opportunity-icon {
        font-size: 2rem;
    }
    
    .opportunity-title {
        font-size: 1.1rem;
    }
    
    .opportunity-subtitle {
        font-size: 0.75rem;
    }
    
    .opportunity-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .opportunity-divider {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .opportunity-number {
        font-size: 2rem;
    }
    
    .opportunity-label {
        font-size: 0.7rem;
    }
    
    .urgency-notice {
        font-size: 0.75rem;
        padding: 0.6rem;
    }
    
    .extra-announcement {
        padding: 0.85rem;
        gap: 0.6rem;
        flex-direction: row;
    }
    
    .extra-announcement-icon {
        font-size: 1.5rem;
    }
    
    .extra-announcement-title {
        font-size: 0.85rem;
    }
    
    .extra-announcement-text {
        font-size: 0.75rem;
    }
    
    .extra-spot-notice {
        padding: 0.85rem;
        gap: 0.75rem;
        flex-direction: row;
    }
    
    .extra-spot-icon {
        font-size: 1.75rem;
    }
    
    .extra-spot-title {
        font-size: 0.9rem;
    }
    
    .extra-spot-text {
        font-size: 0.75rem;
    }
    
}

/* === RESPONSIVE === */
@media (min-width: 640px) {
    .btn {
        width: auto;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === AVAILABILITY DASHBOARD (TOMORROWLAND STYLE) === */
.availability-dashboard {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 0;
    border-radius: 0;
}

.availability-alert {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

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

.availability-alert::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.alert-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
    position: relative;
    z-index: 1;
}

.alert-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.alert-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.alert-subtitle {
    font-size: 0.75rem;
    opacity: 0.95;
    font-weight: 500;
}

/* === CAPACITY COUNTERS === */
.capacity-counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem;
}

.capacity-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.capacity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.capacity-card.capacity-warning::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.capacity-card.capacity-critical::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    animation: glowRed 1.5s infinite;
}

@keyframes glowRed {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 20px rgba(239, 68, 68, 0.8); }
}

.capacity-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.capacity-icon {
    font-size: 1.25rem;
}

.capacity-event {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.capacity-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.capacity-card.capacity-warning .capacity-number {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.capacity-card.capacity-critical .capacity-number {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.capacity-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.capacity-extra {
    margin: 0.5rem 0;
}

.extra-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(251, 191, 36, 0.6);
    }
}

.capacity-progress {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.capacity-card.capacity-warning .progress-fill {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.capacity-card.capacity-critical .progress-fill {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    animation: progressBlink 1s infinite;
}

@keyframes progressBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.capacity-stats {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
}

/* === OPPORTUNITY CARD (TOMORROWLAND STYLE) === */
.opportunity-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.5s ease-out;
}

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

.opportunity-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 70%
    );
    animation: rotate 15s linear infinite;
}

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

.opportunity-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.opportunity-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.opportunity-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.opportunity-subtitle {
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 500;
}

.opportunity-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.opportunity-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    flex: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.opportunity-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.2);
}

.extra-opportunity {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.3) 100%);
    border-color: rgba(251, 191, 36, 0.5);
    animation: extraGlow 2s infinite;
}

@keyframes extraGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.7);
    }
}

.opportunity-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.extra-glow {
    /* Animation retirée */
}

.opportunity-label {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.95;
    line-height: 1.3;
}

.opportunity-divider {
    font-size: 2rem;
    font-weight: 900;
    opacity: 0.7;
}

.urgency-notice {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    animation: urgencyBlink 2s infinite;
}

@keyframes urgencyBlink {
    0%, 100% {
        background: rgba(239, 68, 68, 0.2);
        border-color: rgba(239, 68, 68, 0.4);
    }
    50% {
        background: rgba(239, 68, 68, 0.3);
        border-color: rgba(239, 68, 68, 0.6);
    }
}

/* === EXTRA ANNOUNCEMENT (Nouvelle annonce de places) === */
.extra-announcement {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 2px solid rgba(251, 191, 36, 0.6);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
    animation: announcementGlow 2s infinite;
}

@keyframes announcementGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
        border-color: rgba(251, 191, 36, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.5);
        border-color: rgba(251, 191, 36, 0.8);
    }
}

.extra-announcement-icon {
    font-size: 2rem;
    animation: sparkleAnnouncement 1.5s infinite;
    flex-shrink: 0;
}

@keyframes sparkleAnnouncement {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
    }
    50% {
        transform: rotate(15deg) scale(1.1);
        filter: drop-shadow(0 0 15px rgba(251, 191, 36, 1));
    }
}

.extra-announcement-content {
    flex: 1;
}

.extra-announcement-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.35rem;
}

.extra-announcement-text {
    font-size: 0.85rem;
    color: white;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.4;
}

/* === EXTRA SPOT NOTICE === */
.extra-spot-notice {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
    animation: spotPulse 2s infinite;
    margin-bottom: 1rem;
}

@keyframes spotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 32px rgba(251, 191, 36, 0.6);
    }
}

.extra-spot-icon {
    font-size: 2rem;
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    }
    50% {
        transform: rotate(15deg) scale(1.15);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
    }
}

.extra-spot-title {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.25rem;
}

.extra-spot-text {
    font-size: 0.85rem;
    color: white;
    opacity: 0.95;
    font-weight: 600;
}

/* === LOADING ANIMATION === */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* === PROGRESS BAR MODERNE === */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 600;
}

/* === MICRO-INTERACTIONS === */
.btn,
.card,
.input,
.navbar-link,
.guest-card {
    transform-origin: center;
}

button:active {
    transform: scale(0.98);
}

/* === SCROLL ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.stat-card,
.feature-card {
    animation: fadeIn 0.6s ease-out;
}
