/* ============================================================================
   Run1Events - Modernized UI Design System
   Orange Accent Theme - Stitch Design 2026
   ============================================================================ */

/* ============================================================================
   CSS VARIABLES - DESIGN TOKENS (STITCH ORANGE/WHITE THEME)
   ============================================================================ */
:root {
    /* Primary Color Palette - Vibrant Orange */
    --primary: #FF8C00;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --secondary: #1f2937;
    --secondary-dark: #0f172a;
    --accent: #f8fafc;
    --accent-dark: #f1f5f9;

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Background Colors - Light Clean Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --surface: rgba(255, 140, 0, 0.04);
    --surface-hover: rgba(255, 140, 0, 0.08);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-disabled: #cbd5e1;

    /* Card Styling */
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-shadow: rgba(0, 0, 0, 0.05);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(226, 232, 240, 0.8);
    --glass-blur: 12px;

    /* Gradients - Orange Accent */
    --gradient-primary: linear-gradient(135deg, #FF8C00 0%, #ea580c 50%, #dc2626 100%);
    --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    --gradient-accent: linear-gradient(135deg, #FF8C00 0%, #fb923c 100%);
    --gradient-surface: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    --gradient-hero: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 4px 20px rgba(255, 140, 0, 0.2);
    --shadow-glow-strong: 0 8px 40px rgba(255, 140, 0, 0.3);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography - Inter + Outfit (Stitch Design) */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Courier New', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;

    overflow-x: hidden;
}

/* ============================================================================
   HEADER
   ============================================================================ */
/* ============================================================================
   MODERN HORIZONTAL NAVBAR - 2025 DESIGN
   ============================================================================ */
.navbar-modern {
    background: var(--card-bg);
    border-bottom: 2px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    padding: 0;
}

.nav-content-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    gap: var(--space-xl);
}

/* Logo Section */
.navbar-logo-section {
    flex-shrink: 0;
}

.navbar-logo-section .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform var(--transition-smooth);
}

.navbar-logo-section .logo-link:hover {
    transform: scale(1.05);
}

.logo-img-navbar {
    height: 50px;
    width: auto;
    transition: all var(--transition-smooth);
    filter: drop-shadow(0 2px 8px rgba(255, 140, 0, 0.3));
}

.logo-img-navbar:hover {
    filter: drop-shadow(0 4px 12px rgba(255, 140, 0, 0.5));
}

/* ============================================================================
   NAVIGATION - MODERN RESPONSIVE LAYOUT WITH MOBILE HAMBURGER MENU
   ============================================================================ */
.navbar {
    /* Kept for backward compatibility, main styles in navbar-modern */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    gap: var(--space-lg);
    position: relative;
}

/* Hamburger Menu Button (Mobile Only) */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all var(--transition-smooth);
    transform-origin: center;
}

.hamburger-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex: 1;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link-icon {
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.nav-link:hover .nav-link-icon {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 140, 0, 0.06);
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link-admin {
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.nav-link-admin:hover {
    background: rgba(255, 140, 0, 0.2);
    border-color: var(--primary);
}

/* Auth Container - Right Side */
.nav-auth-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-icon {
    opacity: 0.8;
    flex-shrink: 0;
}

.nav-btn:hover .nav-icon {
    opacity: 1;
}

.nav-btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid transparent;
    font-weight: 700;
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--card-border);
}

.nav-btn-secondary:hover {
    color: var(--primary);
    background: rgba(255, 140, 0, 0.05);
    border-color: var(--primary);
}

.nav-btn-profile {
    background: var(--surface);
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.nav-btn-profile:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.nav-btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: var(--text-primary);
    border-color: rgba(239, 68, 68, 0.2);
}

.nav-btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger);
    transform: translateY(-1px);
}

/* Mobile Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.nav-overlay-active {
    display: block;
    opacity: 1;
}

/* ============================================================================
   RESPONSIVE MOBILE NAVBAR (< 768px)
   ============================================================================ */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 280px;
        max-width: 85vw;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-3xl) var(--space-lg);
        gap: var(--space-sm);
        transform: translateX(-100%);
        transition: transform var(--transition-smooth);
        z-index: 1001;
        overflow-y: auto;
        box-shadow: var(--shadow-xl);
        border-right: 1px solid var(--glass-border);
    }

    .nav-links-active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: var(--space-md);
        font-size: var(--text-base);
        justify-content: flex-start;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        background: var(--surface);
        transform: translateX(4px);
    }

    .nav-link-icon {
        width: 20px;
        height: 20px;
    }

    .nav-auth-container {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
        position: fixed;
        bottom: 0;
        left: 0;
        width: 280px;
        max-width: 85vw;
        padding: var(--space-lg);
        background: var(--bg-secondary);
        border-top: 1px solid var(--glass-border);
        transform: translateX(-100%);
        transition: transform var(--transition-smooth);
        z-index: 1001;
    }

    .nav-links-active~.nav-auth-container,
    .nav-content:has(.nav-links-active) .nav-auth-container {
        transform: translateX(0);
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-md);
    }

    .nav-btn-text {
        display: inline;
    }
}

/* Tablet Adjustments (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-link {
        padding: var(--space-sm);
        font-size: 0.8125rem;
    }

    .nav-link span {
        display: none;
    }

    .nav-link-icon {
        margin: 0;
    }

    .nav-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8125rem;
    }

    .nav-btn-text {
        display: none;
    }
}

/* Desktop Enhancements (> 1024px) */
@media (min-width: 1025px) {
    .nav-link:hover {
        transform: translateY(-2px);
    }

    .nav-btn:hover {
        box-shadow: var(--shadow-glow);
    }
}


/* ============================================================================
   HERO SECTION SLIDESHOW
   ============================================================================ */
.hero-slideshow {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-slideshow .slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 15vh;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.hero-content h1 {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
    color: white;
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.9),
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 1);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: #ffd700;
    margin-bottom: var(--space-lg);
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.9),
        0 2px 8px rgba(0, 0, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 1);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-content .lead {
    font-size: var(--text-lg);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.8;
    color: rgba(255, 255, 255, 1);
    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.9),
        0 1px 4px rgba(0, 0, 0, 0.8),
        1px 1px 3px rgba(0, 0, 0, 1);
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-2xl);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   BUTTONS - MODERN DESIGN
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width var(--transition-smooth), height var(--transition-smooth);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: var(--text-lg);
}

/* ============================================================================
   SECTION CONTAINERS
   ============================================================================ */
.section-container {
    max-width: 1200px;
    margin: 0 auto var(--space-3xl);
    padding: var(--space-3xl) var(--space-lg);
}

.section-dark {
    background: var(--gradient-secondary);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    border: 2px solid var(--card-border);
    box-shadow: var(--shadow-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title-main {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

/* ============================================================================
   HIGHLIGHTS GRID
   ============================================================================ */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.highlight-card {
    background: var(--card-bg);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-smooth);
    border: 2px solid var(--card-border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 0 0 3px var(--card-bg), 0 0 0 5px var(--primary);
    border-color: var(--primary);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-icon {
    color: var(--primary);
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

.highlight-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.highlight-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================================
   EVENTS GRID
   ============================================================================ */
.events-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.event-card-modern {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    border: 2px solid var(--card-border);
}

.event-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 0 0 3px var(--card-bg), 0 0 0 5px var(--primary-light);
    border-color: var(--primary);
}

.event-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(15, 15, 35, 0.9), transparent);
}

.event-image-placeholder {
    background: var(--gradient-primary);
}

.event-body {
    padding: var(--space-lg);
}

.event-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    box-shadow: var(--shadow-sm);
}

.event-name {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.event-edition-tag {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.event-location {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.event-location svg {
    color: var(--primary);
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-border);
}

.event-price-tag {
    font-size: var(--text-lg);
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-event-details {
    background: var(--primary);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-smooth);
}

.btn-event-details:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.section-cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

.btn-view-all {
    display: inline-block;
    background: var(--surface);
    color: var(--text-primary);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-smooth);
}

.btn-view-all:hover {
    background: var(--surface-hover);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ============================================================================
   ABOUT SECTION
   ============================================================================ */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content {
    color: var(--text-primary);
}

.about-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.stat-item {
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-light);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: var(--text-sm);
    margin-top: var(--space-sm);
    color: var(--text-secondary);
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.cta-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    margin: var(--space-3xl) var(--space-lg);
    overflow: hidden;
    border: 3px solid var(--primary-light);
    box-shadow: var(--shadow-xl);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -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);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: var(--space-2xl);
}

.cta-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2xl);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-cta-large {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 1.25rem 3rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 800;
    font-size: var(--text-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-smooth);
    border: 3px solid white;
}

.btn-cta-large:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

/* ============================================================================
   FLASH MESSAGES
   ============================================================================ */
.flash-container {
    max-width: 1200px;
    margin: var(--space-lg) auto;
    padding: 0 var(--space-lg);
}

.flash {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    font-weight: 600;
    border: 2px solid transparent;
    animation: slideInDown 0.3s ease-out;
    box-shadow: var(--shadow-sm);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #047857;
}

.flash-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #b91c1c;
}

.flash-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #b45309;
}

.flash-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #1e40af;
}

/* ============================================================================
   MAIN CONTENT
   ============================================================================ */
.main-content {
    max-width: 1200px;
    margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg);
    min-height: calc(100vh - 400px);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-3xl) 0 var(--space-lg);
    margin-top: var(--space-3xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section {
    color: var(--text-secondary);
}

.footer-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-heading {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.social-link:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.contact-info p {
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.footer-links {
    margin-top: var(--space-sm);
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-light);
}

.footer-separator {
    color: var(--text-muted);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.25rem;
        --text-4xl: 1.875rem;
        --text-3xl: 1.5rem;
    }

    .nav-content {
        flex-direction: column;
        gap: var(--space-md);
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-auth-container {
        width: 100%;
        justify-content: center;
    }

    .hero-slideshow {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: var(--text-3xl);
    }

    .hero-content h2 {
        font-size: var(--text-xl);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .events-grid-home {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .nav-links {
        font-size: var(--text-xs);
    }

    .btn-lg {
        padding: var(--space-md) var(--space-xl);
        font-size: var(--text-base);
    }
}

/* ============================================================================
   REGISTRATION FORM - MODERN FUTURISTIC DESIGN
   ============================================================================ */
.registration-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
}

.registration-card {
    max-width: 800px;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.registration-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.registration-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.registration-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.registration-divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

/* Form Sections */
.form-section {
    margin-bottom: var(--space-3xl);
}

.form-section:last-of-type {
    margin-bottom: var(--space-2xl);
}

.form-section-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--glass-border);
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

/* Form Groups - Floating Labels */
.form-group {
    position: relative;
    margin-bottom: var(--space-lg);
}

.form-input {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-sm);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-family: var(--font-body);
    transition: all var(--transition-smooth);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--primary);
}

.form-label {
    position: absolute;
    left: var(--space-md);
    top: var(--space-md);
    color: var(--text-muted);
    font-size: var(--text-base);
    pointer-events: none;
    transition: all var(--transition-smooth);
    transform-origin: left center;
}

.form-input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.form-group.focused .form-input-border {
    transform: scaleX(1);
}

.required {
    color: var(--danger);
}

/* Date Input Styling */
.form-input[type="date"] {
    color-scheme: dark;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Radio Buttons */
.radio-group {
    padding: var(--space-md);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.radio-group-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.radio-options {
    display: flex;
    gap: var(--space-xl);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    position: relative;
    transition: all var(--transition-fast);
}

.radio-option:hover .radio-custom {
    border-color: var(--primary);
}

.radio-option input[type="radio"]:checked~.radio-custom {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.radio-option input[type="radio"]:checked~.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-label {
    color: var(--text-primary);
    font-size: var(--text-base);
    user-select: none;
}

/* Select Dropdown */
.form-select {
    width: 100%;
    padding: var(--space-md);
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-family: var(--font-body);
    cursor: pointer;
    appearance: none;
    transition: all var(--transition-smooth);
    outline: none;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: var(--space-sm);
}

.form-label-select {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
}

.form-select-arrow {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: var(--space-3xl);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-3xl);
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width var(--transition-smooth), height var(--transition-smooth);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-submit.loading .btn-submit-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.btn-submit-text,
.btn-submit-icon {
    position: relative;
    z-index: 1;
}

.btn-submit-icon {
    display: flex;
    align-items: center;
}

.form-note {
    margin-top: var(--space-lg);
    color: var(--text-muted);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.info-icon {
    color: var(--info);
}

/* Responsive Form */
@media (max-width: 768px) {
    .registration-card {
        padding: var(--space-2xl);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .registration-title {
        font-size: var(--text-3xl);
    }

    .btn-submit {
        width: 100%;
    }
}

/* ============================================================================
   PAYMENT PAGES - MODERN DESIGN
   ============================================================================ */

/* Payment Selection Page */
.payment-container {
    max-width: 800px;
    margin: var(--space-3xl) auto;
    padding: var(--space-lg);
}

.payment-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
}

.payment-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.payment-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-glow);
}

.payment-header-icon {
    color: var(--text-primary);
}

.payment-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.payment-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.payment-info-box {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--glass-border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
}

.info-value-price {
    color: var(--primary);
    font-size: var(--text-xl);
}

/* Payment Options */
.payment-options {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.payment-option {
    background: var(--surface);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-smooth);
}

.payment-option:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.payment-option-header {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.payment-option-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.payment-option-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.payment-option-description {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.btn-payment-option {
    width: 100%;
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition-smooth);
    margin-bottom: var(--space-md);
}

.btn-payment-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-payment-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-payment-secondary {
    background: var(--surface-hover);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-payment-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
}

.payment-option-badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.payment-badge {
    padding: var(--space-xs) var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.payment-badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

.payment-help {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--info);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.help-icon {
    color: var(--info);
    flex-shrink: 0;
}

/* Registration Number Page */
.registration-number-container {
    max-width: 700px;
    margin: var(--space-3xl) auto;
    padding: var(--space-lg);
}

.registration-number-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.reg-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.reg-success-icon svg {
    color: var(--success);
}

.reg-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.reg-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-3xl);
}

.reg-number-display {
    background: var(--gradient-surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.reg-number-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reg-number-value {
    font-size: var(--text-5xl);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.reg-qr-container {
    margin-bottom: var(--space-3xl);
}

.reg-qr-image {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
}

.reg-qr-label {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.reg-info-box {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    text-align: left;
}

.reg-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--glass-border);
}

.reg-info-row:last-child {
    border-bottom: none;
}

.reg-info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.reg-info-value {
    color: var(--text-primary);
    font-weight: 600;
}

.reg-price {
    color: var(--primary);
    font-size: var(--text-xl);
}

.reg-status-badge {
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.reg-status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.reg-instructions {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    margin-bottom: var(--space-2xl);
    text-align: left;
}

.reg-instructions-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.reg-instructions-title svg {
    color: var(--primary);
}

.reg-instructions-list {
    margin-left: var(--space-lg);
    color: var(--text-secondary);
}

.reg-instructions-list li {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.reg-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.btn-reg-action {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition-smooth);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-reg-print {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
}

.btn-reg-print:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-reg-download {
    background: var(--surface);
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.btn-reg-download:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
}

.btn-reg-home {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--glass-border);
}

.btn-reg-home:hover {
    color: var(--text-primary);
    background: var(--surface);
}

.reg-contact {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.reg-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.reg-contact svg {
    color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .payment-container,
    .registration-number-container {
        padding: var(--space-md);
    }

    .payment-card,
    .registration-number-card {
        padding: var(--space-lg);
    }

    .payment-title,
    .reg-title {
        font-size: var(--text-3xl);
    }

    .reg-number-value {
        font-size: var(--text-3xl);
    }

    .reg-actions {
        flex-direction: column;
    }

    .btn-reg-action {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================================
   ADVERTISEMENT SECTION - WIDE SQUARE
   ============================================================================ */
.ad-section {
    text-align: center;
}

.ad-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.ad-container-square {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-surface);
    gap: var(--space-md);
}

.ad-placeholder svg {
    color: var(--text-muted);
    opacity: 0.3;
}

.ad-placeholder-text {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-muted);
}

.ad-placeholder-subtext {
    font-size: var(--text-sm);
    color: var(--text-muted);
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ad-container-square {
        max-width: 100%;
        border-radius: var(--radius-lg);
    }
}

/* ============================================================================
   MOBILE-FIRST OPTIMIZATIONS - PRIORITY FOR MOBILE DEVICES
   ============================================================================ */

/* Base Mobile Optimizations */
@media (max-width: 768px) {

    /* Improved Font Sizes for Mobile Readability */
    html {
        font-size: 15px;
        /* Slightly smaller base for mobile */
    }

    /* Hero Section Mobile Optimization */
    .hero-slideshow {
        height: 70vh;
        /* Shorter on mobile to show more content */
    }

    .hero-content {
        padding-top: 8vh;
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .hero-content h1 {
        font-size: var(--text-3xl);
        /* Reduced from 5xl */
        line-height: 1.2;
        margin-bottom: var(--space-sm);
    }

    .hero-content h2 {
        font-size: var(--text-lg);
        /* Reduced from 2xl */
        margin-bottom: var(--space-md);
    }

    .hero-content .lead {
        font-size: var(--text-base);
        /* Reduced from lg */
        line-height: 1.6;
        margin-bottom: var(--space-lg);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Section Containers - Tighter Spacing */
    .section-container {
        padding: var(--space-2xl) var(--space-md);
        margin-bottom: var(--space-2xl);
    }

    .section-title-main {
        font-size: var(--text-3xl);
        /* Reduced from 4xl */
    }

    .section-subtitle {
        font-size: var(--text-base);
        /* Reduced from lg */
    }

    /* Touch-Friendly Buttons - Minimum 44px Height */
    .btn,
    .btn-primary,
    .btn-outline-light,
    .btn-lg {
        min-height: 44px;
        padding: var(--space-md) var(--space-lg);
        font-size: var(--text-base);
        touch-action: manipulation;
        /* Prevent double-tap zoom */
    }

    /* Highlights Grid - Single Column on Mobile */
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .highlight-card {
        padding: var(--space-lg);
    }

    /* Events Grid - Single Column */
    .events-grid-home {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .event-card-modern {
        margin-bottom: var(--space-md);
    }

    .event-image {
        height: 180px;
        /* Shorter on mobile */
    }

    /* About Section - Stack on Mobile */
    .about-section {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .about-content,
    .about-image {
        width: 100%;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .stat-number {
        font-size: var(--text-3xl);
        /* Slightly smaller */
    }

    /* Footer - Stack Columns */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .social-links,
    .contact-info,
    .address-info {
        justify-content: center;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Forms - Mobile Optimized */
    .registration-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-input,
    .form-select {
        font-size: 16px;
        /* Prevents iOS zoom on focus */
        min-height: 44px;
        /* Touch-friendly */
    }

    .btn-submit {
        min-height: 50px;
        font-size: var(--text-lg);
    }

    /* Header - More Compact */
    .site-header {
        padding: var(--space-sm) 0;
    }

    .logo-img {
        height: 45px;
        /* Smaller logo on mobile */
    }

    .header-subtitle {
        font-size: var(--text-xs);
        margin-top: var(--space-xs);
    }

    /* News Bar - Scrolling Text */
    .news-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .news-bar-content {
        white-space: nowrap;
        padding: var(--space-sm) var(--space-md);
    }

    /* Flash Messages - Full Width */
    .flash-container {
        margin: var(--space-sm);
    }

    .flash {
        border-radius: var(--radius-md);
        font-size: var(--text-sm);
    }

    /* CTA Section - Mobile Optimized */
    .cta-section {
        padding: var(--space-3xl) var(--space-md);
    }

    .cta-title {
        font-size: var(--text-3xl);
    }

    .cta-subtitle {
        font-size: var(--text-base);
    }

    .btn-cta-large {
        width: 100%;
        min-height: 50px;
    }
}

/* Small Mobile Devices - Extra Optimizations */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-slideshow {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: var(--text-2xl);
    }

    .section-container {
        padding: var(--space-xl) var(--space-sm);
    }

    .highlight-card {
        padding: var(--space-md);
    }

    .event-badge {
        font-size: 0.65rem;
    }

    .stat-number {
        font-size: var(--text-2xl);
    }

    .stat-label {
        font-size: var(--text-xs);
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {

    /* Reduce Animations for Better Performance */
    * {
        animation-duration: 0.2s !important;
        transition-duration: 0.2s !important;
    }

    /* Optimize Images */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Prevent Text Selection on Touch */
    .btn,
    .nav-link,
    .nav-btn {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Smooth Scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent Horizontal Scroll */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Better Touch Scrolling */
    .nav-links,
    .news-bar,
    .sponsors-grid {
        -webkit-overflow-scrolling: touch;
    }
}

/* Landscape Mobile Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-slideshow {
        height: 85vh;
    }

    .hero-content {
        padding-top: 5vh;
    }

    .hero-content h1 {
        font-size: var(--text-2xl);
    }

    .hero-content h2 {
        font-size: var(--text-base);
    }

    .section-container {
        padding: var(--space-xl) var(--space-md);
    }
}

/* PWA Mobile Enhancements */
@media (display-mode: standalone) {

    /* App is running as PWA */
    .site-header {
        padding-top: env(safe-area-inset-top);
    }

    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Dark Mode Safe Area */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================================
   CALENDAR PAGE - MODERN DESIGN
   ============================================================================ */

.calendar-hero {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
    margin-bottom: var(--space-xl);
}

.calendar-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calendar-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.calendar-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}

.calendar-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-3xl);
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 4px solid var(--bg-primary);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.2);
}

.timeline-content {
    width: 45%;
    margin-left: auto;
    /* Default right side */
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-smooth);
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    /* Left side */
}

.timeline-content:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.timeline-date {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.timeline-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.timeline-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.timeline-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: var(--text-sm);
    transition: gap var(--transition-smooth);
}

.timeline-btn:hover {
    gap: var(--space-sm);
}

/* Mobile Responsive - Calendar */
@media (max-width: 768px) {
    .calendar-timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}

/* ============================================================================
   SPONSORS & PARTNERS SECTION - ATHLETIC 2025 DESIGN
   Bright, energetic theme for sports/running events
   ============================================================================ */

/* T-shirt Highlight Card with Image Preview - Athletic Style */
.highlight-card-tshirt {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
    border: 2px solid #FF8C00 !important;
}

.highlight-tshirt-preview {
    margin: 0 auto var(--space-md);
    width: 160px;
    height: 160px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 3px solid #FF8C00;
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.15),
        0 0 0 4px rgba(255, 140, 0, 0.1);
    transition: all var(--transition-smooth);
}

.highlight-card-tshirt:hover .highlight-tshirt-preview {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 16px 48px rgba(255, 140, 0, 0.2),
        0 0 0 6px rgba(255, 140, 0, 0.1);
    border-color: #ea580c;
}

.tshirt-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.highlight-card-tshirt:hover .tshirt-preview-img {
    transform: scale(1.12);
}

.highlight-card-tshirt .highlight-title {
    color: #0f172a !important;
    font-weight: 800;
}

.highlight-card-tshirt .highlight-description {
    color: #475569 !important;
}

/* Sponsors & Partners Section - Bright Athletic Theme */
.sponsors-partners-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    border-radius: var(--radius-2xl);
    margin: var(--space-3xl) 0;
}

.sponsors-partners-section .section-header {
    position: relative;
    padding-bottom: var(--space-md);
}

.sponsors-partners-section .section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF8C00, #fb923c, #FF8C00);
    border-radius: 2px;
}

.section-title-secondary {
    font-size: var(--text-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, #FF8C00 0%, #ea580c 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    text-align: center;
    letter-spacing: -1px;
    text-shadow: none;
}

.section-subtitle-small {
    font-size: var(--text-lg);
    color: #475569;
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.7;
}

/* Sponsors Grid - Vibrant Athletic Cards */
.sponsors-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    padding: 0 var(--space-md);
}

.sponsor-card-modern {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    border: 2px solid #e2e8f0;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sponsor-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FF8C00, #fb923c, #dc2626);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.sponsor-card-modern::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #FF8C00, #ea580c);
    border-radius: var(--radius-2xl);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-smooth);
}

.sponsor-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.15),
        0 0 0 3px #ffffff,
        0 0 0 6px #FF8C00;
    border-color: #FF8C00;
}

.sponsor-card-modern:hover::before {
    transform: scaleX(1);
}

.sponsor-card-modern:hover::after {
    opacity: 0.05;
}

.sponsor-image-wrapper {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    border: 2px solid #e2e8f0;
}

.sponsor-card-modern:hover .sponsor-image-wrapper {
    background: linear-gradient(135deg, #f1f5f9 0%, #222222 100%);
    border-color: #FF8C00;
    transform: scale(1.05);
}

.sponsor-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    transition: all var(--transition-smooth);
}

.sponsor-card-modern:hover .sponsor-logo-img {
    filter: drop-shadow(0 6px 20px rgba(255, 140, 0, 0.2));
    transform: scale(1.08);
}

.sponsor-name {
    font-size: var(--text-base);
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.sponsor-card-modern:hover .sponsor-name {
    color: #FF8C00;
    transform: scale(1.05);
}

/* Organization Partners - Energetic Compact Style */
.partners-row-modern {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    border-radius: var(--radius-2xl);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.partners-label {
    font-size: var(--text-sm);
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-xl);
    font-weight: 700;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.partner-badge {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: all var(--transition-smooth);
    opacity: 0.85;
}

.partner-badge:hover {
    filter: drop-shadow(0 8px 24px rgba(255, 140, 0, 0.2));
    transform: scale(1.15) rotate(2deg);
    opacity: 1;
}

/* Energetic Pulse Animation */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 8px 30px rgba(255, 140, 0, 0.1);
    }
}

.sponsor-card-modern {
    animation: pulse-glow 3s ease-in-out infinite;
}

.sponsor-card-modern:hover {
    animation: none;
}

/* Responsive Design - Mobile Optimizations */
@media (max-width: 768px) {
    .sponsors-grid-modern {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: 0;
    }

    .sponsor-card-modern {
        padding: var(--space-xl);
    }

    .section-title-secondary {
        font-size: var(--text-3xl);
    }

    .highlight-tshirt-preview {
        width: 140px;
        height: 140px;
    }

    .partners-logos {
        gap: var(--space-lg);
    }

    .partner-badge {
        max-width: 90px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sponsors-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title-secondary {
        font-size: var(--text-3xl);
    }
}

/* High-Performance Mode for Smooth Animations */
.sponsor-card-modern,
.partner-badge,
.tshirt-preview-img,
.highlight-tshirt-preview {
    will-change: transform;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .sponsor-card-modern,
    .partner-badge,
    .tshirt-preview-img,
    .highlight-tshirt-preview {
        transition: none;
        animation: none;
    }

    .sponsor-card-modern:hover,
    .partner-badge:hover,
    .highlight-card-tshirt:hover .highlight-tshirt-preview,
    .highlight-card-tshirt:hover .tshirt-preview-img {
        transform: none;
    }
}

/* Print Styles */
@media print {

    .sponsors-partners-section,
    .highlight-card-tshirt {
        page-break-inside: avoid;
        background: white !important;
    }

    .sponsor-card-modern,
    .partner-badge {
        box-shadow: none !important;
        border: 2px solid #e2e8f0 !important;
        animation: none !important;
    }
}

/* ============================================================================
   EVENTS PAGE - FAQ, PROGRAM, RULES, ABOUT SECTIONS
   ============================================================================ */

/* Events Grid */
.events-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.event-card-public {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

.event-card-public:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.event-image-public {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-overlay-public {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-overlay-public h3 {
    color: white;
    font-size: var(--text-5xl);
    font-weight: 700;
}

.event-content-public {
    padding: var(--space-xl);
}

.event-title-public {
    color: var(--text-primary);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.event-subtitle-public {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.event-details-public {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.detail-item-public {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

.detail-item-public svg {
    color: var(--primary);
    flex-shrink: 0;
}

.event-description-public {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.btn-event-register {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-smooth);
}

.btn-event-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* FAQ Section */
.faq-section {
    margin: var(--space-3xl) 0;
    padding: var(--space-2xl);
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.faq-card {
    background: var(--card-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.faq-card h3 {
    color: var(--text-primary);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

.faq-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.faq-card a {
    color: var(--primary);
    font-weight: 600;
}

.warning-text {
    color: var(--danger) !important;
    font-weight: 500;
}

.price-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.inclusion-checklist {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.inclusion-checklist li {
    padding: var(--space-xs) 0;
    color: var(--success);
    font-weight: 500;
}

/* Program Section */
.program-section {
    margin: var(--space-3xl) 0;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.program-card {
    background: var(--card-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.program-card-main {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 100%);
}

.program-card h3 {
    color: var(--text-primary);
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
}

.program-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.program-item:last-of-type {
    border-bottom: none;
}

.program-item.highlight {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-md);
    margin: var(--space-sm) 0;
    border-radius: var(--radius-md);
    border-bottom: none;
}

.program-item .time {
    font-weight: 700;
    color: var(--primary);
    min-width: 80px;
}

.program-item.highlight .time {
    color: white;
}

.location {
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-md);
}

/* Rules Summary */
.rules-summary {
    margin: var(--space-3xl) 0;
    padding: var(--space-2xl);
    background: var(--secondary);
    border-radius: var(--radius-xl);
    color: white;
}

.rules-summary .section-title-main,
.rules-summary .section-subtitle {
    color: white;
}

.rules-summary .section-subtitle {
    color: var(--primary);
    font-weight: 600;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.rule-item {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.rule-item h4 {
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.rule-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
}

.rule-item a {
    color: var(--primary-light);
}

/* About Event Box */
.about-event-box {
    margin: var(--space-3xl) 0;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--surface) 0%, var(--card-bg) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--card-border);
}

.about-event-box h2 {
    color: var(--text-primary);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
}

.about-event-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.values-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.values-tags span {
    background: var(--primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
}

/* CTA Box */
.cta-box {
    margin: var(--space-3xl) 0;
    padding: var(--space-2xl);
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-box h2 {
    color: white;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.cta-box .btn {
    background: white;
    color: var(--primary-dark);
}

.cta-box .btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Responsive */
@media (max-width: 768px) {
    .events-grid-main {
        grid-template-columns: 1fr;
    }

    .faq-grid,
    .program-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .event-title-public {
        font-size: var(--text-xl);
    }
}

/* ============================================================================
   ENHANCED MOBILE EXPERIENCE (2026 MOBILE-FIRST IMPROVEMENTS)
   ============================================================================ */

/* Better Touch Targets for Mobile */
@media (max-width: 768px) {

    /* Hero Section - More Compact on Mobile */
    .hero-slideshow {
        height: auto;
        min-height: 85vh;
        padding-bottom: var(--space-xl);
    }

    .hero-content {
        padding-top: 10vh;
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: var(--space-sm);
    }

    .hero-content h2 {
        font-size: 1.1rem;
        margin-bottom: var(--space-md);
    }

    .hero-content .lead {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: var(--space-lg);
    }

    /* Full-width Buttons on Mobile */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--space-sm);
        margin-top: var(--space-lg);
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 52px;
        /* Touch-friendly */
    }

    /* Hero Notice - Better Mobile Styling */
    .hero-notice {
        display: block !important;
        margin: var(--space-md) 0 !important;
        padding: 10px 15px !important;
        font-size: 0.875rem;
        text-align: center;
    }

    /* Section Containers - Less Padding on Mobile */
    .section-container {
        padding: var(--space-xl) var(--space-md);
        margin-bottom: var(--space-xl);
    }

    .section-dark {
        padding: var(--space-xl) var(--space-md);
        border-radius: var(--radius-lg);
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-title-main {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Highlight Cards - Better Mobile Layout */
    .highlights-grid {
        gap: var(--space-md);
        margin-bottom: var(--space-xl);
    }

    .highlight-card {
        padding: var(--space-lg);
    }

    .highlight-icon svg {
        width: 40px;
        height: 40px;
    }

    .highlight-title {
        font-size: 1.1rem;
    }

    .highlight-description {
        font-size: 0.9rem;
    }

    /* Event Cards - Full Width on Mobile */
    .events-grid-home {
        gap: var(--space-md);
    }

    .event-card-modern {
        border-radius: var(--radius-lg);
    }

    .event-image {
        height: 180px;
    }

    .event-body {
        padding: var(--space-md);
    }

    .event-name {
        font-size: 1.1rem;
    }

    .event-footer {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: stretch;
    }

    .btn-event-details {
        width: 100%;
        text-align: center;
        padding: var(--space-md);
        min-height: 48px;
    }

    /* About Section */
    .about-title {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .stat-item {
        padding: var(--space-sm);
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* CTA Section */
    .cta-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--space-lg);
    }

    .btn-cta-large {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Forms - Better Mobile Experience */
    .inscription-container {
        padding: var(--space-md);
    }

    .inscription-card {
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
    }

    .inscription-header h2 {
        font-size: 1.5rem;
    }

    .form-control,
    .form-select {
        font-size: 16px;
        /* Prevents iOS zoom */
        padding: 14px 12px;
        min-height: 50px;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .payment-option {
        padding: var(--space-md);
    }

    .inscription-submit {
        min-height: 54px;
        font-size: 1rem;
    }

    /* Events Hero */
    .events-hero {
        min-height: 200px;
        padding: var(--space-xl) var(--space-md);
    }

    .events-hero-title {
        font-size: 1.5rem;
    }

    .events-hero-subtitle {
        font-size: 0.95rem;
    }

    /* Calendar Page */
    .calendar-title {
        font-size: 1.5rem;
    }

    .calendar-subtitle {
        font-size: 0.95rem;
    }

    .timeline-content {
        padding: var(--space-md);
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    /* No Events Card */
    .no-events-card {
        padding: var(--space-lg);
    }

    .no-events-title {
        font-size: 1.25rem;
    }

    /* Sponsors - Smaller on Mobile */
    .sponsor-card-modern {
        padding: var(--space-md);
    }

    .sponsor-logo-img {
        max-height: 80px;
    }
}

/* Extra Small Phones (< 380px) */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1rem;
    }

    .section-title-main {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .highlight-card {
        padding: var(--space-md);
    }
}

/* Smooth Scrolling for Mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    body {
        -webkit-tap-highlight-color: transparent;
    }

    /* Better tap states */
    .btn:active,
    .nav-link:active,
    .highlight-card:active,
    .event-card-modern:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Safe Area for Notched Phones */
@supports (padding-top: env(safe-area-inset-top)) {
    .navbar-modern {
        padding-top: env(safe-area-inset-top);
    }

    .premium-footer {
        padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
    }
}

/* ============================================================================
   MOBILE BOTTOM NAVIGATION BAR (Replaces Hamburger Menu)
   ============================================================================ */

/* Hide on desktop */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {

    /* Hide hamburger menu and top nav on mobile */
    .nav-hamburger {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-auth-container {
        display: none !important;
    }

    /* Show logo-only top navbar on mobile */
    .nav-content-horizontal {
        justify-content: center;
    }

    /* Show bottom nav */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-top: 1px solid var(--card-border);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 8px 4px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-secondary);
        font-size: 0.65rem;
        font-weight: 500;
        padding: 4px 8px;
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
        min-width: 56px;
    }

    .mobile-nav-item svg {
        margin-bottom: 2px;
        transition: all var(--transition-fast);
    }

    .mobile-nav-item:active {
        transform: scale(0.95);
        background: rgba(255, 140, 0, 0.1);
    }

    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: var(--primary);
    }

    .mobile-nav-item.active svg,
    .mobile-nav-item:hover svg {
        stroke: var(--primary);
    }

    /* CTA button in center (S'inscrire) */
    .mobile-nav-cta {
        background: var(--gradient-primary);
        color: white !important;
        padding: 10px 12px;
        border-radius: var(--radius-full);
        margin: -20px 4px 0 4px;
        box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
        min-width: auto;
    }

    .mobile-nav-cta svg {
        stroke: white;
    }

    .mobile-nav-cta span {
        color: white;
        font-weight: 600;
    }

    .mobile-nav-cta:active {
        transform: scale(0.95);
        background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    }

    /* Add padding to body so content doesn't hide behind bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* Move Google Translate widget above bottom nav */
    #google_translate_element {
        bottom: 80px !important;
    }
}

/* ============================================================================
   EVENTS HERO HEADER - DARK THEME
   ============================================================================ */
.events-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-3xl);
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.events-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
}

.events-hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl);
}

.events-hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.events-hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

/* ============================================================================
   CONTACT PAGE - DARK THEME
   ============================================================================ */
.contact-hero {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-smooth);
}

.contact-info-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 0, 0.1);
    border-radius: var(--radius-lg);
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.contact-info-content p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-socials h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.social-links-row {
    display: flex;
    gap: var(--space-sm);
}

.social-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    transition: all var(--transition-smooth);
}

.social-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(255, 140, 0, 0.05);
}

.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
}

.contact-form-header h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.contact-form-header p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.form-group-modern {
    margin-bottom: var(--space-lg);
}

.form-label-modern {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.modern-form .form-input {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

.modern-form .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.modern-form textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.btn-primary-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-base);
    font-family: var(--font-body);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-glow {
    box-shadow: var(--shadow-glow);
}

.text-muted {
    color: var(--text-muted);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-center {
    text-align: center;
}

.error {
    color: var(--danger);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
    display: block;
}

/* ============================================================================
   RESULTS PAGE - DARK THEME
   ============================================================================ */
.results-hero {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.results-search-container {
    margin-bottom: var(--space-3xl);
}

.search-box-modern {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-modern {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) 3rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-family: var(--font-body);
    outline: none;
    transition: all var(--transition-smooth);
}

.search-input-modern:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
}

.search-input-modern::placeholder {
    color: var(--text-muted);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.result-card-modern {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-smooth);
}

.result-card-modern:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.result-rank {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: var(--text-lg);
    border-radius: var(--radius-full);
}

.result-time {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-mono);
}

.result-name {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.result-meta {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.stat-box {
    background: var(--bg-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-box .stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.stat-box .stat-value {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================================================
   NEWS BAR - DARK THEME
   ============================================================================ */
.news-bar {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: var(--text-sm);
    overflow: hidden;
}

.news-bar-content {
    padding: var(--space-sm) var(--space-md);
    display: flex;
    gap: var(--space-2xl);
    white-space: nowrap;
}

.news-item {
    display: inline;
}

/* ============================================================================
   BADGE VALUE - DARK THEME
   ============================================================================ */
.badge-value {
    display: inline-block;
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    border: 1px solid rgba(255, 140, 0, 0.2);
}

/* ============================================================================
   NO EVENTS CONTAINER - DARK THEME
   ============================================================================ */
.no-events-container {
    text-align: center;
    padding: var(--space-3xl);
}

.no-events-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    max-width: 500px;
    margin: 0 auto;
}

.no-events-icon {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.no-events-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.no-events-text {
    color: var(--text-secondary);
}

/* ============================================================================
   CALENDAR PAGE - MONTH-GROUPED LAYOUT (Stitch Design)
   ============================================================================ */
.calendar-months-grid {
    max-width: 900px;
    margin: 0 auto;
}

/* Ramadan Notice */
.ramadan-notice {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.ramadan-notice-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.ramadan-notice-content h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: var(--space-xs);
}

.ramadan-notice-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Month Section */
.calendar-month-section {
    margin-bottom: var(--space-3xl);
}

.calendar-month-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--card-border);
}

.month-badge {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 800;
    text-transform: uppercase;
}

/* Calendar Events List */
.calendar-events-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.calendar-event-card {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
    transition: all var(--transition-smooth);
}

.calendar-event-card:hover {
    border-color: rgba(255, 140, 0, 0.3);
    transform: translateX(4px);
    box-shadow: var(--shadow-glow);
}

.calendar-event-card.featured {
    border-color: var(--primary);
    background: rgba(255, 140, 0, 0.04);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.08);
}

/* Event Date Badge */
.calendar-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    flex-shrink: 0;
}

.calendar-event-card.featured .calendar-event-date {
    background: var(--gradient-primary);
    border-color: transparent;
}

.event-day {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.calendar-event-card.featured .event-day {
    color: #ffffff;
}

.event-month-short {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.calendar-event-card.featured .event-month-short {
    color: rgba(10, 10, 10, 0.7);
}

/* Event Info */
.calendar-event-info {
    flex: 1;
    min-width: 0;
}

.calendar-event-info h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.event-edition {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.calendar-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.meta-item {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* Event Type Badges */
.calendar-event-type {
    display: inline-block;
    padding: 2px var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-trail {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.type-run {
    background: rgba(255, 140, 0, 0.15);
    color: #FF8C00;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.type-marathon {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.type-road {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Calendar Event Button */
.calendar-event-btn {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
    transition: all var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

.calendar-event-btn:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--primary);
}

.calendar-event-btn.btn-featured {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    font-weight: 700;
}

.calendar-event-btn.btn-featured:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .calendar-event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        padding: var(--space-lg);
    }

    .calendar-event-date {
        flex-direction: row;
        gap: var(--space-xs);
        min-width: auto;
        height: auto;
        padding: var(--space-xs) var(--space-md);
    }

    .calendar-event-btn {
        width: 100%;
        text-align: center;
    }

    .ramadan-notice {
        flex-direction: column;
        text-align: center;
    }

    .calendar-event-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }
}