/* ============================================
   LES AVENTURIERS DU JEU - Indiana Jones D.A.
   Mobile-first • Immersive Adventure Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
    --gold: #c8a45a;
    --gold-light: #e8d5a0;
    --gold-dark: #8b6914;
    --gold-bright: #daa520;
    --brown: #2c1810;
    --brown-light: #4a2c1a;
    --brown-medium: #3d2215;
    --brown-warm: #5c3a1e;
    --cream: #faf6ee;
    --cream-dark: #f0e8d8;
    --parchment: #e8d5a0;
    --parchment-light: #f2e6c9;
    --parchment-dark: #c4a96a;
    --leather: #5c3a1e;
    --leather-dark: #3a2210;
    --jungle-green: #1a3a2a;
    --jungle-light: #2d5a3d;
    --rust: #a0522d;
    --bronze: #b08d57;
    --red-accent: #c0392b;
    --torch-glow: rgba(255, 180, 60, 0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
    --shadow-gold: 0 4px 20px rgba(200,164,90,0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--cream);
    color: #1a1a1a;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Parchment Texture --- */
.parchment-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 50%, var(--cream) 100%);
}

/* --- Torn Paper Edges --- */
.torn-edge { position: absolute; left: 0; right: 0; height: 40px; z-index: 5; pointer-events: none; }
.torn-edge-bottom {
    bottom: -1px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L30,8 L60,3 L90,12 L120,5 L150,15 L180,7 L210,18 L240,4 L270,14 L300,6 L330,16 L360,2 L390,13 L420,8 L450,17 L480,3 L510,11 L540,6 L570,15 L600,4 L630,12 L660,7 L690,16 L720,3 L750,14 L780,5 L810,13 L840,8 L870,17 L900,2 L930,11 L960,6 L990,15 L1020,4 L1050,12 L1080,7 L1110,16 L1140,3 L1170,14 L1200,8 L1200,40 L0,40 Z' fill='%23faf6ee'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}
.torn-edge-dark {
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L30,8 L60,3 L90,12 L120,5 L150,15 L180,7 L210,18 L240,4 L270,14 L300,6 L330,16 L360,2 L390,13 L420,8 L450,17 L480,3 L510,11 L540,6 L570,15 L600,4 L630,12 L660,7 L690,16 L720,3 L750,14 L780,5 L810,13 L840,8 L870,17 L900,2 L930,11 L960,6 L990,15 L1020,4 L1050,12 L1080,7 L1110,16 L1140,3 L1170,14 L1200,8 L1200,40 L0,40 Z' fill='%232c1810'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}

/* --- Rope Divider --- */
.rope-divider { width: 100%; height: 20px; overflow: hidden; background: var(--cream); display: flex; align-items: center; }
.rope-divider svg { width: 100%; height: 20px; }

/* ========== PRELOADER ========== */
#preloader {
    position: fixed; inset: 0; z-index: 10000; background: var(--brown);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.compass-loader { width: 100px; height: 100px; margin: 0 auto 20px; }
.compass-svg { animation: compassSpin 2s ease-in-out infinite; }
.compass-needle { transform-origin: 60px 60px; animation: needleSway 1.5s ease-in-out infinite; }
.loader-text { font-family: 'Cinzel Decorative', serif; color: var(--gold); font-size: 14px; letter-spacing: 2px; opacity: 0.8; }
@keyframes compassSpin { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(360deg); } }
@keyframes needleSway { 0%,100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }

/* ========== PARTICLES ========== */
#particles-container { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle { position: absolute; bottom: -10px; background: var(--gold); border-radius: 50%; opacity: 0; animation: particleFloat 8s infinite ease-in-out; }
@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0); opacity: 0; }
    20% { opacity: 0.4; }
    80% { opacity: 0.2; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* ========== NAVBAR ========== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.4s var(--ease); }
.navbar.scrolled { background: rgba(44,24,16,0.95); backdrop-filter: blur(20px); padding: 8px 0; box-shadow: 0 4px 30px rgba(0,0,0,0.3); border-bottom: 1px solid rgba(200,164,90,0.15); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo .logo-img { height: 50px; width: auto; transition: height 0.3s var(--ease); }
.navbar.scrolled .logo-img { height: 40px; }
.nav-links { display: none; gap: 8px; }
.nav-link { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75); padding: 8px 14px; border-radius: 100px; transition: all 0.3s var(--ease); position: relative; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.nav-cta { display: none; }
.btn-cta { font-family: 'Cinzel Decorative', serif; font-size: 12px; font-weight: 700; color: var(--brown); background: linear-gradient(135deg, var(--gold), var(--gold-light)); padding: 10px 24px; border-radius: 100px; transition: all 0.3s var(--ease); white-space: nowrap; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-links.active { display: flex; flex-direction: column; position: fixed; inset: 0; background: rgba(44,24,16,0.98); backdrop-filter: blur(20px); z-index: 999; align-items: center; justify-content: center; gap: 12px; animation: fadeIn 0.3s ease; }
.nav-links.active .nav-link { font-size: 20px; font-family: 'Playfair Display', serif; padding: 12px 24px; min-height: 48px; display: flex; align-items: center; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========== HERO ========== */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 100px 20px 60px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 30%, rgba(92,58,30,0.9) 0%, var(--brown) 70%), var(--brown); }
.hero-parchment-texture { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); opacity: 0.5; }
.hero-map-lines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(200,164,90,0.03) 80px, rgba(200,164,90,0.03) 81px), repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(200,164,90,0.03) 80px, rgba(200,164,90,0.03) 81px); }
.hero-torch-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,180,60,0.08) 0%, transparent 70%); animation: torchFlicker 4s ease-in-out infinite; pointer-events: none; }
.hero-torch-left { top: 10%; left: -10%; }
.hero-torch-right { bottom: 10%; right: -10%; animation-delay: 2s; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%); }
@keyframes torchFlicker { 0%,100% { opacity: 1; transform: scale(1); } 25% { opacity: 0.7; transform: scale(1.05); } 50% { opacity: 0.9; transform: scale(0.98); } 75% { opacity: 0.75; transform: scale(1.03); } }

.hero-compass-rose { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(80vw, 600px); height: min(80vw, 600px); z-index: 1; animation: compassRoseSpin 120s linear infinite; }
@keyframes compassRoseSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; width: 100%; }
.hero-logo-wrapper { position: relative; display: inline-block; margin-bottom: 16px; }
.hero-logo { width: 200px; height: auto; filter: drop-shadow(0 8px 30px rgba(200,164,90,0.3)); animation: logoReveal 1.2s ease-out; }
.hero-logo-glow { position: absolute; inset: -30%; background: radial-gradient(circle, rgba(200,164,90,0.15) 0%, transparent 70%); border-radius: 50%; animation: glowPulse 3s ease-in-out infinite; pointer-events: none; }
@keyframes logoReveal { from { opacity: 0; transform: scale(0.7) blur(10px); } to { opacity: 1; transform: scale(1) blur(0); } }
@keyframes glowPulse { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; border: 1px solid rgba(200,164,90,0.3); border-radius: 100px; color: var(--gold-light); font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; background: rgba(200,164,90,0.05); backdrop-filter: blur(10px); }
.badge-compass { font-size: 14px; opacity: 0.6; }

.hero-title { margin-bottom: 16px; }
.title-accent { display: block; font-family: 'Cinzel Decorative', serif; font-size: clamp(20px, 5vw, 36px); color: var(--gold); letter-spacing: 6px; text-transform: uppercase; line-height: 1.3; }
.title-main { display: block; font-family: 'Playfair Display', serif; font-size: clamp(48px, 12vw, 100px); font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 4px 30px rgba(0,0,0,0.3); }

.hero-subtitle { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 500px; margin: 0 auto 12px; }
.hero-stats-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-stat { color: var(--gold-light); font-weight: 700; font-size: 14px; }
.hero-stat-dot { color: var(--gold-dark); font-size: 6px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 15px; transition: all 0.3s var(--ease); cursor: pointer; border: none; min-height: 48px; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--brown); box-shadow: 0 4px 15px rgba(200,164,90,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(200,164,90,0.4); }
.btn-outline { border: 2px solid rgba(200,164,90,0.4); color: var(--gold-light); background: transparent; }
.btn-outline:hover { border-color: var(--gold); background: rgba(200,164,90,0.1); transform: translateY(-2px); }
.btn-small { padding: 10px 20px; font-size: 13px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 28px; }

.hero-mascot { position: absolute; bottom: 80px; right: -60px; z-index: 3; display: none; }
.mascot-img { width: 120px; animation: mascotBob 3s ease-in-out infinite; }
@keyframes mascotBob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(3deg); } }

.next-event-card { display: flex; align-items: center; gap: 16px; padding: 14px 24px; background: rgba(200,164,90,0.1); backdrop-filter: blur(20px); border: 1px solid rgba(200,164,90,0.2); border-radius: var(--radius-md); color: #fff; max-width: 500px; margin: 0 auto; font-size: 14px; flex-wrap: wrap; }
.next-event-icon { font-size: 20px; }
.next-event-label { font-family: 'Cinzel Decorative', serif; font-size: 10px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.next-event-date { font-weight: 600; color: rgba(255,255,255,0.9); }
.next-event-loc { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.5); font-size: 13px; }

.hero-scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gold); opacity: 0.5; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
.hero-scroll-indicator span { font-family: 'Cinzel Decorative', serif; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; }
@keyframes scrollPulse { 0%,100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.3; transform: scaleY(0.6); } }

/* ========== STATS BAR ========== */
.stats-bar { background: var(--brown); padding: 40px 0; position: relative; border-top: 2px solid rgba(200,164,90,0.15); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-prefix { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--gold); vertical-align: super; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 2px; margin-top: 6px; }

/* ========== SECTIONS COMMON ========== */
.section { padding: 60px 0; position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag { display: inline-block; font-family: 'Cinzel Decorative', serif; font-size: 12px; color: var(--gold-dark); letter-spacing: 3px; text-transform: uppercase; padding: 6px 20px; border: 1px solid rgba(139,105,20,0.2); border-radius: 100px; background: rgba(200,164,90,0.05); margin-bottom: 16px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 6vw, 48px); font-weight: 900; color: var(--brown); line-height: 1.2; margin-bottom: 12px; }
.section-line { width: 60px; height: 3px; background: linear-gradient(to right, var(--gold-dark), var(--gold)); margin: 0 auto; border-radius: 2px; }
.section-desc { max-width: 600px; margin: 16px auto 0; color: #666; font-size: 15px; }

.sessions, .events { background: var(--brown); color: #fff; }
.sessions .section-tag, .events .section-tag, .team .section-tag { color: var(--gold); border-color: rgba(200,164,90,0.2); }
.sessions .section-title, .events .section-title, .team .section-title { color: #fff; }
.team { background: var(--brown); color: #fff; }

/* ========== ABOUT ========== */
.about-grid { display: grid; gap: 40px; }
.about-text p { margin-bottom: 16px; font-size: 15px; line-height: 1.8; color: #444; }
.about-text p strong { color: var(--brown); }
.about-text p em { color: var(--gold-dark); font-style: italic; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feature { display: flex; align-items: center; gap: 16px; padding: 14px; background: rgba(200,164,90,0.06); border-radius: var(--radius-md); border-left: 3px solid var(--gold); }
.feature-icon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; background: rgba(200,164,90,0.1); border-radius: 50%; }
.feature h4 { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--brown); margin-bottom: 2px; }
.feature p { font-size: 13px; color: #888; margin: 0; }

.about-image-stack { position: relative; min-height: 300px; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid rgba(200,164,90,0.15); }
.about-img img { width: 100%; object-fit: cover; }
.about-img-1 { position: relative; z-index: 1; }
.about-img-2 { position: absolute; bottom: -20px; right: -10px; width: 55%; z-index: 2; }
.about-decoration { position: absolute; bottom: -40px; left: 10px; z-index: 3; }
.mascot-float { width: 80px; animation: mascotBob 3s ease-in-out infinite; }

/* ========== SESSIONS ========== */
.sessions-grid { display: grid; gap: 16px; }
.session-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(200,164,90,0.15); border-radius: var(--radius-md); padding: 24px; text-align: center; transition: all 0.3s var(--ease); position: relative; }
.session-card:hover { transform: translateY(-4px); border-color: rgba(200,164,90,0.3); background: rgba(255,255,255,0.06); }
.session-card-featured { border-color: rgba(200,164,90,0.4); background: rgba(200,164,90,0.06); }
.session-card-glow { position: absolute; inset: -1px; border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(200,164,90,0.1), transparent); pointer-events: none; }
.session-badge { display: inline-block; font-family: 'Cinzel Decorative', serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--brown); padding: 4px 14px; border-radius: 100px; margin-bottom: 12px; font-weight: 700; }
.session-day { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; color: var(--gold); line-height: 1; display: block; }
.session-month { font-family: 'Cinzel Decorative', serif; font-size: 14px; color: var(--gold-light); letter-spacing: 4px; text-transform: uppercase; }
.session-title { font-family: 'Playfair Display', serif; font-size: 18px; color: #fff; margin: 12px 0; }
.session-details { margin: 12px 0; }
.session-detail { display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 6px; }
.session-detail svg { color: var(--gold); flex-shrink: 0; }
.sessions-cta { text-align: center; margin-top: 32px; }

/* ========== LUDOTHEQUE ========== */
.ludo-categories { display: grid; gap: 20px; margin-bottom: 40px; }
.ludo-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 4/3; }
.ludo-card-inner { position: relative; width: 100%; height: 100%; }
.ludo-card-image { position: absolute; inset: 0; }
.ludo-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ludo-card:hover .ludo-card-image img { transform: scale(1.08); }
.ludo-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,24,16,0.9) 0%, rgba(44,24,16,0.3) 50%, transparent 100%); }
.ludo-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; z-index: 2; }
.ludo-icon { font-size: 28px; margin-bottom: 8px; }
.ludo-card-content h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.ludo-card-content p { color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.5; }
.ludo-card-bg-text { position: absolute; top: 10px; right: 10px; font-family: 'Cinzel Decorative', serif; font-size: 40px; font-weight: 900; color: rgba(255,255,255,0.05); text-transform: uppercase; pointer-events: none; }

.top-games { text-align: center; }
.top-games-title { font-family: 'Cinzel Decorative', serif; font-size: 18px; color: var(--brown); margin-bottom: 24px; }
.top-games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.top-game { text-align: center; }
.top-game-img { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 12px; transition: transform 0.3s var(--ease); border: 2px solid rgba(200,164,90,0.1); }
.top-game:hover .top-game-img { transform: scale(1.03); }
.top-game-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.top-game-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 100px; margin-bottom: 6px; }
.top-game-name { display: block; font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--brown); }

/* ========== GALLERY ========== */
.gallery-section { background: var(--cream-dark); }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.gallery-filter { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; padding: 8px 20px; border: 1px solid rgba(139,105,20,0.2); border-radius: 100px; background: transparent; color: #666; cursor: pointer; transition: all 0.3s var(--ease); min-height: 40px; }
.gallery-filter:hover { border-color: var(--gold); color: var(--gold-dark); }
.gallery-filter.active { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--brown); border-color: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease); }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,24,16,0.7) 0%, transparent 60%); opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption { position: absolute; bottom: 12px; left: 12px; right: 12px; color: #fff; font-size: 13px; font-weight: 500; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; }
.gallery-item:hover .gallery-item-caption { opacity: 1; transform: translateY(0); }

/* ========== EVENTS TIMELINE ========== */
.events-timeline { position: relative; max-width: 700px; margin: 0 auto; }
.timeline-line { position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), rgba(200,164,90,0.1)); }
.event-item { position: relative; padding-left: 50px; margin-bottom: 32px; }
.event-dot { position: absolute; left: 13px; top: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--brown); z-index: 2; }
.event-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(200,164,90,0.15); border-radius: var(--radius-md); padding: 20px; display: flex; gap: 16px; transition: all 0.3s var(--ease); }
.event-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(200,164,90,0.3); }
.event-card-date { text-align: center; flex-shrink: 0; min-width: 60px; }
.ecd-day { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: var(--gold); line-height: 1; display: block; }
.ecd-month { font-size: 12px; color: var(--gold-light); letter-spacing: 1px; display: block; margin-top: 4px; }
.event-card-body h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: #fff; margin-bottom: 6px; }
.event-card-body p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
.event-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 4px 12px; border: 1px solid rgba(200,164,90,0.3); border-radius: 100px; color: var(--gold); }

/* ========== TEAM ========== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.team-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(200,164,90,0.12); border-radius: var(--radius-md); padding: 24px; text-align: center; transition: all 0.3s var(--ease); }
.team-card:hover { border-color: rgba(200,164,90,0.3); transform: translateY(-4px); }
.team-avatar { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-gold); }
.avatar-letter { font-family: 'Cinzel Decorative', serif; font-size: 24px; font-weight: 900; color: var(--brown); }
.team-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.team-role { font-family: 'Cinzel Decorative', serif; font-size: 11px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.team-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 10px; }
.team-since { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 1px; text-transform: uppercase; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; gap: 32px; }
.contact-card { display: flex; gap: 16px; margin-bottom: 20px; padding: 16px; background: rgba(200,164,90,0.04); border-radius: var(--radius-md); border-left: 3px solid var(--gold); }
.contact-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--gold-dark); background: rgba(200,164,90,0.08); border-radius: 50%; }
.contact-card h4 { font-family: 'Cinzel Decorative', serif; font-size: 12px; color: var(--gold-dark); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: #444; line-height: 1.6; }
.contact-card a { color: var(--gold-dark); font-weight: 600; }
.contact-note { font-size: 12px; color: #999; display: block; margin-top: 4px; }
.contact-transport { margin-top: 24px; }
.contact-transport h4 { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--brown); margin-bottom: 12px; }
.transport-options { display: flex; flex-direction: column; gap: 8px; }
.transport-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #555; }
.transport-icon { font-size: 18px; }
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 3px solid rgba(200,164,90,0.15); aspect-ratio: 4/3; }
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }
.social-links { display: flex; justify-content: center; gap: 16px; margin-top: 20px; }
.social-link { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(200,164,90,0.08); color: var(--gold-dark); transition: all 0.3s var(--ease); border: 1px solid rgba(200,164,90,0.15); }
.social-link:hover { background: var(--gold); color: var(--brown); transform: translateY(-3px); }

/* ========== FOOTER ========== */
.footer { background: var(--brown); color: rgba(255,255,255,0.6); position: relative; padding-top: 0; }
.footer-jungle { width: 100%; position: relative; z-index: 1; margin-bottom: -5px; }
.footer-vegetation { width: 100%; height: auto; display: block; }
.footer-content { padding: 30px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo { height: 40px; }
.footer-brand p { font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--gold); }
.footer-credit { font-size: 12px; }
.footer-admin-link { display: inline-block; margin-top: 6px; opacity: 0.15; font-size: 14px; transition: opacity 0.3s ease; }
.footer-admin-link:hover { opacity: 0.6; }

/* ========== LIGHTBOX ========== */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.95); display: none; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 85vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-caption { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 12px; font-style: italic; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: none; border: none; color: white; font-size: 36px; cursor: pointer; padding: 16px; z-index: 10; opacity: 0.6; transition: opacity 0.3s ease; min-width: 48px; min-height: 48px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ========== ANIMATIONS ========== */
[data-animate] { opacity: 0; transition: all 0.8s var(--ease); }
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-down"] { transform: translateY(-40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated { opacity: 1; transform: translate(0, 0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    [data-animate] { opacity: 1; transform: none; }
}

/* ========== TABLET (768px+) ========== */
@media (min-width: 768px) {
    .container { padding: 0 40px; }
    .section { padding: 80px 0; }
    .nav-toggle { display: none; }
    .nav-links { display: flex; position: static; flex-direction: row; background: none; backdrop-filter: none; animation: none; }
    .nav-links .nav-link { font-size: 14px; font-family: 'Inter', sans-serif; padding: 8px 14px; min-height: auto; }
    .nav-cta { display: block; }
    .hero { padding: 120px 40px 80px; }
    .hero-logo { width: 280px; }
    .hero-actions { flex-direction: row; }
    .hero-mascot { display: block; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
    .stat-number { font-size: 52px; }
    .stat-item { border-right: 1px solid rgba(200,164,90,0.15); }
    .stat-item:last-child { border-right: none; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .sessions-grid { grid-template-columns: repeat(2, 1fr); }
    .ludo-categories { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .footer-content { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ========== DESKTOP (1024px+) ========== */
@media (min-width: 1024px) {
    .section { padding: 100px 0; }
    .hero-logo { width: 320px; }
    .sessions-grid { grid-template-columns: repeat(4, 1fr); }
    .timeline-line { left: 50%; }
    .event-item { padding-left: 0; width: 50%; }
    .event-item:nth-child(odd) { padding-right: 40px; text-align: right; margin-left: 0; }
    .event-item:nth-child(odd) .event-dot { right: -8px; left: auto; }
    .event-item:nth-child(odd) .event-card { flex-direction: row-reverse; }
    .event-item:nth-child(even) { padding-left: 40px; margin-left: 50%; }
    .event-item:nth-child(even) .event-dot { left: -8px; }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== LARGE (1280px+) ========== */
@media (min-width: 1280px) {
    .container { padding: 0 60px; }
    .hero-logo { width: 350px; }
}
