/* ═══ BLACKSNOW — styles partagés ═══ */
:root { --neon-blue: #9DDEFF; --darker-blue: #187db0; --neon-pink: #ff2d78; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inconsolata', monospace; background-color: #151515; color: white; overflow-x: hidden; }
.page-flex { display: flex; flex-direction: column; min-height: 100vh; }
.page-flex > main { flex: 1; }

.logo-header { width: auto; height: 85px; max-height: 85px; }
.logo-hero { width: min(60%, 560px); max-height: 38vh; height: auto; margin: 0 auto; object-fit: contain; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 110px 0 120px; } /* 110 = navbar, 120 = place réservée à la flèche */
.hero-arrow { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; }
@media (max-height: 640px) { .logo-hero { max-height: 30vh; } .hero { padding-bottom: 96px; } .hero-arrow { bottom: 16px; } }
header nav a:hover, footer a:hover { color: var(--neon-blue); transition: all .3s ease; }
.y2k-font { font-family: 'Inconsolata', monospace; font-weight: 900; }

.form { background: rgba(0,0,0,.7); border: 3px solid rgba(255,255,255,.5); margin-bottom: 3em; }
.y2k-card { background: rgba(0,0,0,.7); border: 3px solid rgba(255,255,255,.5); transition: all .3s ease; }
.y2k-card:hover, .y2k-card:focus-visible { transform: scale(1.05); border-color: var(--neon-blue); box-shadow: 0 0 15px var(--neon-blue); outline: none; }

/* ═══ Boutons Y2K : pilule chromée + reflet + balayage de lumière ═══ */
a.y2k-btn, button.y2k-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 34px; border-radius: 999px;
  font-family: 'Inconsolata', monospace; font-weight: 900; font-size: 17px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.8); text-decoration: none;
  background: linear-gradient(180deg, #4a515e 0%, #1a1d23 46%, #050506 54%, #20262f 100%);
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 8px rgba(157,222,255,.22), 0 0 0 3px rgba(0,0,0,.65), 0 0 16px rgba(157,222,255,.22);
  transition: transform .2s ease, box-shadow .3s ease, border-color .3s ease, color .3s ease;
}
.y2k-btn::before { /* reflet "gel" */
  content: ''; position: absolute; left: 7%; right: 7%; top: 3px; height: 44%; border-radius: 999px; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0)); pointer-events: none;
}
.y2k-btn::after { /* balayage au survol */
  content: ''; position: absolute; top: -60%; left: 0; width: 35%; height: 220%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(157,222,255,.55), rgba(255,255,255,.8), rgba(255,45,120,.4), transparent);
  transform: translateX(-180%) rotate(20deg); transition: transform .75s ease;
}
.y2k-btn:hover, .y2k-btn:focus-visible {
  transform: translateY(-2px); color: var(--neon-blue); border-color: var(--neon-blue); outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -3px 10px rgba(157,222,255,.4), 0 0 0 3px rgba(0,0,0,.65), 0 0 26px rgba(157,222,255,.65), 0 0 60px rgba(255,45,120,.25);
}
.y2k-btn:hover::after, .y2k-btn:focus-visible::after { transform: translateX(420%) rotate(20deg); }
.y2k-btn:active { transform: translateY(1px) scale(.98); }
.y2k-btn .material-icons, .y2k-btn i { font-size: 1.25em; margin: 0; }
a.y2k-btn.is-neon, button.y2k-btn.is-neon { color: var(--neon-blue); border-color: var(--neon-blue); background: linear-gradient(180deg, #22465a 0%, #0b1a22 46%, #02070a 54%, #10303f 100%); }
a.y2k-btn.is-neon:hover, button.y2k-btn.is-neon:hover { color: #fff; }
a.y2k-btn.sm, button.y2k-btn.sm { padding: 8px 20px; font-size: 14px; letter-spacing: .12em; }

.y2k-grid-bg { background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 40px 40px; }
.scanlines { position: relative; }
.scanlines::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,.05) 50%, transparent 100%); background-size: 100% 4px; pointer-events: none; animation: scanline 6s linear infinite; }
@keyframes scanline { 0% { background-position: 0 0; } 100% { background-position: 0 100%; } }

/* Flocons */
.snowflake { position: fixed; top: -10%; z-index: 1; font-size: 3em; color: rgba(255,255,255,.5); pointer-events: none;
  animation-name: snowflakes-fall, snowflakes-shake; animation-duration: 10s, 3s; animation-timing-function: linear, ease-in-out; animation-iteration-count: infinite, infinite; }
.snowflake:nth-child(1) { left: 10%; animation-delay: 0s, 0s; }
.snowflake:nth-child(2) { left: 20%; animation-delay: 2s, 1s; }
.snowflake:nth-child(3) { left: 30%; animation-delay: 4s, 2s; }
.snowflake:nth-child(4) { left: 40%; animation-delay: 1s, 3s; }
.snowflake:nth-child(5) { left: 50%; animation-delay: 3s, 2s; }
.snowflake:nth-child(6) { left: 60%; animation-delay: 5s, 1s; }
@keyframes snowflakes-fall { 0% { top: -10%; opacity: 0; } 10% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes snowflakes-shake { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(40px); } }
@media (prefers-reduced-motion: reduce) { .snowflake, .scanlines::after { animation: none; display: none; } .y2k-btn::after { display: none; } }

/* Navbar : toujours transparente */
.site-header { background: transparent; border: 0; }
.site-header::before { /* dégradé sombre fondu, sans bordure */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 160%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.2) 75%, rgba(0,0,0,0) 100%);
}
.site-header nav a, .site-header #openMenu { text-shadow: 0 1px 6px rgba(0,0,0,.8); }

/* Menu mobile */
.mobile-menu { display: none; position: fixed; inset: 0; height: 100vh; background: rgba(0,0,0,.95); z-index: 60; flex-direction: column; justify-content: center; align-items: center; }
.mobile-menu.active { display: flex; }
.mr-2 { color: white; }

/* Scrollbar */
::-webkit-scrollbar { width: 1em; }
::-webkit-scrollbar-track { background: linear-gradient(180deg, #1a1a1a, #333); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: linear-gradient(145deg, var(--darker-blue), var(--neon-blue)); border-radius: 100px; border: 2px solid #fff; }

/* Footer */
.footer { background-color: #151515; color: #ccc; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 25px 40px; font-size: 14px; border-top: 2px solid rgba(255,255,255,.5); flex-wrap: wrap; }
.footer-left { display: flex; flex-direction: column; gap: 5px; }
.footer-left a { color: var(--neon-blue); text-decoration: none; transition: .3s; }
.footer-left a:hover { text-shadow: 0 0 5px var(--neon-blue); }
.footer-right { display: flex; gap: 15px; }

/* Pages légales */
#sommaire { padding: 6em 4em 1em; }
#mentionslegales, #cgu, #cgv, #politique { padding: 2em 4em; }
#sommaire h1, .h-legal { font-size: 32px; }
#mentionslegales h3, #cgu h3, #cgv h3, #politique h3 { font-size: 24px; }
section p { color: rgb(197,197,197); }
section a:hover { color: var(--neon-blue); transition: all .3s ease; }
ol { list-style-type: decimal; list-style-position: inside; }
ul { list-style-type: circle; list-style-position: inside; color: rgb(197,197,197); }
@media (max-width: 640px) { #sommaire, #mentionslegales, #cgu, #cgv, #politique { padding-left: 1.25em; padding-right: 1.25em; } }

/* ═══ Événements (cartes teaser) ═══ */
.bs-teaser { background: #0a0a0a; border: 2px solid var(--neon-blue); border-radius: 12px; padding: 3rem 2rem; text-align: center; font-family: 'Space Grotesk', sans-serif; position: relative; overflow: hidden; max-width: 56rem; margin: 0 auto; }
.bs-teaser::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,.012) 3px, rgba(255,255,255,.012) 4px); pointer-events: none; }
.bs-poster { display: block; max-width: 100%; max-height: 420px; margin: 0 auto 2rem; border-radius: 8px; border: 1px solid rgba(157,222,255,.4); }
.bs-tag { display: inline-block; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 3px; color: var(--neon-blue); border: 1px solid var(--neon-blue); padding: 4px 14px; border-radius: 2px; margin-bottom: 1.6rem; text-transform: uppercase; }
.bs-title { font-family: 'Space Mono', monospace; font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 700; color: #fff; letter-spacing: 4px; text-transform: uppercase; line-height: 1.2; margin-bottom: .5rem; }
.bs-year { font-family: 'Space Mono', monospace; font-size: clamp(2.2rem, 11vw, 5.5rem); font-weight: 700; color: transparent; -webkit-text-stroke: 2px var(--neon-blue); letter-spacing: clamp(2px, 1vw, 8px); line-height: 1; display: block; margin: .4rem 0 1.6rem; overflow-wrap: anywhere; }
.bs-line { width: 60px; height: 2px; background: linear-gradient(to right, var(--neon-pink), var(--neon-blue)); margin: 0 auto 1.6rem; border-radius: 2px; }
.bs-glitch { font-family: 'Space Mono', monospace; font-size: clamp(.8rem, 2vw, 1rem); letter-spacing: 5px; color: var(--neon-blue); text-transform: uppercase; margin-bottom: .5rem; animation: flicker 4s infinite; }
.bs-desc { max-width: 36rem; margin: 1rem auto 1.5rem; color: #bbb; line-height: 1.6; white-space: pre-line; }
.bs-sub { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 2px; color: #777; text-transform: uppercase; margin-bottom: 1rem; }

.bs-dots { display: flex; justify-content: center; gap: 10px; margin-bottom: 2rem; }
.bs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon-pink); animation: pulse-dot 2s infinite; }
.bs-dot:nth-child(2) { animation-delay: .3s; background: var(--neon-blue); }
.bs-dot:nth-child(3) { animation-delay: .6s; }
.bs-deco { position: absolute; font-size: 6rem; opacity: .04; pointer-events: none; color: var(--neon-blue); }
.bs-deco.tl { top: -10px; left: -10px; } .bs-deco.br { bottom: -10px; right: -10px; }
@keyframes flicker { 0%, 95%, 100% { opacity: 1; } 96% { opacity: .3; } 97% { opacity: 1; } 98% { opacity: .5; } 99% { opacity: 1; } }
@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }

/* ═══ Vidéos ═══ */
#yt-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); backdrop-filter: blur(6px); align-items: center; justify-content: center; }
#yt-modal.active { display: flex; }
#yt-modal .modal-inner { position: relative; width: 90vw; max-width: 960px; aspect-ratio: 16/9; }
#yt-modal iframe { width: 100%; height: 100%; border: 2px solid rgba(157,222,255,.5); box-shadow: 0 0 30px rgba(157,222,255,.3); }
#yt-modal .close-btn { position: absolute; top: -44px; right: 0; color: white; background: none; border: none; cursor: pointer; }
#yt-modal .close-btn:hover { color: var(--neon-blue); }
.yt-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.y2k-card:hover .yt-thumb { transform: scale(1.08); }

/* ═══ Membres : bouton + overlay galerie + lightbox ═══ */
.member-gallery-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 2px solid var(--neon-blue); color: var(--neon-blue); border-radius: 999px; font-size: 14px; font-weight: 900; letter-spacing: .05em;
  background: linear-gradient(180deg, #22465a 0%, #0b1a22 50%, #02070a 52%, #10303f 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 10px rgba(157,222,255,.25); transition: .2s; }
.member-gallery-btn .material-icons { font-size: 18px; }
.member-gallery-btn:hover, .member-gallery-btn:focus-visible { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 18px rgba(157,222,255,.7); outline: none; }

.gal-overlay { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.88); backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; animation: gal-in .25s ease; }
.gal-overlay[hidden], .lb[hidden] { display: none; }
@keyframes gal-in { from { opacity: 0; } }
.gal-window { width: 100%; max-width: 1150px; background: #111; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: gal-pop .25s ease; }
@keyframes gal-pop { from { transform: translateY(16px); opacity: 0; } }
.gal-titlebar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; font-size: 13px; letter-spacing: .08em; color: #aaa; background: #1c1c1c; border-bottom: 1px solid rgba(255,255,255,.12); }
.gal-titlebar .tb-dots { display: flex; gap: 6px; }
.gal-titlebar .tb-dots i { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.gal-titlebar .tb-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: lowercase; }
.gal-close { width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #ddd; border: 1px solid rgba(255,255,255,.25); }
.gal-close .material-icons { font-size: 18px; }
.gal-close:hover, .gal-close:focus-visible { background: #fff; color: #000; outline: none; }
.gal-head { display: flex; align-items: center; gap: 18px; padding: 22px 24px 8px; }
.gal-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.8); flex-shrink: 0; }
.gal-name { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; line-height: 1; letter-spacing: .06em; color: #fff; }
.gal-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; color: #999; font-size: 14px; }
.gal-meta .role-chip { border-color: rgba(255,255,255,.35); color: #ddd; background: transparent; }
.gal-grid { columns: 4 220px; column-gap: 12px; padding: 16px 24px 26px; }
.gal-grid button { display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #1a1a1a; position: relative; transition: border-color .2s, transform .2s; }
.gal-grid button:hover, .gal-grid button:focus-visible { border-color: rgba(255,255,255,.7); transform: translateY(-2px); outline: none; }
.gal-grid img { width: 100%; height: auto; display: block; opacity: 0; transition: opacity .4s, transform .4s; }
.gal-grid img.loaded { opacity: 1; }
.gal-grid button:hover img { transform: scale(1.04); }
.gal-grid .gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: 13px; text-align: left; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); opacity: 0; transition: opacity .2s; }
.gal-grid button:hover .gal-cap, .gal-grid button:focus-visible .gal-cap { opacity: 1; }
.gal-empty { color: #888; text-align: center; padding: 50px 20px 60px; }
@media (max-width: 560px) { .gal-head { padding: 18px 16px 4px; gap: 12px; } .gal-avatar { width: 56px; height: 56px; } .gal-grid { columns: 2; column-gap: 8px; padding: 12px 12px 18px; } .gal-grid button { margin-bottom: 8px; } }

.lb { position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,.96); display: flex; align-items: center; justify-content: center; }
.lb-fig { max-width: 92vw; max-height: 88vh; text-align: center; }
.lb-fig img { max-width: 92vw; max-height: 80vh; object-fit: contain; margin: 0 auto; border-radius: 6px; }
.lb-fig figcaption { color: #ccc; margin-top: 10px; font-size: 15px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; color: #fff; }
.lb-btn:hover, .lb-btn:focus-visible { border-color: #fff; background: rgba(255,255,255,.12); outline: none; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 24px; left: 0; right: 0; text-align: center; color: #888; font-size: 13px; letter-spacing: 2px; pointer-events: none; }
.lb-fig img { max-height: 72vh; }
.lb-strip { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); max-width: 92vw; display: flex; gap: 6px; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.lb-strip button { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; opacity: .5; transition: .2s; }
.lb-strip button[aria-current=true], .lb-strip button:hover { opacity: 1; border-color: #fff; }
.lb-strip img { width: 100%; height: 100%; object-fit: cover; }

/* Rôles + chanson (cartes membres) */
.role-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.role-chip { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--neon-blue); color: var(--neon-blue); background: rgba(0,0,0,.55); }
.song-row { display: flex; align-items: center; gap: 10px; }
.song-play { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--neon-blue); color: var(--neon-blue); display: flex; align-items: center; justify-content: center; transition: .2s; position: relative; }
.song-play:hover, .song-play:focus-visible, .song-play.playing { background: var(--neon-blue); color: #000; outline: none; }
.song-play.loading { opacity: .6; }
.song-play.error { border-color: #666; color: #666; }
.song-play svg { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); pointer-events: none; }
.song-link { margin-left: auto; color: #aaa; font-size: 18px; }
.song-link:hover { color: var(--neon-blue); }
.song-link img { width: 18px; height: 18px; }
