/* Arboria Font Faces */
@font-face {
    font-family: 'Arboria';
    font-style: normal;
    font-weight: 100;
    src: url('./fonts/Arboria-Thin.woff2') format('woff2'),
         url('./fonts/Arboria-Thin.woff') format('woff');
}

@font-face {
    font-family: 'Arboria';
    font-style: normal;
    font-weight: 300;
    src: url('./fonts/Arboria-Light.woff2') format('woff2'),
         url('./fonts/Arboria-Light.woff') format('woff');
}

@font-face {
    font-family: 'Arboria';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/Arboria-Book.woff2') format('woff2'),
         url('./fonts/Arboria-Book.woff') format('woff');
}

@font-face {
    font-family: 'Arboria';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/Arboria-Medium.woff2') format('woff2'),
         url('./fonts/Arboria-Medium.woff') format('woff');
}

@font-face {
    font-family: 'Arboria';
    font-style: normal;
    font-weight: 900;
    src: url('./fonts/Arboria-Black.woff2') format('woff2'),
         url('./fonts/Arboria-Black.woff') format('woff');
}

/* CSS Variables */
:root {
    /* Colors - Hackathon.dev inspired */
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Dodje Brand Colors */
    --primary-text: #0A0400;
    --secondary-green: #06D001;
    --accent-light-green: #9BEC00;
    --accent-brown: #7C6354;
    --accent-yellow: #F3FF90;
    
    /* Modern palette */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-muted: rgba(255, 255, 255, 0.2);
    
    /* Typography - Ultra modern */
    --font-family: 'Arboria', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --font-size-7xl: 4.5rem;
    --font-size-8xl: 6rem;
    --font-size-9xl: 8rem;
    
    --line-height-none: 1;
    --line-height-tight: 1.15;
    --line-height-snug: 1.25;
    --line-height-normal: 1.35;
    --line-height-relaxed: 1.45;
    --line-height-loose: 1.75;
    
    --letter-spacing-tighter: -0.05em;
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0em;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
    
    /* Spacing - Consistent system */
    --space-px: 1px;
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --space-40: 10rem;
    --space-48: 12rem;
    --space-56: 14rem;
    --space-64: 16rem;
    
    /* Borders & Radius */
    --radius-none: 0;
    --radius-sm: 0.125rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows - Subtle and modern */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-green: 0 0 0 1px var(--secondary-green);
    --shadow-green-glow: 0 0 20px rgba(6, 208, 1, 0.3);
    
    /* Transitions */
    --transition-none: none;
    --transition-all: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), text-decoration-color 150ms cubic-bezier(0.4, 0, 0.2, 1), fill 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-colors: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-opacity: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-shadow: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: var(--border-subtle);
}

* {
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.35;
    -webkit-text-size-adjust: 100%;
    font-family: var(--font-family);
    font-feature-settings: normal;
    font-variation-settings: normal;
    scroll-behavior: smooth;
}

body {
    font-family: inherit;
    line-height: inherit;
    background-color: var(--bg-primary);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Vidéo d'arrière-plan - Suit le scroll en arrière-plan */
#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 1;
    filter: brightness(1.8);
    pointer-events: none;
    /* Empêcher l'interaction sur mobile */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Forcer le mode inline sur iOS */
    -webkit-playsinline: true;
    /* Empêcher le zoom sur mobile */
    touch-action: none;
    /* S'assurer que la vidéo reste en arrière-plan */
    background-attachment: fixed;
}

/* Sections avec fond noir - Laissent voir la vidéo en arrière-plan */
.hero,
.pillars,
.about,
.features,
.community,
.footer {
    position: relative;
    z-index: 0;
}

/* Section avec overlay pour améliorer la lisibilité sur la vidéo */
.hero::before,
.pillars::before,
.about::before,
.features::before,
.community::before,
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

/* Sections avec fond coloré - Passent par-dessus la vidéo */
.countdown {
    position: relative;
    z-index: 1;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

/* Navigation minimale en haut de page */
.navbar-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.navbar-minimal.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
}

.nav-minimal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.nav-logo-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-centered .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation complète lors du scroll */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    width: 100%;
}

.navbar.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 0;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo h2 {
    font-size: var(--font-size-xl);
    font-weight: 900;
    color: var(--white);
    letter-spacing: var(--letter-spacing-tight);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-colors);
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--secondary-green);
    transform: scaleX(0);
    transition: var(--transition-transform);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* CTA Button - Pill style comme l'image */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: var(--line-height-none);
    color: var(--white) !important;
    background: linear-gradient(135deg, #9BEC00, #06D001);
    border: none;
    border-radius: var(--radius-full);
    padding: var(--space-4) var(--space-8);
    text-decoration: none;
    transition: var(--transition-all);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(155, 236, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(155, 236, 0, 0.4), 0 0 0 3px rgba(155, 236, 0, 0.2);
    background: linear-gradient(135deg, #B8FF20, #08E003);
    color: var(--white) !important;
}

/* Hero Section - Hackathon.dev inspired */
.hero {
    display: flex;
    align-items: center;
    padding: var(--space-32) 0 var(--space-16) 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6) 0 var(--space-16);
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: var(--letter-spacing-tighter);
    color: var(--white);
    margin-bottom: var(--space-6);
    text-align: center;
}

.highlight {
    color: var(--secondary-green);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-light-green));
    border-radius: var(--radius-sm);
    opacity: 0.7;
}

/* Mots spéciaux dans le titre - soulignement abstrait vert */
.animate-gratuit,
.animate-simplement,
.animate-fun {
    color: var(--white);
    display: inline-block;
    position: relative;
}

/* Soulignement abstrait ondulé pour "gratuite" */
.animate-gratuit::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    border-radius: 50% 20% 80% 30%;
    opacity: 0.8;
    transform: rotate(-1deg);
}

/* Soulignement abstrait ondulé irrégulier pour "simplement" */
.animate-simplement::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    clip-path: polygon(0% 50%, 20% 20%, 40% 80%, 60% 30%, 80% 70%, 100% 40%, 100% 100%, 0% 100%);
    opacity: 0.8;
    transform: rotate(0.5deg);
}

/* Soulignement abstrait organique pour "fun" */
.animate-fun::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    border-radius: 20% 80% 30% 70%;
    opacity: 0.8;
    transform: rotate(1deg) scaleX(1.1);
}

/* Entourage abstrait pour "révolution" */
.animate-revolution {
    position: relative;
    display: inline-block;
    padding: var(--space-2) var(--space-4);
}

.animate-revolution::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -16px;
    right: -16px;
    bottom: -10px;
    border: 4px solid var(--secondary-green);
    border-radius: 65% 35% 80% 20% / 30% 60% 40% 70%;
    opacity: 0.9;
    transform: rotate(-0.8deg);
    z-index: -1;
    box-shadow: 0 0 20px rgba(6, 208, 1, 0.3);
}

/* Styles pour les mots spéciaux dans les piliers */
.animate-progressif {
    color: var(--white);
    display: inline-block;
    position: relative;
}

/* Soulignement abstrait pour "progressif" */
.animate-progressif::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    border-radius: 40% 60% 70% 30%;
    opacity: 0.8;
    transform: rotate(-0.5deg);
}

.animate-revolutionnaire {
    color: var(--white);
    display: inline-block;
    position: relative;
}

/* Soulignement abstrait pour "révolutionnaire" */
.animate-revolutionnaire::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    clip-path: polygon(0% 60%, 15% 30%, 35% 70%, 50% 20%, 70% 80%, 85% 40%, 100% 60%, 100% 100%, 0% 100%);
    opacity: 0.8;
    transform: rotate(0.3deg);
}

/* Entourage abstrait pour "gratuit simple fun" */
.animate-gratuit-simple-fun {
    position: relative;
    display: inline-block;
    padding: var(--space-2) var(--space-4);
}

.animate-gratuit-simple-fun::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -12px;
    right: -12px;
    bottom: -6px;
    border: 3px solid var(--secondary-green);
    border-radius: 60% 40% 75% 25% / 35% 55% 45% 65%;
    opacity: 0.9;
    transform: rotate(-0.5deg);
    z-index: -1;
    box-shadow: 0 0 15px rgba(6, 208, 1, 0.2);
}

/* Styles pour les mots spéciaux dans les features */
.animate-personnalises {
    color: var(--white);
    display: inline-block;
    position: relative;
}

/* Soulignement abstrait pour "personnalisés" */
.animate-personnalises::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    border-radius: 30% 70% 50% 50%;
    opacity: 0.8;
    transform: rotate(0.8deg);
}

.animate-dynamiques {
    color: var(--white);
    display: inline-block;
    position: relative;
}

/* Soulignement abstrait pour "dynamiques" */
.animate-dynamiques::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    clip-path: polygon(0% 40%, 25% 80%, 45% 20%, 70% 60%, 90% 30%, 100% 70%, 100% 100%, 0% 100%);
    opacity: 0.8;
    transform: rotate(-0.3deg);
}

.animate-ludique {
    color: var(--white);
    display: inline-block;
    position: relative;
}

/* Soulignement abstrait pour "ludique" */
.animate-ludique::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    border-radius: 80% 20% 60% 40%;
    opacity: 0.8;
    transform: rotate(0.6deg) scaleY(1.2);
}

.animate-complete {
    color: var(--white);
    display: inline-block;
    position: relative;
    padding: var(--space-2) var(--space-3);
}

/* Entourage abstrait pour "complète" */
.animate-complete::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -8px;
    right: -8px;
    bottom: -4px;
    border: 2px solid var(--secondary-green);
    border-radius: 50% 50% 80% 20% / 40% 60% 40% 60%;
    opacity: 0.9;
    transform: rotate(0.4deg);
    z-index: -1;
    box-shadow: 0 0 12px rgba(6, 208, 1, 0.15);
}

/* Styles pour "jeune gland" */
.animate-jeune-gland {
    color: var(--white);
    display: inline-block;
    position: relative;
}

/* Soulignement abstrait ondulé pour "jeune gland" */
.animate-jeune-gland::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    border-radius: 25% 75% 50% 50% / 60% 40% 60% 40%;
    opacity: 0.8;
    transform: rotate(-0.8deg) scaleX(1.05);
}

/* Styles pour "Le réveil du gland" */
.animate-reveil-gland {
    color: var(--black);
    display: inline-block;
    position: relative;
}

/* Soulignement abstrait pour "Le réveil du gland" */
.animate-reveil-gland::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    clip-path: polygon(0% 50%, 20% 10%, 40% 90%, 60% 20%, 80% 80%, 100% 30%, 100% 100%, 0% 100%);
    opacity: 0.8;
    transform: rotate(0.5deg);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 300;
    line-height: var(--line-height-relaxed);
    color: var(--gray-300);
    margin-bottom: var(--space-10);
    max-width: 540px;
}

.hero-cta {
    font-size: var(--font-size-lg);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-xl);
    min-width: 240px;
}

/* Phone Mockup - Clean design */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--gray-900);
    border: 8px solid var(--gray-800);
    border-radius: var(--radius-3xl);
    position: relative;
    transform: rotate(-2deg);
    transition: var(--transition-transform);
    box-shadow: var(--shadow-2xl);
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: calc(var(--radius-3xl) - 8px);
    overflow: hidden;
    position: relative;
}

.salut-gif {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-2xl);
}

.parcours-gif {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
}

.methode-gif {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
}

.epopee-gif {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
}

.fun-gif {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
}

.rewards-gif {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
}

.app-preview {
    padding: 0;
    background-image: url('../assets/imageapp/B1B03881-6C26-4381-8854-9D3F16BCC970_1_102_o.jpeg');
    background-size: cover;
    background-position: center -34px;
    background-repeat: no-repeat;
    height: 100%;
    position: relative;
    border-radius: calc(var(--radius-3xl) - 8px);
}

/* App Preview Content - Hidden pour utiliser l'image */
.app-preview::before,
.app-preview::after {
    display: none;
}

.progress-bar,
.learning-path {
    display: none;
}

/* Section Styles */
.section-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tighter);
    text-align: center;
    color: var(--white);
    margin-bottom: var(--space-16);
    position: relative;
}

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

/* About Section */
.about {
    padding: var(--space-4) 0 var(--space-32) 0;
}

.video-container {
    display: flex;
    justify-content: center;
    margin-top: var(--space-8);
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    height: 450px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: var(--font-size-lg);
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}

.video-placeholder:hover {
    border-color: var(--border-muted);
    transform: scale(1.01);
}

.video-placeholder i {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--space-4);
    color: var(--secondary-green);
}

/* About Video Styles - Contrôles natifs uniquement */
.about-video {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: var(--radius-2xl);
    background: var(--bg-card);
    transition: var(--transition-all);
    border: 1px solid var(--border-subtle);
}

.about-video:hover {
    transform: scale(1.01);
    border-color: var(--border-muted);
    box-shadow: var(--shadow-lg);
}

/* Pillars Section - Duolingo Style */
.pillars {
    padding: var(--space-16) 0 var(--space-48) 0;
}

.pillar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pillar-row:not(:last-child) {
    margin-bottom: var(--space-32);
}

.pillar-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.pillar-row.reverse .pillar-content {
    order: 2;
}

.pillar-row.reverse .pillar-visual {
    order: 1;
}

.pillar-content {
    padding: var(--space-8);
}

.pillar-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-6);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--white);
}

.pillar-title .highlight-green {
    color: var(--secondary-green);
}

.pillar-title .highlight-yellow {
    color: var(--secondary-green);
}

.pillar-description {
    font-size: var(--font-size-xl);
    color: var(--gray-300);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-6);
}

.pillar-quote {
    font-size: var(--font-size-lg);
    color: var(--accent-yellow);
    font-style: italic;
    font-weight: 500;
    border-left: 3px solid var(--accent-yellow);
    padding-left: var(--space-4);
    margin-top: var(--space-6);
}

.pillar-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-8);
}

/* Illustrations */
.growth-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    position: relative;
}

.seed {
    font-size: var(--font-size-5xl);
    animation: bounce 2s ease-in-out infinite;
}

.growth-line {
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, var(--secondary-green), var(--accent-light-green));
    border-radius: var(--radius-full);
    animation: growUp 3s ease-out infinite;
}

.tree {
    font-size: var(--font-size-5xl);
    animation: sway 4s ease-in-out infinite;
}

@keyframes growUp {
    0% { height: 0; }
    50% { height: 80px; }
    100% { height: 80px; }
}

@keyframes sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.accessibility-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.barrier.crossed {
    font-size: var(--font-size-4xl);
    opacity: 0.3;
    animation: fadeOut 2s ease-in-out infinite;
}

.people-group {
    display: flex;
    gap: var(--space-4);
}

.person {
    font-size: var(--font-size-4xl);
    animation: celebrate 2s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.3s);
}

.person:nth-child(1) { --i: 0; }
.person:nth-child(2) { --i: 1; }
.person:nth-child(3) { --i: 2; }

@keyframes celebrate {
    0%, 70%, 100% { transform: scale(1); }
    35% { transform: scale(1.1); }
}

.fun-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.game-elements {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.trophy, .star, .fire {
    font-size: var(--font-size-4xl);
    animation: float 2s ease-in-out infinite;
}

.trophy { animation-delay: 0s; }
.star { animation-delay: 0.5s; }
.fire { animation-delay: 1s; }

.happy-face {
    font-size: var(--font-size-5xl);
    animation: smile 3s ease-in-out infinite;
}

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

@keyframes smile {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fadeOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Features Section - Duolingo Style */
.features {
    padding: var(--space-16) 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row:not(:last-child) {
    margin-bottom: var(--space-32);
}

.feature-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-row.reverse .feature-content {
    order: 2;
}

.feature-row.reverse .feature-visual {
    order: 1;
}

.feature-content {
    padding: var(--space-8);
}

.feature-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-6);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--white);
}

.feature-title .highlight-green {
    color: var(--white);
}

.feature-title .highlight-yellow {
    color: var(--white);
}

.feature-description {
    font-size: var(--font-size-xl);
    color: var(--gray-300);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-6);
}

.feature-highlight {
    font-size: var(--font-size-base);
    color: var(--secondary-green);
    font-style: italic;
    font-weight: 500;
    border-left: 3px solid var(--secondary-green);
    padding-left: var(--space-4);
    margin-top: var(--space-4);
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-8);
}

/* Feature Illustrations */
.level-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
}

.level-gif {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-transform);
}

.level-gif:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.video-illustration {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

/* Vidéo feature pour la section des vidéos dynamiques */
.feature-video {
    width: 400px;
    height: 280px;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-transform);
}

/* Style spécifique pour Bourse monstre.gif - préserve le ratio original */
.bourse-monstre-gif {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    object-fit: contain;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-transform);
}

.feature-video:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.bourse-monstre-gif:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.play-button {
    font-size: var(--font-size-6xl);
    animation: pulse 2s ease-in-out infinite;
}

.video-effects {
    display: flex;
    gap: var(--space-2);
}

.sparkle {
    font-size: var(--font-size-2xl);
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle:nth-child(1) { animation-delay: 0s; }
.sparkle:nth-child(2) { animation-delay: 0.5s; }
.sparkle:nth-child(3) { animation-delay: 1s; }

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.game-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.controller {
    font-size: var(--font-size-5xl);
    animation: gameController 2s ease-in-out infinite;
}

.rewards {
    display: flex;
    gap: var(--space-4);
}

.coin, .badge, .crown {
    font-size: var(--font-size-3xl);
    animation: rewardFloat 2s ease-in-out infinite;
}

.coin { animation-delay: 0s; }
.badge { animation-delay: 0.3s; }
.crown { animation-delay: 0.6s; }

@keyframes gameController {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes rewardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

.lab-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    position: relative;
}

.flask {
    font-size: var(--font-size-5xl);
    animation: labExperiment 3s ease-in-out infinite;
}

.experiment-bubbles {
    display: flex;
    gap: var(--space-2);
}

.bubble {
    font-size: var(--font-size-2xl);
    animation: bubbleUp 2s ease-in-out infinite;
}

.bubble:nth-child(1) { animation-delay: 0s; }
.bubble:nth-child(2) { animation-delay: 0.7s; }
.bubble:nth-child(3) { animation-delay: 1.4s; }

@keyframes labExperiment {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes bubbleUp {
    0% { opacity: 0; transform: translateY(20px) scale(0.5); }
    50% { opacity: 1; transform: translateY(-10px) scale(1); }
    100% { opacity: 0; transform: translateY(-30px) scale(0.5); }
}

/* Community Section */
.community {
    padding: var(--space-24) 0;
}

.community-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-8);
    min-height: 400px;
    gap: var(--space-16);
}

.community-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    max-width: 50%;
}

.community-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    max-width: 50%;
    gap: var(--space-8);
}

.revolution-video {
    width: 700px;
    height: 490px;
    border-radius: var(--radius-2xl);
    object-fit: contain;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-transform);
}

.revolution-video:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.community-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--gray-300);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-all);
}

.benefit:hover {
    border-color: var(--border-muted);
    transform: translateX(4px);
}

.benefit i {
    font-size: var(--font-size-2xl);
    color: var(--secondary-green);
    min-width: var(--space-8);
}

.signup-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    position: relative;
}

.signup-form h3 {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-6);
    text-align: center;
}

.signup-form form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.signup-form input {
    padding: var(--space-4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    color: var(--white);
    font-size: var(--font-size-base);
    transition: var(--transition-all);
}

.signup-form input:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: var(--shadow-green);
}

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

.signup-form .cta-button {
    width: 100%;
    padding: var(--space-4);
    justify-content: center;
}

.community-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin: 0;
    text-align: center;
}

.community-cta {
    font-size: var(--font-size-lg);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-xl);
    min-width: 240px;
}



/* Countdown Section */
.countdown {
    padding: var(--space-16) 0;
    background: var(--accent-brown);
    text-align: center;
}

.countdown-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tighter);
    color: var(--accent-yellow);
    margin-bottom: var(--space-4);
}

.countdown-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 300;
    color: var(--gray-300);
    margin-bottom: var(--space-12);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.time-unit {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    min-width: 120px;
    transition: var(--transition-all);
}

.time-unit:hover {
    transform: translateY(-4px);
    border-color: var(--border-muted);
    box-shadow: var(--shadow-lg);
}

.time-value {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-2);
}

.time-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-widest);
}

/* Footer */
.footer {
    padding: var(--space-16) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-section h3,
.footer-section h4 {
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-section h3 {
    font-size: var(--font-size-xl);
    font-weight: 900;
    color: var(--secondary-green);
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-4);
}

.footer-section p {
    color: var(--gray-300);
    font-weight: 300;
    line-height: var(--line-height-relaxed);
}

.social-links {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--secondary-green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition-all);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-2);
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 300;
    transition: var(--transition-colors);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    color: var(--gray-400);
    font-weight: 300;
}



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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* Selection */
::selection {
    background: rgba(6, 208, 1, 0.3);
    color: var(--white);
}

/* Focus styles */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--secondary-green);
    outline-offset: 2px;
}

/* Performance optimizations */
.pillar-card,
.feature-card,
.phone-mockup,
.cta-button {
    will-change: transform;
}

/* Print styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
    }
    
    * {
        box-shadow: none !important;
    }
} 

/* ==================== MODAL STYLES ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: var(--space-4);
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--space-6);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
}

.modal-header h2 {
    color: var(--white);
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin: 0;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
}

.close-modal {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: var(--font-size-3xl);
    cursor: pointer;
    padding: var(--space-2);
    line-height: 1;
    transition: color 0.2s ease;
}

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

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

.modal-body p {
    color: var(--gray-300);
    font-size: var(--font-size-lg);
    font-weight: 300;
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--space-6) 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group input[type="email"],
.form-group input[type="text"] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--space-3);
    padding: var(--space-5);
    font-size: var(--font-size-lg);
    font-weight: 400;
    font-family: var(--font-family);
    color: var(--white);
    transition: all 0.2s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 3px rgba(6, 208, 1, 0.1);
}

.form-group input[type="email"]::placeholder,
.form-group input[type="text"]::placeholder {
    color: var(--gray-500);
    font-weight: 300;
}

.submit-email {
    background: var(--secondary-green);
    color: var(--black);
    border: none;
    border-radius: var(--space-3);
    padding: var(--space-5) var(--space-8);
    font-size: var(--font-size-lg);
    font-weight: 900;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.submit-email:hover:not(:disabled) {
    background: var(--accent-light-green);
    transform: translateY(-1px);
}

.submit-email:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    text-align: center;
    padding: var(--space-4);
    background: rgba(6, 208, 1, 0.1);
    border: 1px solid var(--secondary-green);
    border-radius: var(--space-3);
    color: var(--white);
}

.success-message i {
    color: var(--secondary-green);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-2);
}

.success-message p {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 500;
    line-height: var(--line-height-normal);
}

.founder-code-display {
    margin-top: var(--space-4);
    padding: var(--space-4);
    background: rgba(155, 236, 0, 0.1);
    border: 1px solid var(--accent-light-green);
    border-radius: var(--space-2);
}

.founder-code-display h4 {
    margin: 0 0 var(--space-2) 0;
    color: var(--accent-light-green);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.code-value {
    background: #7C6354;
    border: none;
    border-radius: var(--space-2);
    padding: var(--space-3);
    font-family: 'Courier New', monospace;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: var(--space-3);
    letter-spacing: var(--letter-spacing-wide);
}

.code-info {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    text-align: center;
    font-style: italic;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .modal-overlay {
        padding: var(--space-4);
    }
    
    .modal-content {
        max-width: 100%;
        margin: 0;
    }
    
    .modal-header,
    .modal-body {
        padding: var(--space-4);
    }
    
    .modal-header h2 {
        font-size: var(--font-size-3xl);
    }
    
    .form-group {
        gap: var(--space-3);
    }
}

/* ==================== DASHBOARD STYLES ==================== */
.dashboard-body {
    min-height: 100vh;
    background: var(--bg-primary);
}

.dashboard-main {
    padding: var(--space-20) 0 var(--space-8);
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 2;
}

/* Dashboard navigation mobile fixes */
@media (max-width: 1024px) {
    .dashboard-body .mobile-menu-toggle {
        display: block;
        z-index: 51;
    }
    
    .dashboard-body .nav-menu {
        display: none;
    }
    
    .dashboard-body .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .dashboard-body .navbar.visible {
        transform: translateY(0) !important;
        top: 0 !important;
    }
    
    .dashboard-body .navbar-minimal {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
}

.dashboard-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-12);
    padding: var(--space-6);
    position: relative;
}

/* .dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(6, 208, 1, 0.05), transparent);
    pointer-events: none;
} */

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    gap: var(--space-6);
}

.dashboard-header h1 {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
}

.dashboard-subtitle {
    font-size: var(--font-size-2xl);
    font-weight: 300;
    color: var(--gray-300);
    margin: 0;
    line-height: var(--line-height-relaxed);
}

.header-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    position: relative;
    z-index: 2;
}

.countdown-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-300);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.countdown-label i {
    color: var(--secondary-green);
    font-size: var(--font-size-base);
}

.countdown-timer-inline {
    display: flex;
    gap: var(--space-6);
    align-items: center;
}

.time-unit-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--space-3);
    padding: var(--space-4) var(--space-5);
    min-width: 90px;
    transition: all 0.3s ease;
}

.time-unit-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 208, 1, 0.2);
}

.time-value-inline {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--secondary-green);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.time-label-inline {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    font-weight: 500;
}

/* Compteur de préinscriptions - Style équivalent au code fondateur */
.preregistration-counter-compact {
    margin-bottom: var(--space-6);
    display: flex;
    justify-content: center;
}

.counter-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 50px;
    padding: var(--space-4) var(--space-6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: bounce-hint 2s infinite;
}

.counter-row:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: var(--gray-50);
}

.counter-row:active {
    transform: translateY(0px) scale(1.01);
}

.counter-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.counter-number {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: #000000;
    line-height: 1;
    transition: all 0.3s ease;
}

.counter-label {
    font-size: var(--font-size-lg);
    color: #000000;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Animation de rebond pour indiquer que le compteur est cliquable */
@keyframes bounce-hint {
    0%, 90%, 100% {
        transform: translateY(0);
    }
    5% {
        transform: translateY(-8px);
    }
    10% {
        transform: translateY(0);
    }
    15% {
        transform: translateY(-4px);
    }
    20% {
        transform: translateY(0);
    }
}



.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--space-4);
    padding: var(--space-6);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.card-header i {
    font-size: var(--font-size-xl);
    color: var(--secondary-green);
}

.card-header h2 {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--white);
    margin: 0;
}

.card-content {
    color: var(--gray-300);
}

/* Carte Code Fondateur */
.founder-card .founder-code-display {
    margin-bottom: var(--space-4);
}

.founder-card .code-value {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-4);
}

.copy-button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.copy-button:hover {
    background: var(--secondary-green);
    color: var(--black);
}

.code-description {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    text-align: center;
    font-style: italic;
}

/* Carte Statistiques */
.stat-item {
    text-align: center;
    margin-bottom: var(--space-6);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--secondary-green);
    margin-bottom: var(--space-2);
}

.count-number {
    display: inline-block;
    animation: countUp 0.5s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.stat-label {
    font-size: var(--font-size-base);
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.stat-progress {
    margin-top: var(--space-4);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--space-3);
}

.progress-fill {
    height: 100%;
    background: var(--secondary-green);
    border-radius: 4px;
    transition: width 1s ease-out;
    width: 0%;
}

.progress-text {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    text-align: center;
}

/* Carte Informations */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--white);
    font-weight: 500;
}

.status-badge {
    background: var(--secondary-green);
    color: var(--black);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
}

#user-founder-code-popup {
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--secondary-green);
    font-size: var(--font-size-sm);
    letter-spacing: var(--letter-spacing-wide);
}



/* Message de redirection */
.redirect-info {
    margin-top: var(--space-4);
    padding: var(--space-3);
    background: rgba(6, 208, 1, 0.1);
    border: 1px solid var(--secondary-green);
    border-radius: var(--space-2);
    text-align: center;
}

.redirect-info p {
    margin: 0;
    color: var(--secondary-green);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.redirect-info i {
    margin-right: var(--space-2);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(-3px); }
    60% { transform: translateX(3px); }
}

/* ==================== MODAL TABS STYLES ==================== */
.modal-tabs {
    display: flex;
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
}

.tab-button {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: var(--font-size-lg);
    font-weight: 500;
    font-family: var(--font-family);
    padding: var(--space-4) var(--space-6);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    flex: 1;
    letter-spacing: var(--letter-spacing-wide);
}

.tab-button:hover {
    color: var(--white);
}

.tab-button.active {
    color: var(--secondary-green);
    border-bottom-color: var(--secondary-green);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.submit-login {
    background: var(--secondary-green);
    color: var(--black);
    border: none;
    border-radius: var(--space-3);
    padding: var(--space-5) var(--space-8);
    font-size: var(--font-size-lg);
    font-weight: 900;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.submit-login:hover:not(:disabled) {
    background: var(--accent-light-green);
    transform: translateY(-1px);
}

.submit-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.founder-code-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: rgba(155, 236, 0, 0.1);
    border: 1px solid var(--accent-light-green);
    border-radius: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--gray-300);
}

.founder-code-info i {
    color: var(--accent-light-green);
    font-size: var(--font-size-xs);
}

.founder-code-info span {
    font-size: var(--font-size-xs);
    line-height: 1.2;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-4);
        text-align: center;
    }
    
    .header-content {
        text-align: center;
        gap: var(--space-4);
    }
    
    .dashboard-header h1 {
        font-size: var(--font-size-5xl);
    }
    
    .dashboard-subtitle {
        font-size: var(--font-size-xl);
    }
    
    .countdown-timer-inline {
        gap: var(--space-4);
    }
    
    .time-unit-inline {
        min-width: 70px;
        padding: var(--space-3) var(--space-4);
    }
    
    /* Compteur de préinscriptions responsive */
    .preregistration-counter-compact {
        margin-bottom: var(--space-4);
    }
    
    .counter-row {
        flex-direction: column;
        gap: var(--space-3);
        align-items: center;
        padding: var(--space-3) var(--space-5);
        border-radius: 30px;
    }
    
    .counter-row:hover {
        transform: translateY(-1px);
    }
    
    .counter-info {
        flex-direction: column;
        text-align: center;
        gap: var(--space-1);
        align-items: center;
    }
    
    .counter-number {
        font-size: var(--font-size-2xl);
    }
    
    .counter-label {
        font-size: var(--font-size-sm);
    }
    
    .time-value-inline {
        font-size: var(--font-size-2xl);
    }
    
    .countdown-label {
        font-size: var(--font-size-xs);
    }
    
    .dashboard-main {
        padding: var(--space-16) 0 var(--space-8);
    }
    
    .dashboard-card {
        padding: var(--space-4);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
    }
}

/* ==================== BATTLE PASS STYLES ==================== */
.battle-pass-section {
    padding: var(--space-16) 0;
    margin: var(--space-16) 0;
    position: relative;
    background: var(--white);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.battle-pass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/ALPHAFichier_28.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

.battle-pass-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
    position: relative;
    z-index: 2;
}

    .battle-pass-right-column {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

.battle-pass-content {
    padding: var(--space-8);
}

.battle-pass-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-6);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--black);
}

.battle-pass-description {
    font-size: var(--font-size-xl);
    color: var(--gray-700);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-6);
    font-weight: 300;
}

.battle-pass-quote {
    font-size: var(--font-size-lg);
    color: var(--secondary-green);
    font-style: italic;
    font-weight: 500;
    border-left: 3px solid var(--secondary-green);
    padding-left: var(--space-4);
    margin-bottom: var(--space-6);
}

.advancement-score {
    display: block;
    text-align: center;
    margin: var(--space-4) auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--black);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.advancement-score span {
    color: var(--black);
    font-weight: 900;
    font-size: var(--font-size-lg);
}

.founder-code-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-8);
}

.founder-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 320px;
}

.founder-code-title {
    font-size: var(--font-size-xl);
    color: var(--black);
    font-weight: 900;
    margin: 0;
    text-align: center;
    letter-spacing: var(--letter-spacing-tight);
}

.founder-code {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: transparent;
    border: none;
    border-radius: none;
    padding: 0;
    width: 100%;
    justify-content: center;
    box-shadow: none;
}

.founder-code-description {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    text-align: center;
    margin: 0;
    line-height: var(--line-height-relaxed);
}

.code-value {
    font-family: var(--font-family);
    font-size: var(--font-size-xl);
    color: var(--black);
    font-weight: 900;
    letter-spacing: var(--letter-spacing-wider);
}

.copy-button-minimal {
    background: var(--white);
    border: 1px solid var(--black);
    color: var(--black);
    padding: var(--space-2);
    cursor: pointer;
    transition: var(--transition-all);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
}

.copy-button-minimal:hover {
    background: var(--black);
    color: var(--white);
    transform: scale(1.1);
}

.battle-pass-progress {
    margin-bottom: var(--space-8);
}

.progress-info {
    text-align: center;
    color: var(--gray-400);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
}

.progress-info span {
    color: var(--secondary-green);
    font-weight: 500;
}

@media (max-width: 768px) {
    .battle-pass-section {
        margin: var(--space-8) 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .battle-pass-row {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    /* Mobile : titre en premier, puis les deux blocs */
    .battle-pass-content {
        order: 1;
        padding: var(--space-4);
    }

    .battle-pass-right-column {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
    }

    .preregistration-counter-compact {
        align-self: center;
        margin-bottom: var(--space-2);
    }

    .founder-code-visual {
        padding: var(--space-4);
    }

    .battle-pass-title {
        font-size: var(--font-size-4xl);
    }

    .battle-pass-description {
        font-size: var(--font-size-lg);
    }

    .founder-code-section {
        min-width: auto;
        width: 100%;
        padding: var(--space-6);
    }

    .founder-code-title {
        font-size: var(--font-size-lg);
    }

    .code-value {
        font-size: var(--font-size-lg);
    }
}

.level-display {
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-light-green));
    color: var(--black);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(6, 208, 1, 0.3);
    position: relative;
    animation: levelPulse 2s ease-in-out infinite;
}

@keyframes levelPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.level-display::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--secondary-green), var(--accent-light-green), var(--secondary-green));
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.battle-pass-rewards {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    width: 100%;
    text-align: center;
}

.rewards-track {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: var(--space-3);
    position: relative;
    padding: var(--space-6) 0;
    flex-wrap: nowrap;
    width: 100%;
}

/* .rewards-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    transform: translateY(-50%);
    z-index: 0;
} */

.reward-item {
    flex: 1;
    background: var(--accent-light-green);
    border: 1px solid var(--accent-light-green);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 160px;
    height: 160px;
    box-shadow: 0 2px 8px rgba(155, 236, 0, 0.2);
}

.reward-item:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-green);
    box-shadow: 0 8px 20px rgba(155, 236, 0, 0.4);
    background: var(--secondary-green);
}

.reward-item.unlocked:hover {
    transform: translateY(-4px);
    border-color: var(--accent-light-green);
    box-shadow: 0 12px 28px rgba(155, 236, 0, 0.5);
    background: var(--accent-light-green);
    filter: brightness(1.1);
}

.reward-icon {
    display: none;
}

.reward-icon i {
    font-size: var(--font-size-lg);
    color: var(--secondary-green);
}

.reward-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.reward-title {
    font-weight: 900;
    font-size: var(--font-size-sm);
    color: var(--black);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-tight);
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
}

.reward-description {
    font-size: var(--font-size-xs);
    color: var(--black);
    margin-bottom: var(--space-2);
    line-height: var(--line-height-snug);
    text-align: center;
    font-weight: 400;
    max-width: 100%;
    word-wrap: break-word;
}

.reward-requirement {
    font-size: var(--font-size-xs);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    background: var(--black);
    border-radius: var(--radius-full);
    font-weight: 500;
    white-space: nowrap;
    align-self: center;
    margin-top: auto;
}

.reward-item.locked {
    opacity: 0.4;
    filter: grayscale(1);
    background: var(--gray-400);
}

.reward-item.unlocked {
    border-color: var(--accent-light-green);
    background: var(--accent-light-green);
    box-shadow: 0 4px 12px rgba(155, 236, 0, 0.3);
}

.reward-item.newly-unlocked {
    animation: rewardUnlock 2s ease-in-out;
    border-color: var(--accent-light-green);
    background: var(--accent-light-green);
    box-shadow: 0 8px 24px rgba(155, 236, 0, 0.6);
}

@keyframes rewardUnlock {
    0% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(155, 236, 0, 0.3);
    }
    25% { 
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(155, 236, 0, 0.8);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 8px 24px rgba(155, 236, 0, 0.6);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(155, 236, 0, 0.3);
    }
}

@media (max-width: 768px) {
    .battle-pass-rewards {
        padding: 0 var(--space-4);
    }

    .rewards-track {
        justify-content: space-between;
        gap: var(--space-2);
        padding: var(--space-4) 0;
        flex-wrap: wrap;
    }

    .reward-item {
        flex: 1;
        min-width: 110px;
        height: 130px;
        padding: var(--space-4);
        gap: var(--space-2);
        justify-content: space-between;
    }

    .reward-title {
        font-size: var(--font-size-xs);
    }

    .reward-description {
        font-size: 10px;
        margin-bottom: var(--space-1);
    }

    .reward-requirement {
        font-size: 10px;
        padding: var(--space-1) var(--space-3);
    }

    .reward-info {
        text-align: center;
        flex: 1;
    }
} 

/* Info Button in Nav */
.info-button {
    background: none;
    border: none;
    color: var(--white);
    font-size: var(--font-size-xl);
    padding: var(--space-2);
    margin-right: var(--space-4);
    cursor: pointer;
    transition: var(--transition-all);
}

.info-button:hover {
    color: var(--secondary-green);
    transform: scale(1.1);
}

/* Info Popup */
.info-popup {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    z-index: 100;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-subtle);
}

.info-popup.active {
    right: 0;
}

.info-popup-content {
    padding: var(--space-6);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.info-popup-header h3 {
    color: var(--white);
    font-size: var(--font-size-3xl);
    font-weight: 900;
    margin: 0;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
}

.close-popup {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: var(--transition-all);
}

.close-popup:hover {
    color: var(--white);
    transform: rotate(90deg);
}

/* Unified Card */
.unified-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    margin-bottom: var(--space-8);
}

.founder-section,
.stats-section {
    padding: var(--space-6);
}

.founder-section {
    background: linear-gradient(to right, rgba(6, 208, 1, 0.1), transparent);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.section-header i {
    font-size: var(--font-size-xl);
    color: var(--secondary-green);
}

.section-header h2 {
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 500;
}

.founder-code-display {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.code-value {
    flex: 1;
    font-family: var(--font-family);
    font-size: var(--font-size-xl);
    color: var(--white);
    font-weight: 500;
}

.copy-button {
    background: rgba(6, 208, 1, 0.1);
    border: 1px solid var(--secondary-green);
    color: var(--secondary-green);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-all);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.copy-button:hover {
    background: var(--secondary-green);
    color: var(--black);
}

.code-description {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    text-align: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.stat-item {
    text-align: center;
    margin-bottom: var(--space-4);
}

.stat-number {
    font-size: var(--font-size-4xl);
    color: var(--secondary-green);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.stat-label {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

.stat-progress {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.progress-text {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    text-align: center;
    margin-top: var(--space-2);
}

/* Dashboard responsive fixes */
@media (max-width: 1024px) {
    .dashboard-body .info-popup {
        width: 100%;
        right: -100%;
        transition: right 0.3s ease;
    }

    .dashboard-body .info-popup.active {
        right: 0;
    }
    
    .dashboard-body .info-popup-content {
        padding: var(--space-4);
    }
    
    .dashboard-body .info-popup-header {
        padding-bottom: var(--space-3);
        margin-bottom: var(--space-4);
    }
    
    .dashboard-body .info-popup-header h3 {
        font-size: var(--font-size-xl);
    }
    
    .dashboard-body .info-item {
        padding: var(--space-3) 0;
        font-size: var(--font-size-sm);
    }
    
    .dashboard-body .info-item strong {
        font-size: var(--font-size-sm);
    }
    
    .dashboard-body .status-badge {
        font-size: 10px;
        padding: var(--space-1) var(--space-2);
    }
}

@media (max-width: 767px) {
    .dashboard-body .info-popup-header h3 {
        font-size: var(--font-size-lg);
    }
    
    .dashboard-body .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
        padding: var(--space-2) 0;
    }
    
    .dashboard-body .info-item strong {
        font-size: var(--font-size-xs);
        color: var(--gray-400);
    }
    
    .dashboard-body .info-item span {
        font-size: var(--font-size-sm);
        color: var(--white);
    }
    
    .dashboard-body .status-badge {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .info-popup {
        width: 100%;
    }

    .unified-card {
        margin: var(--space-4);
    }

    .founder-section,
    .stats-section {
        padding: var(--space-4);
    }

    .section-header h2 {
        font-size: var(--font-size-lg);
    }

    .founder-code-display {
        flex-direction: column;
        gap: var(--space-3);
    }

    .code-value {
        text-align: center;
    }

    .copy-button {
        width: 100%;
        justify-content: center;
    }
} 

/* ==================== GAME SECTION STYLES ==================== */
.game-section {
    background: transparent;
    border: none;
    border-radius: 0;
    margin: var(--space-4) 0;
    padding: var(--space-8) 0;
    position: relative;
    overflow: visible;
}

.game-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-8);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--space-6);
}

.game-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
    padding: var(--space-8);
}

.game-description {
    font-size: var(--font-size-xl);
    color: var(--gray-300);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-6);
    font-weight: 300;
}

.game-quote {
    font-size: var(--font-size-lg);
    color: var(--accent-yellow);
    font-style: italic;
    font-weight: 500;
    border-left: 3px solid var(--accent-yellow);
    padding-left: var(--space-4);
    margin-top: var(--space-6);
}

.game-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.game-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.game-title h2 {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    margin: 0;
    color: var(--white);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
}

.game-subtitle {
    color: var(--gray-300);
    font-size: var(--font-size-xl);
    font-weight: 300;
    margin: 0;
    line-height: var(--line-height-relaxed);
}

.game-score {
    display: flex;
    gap: var(--space-8);
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}

.leaderboard-button-header {
    background: linear-gradient(45deg, var(--accent-yellow), var(--accent-light-green));
    color: var(--black);
    border: none;
    border-radius: 8px;
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-base);
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.leaderboard-button-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 236, 0, 0.4);
}

.trophy-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(7500%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.trophy-icon-header {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.reward-icon {
    width: auto;
    height: 32px;
    margin-right: 0.5rem;
    object-fit: contain;
}

.advancement-score {
    text-align: left;
    margin: 0;
    font-size: var(--font-size-lg);
    color: var(--black);
    font-weight: 600;
}

.advancement-score span {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--black);
}

.score-display,
.best-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.score-display span:first-child,
.best-score span:first-child {
    font-size: var(--font-size-xl);
    font-weight: 900;
    color: var(--secondary-green);
}

.score-label {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-container {
    position: relative;
    background: #001122;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-subtle);
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, #001122 0%, #002244 100%);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.game-start-screen,
.game-over-screen {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-muted);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-start-screen h3,
.game-over-screen h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: 0 0 1rem 0;
    background: linear-gradient(45deg, var(--secondary-green), var(--accent-light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-start-screen p,
.game-over-screen p {
    color: var(--gray-300);
    margin: 0.5rem 0;
}

.start-button,
.restart-button {
    background: linear-gradient(45deg, var(--secondary-green), var(--accent-light-green));
    color: var(--black);
    border: none;
    border-radius: 10px;
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: var(--font-family);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.start-button:hover,
.restart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 208, 1, 0.4);
}

.start-button:active,
.restart-button:active {
    transform: translateY(0);
}

/* Leaderboard Popup Styles - Design amélioré */
.leaderboard-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(20px);
    }
}

.leaderboard-popup-content {
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.95), rgba(26, 26, 26, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--space-8);
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 
        0 32px 64px -12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-8) var(--space-6) var(--space-6);
    background: linear-gradient(135deg, rgba(6, 208, 1, 0.08), rgba(155, 236, 0, 0.04));
    border-bottom: 2px solid rgba(6, 208, 1, 0.2);
    text-align: left;
    position: relative;
}

.leaderboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-green), transparent);
    opacity: 0.6;
}

.leaderboard-header h3 {
    color: var(--white);
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin: 0;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    flex: 1;
    text-shadow: 0 0 20px rgba(6, 208, 1, 0.3);
}

.trophy-icon-header {
    width: 28px;
    height: 28px;
}

.leaderboard-reward-message {
    background: linear-gradient(45deg, rgba(155, 236, 0, 0.1), rgba(6, 208, 1, 0.1));
    border: 1px solid var(--secondary-green);
    border-radius: var(--space-2);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    text-align: center;
    animation: glow 2s ease-in-out infinite alternate;
}

.leaderboard-reward-message p {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 900;
    color: var(--secondary-green);
    text-shadow: 0 0 10px rgba(6, 208, 1, 0.3);
    letter-spacing: var(--letter-spacing-wide);
}

@keyframes glow {
    from {
        border-color: var(--secondary-green);
        box-shadow: 0 0 5px rgba(6, 208, 1, 0.2);
    }
    to {
        border-color: var(--accent-light-green);
        box-shadow: 0 0 20px rgba(155, 236, 0, 0.3);
    }
}

.leaderboard-empty,
.leaderboard-error {
    text-align: center;
    padding: var(--space-12);
    color: var(--gray-400);
    font-size: var(--font-size-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.leaderboard-empty::before {
    content: '🏆';
    font-size: var(--font-size-6xl);
    opacity: 0.3;
}

.leaderboard-error {
    color: #ef4444;
}

.leaderboard-error::before {
    content: '⚠️';
    font-size: var(--font-size-6xl);
    opacity: 0.6;
}

.close-leaderboard {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    cursor: pointer;
    font-size: 1.2rem;
    padding: var(--space-3);
    border-radius: var(--space-2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-leaderboard:hover {
    color: var(--white);
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.2), rgba(255, 59, 48, 0.1));
    border-color: rgba(255, 59, 48, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.2);
}

.close-leaderboard:active {
    transform: scale(0.95);
}

/* Actions groupées dans le header du leaderboard */
.leaderboard-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.share-leaderboard-button {
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-light-green));
    border: none;
    color: var(--black);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 700;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--space-2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    box-shadow: 
        0 4px 15px rgba(6, 208, 1, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-leaderboard-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(6, 208, 1, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

.share-leaderboard-button:active {
    transform: translateY(-1px) scale(1);
}

.leaderboard-content {
    min-height: 350px;
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--space-4) var(--space-6) var(--space-6);
    background: linear-gradient(180deg, rgba(6, 208, 1, 0.02), transparent);
}

.leaderboard-content::-webkit-scrollbar {
    width: 6px;
}

.leaderboard-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.leaderboard-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-green), var(--accent-light-green));
    border-radius: 3px;
}

.leaderboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12);
    color: var(--gray-400);
}

.leaderboard-loading i {
    font-size: var(--font-size-6xl);
    margin-bottom: var(--space-4);
    color: var(--secondary-green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-2) 0;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) var(--space-4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 208, 1, 0.05), rgba(155, 236, 0, 0.02));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leaderboard-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border-color: rgba(6, 208, 1, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(6, 208, 1, 0.2);
}

.leaderboard-item:hover::before {
    opacity: 1;
}

.leaderboard-item.current-user {
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-light-green));
    color: var(--black);
    font-weight: 600;
    box-shadow: 
        0 8px 32px rgba(6, 208, 1, 0.4),
        0 0 0 2px rgba(6, 208, 1, 0.3);
    border-color: transparent;
    animation: currentUserGlow 3s ease-in-out infinite;
}

@keyframes currentUserGlow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(6, 208, 1, 0.4),
            0 0 0 2px rgba(6, 208, 1, 0.3);
    }
    50% {
        box-shadow: 
            0 12px 40px rgba(6, 208, 1, 0.6),
            0 0 0 2px rgba(155, 236, 0, 0.4);
    }
}

.leaderboard-item.current-user .leaderboard-rank,
.leaderboard-item.current-user .leaderboard-score {
    color: var(--black);
    text-shadow: none;
}

.leaderboard-rank {
    font-weight: 900;
    color: var(--accent-yellow);
    min-width: 3rem;
    font-size: var(--font-size-xl);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(243, 255, 144, 0.1), rgba(243, 255, 144, 0.05));
    border-radius: var(--space-2);
    padding: var(--space-2);
    border: 1px solid rgba(243, 255, 144, 0.2);
    text-shadow: 0 0 10px rgba(243, 255, 144, 0.5);
}

.leaderboard-rank.gold {
    color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: goldShine 2s ease-in-out infinite;
}

@keyframes goldShine {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
        transform: scale(1.05);
    }
}

.leaderboard-rank.silver {
    color: #E5E7EB;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
    border-color: rgba(192, 192, 192, 0.3);
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.leaderboard-rank.bronze {
    color: #CD7F32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
    border-color: rgba(205, 127, 50, 0.3);
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

.leaderboard-username {
    flex: 1;
    text-align: left;
    margin-left: var(--space-5);
    color: var(--white);
    font-weight: 500;
    font-size: var(--font-size-lg);
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.leaderboard-score {
    font-weight: 700;
    color: var(--secondary-green);
    font-size: var(--font-size-xl);
    background: linear-gradient(135deg, rgba(6, 208, 1, 0.1), rgba(6, 208, 1, 0.05));
    padding: var(--space-2) var(--space-3);
    border-radius: var(--space-2);
    border: 1px solid rgba(6, 208, 1, 0.2);
    text-shadow: 0 0 10px rgba(6, 208, 1, 0.4);
    min-width: 4rem;
    text-align: center;
}

.leaderboard-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.back-button {
    background: var(--bg-secondary);
    color: var(--white);
    border: 1px solid var(--border-muted);
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.back-button:hover {
    background: var(--bg-card);
    border-color: var(--secondary-green);
}



@media (max-width: 768px) {
    .game-header {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        padding: 0 var(--space-4);
    }
    
    .game-title {
        padding: var(--space-4);
        text-align: center;
    }
    
    .game-title h2 {
        font-size: var(--font-size-4xl);
    }

    .game-description {
        font-size: var(--font-size-lg);
    }
    
    .game-score {
        gap: var(--space-4);
        padding: var(--space-4);
    }
    
    #gameCanvas {
        height: 400px;
    }
    
    .game-start-screen,
    .game-over-screen {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    /* Leaderboard Mobile Optimisé */
    .leaderboard-popup {
        padding: var(--space-2);
    }
    
    .leaderboard-popup-content {
        width: 100%;
        max-width: 95vw;
        max-height: 90vh;
        margin: 0;
        border-radius: var(--space-6);
        border-width: 1px;
    }
    
    .leaderboard-header {
        padding: var(--space-5) var(--space-4) var(--space-4);
        flex-direction: row;
        gap: var(--space-3);
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }
    
    .leaderboard-header h3 {
        font-size: var(--font-size-2xl);
        gap: 0.5rem;
        justify-content: flex-start;
        margin: 0;
        flex: 1;
    }
    
    .trophy-icon-header {
        width: 24px;
        height: 24px;
    }
    
    .leaderboard-actions {
        gap: var(--space-2);
        justify-content: flex-end;
        flex-shrink: 0;
    }
    
    .share-leaderboard-button {
        padding: var(--space-2) var(--space-3);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    
    .close-leaderboard {
        font-size: 1rem;
        padding: var(--space-2);
        width: 40px;
        height: 40px;
    }
    
    .leaderboard-content {
        padding: var(--space-3) var(--space-4) var(--space-5);
        max-height: 70vh;
    }
    
    .leaderboard-item {
        padding: var(--space-4) var(--space-3);
        flex-wrap: wrap;
        gap: var(--space-2);
    }
    
    .leaderboard-rank {
        min-width: 2.5rem;
        font-size: var(--font-size-lg);
        padding: var(--space-1) var(--space-2);
    }
    
    .leaderboard-username {
        margin-left: var(--space-3);
        font-size: var(--font-size-base);
        flex: 1;
        min-width: 0;
    }
    
    .leaderboard-score {
        font-size: var(--font-size-lg);
        padding: var(--space-1) var(--space-2);
        min-width: 3rem;
    }
    
    .leaderboard-content::-webkit-scrollbar {
        width: 4px;
    }
    
    .leaderboard-content {
        padding: var(--space-3) var(--space-4) var(--space-4);
        max-height: 50vh;
    }
    
    .leaderboard-item {
        padding: var(--space-3);
        border-radius: var(--space-1);
    }
    
    .leaderboard-rank {
        min-width: 2.5rem;
        font-size: var(--font-size-lg);
        font-weight: 800;
        text-align: center;
    }
    
    .leaderboard-username {
        font-size: var(--font-size-base);
        margin-left: var(--space-3);
    }
    
    .leaderboard-score {
        font-size: var(--font-size-base);
        font-weight: 700;
    }
    
    .leaderboard-reward-message {
        padding: var(--space-3);
        margin-bottom: var(--space-3);
        border-radius: var(--space-1);
    }
    
    .leaderboard-reward-message p {
        font-size: var(--font-size-base);
    }
    
    .game-subtitle {
        font-size: var(--font-size-lg);
    }
}

/* Entourage pour Flappy Dodje */
.animate-entourage {
    position: relative;
    display: inline-block;
    color: var(--white);
    padding: var(--space-2) var(--space-4);
}

.animate-entourage::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -16px;
    right: -16px;
    bottom: -8px;
    border: 3px solid var(--secondary-green);
    border-radius: 60% 40% 70% 30% / 35% 65% 45% 55%;
    opacity: 0.8;
    transform: rotate(-1deg);
    z-index: -1;
    box-shadow: 0 0 15px rgba(6, 208, 1, 0.2);
}

/* Animation pour "L'éveil du gland" */
.animate-reveil-gland {
    position: relative;
    display: inline-block;
    color: var(--black);
    padding: var(--space-2) var(--space-4);
}

.animate-reveil-gland::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
    clip-path: polygon(0% 50%, 20% 10%, 40% 90%, 60% 20%, 80% 80%, 100% 30%, 100% 100%, 0% 100%);
    opacity: 0.8;
}

/* Animation pour "jeune gland" */
.animate-jeune-gland {
    color: var(--white);
    font-weight: 700;
}



/* Responsive animations mobile */
@media (max-width: 767px) {
    .animate-reveil-gland::after {
        bottom: -6px;
        height: 3px;
    }
    
    .animate-jeune-gland {
        font-size: inherit;
    }
}

/* ==================== RESPONSIVE DESIGN - 3 BREAKPOINTS COMME DUOLINGO ==================== */

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: var(--font-size-xl);
    cursor: pointer;
    padding: var(--space-2);
    transition: var(--transition-colors);
}

.mobile-menu-toggle:hover {
    color: var(--secondary-green);
}

/* DESKTOP - Large screens (1025px and up) */
@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-24);
        padding: 0 var(--space-6) 0 var(--space-16);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--font-size-6xl);
        text-align: center;
        line-height: 1.0;
    }
    
    .pillar-row,
    .feature-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
    
    .pillar-row.reverse .pillar-content {
        order: 2;
    }
    
    .pillar-row.reverse .pillar-visual {
        order: 1;
    }
    
    .feature-row.reverse .feature-content {
        order: 2;
    }
    
    .feature-row.reverse .feature-visual {
        order: 1;
    }
    
    .community-content {
        flex-direction: row;
        gap: var(--space-16);
    }
    
    .community-visual,
    .community-text {
        max-width: 50%;
        flex: 1;
    }
    
    .community-title {
        text-align: left;
        font-size: var(--font-size-5xl);
        line-height: var(--line-height-tight);
        max-width: 100%;
    }
    
    .countdown-timer {
        display: flex;
        justify-content: center;
        gap: var(--space-8);
    }
    
    .time-unit {
        min-width: 120px;
    }
}

/* TABLET - Medium screens (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
    
    .nav-container {
        padding: 0 var(--space-4);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-logo-centered .logo-img {
        height: 45px;
    }
    
    .nav-minimal-container {
        height: 80px;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 51;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    /* Fix pour header tablet */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .navbar.visible {
        transform: translateY(0) !important;
        top: 0 !important;
    }
    
    .hero {
        padding: var(--space-32) 0 var(--space-12) 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        padding: 0 var(--space-4);
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-title {
        font-size: var(--font-size-5xl);
        text-align: center;
        line-height: 1.0;
    }
    
    .pillar-row,
    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .pillar-row:not(:last-child),
    .feature-row:not(:last-child) {
        margin-bottom: var(--space-20);
    }
    
    /* Sur tablet aussi, TOUJOURS contenu en premier, puis visual */
    .pillar-content,
    .feature-content {
        order: 1 !important;
    }
    
    .pillar-visual,
    .feature-visual {
        order: 2 !important;
    }
    
    /* Forcer l'ordre même avec la classe reverse sur tablet */
    .pillar-row.reverse .pillar-content,
    .feature-row.reverse .feature-content {
        order: 1 !important;
    }
    
    .pillar-row.reverse .pillar-visual,
    .feature-row.reverse .feature-visual {
        order: 2 !important;
    }
    
    .pillar-content,
    .feature-content {
        padding: var(--space-8);
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .pillar-title {
        font-size: var(--font-size-5xl);
        text-align: center;
        margin-bottom: var(--space-6);
        width: 100%;
    }
    
    .pillar-description {
        font-size: var(--font-size-lg);
        text-align: center;
        margin-bottom: var(--space-4);
        width: 100%;
    }
    
    .pillar-quote {
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--space-3);
        border-left: none;
        border-top: 3px solid var(--accent-yellow);
        padding-left: 0;
        padding-top: var(--space-4);
    }
    
    .feature-title {
        font-size: var(--font-size-4xl);
        text-align: center;
        margin-bottom: var(--space-6);
        width: 100%;
    }
    
    .feature-description {
        font-size: var(--font-size-lg);
        text-align: center;
        margin-bottom: var(--space-3);
        width: 100%;
    }
    
    .pillar-visual,
    .feature-visual {
        padding: var(--space-6);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: var(--space-2);
    }
    
    .community-content {
        flex-direction: column;
        gap: var(--space-12);
        text-align: center;
    }
    
    .community-visual,
    .community-text {
        max-width: 100%;
        flex: none;
    }
    
    .community-title {
        text-align: center;
        font-size: var(--font-size-4xl);
        line-height: var(--line-height-tight);
        max-width: 100%;
    }
    
    .countdown-title {
        font-size: var(--font-size-5xl);
    }
    
    .countdown-timer {
        display: flex;
        justify-content: center;
        gap: var(--space-6);
        flex-wrap: wrap;
    }
    
    .time-unit {
        min-width: 100px;
        padding: var(--space-6);
    }
    
    .time-value {
        font-size: var(--font-size-4xl);
    }
    
    .revolution-video {
        width: 700px;
        height: 490px;
    }
    
    .about-video {
        height: auto;
    }
    
    .parcours-gif,
    .methode-gif,
    .epopee-gif,
    .fun-gif,
    .rewards-gif {
        max-width: 400px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .level-illustration {
        height: 350px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .level-gif {
        max-width: 400px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        min-height: 300px;
        object-fit: contain;
    }
    
    .feature-video {
        width: 100%;
        max-width: 400px;
        height: 250px;
        display: block;
        margin: 0 auto;
    }
    
    .bourse-monstre-gif {
        max-width: 400px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .video-illustration {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

/* MOBILE - Small screens (767px and below) */
@media (max-width: 767px) {
    .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }
    
    /* Forcer la vidéo d'arrière-plan à rester inline sur mobile */
    #background-video {
        /* Empêche l'accès aux contrôles vidéo */
        -webkit-appearance: none;
        appearance: none;
        /* Désactive les gestes de pincement */
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        touch-action: none !important;
        /* Force le z-index négatif */
        z-index: -10 !important;
        /* Empêche le débordement */
        overflow: hidden;
        /* Position absolue pour certains navigateurs mobiles */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        /* Empêche la sélection */
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }
    
    /* S'assurer que le body reste scrollable */
    body.dashboard-body {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    /* Supprimer complètement tous les éléments de lecteur vidéo personnalisé sur mobile */
    .play-button-overlay,
    .custom-play-button,
    .video-time-display,
    .custom-video-player {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: -999 !important;
    }
    
    .nav-container {
        padding: 0 var(--space-4);
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .nav-logo-centered .logo-img {
        height: 40px;
    }
    
    .nav-minimal-container {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 51;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    /* Fix pour header mobile */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .navbar.visible {
        transform: translateY(0) !important;
        top: 0 !important;
    }
    
    .hero {
        padding: var(--space-24) 0 var(--space-8) 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        padding: 0 var(--space-4);
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
        text-align: center;
        margin-bottom: var(--space-8);
        line-height: 1.0;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
        text-align: center;
    }
    
    .cta-button {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-size-base);
    }
    
    .hero-cta {
        min-width: 200px;
    }
    
    .salut-gif {
        max-width: 300px;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
        text-align: center;
        margin-bottom: var(--space-12);
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -var(--space-3);
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
        border-radius: var(--radius-full);
    }
    
    .pillar-row,
    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .pillar-row:not(:last-child),
    .feature-row:not(:last-child) {
        margin-bottom: var(--space-16);
    }
    
    /* Sur mobile, TOUJOURS contenu en premier, puis visual - peu importe la classe reverse */
    .pillar-content,
    .feature-content {
        order: 1 !important;
    }
    
    .pillar-visual,
    .feature-visual {
        order: 2 !important;
    }
    
    /* Forcer l'ordre même avec la classe reverse */
    .pillar-row.reverse .pillar-content,
    .feature-row.reverse .feature-content {
        order: 1 !important;
    }
    
    .pillar-row.reverse .pillar-visual,
    .feature-row.reverse .feature-visual {
        order: 2 !important;
    }
    
    .pillar-content,
    .feature-content {
        padding: var(--space-6);
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .pillar-title {
        font-size: var(--font-size-4xl);
        text-align: center;
        margin-bottom: var(--space-6);
        width: 100%;
    }
    
    .pillar-description {
        font-size: var(--font-size-lg);
        text-align: center;
        margin-bottom: var(--space-4);
        width: 100%;
        max-width: 100%;
    }
    
    .pillar-quote {
        text-align: center;
        font-size: var(--font-size-base);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--space-2);
        border-left: none;
        border-top: 3px solid var(--accent-yellow);
        padding-left: 0;
        padding-top: var(--space-4);
    }
    
    .feature-title {
        font-size: var(--font-size-3xl);
        text-align: center;
        margin-bottom: var(--space-6);
        width: 100%;
    }
    
    .feature-description {
        font-size: var(--font-size-base);
        text-align: center;
        margin-bottom: var(--space-2);
        width: 100%;
        max-width: 100%;
    }
    
    .pillar-visual,
    .feature-visual {
        padding: var(--space-4);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: var(--space-2);
    }
    
    .parcours-gif,
    .methode-gif,
    .epopee-gif,
    .fun-gif,
    .rewards-gif {
        max-width: 320px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .level-illustration {
        height: 300px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .level-gif {
        max-width: 320px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        min-height: 250px;
        object-fit: contain;
    }
    
    .feature-video {
        width: 100%;
        max-width: 320px;
        height: 200px;
        display: block;
        margin: 0 auto;
    }
    
    .bourse-monstre-gif {
        max-width: 320px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .video-illustration {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .pillars {
        padding: var(--space-16) 0 var(--space-32) 0;
    }
    
    .about {
        padding: var(--space-2) 0 var(--space-20) 0;
    }
    
    .about-video {
        height: auto;
    }
    
    /* Vidéo About sur mobile - contrôles natifs */
    .about-video {
        border-radius: var(--radius-lg);
    }
    
    .community-content {
        flex-direction: column;
        gap: var(--space-8);
        text-align: center;
    }
    
    .community-visual,
    .community-text {
        max-width: 100%;
        flex: none;
    }
    
    .community-title {
        text-align: center;
        font-size: var(--font-size-3xl);
        margin-bottom: var(--space-6);
        line-height: var(--line-height-tight);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .revolution-video {
        width: 100%;
        max-width: 500px;
        height: 350px;
    }
    
    .countdown-title {
        font-size: var(--font-size-3xl);
        text-align: center;
    }
    
    .countdown-timer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
        max-width: 300px;
        margin: 0 auto;
    }
    
    .time-unit {
        min-width: auto;
        padding: var(--space-3);
    }
    
    .time-value {
        font-size: var(--font-size-2xl);
    }
    
    .time-label {
        font-size: var(--font-size-xs);
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        transform: rotate(0deg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* MOBILE TRÈS PETIT - Extra small screens (480px and below) */
@media (max-width: 480px) {
    .nav-container {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .nav-logo-centered .logo-img {
        height: 35px;
    }
    
    .nav-minimal-container {
        height: 60px;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 51;
    }
    
    .nav-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    /* Fix pour header très petit mobile */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
    
    .navbar.visible {
        transform: translateY(0) !important;
        top: 0 !important;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
        line-height: 1.0;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--space-10);
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -var(--space-2);
        left: 50%;
        transform: translateX(-50%);
        width: 35px;
        height: 2px;
        background: linear-gradient(90deg, var(--secondary-green), var(--accent-light-green));
        border-radius: var(--radius-full);
    }
    
    .pillar-title {
        font-size: var(--font-size-3xl);
    }
    
    .pillar-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--space-3);
    }
    
    .feature-title {
        font-size: var(--font-size-2xl);
    }
    
    .feature-description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-2);
    }
    
    .community-title {
        font-size: var(--font-size-2xl);
        line-height: var(--line-height-tight);
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .countdown-title {
        font-size: var(--font-size-2xl);
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
        max-width: 250px;
    }
    
    .time-unit {
        padding: var(--space-2);
    }
    
    .time-value {
        font-size: var(--font-size-xl);
    }
    
    .revolution-video {
        width: 100%;
        max-width: 400px;
        height: 280px;
    }
    
    .about-video {
        height: auto;
    }
    
    .parcours-gif,
    .methode-gif,
    .epopee-gif,
    .fun-gif,
    .rewards-gif {
        max-width: 280px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .salut-gif {
        max-width: 280px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .feature-video {
        max-width: 280px;
        width: 100%;
        height: 150px;
        display: block;
        margin: 0 auto;
    }
    
    .bourse-monstre-gif {
        max-width: 280px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .level-illustration {
        height: 250px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .level-gif {
        max-width: 280px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        min-height: 200px;
        object-fit: contain;
    }
    
    .video-illustration {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .phone-mockup {
        width: 160px;
        height: 320px;
    }
    
    .pillar-quote {
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-2);
    }
    
    .modal-content {
        margin: var(--space-4);
    }
    
    .modal-header,
    .modal-body {
        padding: var(--space-4);
    }
    
    .modal-header h2 {
        font-size: var(--font-size-2xl);
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 340px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    z-index: 100;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-subtle);
    padding: var(--space-8) var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: var(--transition-colors);
}

.mobile-menu-close:hover {
    color: var(--white);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-nav-links .nav-link {
    display: block;
    padding: var(--space-4);
    font-size: var(--font-size-lg);
    color: var(--gray-300);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition-all);
}

.mobile-nav-links .nav-link:hover {
    color: var(--white);
    background: var(--bg-card);
}

/* Mobile User Info Section - Style identique à la popup desktop */
.mobile-user-info {
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    margin: var(--space-6) 0;
    overflow: hidden;
}

.mobile-user-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding: var(--space-6) var(--space-6) var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(to right, rgba(6, 208, 1, 0.1), transparent);
}

.mobile-user-header i {
    font-size: var(--font-size-xl);
    color: var(--secondary-green);
}

.mobile-user-header h3 {
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 500;
    margin: 0;
}

.mobile-info-items {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
    gap: var(--space-3);
    min-height: auto;
}

.mobile-info-item:last-child {
    border-bottom: none;
}

.mobile-info-item strong {
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: 500;
    flex-shrink: 0;
    min-width: 120px;
}

.mobile-info-item span {
    color: var(--white);
    font-size: var(--font-size-sm);
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1;
    line-height: 1.4;
}

.mobile-info-item .status-badge {
    background: var(--secondary-green);
    color: var(--black);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--space-2);
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
}

/* Style spécial pour le code fondateur dans le mobile */
#mobile-user-founder-code {
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--secondary-green);
    font-size: var(--font-size-sm);
    letter-spacing: var(--letter-spacing-wide);
}

/* Section de partage mobile */
.mobile-share-section {
    margin-top: 1rem;
    padding: 1rem 1.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

.mobile-share-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-light-green));
    color: var(--black);
    border: none;
    border-radius: 12px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 208, 1, 0.3);
}

.mobile-share-button i {
    font-size: 1.1rem;
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
    .mobile-menu {
        width: 100vw;
        max-width: 360px;
    }
    
    .mobile-info-item strong {
        min-width: 100px;
        font-size: var(--font-size-xs);
    }
    
    .mobile-info-item span {
        font-size: var(--font-size-xs);
    }
    
    .mobile-share-section {
        padding: 0.75rem 1rem 0;
    }
    
    .mobile-share-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .mobile-share-button i {
        font-size: 1rem;
    }
}

.mobile-cta {
    margin-top: var(--space-6);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay pour le menu mobile */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Corrections pour les animations GIF sur mobile */
@media (max-width: 767px) {
    .animate-gratuit::after,
    .animate-simplement::after,
    .animate-fun::after,
    .animate-progressif::after,
    .animate-revolutionnaire::after,
    .animate-personnalises::after,
    .animate-dynamiques::after,
    .animate-ludique::after {
        height: 3px;
    }
    

}

/* ==================== RESPONSIVE DASHBOARD - 3 BREAKPOINTS ==================== */

/* DESKTOP - Large screens (1025px and up) */
@media (min-width: 1025px) {
    .dashboard-main {
        padding: var(--space-32) 0 var(--space-8);
    }
    
    .dashboard-header h1 {
        font-size: var(--font-size-6xl);
    }
    
    .dashboard-subtitle {
        font-size: var(--font-size-2xl);
    }
    
    .battle-pass-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
    
    .battle-pass-title {
        font-size: var(--font-size-6xl);
    }
    
    .battle-pass-description {
        font-size: var(--font-size-xl);
    }
    
    .game-header {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
    
    .game-title h2 {
        font-size: var(--font-size-6xl);
    }
    
    .game-description {
        font-size: var(--font-size-xl);
    }
    
    #gameCanvas {
        height: 500px;
    }
}

/* TABLET - Medium screens (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .dashboard-main {
        padding: var(--space-24) 0 var(--space-8);
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: var(--space-6);
        padding: var(--space-6);
        text-align: center;
    }
    
    .header-content {
        text-align: center;
        gap: var(--space-6);
    }
    
    .dashboard-header h1 {
        font-size: var(--font-size-5xl);
    }
    
    .dashboard-subtitle {
        font-size: var(--font-size-xl);
    }
    
    .countdown-timer-inline {
        gap: var(--space-4);
        flex-wrap: wrap;
    }
    
    .time-unit-inline {
        min-width: 80px;
        padding: var(--space-4) var(--space-5);
    }
    
    .time-value-inline {
        font-size: var(--font-size-3xl);
    }
    
    .battle-pass-section {
        margin: var(--space-12) 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .battle-pass-row {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .battle-pass-content {
        padding: var(--space-6);
        order: 1;
        text-align: center;
    }

    .battle-pass-title {
        font-size: var(--font-size-5xl);
    }

    .battle-pass-description {
        font-size: var(--font-size-lg);
    }

    .founder-code-visual {
        padding: var(--space-6);
        order: 2;
    }

    .founder-code-section {
        min-width: auto;
        width: 100%;
        max-width: 400px;
        padding: var(--space-6);
    }

    .founder-code-title {
        font-size: var(--font-size-lg);
    }

    .code-value {
        font-size: var(--font-size-lg);
    }
    
    .rewards-track {
        justify-content: center;
        gap: var(--space-3);
        padding: var(--space-6) 0;
        flex-wrap: wrap;
    }

    .reward-item {
        flex: 1;
        min-width: 120px;
        height: 140px;
        padding: var(--space-4);
        gap: var(--space-3);
    }

    .reward-title {
        font-size: var(--font-size-sm);
    }

    .reward-description {
        font-size: var(--font-size-xs);
        margin-bottom: var(--space-2);
    }

    .reward-requirement {
        font-size: var(--font-size-xs);
        padding: var(--space-2) var(--space-3);
    }
    
    .game-header {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        padding: 0 var(--space-4);
        align-items: center;
        text-align: center;
    }
    
    .game-title {
        padding: var(--space-6);
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        order: 1;
    }
    
    .game-title h2 {
        font-size: var(--font-size-5xl);
        text-align: center;
        width: 100%;
    }

    .game-description {
        font-size: var(--font-size-lg);
        text-align: center;
        width: 100%;
    }
    
    .leaderboard-button-header {
        order: 2;
        margin: var(--space-3) 0;
    }
    
    .game-score {
        gap: var(--space-6);
        padding: var(--space-4);
        order: 3;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    #gameCanvas {
        height: 400px;
    }
}

/* MOBILE - Small screens (767px and below) */
@media (max-width: 767px) {
    .dashboard-main {
        padding: var(--space-20) 0 var(--space-8);
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-4);
        text-align: center;
    }
    
    .header-content {
        text-align: center;
        gap: var(--space-4);
    }
    
    .dashboard-header h1 {
        font-size: var(--font-size-4xl);
    }
    
    .dashboard-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .countdown-timer-inline {
        gap: var(--space-3);
        flex-wrap: wrap;
    }
    
    .time-unit-inline {
        min-width: 70px;
        padding: var(--space-3) var(--space-4);
    }
    
    .time-value-inline {
        font-size: var(--font-size-2xl);
    }
    
    .countdown-label {
        font-size: var(--font-size-xs);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .dashboard-card {
        padding: var(--space-4);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
    }
    
    .battle-pass-section {
        margin: var(--space-8) 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .battle-pass-row {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .battle-pass-content {
        padding: var(--space-4);
        order: 1;
        text-align: center;
    }
    
    .battle-pass-quote {
        margin-bottom: var(--space-2);
    }

    .battle-pass-title {
        font-size: var(--font-size-3xl);
    }

    .battle-pass-description {
        font-size: var(--font-size-base);
    }

    .founder-code-visual {
        padding: var(--space-4);
        order: 2;
    }

    .founder-code-section {
        min-width: auto;
        width: 100%;
        padding: var(--space-4);
    }

    .founder-code-title {
        font-size: var(--font-size-base);
    }

    .code-value {
        font-size: var(--font-size-base);
    }
    
    .rewards-track {
        justify-content: space-between;
        gap: var(--space-2);
        padding: var(--space-4) 0;
        flex-wrap: wrap;
    }

    .reward-item {
        flex: 1;
        min-width: 100px;
        height: 120px;
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .reward-title {
        font-size: var(--font-size-xs);
    }

    .reward-description {
        font-size: 10px;
        margin-bottom: var(--space-1);
    }

    .reward-requirement {
        font-size: 9px;
        padding: var(--space-1) var(--space-2);
    }

    .reward-info {
        text-align: center;
        flex: 1;
    }
    
    .game-header {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        padding: var(--space-4) var(--space-6);
        align-items: center;
        text-align: center;
    }
    
    .game-title {
        padding: var(--space-4);
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        order: 1;
    }
    
    .game-title h2 {
        font-size: var(--font-size-4xl);
        text-align: center;
        width: 100%;
    }

    .game-description {
        font-size: var(--font-size-lg);
        text-align: center;
        width: 100%;
    }
    
    .leaderboard-button-header {
        order: 2;
        margin: var(--space-3) 0;
        padding: var(--space-4) var(--space-6);
        font-size: var(--font-size-base);
        min-height: 48px;
        font-weight: 600;
        border-radius: var(--radius-xl);
    }
    
    .leaderboard-button-header .trophy-icon {
        width: 20px;
        height: 20px;
    }
    
    .game-score {
        gap: var(--space-6);
        padding: var(--space-4);
        order: 3;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .score-display,
    .best-score {
        padding: var(--space-3) var(--space-4);
        min-width: 100px;
        text-align: center;
    }
    
    .score-display span:first-child,
    .best-score span:first-child {
        font-size: var(--font-size-2xl);
        font-weight: 700;
    }
    
    #gameCanvas {
        height: 400px;
        width: 100%;
        max-width: none;
    }
    
    .game-container {
        margin: var(--space-4) calc(-50vw + 50%);
        width: 100vw;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .game-start-screen,
    .game-over-screen {
        padding: 1.5rem;
        margin: 1rem;
        max-width: 90%;
    }
    
    /* Leaderboard Mobile Avancé */
    .leaderboard-popup-content {
        width: 96%;
        max-width: 96vw;
        max-height: 85vh;
        margin: 0;
        border-radius: var(--space-3);
    }
    
    .leaderboard-header {
        padding: var(--space-3) var(--space-4);
        flex-direction: row;
        gap: var(--space-2);
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }
    
    .leaderboard-header h3 {
        font-size: var(--font-size-xl);
        gap: 0.25rem;
        justify-content: flex-start;
        line-height: 1.1;
        margin: 0;
        flex: 1;
    }
    
    .trophy-icon-header {
        width: 20px;
        height: 20px;
    }
    
    .leaderboard-actions {
        gap: var(--space-2);
        justify-content: flex-end;
        flex-shrink: 0;
    }
    
    .share-leaderboard-button {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-sm);
        font-weight: 500;
        border-radius: var(--space-2);
    }
    
    .close-leaderboard {
        font-size: var(--font-size-lg);
        padding: var(--space-2);
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .leaderboard-content {
        padding: var(--space-3) var(--space-4) var(--space-4);
        max-height: 52vh;
    }
    
    .leaderboard-list {
        gap: var(--space-2);
    }
    
    .leaderboard-item {
        padding: var(--space-3);
        border-radius: var(--space-1);
        min-height: 48px;
    }
    
    .leaderboard-rank {
        min-width: 2.5rem;
        font-size: var(--font-size-lg);
        font-weight: 700;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .leaderboard-username {
        font-size: var(--font-size-base);
        margin-left: var(--space-3);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .leaderboard-score {
        font-size: var(--font-size-base);
        font-weight: 600;
        min-width: 3rem;
        text-align: right;
    }
    
    .leaderboard-reward-message {
        padding: var(--space-2);
        margin-bottom: var(--space-2);
        border-radius: var(--space-1);
    }
    
    .leaderboard-reward-message p {
        font-size: var(--font-size-sm);
        line-height: 1.3;
    }
    
    .game-subtitle {
        font-size: var(--font-size-base);
    }
}

/* MOBILE TRÈS PETIT - Extra small screens (480px and below) */
@media (max-width: 480px) {
    .dashboard-main {
        padding: var(--space-16) 0 var(--space-6);
    }
    
    .dashboard-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .dashboard-subtitle {
        font-size: var(--font-size-base);
    }
    
    .countdown-timer-inline {
        gap: var(--space-2);
        flex-wrap: wrap;
    }
    
    .time-unit-inline {
        min-width: 60px;
        padding: var(--space-2) var(--space-3);
    }
    
    .time-value-inline {
        font-size: var(--font-size-xl);
    }
    
    .battle-pass-title {
        font-size: var(--font-size-2xl);
    }
    
    .battle-pass-description {
        font-size: var(--font-size-sm);
    }
    
    .founder-code-title {
        font-size: var(--font-size-sm);
    }
    
    .code-value {
        font-size: var(--font-size-sm);
    }
    
    .reward-item {
        min-width: 90px;
        height: 110px;
        padding: var(--space-2);
    }
    
    .reward-title {
        font-size: 10px;
    }
    
    .reward-description {
        font-size: 9px;
    }
    
    .reward-requirement {
        font-size: 8px;
        padding: var(--space-1);
    }
    
    .game-header {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
        text-align: center;
        padding: var(--space-4) var(--space-4);
    }
    
    .game-title {
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
        order: 1;
        padding: var(--space-3);
    }
    
    .game-title h2 {
        font-size: var(--font-size-3xl);
        text-align: center;
        width: 100%;
    }
    
    .game-description {
        font-size: var(--font-size-base);
        text-align: center;
        width: 100%;
    }
    
    .leaderboard-button-header {
        order: 2;
        margin: var(--space-2) 0;
        font-size: var(--font-size-sm);
        padding: var(--space-4) var(--space-5);
        min-height: 44px;
        font-weight: 600;
        border-radius: var(--radius-lg);
    }
    
    .leaderboard-button-header .trophy-icon {
        width: 18px;
        height: 18px;
    }
    
    .game-score {
        order: 3;
        gap: var(--space-4);
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
        padding: var(--space-3);
    }
    
    .score-display,
    .best-score {
        padding: var(--space-2) var(--space-3);
        min-width: 80px;
        text-align: center;
    }
    
    .score-display span:first-child,
    .best-score span:first-child {
        font-size: var(--font-size-xl);
        font-weight: 700;
    }
    
    #gameCanvas {
        height: 350px;
        width: 100%;
        max-width: none;
    }
    
    .game-container {
        margin: var(--space-3) calc(-50vw + 50%);
        width: 100vw;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .game-start-screen,
    .game-over-screen {
        padding: 1.5rem 1rem;
        margin: 0.75rem;
        max-width: 85%;
    }
    
    .game-start-screen h3,
    .game-over-screen h3 {
        font-size: var(--font-size-xl);
    }
    
    .start-button,
    .restart-button {
        padding: var(--space-3) var(--space-6);
        font-size: var(--font-size-base);
        font-weight: 600;
    }
    
    /* Leaderboard Ultra Mobile Optimisé */
    .leaderboard-popup {
        padding: var(--space-2);
    }
    
    .leaderboard-popup-content {
        width: 98%;
        max-width: 98vw;
        max-height: 90vh;
        margin: 0;
        border-radius: var(--space-3);
    }
    
    .leaderboard-header {
        padding: var(--space-3);
        flex-direction: row;
        gap: var(--space-2);
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }
    
    .leaderboard-header h3 {
        font-size: var(--font-size-lg);
        gap: 0.125rem;
        justify-content: flex-start;
        line-height: 1.2;
        margin: 0;
        flex: 1;
    }
    
    .trophy-icon-header {
        width: 18px;
        height: 18px;
    }
    
    .leaderboard-actions {
        gap: var(--space-1);
        justify-content: flex-end;
        flex-direction: row;
        flex-shrink: 0;
    }
    
    .share-leaderboard-button {
        padding: var(--space-1) var(--space-3);
        font-size: var(--font-size-xs);
        font-weight: 500;
        border-radius: var(--space-1);
        flex: 1;
        max-width: 120px;
    }
    
    .close-leaderboard {
        font-size: var(--font-size-base);
        padding: var(--space-1);
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .leaderboard-content {
        padding: var(--space-2) var(--space-3) var(--space-3);
        max-height: 55vh;
    }
    
    .leaderboard-list {
        gap: var(--space-2);
    }
    
    .leaderboard-item {
        padding: var(--space-2) var(--space-3);
        border-radius: var(--space-1);
        min-height: 44px;
        align-items: center;
    }
    
    .leaderboard-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .leaderboard-rank {
        min-width: 2rem;
        font-size: var(--font-size-base);
        font-weight: 700;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        height: 2rem;
    }
    
    .leaderboard-username {
        font-size: var(--font-size-sm);
        margin-left: var(--space-2);
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .leaderboard-score {
        font-size: var(--font-size-sm);
        font-weight: 600;
        min-width: 3rem;
        text-align: right;
    }
    
    .leaderboard-reward-message {
        padding: var(--space-2);
        margin-bottom: var(--space-2);
        border-radius: var(--space-1);
    }
    
    .leaderboard-reward-message p {
        font-size: var(--font-size-sm);
        line-height: 1.3;
    }
    
    .leaderboard-loading {
        padding: var(--space-4);
    }
    
    .leaderboard-loading i {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--space-2);
    }
}

/* Legal Pages Styles */
.legal-page {
    padding-top: 120px;
    padding-bottom: var(--space-16);
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: var(--space-12);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
    font-family: 'Arboria', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--black);
    margin-bottom: var(--space-8);
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section {
    margin-bottom: var(--space-8);
}

.legal-section h2 {
    font-family: 'Arboria', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--gray-200);
}

.legal-section p {
    font-family: 'Arboria', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-4);
}

.legal-section ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.legal-section li {
    font-family: 'Arboria', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.legal-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.legal-section strong {
    font-weight: 500;
    color: var(--gray-800);
}

.back-to-home {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-200);
}

/* Mobile styles for legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
    }
    
    .legal-content {
        margin: var(--space-4);
        padding: var(--space-6);
    }
    
    .legal-content h1 {
        font-size: 2rem;
        margin-bottom: var(--space-6);
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.9rem;
    }
}

/* ==================== SHARE FUNCTIONALITY ====================*/

/* Bouton de partage dans la popup info */
.share-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-light-green));
    color: var(--black);
    border: none;
    border-radius: 12px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 208, 1, 0.3);
}

.share-button i {
    font-size: 1.1rem;
}

/* Share Popup - Design simple et moderne */
.share-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.share-popup.active {
    opacity: 1;
    pointer-events: all;
}

.share-popup-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.share-popup.active .share-popup-content {
    transform: scale(1) translateY(0);
}

.share-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(6, 208, 1, 0.03);
}

.share-popup-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.close-share-popup {
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.close-share-popup:hover {
    color: var(--white);
    background: var(--gray-700);
}

.share-popup-body {
    padding: 1.5rem;
}

/* Share Card - Design simple */
.share-card {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.share-card-background {
    background: var(--bg-secondary);
    padding: 1.5rem;
}

.share-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.share-card-header h3 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

/* Stats - Design simple */
.share-stats-connected {
    margin-bottom: 1.5rem;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.stat-box:first-child {
    border-right: 1px solid var(--border-subtle);
}

.founder-code-box {
    border: 1px solid rgba(6, 208, 1, 0.3);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-top: 0.75rem;
    background: rgba(6, 208, 1, 0.08);
}

.stat-value {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-value.code-value {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    background: rgba(6, 208, 1, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
    color: var(--secondary-green);
    border: 1px solid rgba(6, 208, 1, 0.3);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.stat-label {
    color: var(--accent-light-green);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    order: -1;
}

.share-card-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.share-card-footer p {
    color: var(--white);
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dodje-logo-inline {
    height: 20px;
    width: auto;
}

.share-link {
    color: var(--accent-light-green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Boutons de partage - Simple */
.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.share-btn {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    background: var(--bg-secondary);
}

.share-btn:hover {
    background: var(--gray-700);
}

.share-btn.twitter:hover {
    color: #1DA1F2;
    border-color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
}

.share-btn.instagram:hover {
    color: #E4405F;
    border-color: #E4405F;
    background: rgba(228, 64, 95, 0.1);
}

.share-btn.discord:hover {
    color: #5865F2;
    border-color: #5865F2;
    background: rgba(88, 101, 242, 0.1);
}

.share-btn.download:hover {
    color: var(--secondary-green);
    border-color: var(--secondary-green);
    background: rgba(6, 208, 1, 0.1);
}



/* Mobile Responsive - Plus compact */
@media (max-width: 640px) {
    .share-popup-content {
        max-width: 95%;
        margin: 0.5rem;
        max-height: 90vh;
    }
    
    .share-popup-header {
        padding: 1rem 1.25rem;
    }
    
    .share-popup-body {
        padding: 1rem;
    }
    
    .share-card-background {
        padding: 1.25rem;
    }
    
    .share-card-header h3 {
        font-size: 1.5rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }
    
    .stat-box {
        padding: 1rem 0.75rem;
        border-right: none !important;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .stat-box:last-child {
        border-bottom: none;
    }
    
    .founder-code-box {
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-value.code-value {
        font-size: 0.9rem;
        padding: 0.4rem 0.7rem;
    }
    
    .dodje-logo-inline {
        height: 18px;
    }
    
    .share-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .share-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none;
    }
    
    .hero {
        min-height: auto;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* MOBILE - Extra small screens (320px and below) */
@media (max-width: 320px) {
    /* Renforcer les règles vidéo pour les très petits écrans */
    #background-video {
        /* Forcer la taille */
        min-width: 100% !important;
        min-height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        /* Empêcher tout type d'interaction */
        pointer-events: none !important;
        -webkit-touch-callout: none !important;
        touch-action: none !important;
    }
    
    /* Supprimer complètement le lecteur vidéo personnalisé sur très petits écrans */
    .play-button-overlay,
    .custom-play-button,
    .video-time-display,
    .custom-video-player {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: -999 !important;
    }
}