/* ============================================================
   M2L — DESIGN SYSTEM "SPORT"
   Direction Artistique : Sombre / Néon / Dynamique
   ============================================================ */

/* --- Google Fonts (loaded via HTML <link>) ---
   Montserrat : Titres (ExtraBold Italic)
   Inter      : Corps de texte
   -------------------------------------------- */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Backgrounds */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-surface: #1a1a2e;
    --bg-surface-hover: #22223a;

    /* Accents */
    --accent-primary: #00ff88;
    --accent-secondary: #ff6b35;
    --accent-tertiary: #00b4d8;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-strong: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 255, 136, 0.3);

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --glow-green: 0 0 30px rgba(0, 255, 136, 0.15);
    --glow-orange: 0 0 30px rgba(255, 107, 53, 0.15);
    --glow-blue: 0 0 30px rgba(0, 180, 216, 0.15);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-tertiary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Content wrapper */
.content {
    flex: 1;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-style: italic;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-style: italic;
    text-transform: uppercase;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
}

/* Accent underline for section titles */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    border-radius: 2px;
}

/* ============================================================
   4. NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background var(--transition-base), box-shadow var(--transition-base),
                backdrop-filter var(--transition-base), padding var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    padding: 0.6rem 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .nav-logo {
    position: absolute;
    left: 2rem;
    height: 45px;
    width: auto;
    filter: brightness(1.2);
    transition: transform var(--transition-fast);
}

.navbar .nav-logo:hover {
    transform: scale(1.05);
}

.navbar .navigation {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar .navigation > li > a {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    position: relative;
    transition: color var(--transition-fast);
}

.navbar .navigation > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
    transition: transform var(--transition-base);
    transform-origin: center;
}

.navbar .navigation > li > a:hover {
    color: var(--accent-primary);
}

.navbar .navigation > li > a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown */
.navbar .navigation .dropdown {
    position: relative;
}

.navbar .navigation .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.navbar .navigation .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}

.navbar .navigation .dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.navbar .navigation .dropdown-menu li a:hover {
    color: var(--accent-primary);
    background: rgba(0, 255, 136, 0.05);
    padding-left: 1.5rem;
}

/* Hamburger (mobile) */
.hamburger {
    display: none;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* ============================================================
   5. HERO SECTION (index.html)
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('building_sports.png') no-repeat center center / cover;
    filter: brightness(0.3) saturate(0.8);
    z-index: 0;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.6) 60%,
        var(--bg-primary) 100%
    );
    z-index: 1;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Diagonal accent line */
.hero-accent-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    margin: 0 auto 2rem;
    border-radius: 2px;
    transform: skewX(-20deg);
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* ============================================================
   6. BUTTONS & CTA
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #00cc6a);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
    color: var(--bg-primary);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 255, 136, 0.05);
    transform: translateY(-3px);
}

/* Shine sweep effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    transition: none;
}

.btn-primary:hover::after {
    animation: shineSweep 0.6s ease-in-out;
}

@keyframes shineSweep {
    from { left: -75%; }
    to   { left: 125%; }
}

/* Pulse animation for idle CTA */
.btn-pulse {
    animation: fadeInUp 1s ease-out 0.9s both;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3); }
    50%      { box-shadow: 0 4px 40px rgba(0, 255, 136, 0.6); }
}

/* ============================================================
   7. PAGE HEADER (secondary pages)
   ============================================================ */
.page-header {
    position: relative;
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--bg-secondary) 0%,
        var(--bg-surface) 100%
    );
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-primary);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-header p {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Diagonal skew decoration */
.page-header .skew-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-primary);
    transform: skewY(-2deg);
    transform-origin: bottom left;
}

/* ============================================================
   8. SECTIONS & CONTENT
   ============================================================ */
main {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

section.about {
    margin-bottom: 5rem;
}

section.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

section.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ============================================================
   9. SPORT CARDS GRID (index.html)
   ============================================================ */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sport-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-base);
    overflow: hidden;
}

.sport-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: left;
}

.sport-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-strong);
    box-shadow: var(--glow-green);
}

.sport-card:hover::before {
    transform: scaleX(1);
}

.sport-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: block;
}

.sport-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.sport-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sport-card .card-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-fast);
}

.sport-card .card-link:hover {
    color: var(--accent-secondary);
    transform: translateX(4px);
}

.sport-card .card-link::after {
    content: ' →';
}

/* ============================================================
   10. STATS / KEY NUMBERS
   ============================================================ */
.stats-section {
    margin: 5rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.stat-item:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--glow-green);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ============================================================
   11. TABLES (secondary pages)
   ============================================================ */
.table-container {
    margin: 0 auto 2rem;
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 1rem 1.5rem;
    text-align: left;
}

table thead th {
    background: var(--bg-surface);
    color: var(--accent-primary);
    text-transform: uppercase;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--accent-primary);
    white-space: nowrap;
}

table tbody td {
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all var(--transition-fast);
}

table tbody tr {
    transition: all var(--transition-fast);
}

table tbody tr:hover {
    background: rgba(0, 255, 136, 0.03);
}

table tbody tr:hover td {
    color: var(--text-primary);
}

table tbody tr:last-child td {
    border-bottom: none;
}

.emoji {
    font-size: 1.4rem;
    margin-right: 0.8rem;
    vertical-align: middle;
}

/* ============================================================
   12. PROFILE CARD (directeur.html)
   ============================================================ */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 700px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
}

.profile:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--glow-green);
    transform: translateY(-4px);
}

.profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    object-fit: cover;
}

.profile h2 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.profile p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.profile .contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.profile .contact p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.profile .contact a {
    color: var(--accent-tertiary);
    font-weight: 600;
}

.profile .contact a:hover {
    color: var(--accent-primary);
}

/* ============================================================
   13. FOOTER
   ============================================================ */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

/* ============================================================
   14. COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 420px;
    max-width: calc(100vw - 3rem);
    z-index: 2000;
    display: none;
    box-shadow: var(--shadow-lg);
}

.cookie-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cookie-logo {
    width: auto;
    height: 80px;
    filter: brightness(1.2);
}

.cookie-banner h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 700;
}

.gestion-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.cookies-text {
    font-size: 1.6rem;
    font-weight: 800;
    font-style: italic;
    color: var(--accent-primary);
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.8rem 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.choice-btn-cookie {
    flex: 1;
    padding: 0.7rem 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

#decline-btn {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

#decline-btn:hover {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
    border-color: var(--accent-secondary);
}

#accept-btn {
    background: linear-gradient(135deg, var(--accent-primary), #00cc6a);
    color: var(--bg-primary);
}

#accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.choice-btn-cookie:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* ============================================================
   15. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Slide in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   16. UTILITY ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

/* ============================================================
   17. RESPONSIVE — MOBILE FIRST
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .navbar .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        transition: right var(--transition-base);
        border-left: 1px solid var(--glass-border);
    }

    .navbar .navigation.active {
        right: 0;
    }

    .navbar .navigation > li > a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        width: 100%;
        display: block;
    }

    .navbar .navigation > li > a::after {
        display: none;
    }

    .navbar .navigation .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0.3rem;
        min-width: 100%;
        border-radius: var(--radius-sm);
    }

    .navbar .navigation .dropdown:hover .dropdown-menu {
        opacity: 1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .page-header {
        padding: 8rem 1.5rem 3rem;
    }

    main {
        padding: 2rem 1.5rem;
    }

    .sports-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cookie-banner {
        right: 1rem;
        bottom: 1rem;
        width: calc(100vw - 2rem);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-content .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }

    table th,
    table td {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}
