/* ============================================================
   Remod'Z — Premium Styles
   ============================================================ */

:root {
  --p:  #b026ff;
  --d:  #3a0066;
  --pk: #ff00ea;
  --bg: #030008;
}

/* ── Scroll smooth ── */
html.js { scroll-behavior: smooth; }

/* Curseur clignotant typewriter */
.typewriter-cursor {
  display: inline-block;
  color: var(--p);
  font-weight: 300;
  margin-left: 2px;
  animation: cursorBlink 0.75s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   HERO LAUNCH ANIMATIONS
   Les éléments commencent invisibles, s'animent quand
   body reçoit la classe .site-loaded (après le loader)
   ============================================================ */

/* États initiaux — tout caché */
.hero-badge,
.hero-line-1,
.hero-line-2,
.hero-sub-text,
.hero-ctas,
.hero-stats {
  opacity: 0;
  will-change: transform, opacity;
}

/* ── Badge : fade + montée ── */
.site-loaded .hero-badge {
  animation: heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}

/* ── Ligne 1 & 2 : slide depuis le bas, wrapper overflow:hidden fait le masque ── */
.hero-line-1,
.hero-line-2 {
  /* translateY(100%) : la ligne est cachée sous son wrapper */
  transform: translateY(100%);
  opacity: 0;
}
.site-loaded .hero-line-1 {
  animation: heroSlideUp 0.72s cubic-bezier(0.22,1,0.36,1) 0.28s forwards;
}
.site-loaded .hero-line-2 {
  animation: heroSlideUp 0.72s cubic-bezier(0.22,1,0.36,1) 0.48s forwards;
}

/* ── Sous-titre : fade + montée douce ── */
.site-loaded .hero-sub-text {
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.72s forwards;
}

/* ── Boutons CTA : fade + montée ── */
.site-loaded .hero-ctas {
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.92s forwards;
}

/* ── Stats : fade + montée ── */
.site-loaded .hero-stats {
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 1.1s forwards;
}

/* Keyframes */
@keyframes heroSlideUp {
  from { opacity: 1; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1a0030; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--d); }

/* ── Hide default cursor on fine-pointer devices (desktop) ── */
@media (pointer: fine) {
  body, a, button, input, select, textarea, summary, label {
    cursor: none !important;
  }
}

/* ── Hide custom cursor entirely on touch/mobile ── */
@media (hover: none), (pointer: coarse) {
  #custom-cursor { display: none !important; }
  body, a, button, input, select, textarea, summary, label {
    cursor: auto !important;
  }
}

/* ============================================================
   1. CUSTOM CURSOR
   ============================================================ */
#custom-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
}
body:hover #custom-cursor { opacity: 1; }

/* ── Laser point ── */
.cursor-dot {
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 4px 1px rgba(255,255,255,.95),
    0 0 10px 3px rgba(176,38,255,.9),
    0 0 22px 7px rgba(176,38,255,.45);
  transition: box-shadow .2s ease;
}

/* ── Halo diffus (radial gradient — aucun blur) ── */
.cursor-circle {
  width: 90px; height: 90px;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(176,38,255,.16) 0%, rgba(176,38,255,.05) 50%, transparent 72%);
  transition: width .35s ease, height .35s ease, background .35s ease;
}

/* ── Hover : le point vire au pink, le halo s'élargit ── */
#custom-cursor.hovering .cursor-dot {
  box-shadow:
    0 0 6px 2px rgba(255,255,255,.98),
    0 0 14px 5px rgba(255,0,234,.95),
    0 0 30px 10px rgba(255,0,234,.5);
}
#custom-cursor.hovering .cursor-circle {
  width: 115px; height: 115px;
  background: radial-gradient(circle, rgba(255,0,234,.18) 0%, rgba(176,38,255,.06) 50%, transparent 72%);
}

/* ── Clic : flash lumineux + halo qui se contracte ── */
#custom-cursor.clicking .cursor-dot {
  box-shadow:
    0 0 8px 3px rgba(255,255,255,1),
    0 0 20px 8px rgba(255,0,234,1),
    0 0 42px 15px rgba(176,38,255,.85);
}
#custom-cursor.clicking .cursor-circle {
  width: 55px; height: 55px;
  background: radial-gradient(circle, rgba(255,0,234,.32) 0%, rgba(176,38,255,.1) 50%, transparent 72%);
}

/* ============================================================
   2. LOADER
   ============================================================ */
#loader {
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  animation: flicker 3s infinite alternate, fadeInDown 0.6s ease both;
}
.loader-bar-wrap {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: 99px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--d), var(--p), var(--pk));
  border-radius: 99px;
  animation: loadBar 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loadBar {
  0%   { width: 0; }
  60%  { width: 80%; }
  100% { width: 100%; }
}
@keyframes fadeInDown {
  from { opacity:0; transform:translateY(-20px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ============================================================
   3. GLASSMORPHISM
   ============================================================ */
.glass-header {
  background: rgba(3,0,8,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.glass-card {
  background: rgba(255,255,255,0.012);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.glass-card:hover {
  background: rgba(255,255,255,0.022);
}
.glass-btn {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

/* ============================================================
   4. ANIMATIONS
   ============================================================ */
@keyframes gradientText {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-gradient-text {
  background-size: 200% auto;
  animation: gradientText 4s linear infinite;
}

/* Neon flicker logo */
.logo-neon {
  color: #fff;
  text-shadow:
    0 0 2px rgba(255,255,255,0.35),
    0 0 18px var(--p),
    0 0 40px var(--p),
    0 0 70px rgba(176,38,255,0.5);
  animation: flicker 6s infinite alternate;
}
@keyframes flicker {
  0%,19.9%,22%,62.9%,64%,65%,70%,100% {
    opacity:1;
    text-shadow:
      0 0 2px rgba(255,255,255,0.35),
      0 0 18px var(--p),
      0 0 40px var(--p),
      0 0 70px rgba(176,38,255,0.5);
  }
  20%,21.9%,63%,63.9%,64.9%,69.9% {
    opacity:0.4;
    text-shadow:none;
  }
}

/* Float / pulse ambient blobs */
@keyframes pulseSlow {
  0%,100% { transform: translate(-50%,-33%) scale(1); opacity:.12; }
  50%      { transform: translate(-50%,-33%) scale(1.06); opacity:.18; }
}
@keyframes float1 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(-20px,30px); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(25px,-20px); }
}
@keyframes pingSlow {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.3; transform:scale(1.8); }
}
.animate-pulse-slow { animation: pulseSlow 8s ease-in-out infinite; }
.animate-float-1    { animation: float1  10s ease-in-out infinite; }
.animate-float-2    { animation: float2  12s ease-in-out infinite; }
.animate-ping-slow  { animation: pingSlow 2s ease-in-out infinite; }

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.nav-link {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(176,38,255,0.1);
}
.nav-link.active { color: var(--p); }

/* ============================================================
   MOBILE MENU — Full Screen Overlay
   ============================================================ */
#mobileMenu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(3, 0, 8, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.35s;
  padding-top: calc(80px + env(safe-area-inset-top));
  padding-bottom: env(safe-area-inset-bottom);
}
#mobileMenu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}
@media (min-width: 768px) {
  #mobileMenu { display: none !important; }
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
  gap: 0.25rem;
}

.nav-link-mobile {
  display: block;
  color: #9ca3af;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  padding: 0.85rem 2rem;
  border-radius: 0.875rem;
  width: 100%;
  min-height: 52px;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.25s, background 0.25s,
              opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-tap-highlight-color: transparent;
}
.nav-link-mobile:active {
  color: #fff;
  background: rgba(176,38,255,0.12);
}
@media (hover: hover) {
  .nav-link-mobile:hover {
    color: #fff;
    background: rgba(176,38,255,0.08);
  }
}

/* Staggered entrance animation */
#mobileMenu.open .nav-link-mobile:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.06s; }
#mobileMenu.open .nav-link-mobile:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.12s; }
#mobileMenu.open .nav-link-mobile:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
#mobileMenu.open .nav-link-mobile:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }
#mobileMenu.open .nav-link-mobile:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.30s; }

.discord-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding: 0.875rem 2.5rem;
  background: #5865F2;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.875rem;
  width: 100%;
  min-height: 52px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
  transition-delay: 0s;
  -webkit-tap-highlight-color: transparent;
}
#mobileMenu.open .discord-btn-mobile {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}
.discord-btn-mobile:active { background: #4752C4; }

.connexion-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 0.65rem;
  padding: 0.875rem 2.5rem;
  background: rgba(176,38,255,0.08);
  border: 1px solid rgba(176,38,255,0.28);
  color: rgba(176,38,255,0.9);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.875rem;
  width: 100%;
  min-height: 52px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.2s, color 0.2s, border-color 0.2s;
  transition-delay: 0s;
  -webkit-tap-highlight-color: transparent;
}
#mobileMenu.open .connexion-btn-mobile {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.43s;
}
.connexion-btn-mobile:active {
  background: rgba(176,38,255,0.18);
  border-color: rgba(176,38,255,0.5);
  color: #c55cff;
}
@media (hover: hover) {
  .connexion-btn-mobile:hover {
    background: rgba(176,38,255,0.14);
    border-color: rgba(176,38,255,0.45);
    color: #c55cff;
  }
}

/* Hamburger open state */
.menu-open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); width: 100%; }


/* ============================================================
   6. SHIMMER BORDER (Pack Premium)
   ============================================================ */
.shimmer-border { position: relative; }
.shimmer-border::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 1.6rem;
  padding: 1.5px;
  background: linear-gradient(90deg, transparent, var(--p), var(--pk), transparent);
  background-size: 200% auto;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: shimmerBorder 3s linear infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes shimmerBorder {
  to { background-position: 200% center; }
}

/* ============================================================
   7. SCROLL INDICATOR
   ============================================================ */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  user-select: none;
}

.scroll-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(176, 38, 255, 0.5);
  animation: scrollLabelPulse 1.8s ease-in-out infinite;
}

.scroll-bar-wrap {
  width: 1px;
  height: 48px;
  background: rgba(176, 38, 255, 0.12);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.scroll-bar-drop {
  position: absolute;
  top: -40%;
  left: 0;
  width: 1px;
  height: 40%;
  background: linear-gradient(to bottom, transparent, #b026ff 60%, rgba(176, 38, 255, 0.2));
  border-radius: 1px;
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { top: -40%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.8; }
  100% { top: 110%; opacity: 0; }
}

@keyframes scrollLabelPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ============================================================
   8. CAROUSEL GALERIE
   ============================================================ */

/* Conteneur racine */
.carousel-root {
  position: relative;
  user-select: none;
}

/* Fenêtre d'affichage */
.carousel-viewport {
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(176, 38, 255, 0.18);
  box-shadow: 0 0 60px rgba(176, 38, 255, 0.08), 0 0 120px rgba(58, 0, 102, 0.12);
  background: #07000f;
}

/* Track qui glisse */
.carousel-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Chaque slide */
.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  /* Pas de transition ici — on pilote le zoom via l'animation keyframe */
}

/* Zoom Ken Burns progressif — démarre dès que la slide devient active */
.carousel-slide.is-active img {
  animation: kenBurns 4.8s ease-out forwards;
}

@keyframes kenBurns {
  0%   { transform: scale(1);    transform-origin: center center; }
  100% { transform: scale(1.07); transform-origin: center center; }
}

/* Vignette subtile sur les bords */
.carousel-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(3, 0, 8, 0.22) 0%,
    transparent 12%,
    transparent 88%,
    rgba(3, 0, 8, 0.22) 100%
  );
  z-index: 2;
}

/* ── Flèches ─────────────────────────────────────────────── */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(3, 0, 8, 0.75);
  border: 1px solid rgba(176, 38, 255, 0.35);
  color: #b026ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: rgba(176, 38, 255, 0.18);
  border-color: rgba(176, 38, 255, 0.7);
  box-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left  { left: 1rem; }
.carousel-arrow-right { right: 1rem; }

/* Sur mobile : flèches plus petites et collées au bord */
@media (max-width: 640px) {
  .carousel-arrow { width: 2.25rem; height: 2.25rem; }
  .carousel-arrow-left  { left: 0.5rem; }
  .carousel-arrow-right { right: 0.5rem; }
}

/* ── Dots ────────────────────────────────────────────────── */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(176, 38, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
  padding: 0;
}

.carousel-dot.is-active {
  background: #b026ff;
  width: 20px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(176, 38, 255, 0.6);
}

.carousel-dot:hover:not(.is-active) {
  background: rgba(176, 38, 255, 0.5);
  transform: scale(1.3);
}

/* ── Cards extraits de packs ─────────────────────────────── */
.pack-extract-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(176, 38, 255, 0.12);
  background: rgba(10, 0, 20, 0.6);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pack-extract-card:hover {
  border-color: rgba(176, 38, 255, 0.35);
  box-shadow: 0 12px 40px rgba(176, 38, 255, 0.1);
  transform: translateY(-4px);
}

.pack-extract-glow {
  position: absolute;
  top: -60px;
  left: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.pack-extract-card:hover .pack-extract-glow {
  opacity: 1;
}

.pack-extract-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(176, 38, 255, 0.1);
  border: 1px solid rgba(176, 38, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pack-extract-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.pack-extract-desc {
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.pack-extract-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d1d5db;
}

/* ============================================================
   9. MARQUEE
   ============================================================ */
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-track:hover { animation-play-state: paused; }

/* ============================================================
   8. FORM INPUTS
   ============================================================ */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.3s ease;
  display: block;
}
.form-input::placeholder { color: #4b5563; }
.form-input:focus {
  outline: none;
  border-color: var(--p);
  background: rgba(176,38,255,0.06);
  box-shadow: 0 0 0 3px rgba(176,38,255,0.12), 0 0 20px rgba(176,38,255,0.1);
}
select.form-input option { background: #0d000f; color: #e5e7eb; }

/* ============================================================
   VISITOR WIDGET — hero section (centré sous les stats)
   ============================================================ */
.visitor-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  cursor: default;
  user-select: none;
}

.vw-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--p);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: rgba(176,38,255,0.07);
  border: 1px solid rgba(176,38,255,0.22);
  transition: border-color 0.25s, background 0.25s;
}
.visitor-widget:hover .vw-badge {
  background: rgba(176,38,255,0.12);
  border-color: rgba(176,38,255,0.4);
}
.vw-icon {
  font-size: 1rem;
  line-height: 1;
  filter: brightness(1.4) saturate(0.2);
}
.vw-count {
  font-size: 1rem;
  font-weight: 800;
  color: #e9e3f8;
  letter-spacing: 0.04em;
}

/* ============================================================
   9. BEFORE/AFTER SLIDER
   ============================================================ */
#ba-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
#ba-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 600px;
  cursor: ew-resize;
  background: transparent;
}
#ba-slider::-moz-range-thumb {
  width: 44px;
  height: 600px;
  cursor: ew-resize;
  background: transparent;
  border: none;
}

/* ============================================================
   10. SCROLL REVEAL SÉQUENTIEL
   ============================================================ */
.js .reveal-seq > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2,0.8,0.2,1);
}
.js .reveal-seq.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   11. STEP CARDS (How it works)
   ============================================================ */
.step-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(176,38,255,0.08);
}

/* ============================================================
   12. FAQ ITEM
   ============================================================ */
.faq-item summary { user-select: none; }
.faq-item[open] { background: rgba(176,38,255,0.02); }

/* ============================================================
   13. BADGE PAIEMENT
   ============================================================ */
.payment-badge {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.payment-badge:hover {
    border-color: rgba(176,38,255,0.4);
    box-shadow: 0 0 30px rgba(176,38,255,0.06);
}

/* Shimmer border subtle (variante légère) */
.shimmer-border-subtle { position: relative; }
.shimmer-border-subtle::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--p) 40%, var(--pk) 60%, transparent 100%);
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: shimmerBorder 4s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

/* ============================================================
   14. PRÉREQUIS PC
   ============================================================ */
.prereq-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.prereq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(176,38,255,0.07);
}

/* ============================================================
   PACK VIEWERS — indicateur "X personnes consultent"
   ============================================================ */
.pack-viewers {
  min-height: 2.25rem;
  transition: opacity 0.4s ease;
}
.pv-inner {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.875rem;
  border-radius: 0.625rem;
  background: rgba(0, 210, 110, 0.06);
  border: 1px solid rgba(0, 210, 110, 0.18);
  width: fit-content;
}
.pv-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d26a;
  flex-shrink: 0;
}
.pv-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #00d26a;
  animation: pvPing 1.8s ease-out infinite;
  opacity: 0;
}
@keyframes pvPing {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0;   }
}
.pv-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.pv-text b {
  color: #fff;
  font-weight: 800;
}
.pv-text.pv-exit  { opacity: 0; transform: translateY(-7px); }
.pv-text.pv-enter { opacity: 0; transform: translateY(7px);  }

/* ============================================================
   15. FLOATING DISCORD PULSE
   ============================================================ */
#floatingDiscord {
  animation: discordPulse 3s ease-in-out infinite;
}
@keyframes discordPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(88,101,242,0.4); }
  50%      { box-shadow: 0 0 0 10px rgba(88,101,242,0); }
}

/* ============================================================
   16. COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8888;
  background: rgba(3,0,8,0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(176,38,255,0.18);
  transform: translateY(115%);
  transition: transform 0.75s cubic-bezier(0.22,1,0.36,1),
              opacity 0.4s ease;
  opacity: 0;
  overflow: hidden;
}

#cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

/* Shimmer line at top */
.cookie-shimmer-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--p) 30%,
    var(--pk) 50%,
    var(--p) 70%,
    transparent 100%);
  background-size: 200% auto;
  animation: shimmerBorder 4s linear infinite;
  opacity: 0.7;
}

/* Cookie icon pulse glow */
.cookie-icon-glow {
  box-shadow: 0 0 18px rgba(176,38,255,0.2);
  transition: box-shadow 0.3s ease;
  animation: cookieIconPulse 3s ease-in-out infinite;
}
@keyframes cookieIconPulse {
  0%,100% { box-shadow: 0 0 12px rgba(176,38,255,0.2); }
  50%      { box-shadow: 0 0 28px rgba(176,38,255,0.45), 0 0 50px rgba(255,0,234,0.1); }
}

/* Accept button gradient + glow */
.cookie-accept-btn {
  background: linear-gradient(135deg, var(--d), var(--p) 55%, var(--pk));
  background-size: 200% auto;
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 20px rgba(176,38,255,0.35);
}
.cookie-accept-btn:hover {
  background-position: right center;
  box-shadow: 0 0 36px rgba(176,38,255,0.65), 0 0 60px rgba(255,0,234,0.2);
  transform: translateY(-1px);
}
.cookie-accept-btn:active {
  transform: scale(0.97);
}

/* ============================================================
   17. MUSIC WIDGET (desktop only)
   ============================================================ */
.music-widget {
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem 0.35rem 0.6rem;
  border-radius: 9999px;
  background: rgba(176,38,255,0.08);
  border: 1px solid rgba(176,38,255,0.22);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.music-widget:hover {
  background: rgba(176,38,255,0.14);
  border-color: rgba(176,38,255,0.45);
}
.music-widget.muted {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
/* Pulsation quand en attente d'interaction */
.music-widget.waiting {
  animation: musicWait 1.6s ease-in-out infinite;
}
@keyframes musicWait {
  0%,100% { border-color: rgba(176,38,255,0.22); box-shadow: none; }
  50%      { border-color: rgba(176,38,255,0.7);  box-shadow: 0 0 14px rgba(176,38,255,0.3); }
}

/* Bouton icône */
.music-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: #c084fc;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
  line-height: 0;
}
.music-btn:hover { color: #e9d5ff; transform: scale(1.15); }
.music-widget.muted .music-btn { color: #6b7280; }

/* Slider de volume */
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 68px;
  height: 3px;
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--p) 0%,
    var(--p) var(--pct, 35%),
    rgba(255,255,255,0.14) var(--pct, 35%),
    rgba(255,255,255,0.14) 100%
  );
  transition: opacity 0.2s;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--p);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(176,38,255,0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.35);
  box-shadow: 0 0 12px rgba(176,38,255,0.85);
}
.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--p);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 6px rgba(176,38,255,0.55);
}
.music-widget.muted .volume-slider {
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.25) 0%,
    rgba(255,255,255,0.25) var(--pct, 35%),
    rgba(255,255,255,0.07) var(--pct, 35%),
    rgba(255,255,255,0.07) 100%
  );
}
.music-widget.muted .volume-slider::-webkit-slider-thumb {
  background: rgba(255,255,255,0.28);
  box-shadow: none;
}
.music-widget.muted .volume-slider::-moz-range-thumb {
  background: rgba(255,255,255,0.28);
  box-shadow: none;
}

/* ============================================================
   18. PAYPAL BUTTON
   ============================================================ */
.paypal-btn {
  background: linear-gradient(135deg, #003087 0%, #009cde 100%);
  box-shadow: 0 0 20px rgba(0, 156, 222, 0.25);
  transition: box-shadow 0.3s ease, transform 0.2s ease, background 0.3s ease;
}
.paypal-btn:hover {
  box-shadow: 0 0 36px rgba(0, 156, 222, 0.55), 0 0 60px rgba(0, 48, 135, 0.2);
  transform: translateY(-1px);
}
.paypal-btn:active {
  transform: scale(0.98);
}

/* ============================================================
   19. RESPONSIVE — CORRECTIFS MOBILE/TABLETTE
   ============================================================ */

/* Empêche tout overflow horizontal (textes longs, images) */
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; height: auto; }

/* Hero : réduit la taille du titre sur très petits écrans */
@media (max-width: 380px) {
  .hero-line-1, .hero-line-2 { font-size: clamp(2.8rem, 11vw, 5rem); }
}

/* Packs : carte pleine largeur sous 640px */
@media (max-width: 640px) {
  .tilt-card { width: 100% !important; max-width: 100% !important; }
  .shimmer-border::after { border-radius: 1.2rem; }
}

/* Before/After slider : hauteur adaptative sur mobile */
@media (max-width: 768px) {
  #ba-slider::-webkit-slider-thumb { height: 100vh; }
  #ba-slider::-moz-range-thumb    { height: 100vh; }
}

/* Carousel images : pas de débordement */
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FAQ : padding réduit sur mobile */
@media (max-width: 640px) {
  .faq-item summary { padding: 1rem 0.75rem; }
  .faq-item[open] > div { padding: 0.75rem; }
}

/* Contact form : stack complet sous 480px */
@media (max-width: 480px) {
  #contactForm .grid { grid-template-columns: 1fr !important; }
}

/* Floating Discord : position safe sur mobile notch */
#floatingDiscord {
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  right: calc(1.5rem + env(safe-area-inset-right));
}

/* Cookie banner : texte plus petit sur mobile */
@media (max-width: 480px) {
  #cookie-banner { font-size: 0.75rem; }
  #cookie-banner .flex { flex-wrap: wrap; }
}

/* Touch targets minimum 44×44px (WCAG 2.5.5) */
@media (pointer: coarse) {
  .nav-link-mobile { min-height: 48px; }
  button, a[role="button"], .magnetic, .carousel-dot { min-height: 44px; min-width: 44px; }
  .carousel-dot { display: flex; align-items: center; justify-content: center; }
}

/* Évite le flash blanc sur iOS lors du chargement */
@supports (-webkit-touch-callout: none) {
  body { -webkit-overflow-scrolling: touch; }
}

/* Leaderboard cards : responsive tablette */
@media (max-width: 768px) {
  .lb-card { padding: 1rem !important; }
}
