:root {
    --neon-blue: #00d4ff; --neon-green: #39ff14; --neon-purple: #bc13fe;
    --neon-orange: #ff8c00; --neon-yellow: #f4ea10; --gold-color: #bf953f;
    --gold-metallic: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --primary-neon: var(--neon-blue);
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 10px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: #030713; }
body { margin: 0; padding: 0; width: 100%; min-height: 100vh; display: flex; flex-direction: column; font-family: 'Oxanium', sans-serif; color: white; overflow-x: hidden; }
p, textarea { font-family: 'Inter', sans-serif; }

.site-bg { position: fixed; top: -5%; left: -5%; right: -5%; bottom: -5%; z-index: -3; pointer-events: none; overflow: hidden; background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/Fond.jpg') center/cover no-repeat; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .15; z-index: -2; background-size: 42px 42px; background-image: linear-gradient(rgba(0,217,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(0,217,255,.06) 1px,transparent 1px); }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.nav-bubble { position: fixed; left: 40px; top: 0; width: 140px; height: 120px; z-index: 1001; background: rgba(15, 15, 15, 0.8); backdrop-filter: blur(20px); border-radius: 0 0 70px 70px; display: flex; justify-content: center; align-items: center; border: 1px solid rgba(255,255,255,0.1); border-top: none; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: 0.3s; }
.nav-bubble:hover { background: rgba(20, 20, 20, 0.95); box-shadow: 0 15px 40px rgba(0,217,255,0.4); }
.nav-logo { width: 110px !important; filter: drop-shadow(0 0 15px var(--neon-blue)); transition: 0.4s ease; }
.nav-bubble:hover .nav-logo { transform: scale(1.05); filter: drop-shadow(0 0 25px var(--neon-blue)); }

.glass-nav-capsules { position: fixed; top: 30px; left: 210px; right: 40px; height: 64px; display: flex; align-items: center; justify-content: flex-end; z-index: 1000; pointer-events: none; }
.nav-capsule { background: rgba(12, 12, 12, 0.75); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border-radius: 32px; border: 1px solid rgba(255, 255, 255, 0.08); border-top: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 0 15px rgba(255,255,255,0.03); pointer-events: auto; height: 100%; display: flex; align-items: center; padding: 0 25px; }
.a11y-wrapper { position: relative; }
.icon-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 10px; border-radius: 8px; transition: 0.3s; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 38px; width: 38px;}
.icon-btn:hover { border-color: var(--primary-neon); color: var(--primary-neon); box-shadow: 0 0 10px var(--primary-neon); }
.datetime-widget { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding-left: 15px; border-left: 1px solid rgba(255,255,255,0.1); }
#current-date { font-size: 0.6rem; color: #ccc; text-transform: uppercase; letter-spacing: 1px; }
#current-time { font-size: 1rem; font-weight: 800; color: white; text-shadow: 0 0 10px var(--neon-blue); }

.main-layout { position: relative; z-index: 5; flex: 1 0 auto; width: 100%; max-width: 1400px; margin: 150px auto 40px auto; padding: 0 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 30px; }
.glass-panel { background: rgba(15, 15, 15, 0.6); backdrop-filter: blur(20px); border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); box-sizing: border-box; border: 1px solid rgba(255, 255, 255, 0.05); border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 1px solid rgba(255, 255, 255, 0.15); }
.title-glow { font-weight: 800; text-transform: uppercase; margin: 0; background: linear-gradient(to bottom, #fff 30%, var(--neon-blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.8)); }

.hero-panel-capsule { background: rgba(12, 12, 12, 0.75); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border-radius: 40px; border: 1px solid rgba(255, 255, 255, 0.08); border-top: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 0 15px rgba(255,255,255,0.03); padding: 40px; margin-top: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; }
.icon-badge { position: absolute; top: -35px; width: 70px; height: 70px; border-radius: 50%; background: rgba(15,15,15,0.9); border: 2px solid var(--neon-blue); display: flex; justify-content: center; align-items: center; box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); font-size: 1.8rem; color: var(--neon-blue); }

.guestbook-ticker-container { width: 100%; overflow: hidden; white-space: nowrap; position: relative; background: rgba(12, 12, 12, 0.75); backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 15px 0; margin-top: -10px; margin-bottom: 10px; box-shadow: inset 0 0 15px rgba(191, 149, 63, 0.15); }
.guestbook-ticker-content { display: inline-block; white-space: nowrap; animation: guestbookTicker 15s linear infinite; }
.guestbook-ticker-content:hover { animation-play-state: paused; cursor: default; }
.ticker-msg { font-size: 0.95rem; font-weight: 800; color: #ccc; margin-right: 60px; font-family: 'Inter', sans-serif;}
@keyframes guestbookTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.controls-capsules-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; width: 100%; }
.content-capsule { background: rgba(12, 12, 12, 0.75); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border-radius: 32px; border: 1px solid rgba(255, 255, 255, 0.08); border-top: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 0 15px rgba(255,255,255,0.03); padding: 12px 25px; display: flex; align-items: center; gap: 10px; }
.filter-bar { padding: 8px 15px; } 
.filter-tag { padding: 8px 20px; border-radius: 20px; background: transparent; cursor: pointer; font-size: 0.85rem; text-transform: uppercase; font-weight: 800; transition: 0.3s; color: #aaa; border: 1px solid transparent; margin: 0 5px; }
.filter-tag:hover { color: white; }
.filter-tag.active { background: rgba(0, 212, 255, 0.1); color: var(--neon-blue); box-shadow: 0 0 15px rgba(0, 212, 255, 0.2); border-color: var(--neon-blue); }

.editions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }
.edition-card { border-radius: 20px; border: 2px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.edition-card.card-25:hover { border-color: var(--neon-purple); box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(188, 19, 254, 0.3); transform: translateY(-8px); }
.edition-card.card-24:hover { border-color: var(--neon-orange); box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(255, 140, 0, 0.3); transform: translateY(-8px); }
.edition-card.card-23:hover { border-color: var(--neon-yellow); box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(244, 234, 16, 0.3); transform: translateY(-8px); }
.edition-card.card-22:hover { border-color: var(--neon-green);  box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(57, 255, 20, 0.3); transform: translateY(-8px); }
.edition-card.card-21:hover { border-color: var(--neon-blue);   box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(0, 212, 255, 0.3); transform: translateY(-8px); }
.edition-card::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.4); z-index: 0; transition: transform 8s ease-out, filter 0.4s ease; }
.edition-card:hover::before { filter: brightness(0.6); transform: scale(1.15); }
.year-label { position: absolute; top: 20px; right: 20px; z-index: 2; font-size: 2rem; font-weight: 900; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); padding: 5px 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.card-glass-footer { background: rgba(10, 10, 15, 0.75); backdrop-filter: blur(15px); border-top: 1px solid rgba(255,255,255,0.1); width: 100%; padding: 20px; box-sizing: border-box; z-index: 2; }
.links-grid { display: grid; gap: 10px; width: 100%; }
.two-cols { grid-template-columns: repeat(2, 1fr); }
.card-21::before { background-image: url('../assets/preview-2021.jpg'); }
.card-22::before { background-image: url('../assets/preview-2022.jpg'); }
.card-23::before { background-image: url('../assets/preview-2023.jpg'); }
.card-24::before { background-image: url('../assets/preview-2024.jpg'); }
.card-25::before { background-image: url('../assets/preview-2025.jpg'); }

.btn { background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(15px); border: 2px solid rgba(255, 255, 255, 0.15); color: white; padding: 12px 15px; font-size: 0.8rem; font-weight: 800; text-decoration: none; border-radius: 12px; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-transform: uppercase; box-sizing: border-box; cursor: pointer; outline: none; }
.btn i { transition: all 0.4s ease; font-size: 1rem; }
.btn:hover { transform: translateY(-3px); box-shadow: inset 0 0 15px rgba(255,255,255,0.2); }
.btn:hover i { transform: rotate(15deg) scale(1.1); }
.btn-blue:hover { border-color: var(--neon-blue); box-shadow: 0 0 20px var(--neon-blue); background: rgba(0,212,255,0.1); color: var(--neon-blue); }
.btn-green:hover { border-color: var(--neon-green); box-shadow: 0 0 20px var(--neon-green); background: rgba(57,255,20,0.1); color: var(--neon-green); }
.btn-purple:hover { border-color: var(--neon-purple); box-shadow: 0 0 20px var(--neon-purple); background: rgba(188,19,254,0.1); color: var(--neon-purple); }
.btn-orange:hover { border-color: var(--neon-orange); box-shadow: 0 0 20px var(--neon-orange); background: rgba(255,140,0,0.1); color: var(--neon-orange); }
.btn-yellow:hover { border-color: var(--neon-yellow); box-shadow: 0 0 20px var(--neon-yellow); background: rgba(244,234,16,0.1); color: var(--neon-yellow); }
.btn-gold:hover { border-color: var(--gold-color); box-shadow: 0 0 20px var(--gold-color); background: rgba(191,149,63,0.1); color: var(--gold-color); }
.btn-blue i { color: var(--neon-blue); } .btn-green i { color: var(--neon-green); } .btn-purple i { color: var(--neon-purple); } .btn-orange i { color: var(--neon-orange); } .btn-yellow i { color: var(--neon-yellow); } .btn-gold i { color: var(--gold-color); }

.bottom-section { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; margin-top: 10px; }
#guest-msg { width: 100%; flex-grow: 1; min-height: 120px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-top: 1px solid rgba(255,255,255,0.3); border-radius: 10px; color: white; padding: 20px; margin-bottom: 15px; resize: none; font-size: 1rem; box-sizing: border-box; box-shadow: inset 0 0 10px rgba(0,0,0,0.8); transition: 0.3s; }
#guest-msg:focus { outline: none; border-color: var(--gold-color); box-shadow: 0 0 10px rgba(191, 149, 63, 0.2), inset 0 0 10px rgba(0,0,0,0.8); }

.upload-zone { border: 2px dashed rgba(57, 255, 20, 0.4) !important; background: rgba(57, 255, 20, 0.03) !important; display: flex; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s ease; text-align: center; padding: 40px !important; }
.upload-zone:hover { background: rgba(57, 255, 20, 0.08) !important; border-color: var(--neon-green) !important; box-shadow: inset 0 0 30px rgba(57, 255, 20, 0.1), 0 10px 30px rgba(0,0,0,0.5); transform: translateY(-5px); }
.upload-icon-wrapper { width: 80px; height: 80px; border-radius: 50%; background: rgba(57, 255, 20, 0.1); border: 1px solid var(--neon-green); display: flex; justify-content: center; align-items: center; font-size: 2.5rem; color: var(--neon-green); box-shadow: 0 0 20px rgba(57, 255, 20, 0.3); transition: 0.3s; }
.upload-zone:hover .upload-icon-wrapper { transform: scale(1.1) translateY(-5px); box-shadow: 0 0 30px rgba(57, 255, 20, 0.5); }

#toast-container { position: fixed; bottom: 100px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: rgba(15, 15, 15, 0.9); border-left: 4px solid var(--neon-blue); padding: 15px 25px; border-radius: 5px; backdrop-filter: blur(10px); box-shadow: 0 5px 15px rgba(0,0,0,0.5); animation: toastIn 0.3s ease-out forwards; display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

#back-to-top { position: fixed; bottom: 30px; right: 30px; z-index: 999; background: rgba(15, 15, 15, 0.8); backdrop-filter: blur(10px); border: 2px solid var(--neon-blue); color: var(--neon-blue); width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; opacity: 0; pointer-events: none; transition: all 0.3s ease; display: flex; justify-content: center; align-items: center; box-shadow: 0 0 15px rgba(0, 212, 255, 0.3); }
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--neon-blue); color: black; box-shadow: 0 0 25px var(--neon-blue); transform: translateY(-5px); }

/* FOOTER CAPSULE AVEC LOGO AGRANDI */
.footer-capsule { background: rgba(12, 12, 12, 0.75); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border-radius: 32px; border: 1px solid rgba(255, 255, 255, 0.08); border-top: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 0 15px rgba(255,255,255,0.03); margin: 10px auto 30px auto; padding: 15px 40px; display: flex; justify-content: center; align-items: center; width: 100%; max-width: 1400px; box-sizing: border-box; z-index: 50; position: relative; }
.footer-content { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 0.75rem; text-transform: uppercase; font-weight: 800; color: #aaa; letter-spacing: 1px; }
.footer-content img { height: 60px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s;}
.footer-content img:hover { transform: scale(1.05); border-color: var(--neon-blue); box-shadow: 0 0 15px var(--neon-blue); }

@media (max-width: 900px) {
    .glass-nav-capsules { flex-direction: column; top: 10px; left: 180px; height: auto; gap: 10px; align-items: flex-end; }
    .nav-capsule { height: 60px; }
    .controls-capsules-row { flex-direction: column; align-items: stretch; }
    .content-capsule { justify-content: center; }
}
@media (max-width: 768px) {
    .nav-bubble { position: relative; left: auto; margin: 0 auto; width: 120px; height: 100px; border-radius: 0 0 60px 60px; }
    .glass-nav-capsules { position: relative; top: 0; left: 0; right: 0; align-items: center; padding: 10px; width: 100%; box-sizing: border-box; flex-direction: column; }
    .nav-capsule { width: 100%; height: auto; padding: 15px; flex-wrap: wrap; justify-content: center; gap: 15px; border-radius: 20px; }
    .main-layout { padding-top: 0; margin-top: 20px; }
    .footer-capsule { width: calc(100% - 40px); margin-left: 20px; margin-right: 20px; }
    .hero-panel-capsule { margin-top: 40px; padding: 30px 20px; }
    .bottom-section { grid-template-columns: 1fr; }
}