/* ==========================================================================
   TEARZ — Official Webcore & Wave Discography Style
   Designed for High-Performance & Premium Satin Aesthetics (Wix Studio style)
   ========================================================================== */

@property --angle-1 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}

@property --angle-2 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}


/* --------------------------------------------------------------------------
   0. DESIGN SYSTEM & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg-deep: #050308;
  --bg-dark: #0c0814;
  --bg-purple-radial: radial-gradient(circle at 50% 50%, #1c0a35 0%, #050308 100%);
  
  --neon-green: #52f558;
  --neon-green-rgb: 82, 245, 88;
  --neon-green-dim: rgba(82, 245, 88, 0.15);
  
  --neon-red: #ff0055;
  --text-primary: #ffffff;
  --text-secondary: #c8b9d6;
  --text-muted: #6b5c7e;
  
  --glass-bg: rgba(18, 10, 32, 0.6);
  --glass-border: rgba(82, 245, 88, 0.12);
  
  /* Fonts */
  --font-title: 'Bai Jamjuree', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Structural */
  --max-width: 1200px;
  --header-height: 75px;
  
  /* Transitions */
  --t-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --t-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --t-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  background: var(--bg-purple-radial);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--t-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  outline: none;
}

/* --------------------------------------------------------------------------
   2. DISCRET HUD BACKGROUND LINES
   -------------------------------------------------------------------------- */
.hud-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(82, 245, 88, 0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 245, 88, 0.008) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  z-index: 1;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. PREMIUM GLASS CARD (Asymmetric Border Radius)
   -------------------------------------------------------------------------- */
.glass-card {
  position: relative;
  /* Arrière-plan opaque solide ultra-fluide sans lag (sans backdrop-filter coûteux en GPU) */
  background: #0c0814;
  border: 1px solid rgba(82, 245, 88, 0.08);
  /* Coins arrondis asymétriques adoucis pour éviter tout débordement HUD */
  border-radius: 12px 28px 12px 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
}

.glass-card:hover {
  border-color: rgba(82, 245, 88, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 15px rgba(82, 245, 88, 0.05);
}



/* --------------------------------------------------------------------------
   4. PILL BUTTONS (Vert fluo lisses & arrondis)
   -------------------------------------------------------------------------- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--t-normal);
  cursor: pointer;
  z-index: 5;
}

.pill-btn--green {
  background-color: var(--neon-green);
  color: #06030b;
  box-shadow: 0 4px 20px rgba(82, 245, 88, 0.3);
}

.pill-btn--green:hover {
  background-color: #3ee144;
  box-shadow: 0 6px 25px rgba(82, 245, 88, 0.5);
  transform: translateY(-2px);
}

.pill-btn--trans {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.pill-btn--trans:hover {
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.pill-btn:active:not(.pill-btn--glass) {
  transform: scale(0.96) translateY(0);
  box-shadow: 0 2px 10px rgba(82, 245, 88, 0.2);
}

.text-center {
  width: max-content;
  margin: 0 auto;
}

/* Encarts angulaires discrets */
.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(82, 245, 88, 0.25);
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.19, 1, 0.22, 1), 
              transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), 
              filter 0.35s cubic-bezier(0.19, 1, 0.22, 1), 
              border-color 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.hud-corner--top-left { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.hud-corner--top-right { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.hud-corner--bottom-left { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.hud-corner--bottom-right { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* Masquer par défaut et agrandir les coins sur les glass-cards pour l'effet de resserrement */
.glass-card .hud-corner {
  opacity: 0;
  transform: scale(1.4);
  border-color: rgba(82, 245, 88, 0.85); /* Fluo direct dès l'apparition */
  filter: drop-shadow(0 0 3px rgba(82, 245, 88, 0.5));
}

/* Effet interactif au survol des cartes en verre (Ciblage / Lock-on) */
.glass-card:hover .hud-corner {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(82, 245, 88, 0.95);
  filter: drop-shadow(0 0 6px rgba(82, 245, 88, 0.7));
}

/* --------------------------------------------------------------------------
   5. HEADER (Tactical Glassmorphism)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(82, 245, 88, 0);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header--scrolled {
  height: 65px;
  background: rgba(12, 8, 20, 0.55);
  border-bottom: 1px solid rgba(82, 245, 88, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.header__logo {
  position: relative;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 24px;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 2px rgba(82, 245, 88, 0.3));
}

.header__logo:hover img {
  filter: drop-shadow(0 0 8px var(--neon-green));
}

.header__nav {
  display: flex;
  gap: 15px; /* Gap reduit pour laisser de la place aux paddings horizontaux des pillules */
  position: relative;
  align-items: center;
}

.header__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 18px 10px;
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Trait de surlignage au survol */
.header__link::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 18px;
  width: calc(100% - 36px);
  transform: scaleX(0);
  transform-origin: left;
  height: 1px;
  background: var(--neon-green);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease;
  opacity: 0;
}

.header__link:hover {
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(82, 245, 88, 0.3);
}

.header__link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.header__link--active {
  color: var(--neon-green);
}

.header__link--active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Désactivation de la bulle de navigation du header (retour au minimalisme textuel Wix original) */
.nav-glass-bubble {
  display: none !important;
}

/* ==========================================================================
   LIQUID GLASS BUTTONS — Reproduction fidèle de Petr Knoll (CodePen QwWLZdx)
   Adapté au dark theme TEARZ
   ========================================================================== */

/* --- Variables d'animation Glass --- */
:root {
  --glass-time: 400ms;
  --glass-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Wrapper Container (structure Knoll) --- */
.glass-wrap {
  position: relative;
  z-index: 2;
  border-radius: 999vw;
  background: transparent;
  pointer-events: none;
  display: inline-flex;
  transition: all var(--glass-time) var(--glass-ease);
}

.glass-wrap--full {
  display: flex;
  width: 100%;
}

/* --- Ombre portée séparée (élément frère indépendant) --- */
.glass-shadow {
  --shadow-cutoff: 2em;
  position: absolute;
  width: calc(100% + var(--shadow-cutoff));
  height: calc(100% + var(--shadow-cutoff));
  top: calc(0% - var(--shadow-cutoff) / 2);
  left: calc(0% - var(--shadow-cutoff) / 2);
  filter: blur(clamp(2px, 0.125em, 12px));
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

/* Ombre sous la forme d'une bordure floutée (mask-composite) */
.glass-shadow::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 999vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  width: calc(100% - var(--shadow-cutoff) - 0.25em);
  height: calc(100% - var(--shadow-cutoff) - 0.25em);
  top: calc(var(--shadow-cutoff) - 0.5em);
  left: calc(var(--shadow-cutoff) - 0.875em);
  padding: 0.125em;
  box-sizing: border-box;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  transition: all var(--glass-time) var(--glass-ease);
  opacity: 1;
}

/* ========== BOUTON GLASS — BASE ========== */
.pill-btn--glass, .hud-btn--glass {
  --border-width: clamp(1px, 0.0625em, 4px);
  position: relative;
  pointer-events: auto;
  z-index: 3;
  border-radius: 999vw;
  
  /* Fond semi-transparent Knoll */
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  
  border: none !important;
  
  /* Box-shadow 3D complexe Knoll (5 couches) */
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);
    
  /* Backdrop blur léger comme Knoll */
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  
  /* Texte */
  color: var(--text-primary) !important;
  text-shadow: 0em 0.25em 0.05em rgba(0, 0, 0, 0.15);
  overflow: visible;
  
  transition: all var(--glass-time) var(--glass-ease);
}

/* ========== BORDURE OUTLINE CONIC-GRADIENT (button::after) ========== */
.pill-btn--glass::after, .hud-btn--glass::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  
  /* Conic-gradient spéculaire + sous-couche blanche Knoll */
  background:
    conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
    
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
  transition: all var(--glass-time) var(--glass-ease), --angle-1 500ms ease;
  pointer-events: none;
}

/* ========== REFLET FLARE (button::before — couvre toute la surface) ========== */
.pill-btn--glass::before, .hud-btn--glass::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  width: calc(100% - var(--border-width));
  height: calc(100% - var(--border-width));
  top: calc(0% + var(--border-width) / 2);
  left: calc(0% + var(--border-width) / 2);
  box-sizing: border-box;
  border-radius: inherit;
  overflow: clip;
  
  /* Reflet oblique (flare Knoll) */
  background: linear-gradient(
    var(--angle-2),
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40% 50%,
    rgba(255, 255, 255, 0) 55%
  );
  
  mix-blend-mode: screen;
  pointer-events: none;
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  
  transition:
    background-position calc(var(--glass-time) * 1.25) var(--glass-ease),
    --angle-2 calc(var(--glass-time) * 1.25) var(--glass-ease);
}

/* Le span doit rester au-dessus du flare */
.pill-btn--glass span,
.hud-btn--glass .hud-btn__text {
  position: relative;
  display: block;
  z-index: 4;
  transition: all var(--glass-time) var(--glass-ease);
}

/* ========== HOVER ========== */

/* Bouton : scale DOWN comme Knoll (enfoncé, pas agrandi) */
.pill-btn--glass:hover, .hud-btn--glass:hover {
  transform: scale(0.975);
  backdrop-filter: blur(0.01em);
  -webkit-backdrop-filter: blur(0.01em);
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5),
    0 0 0 0 rgba(255, 255, 255, 1);
}

/* Outline : rotation de l'angle Knoll */
.pill-btn--glass:hover::after, .hud-btn--glass:hover::after {
  --angle-1: -125deg;
}

/* Flare : glissement au hover */
.pill-btn--glass:hover::before, .hud-btn--glass:hover::before {
  background-position: 25% 50%;
}

/* Text shadow hover Knoll */
.pill-btn--glass:hover span,
.hud-btn--glass:hover .hud-btn__text {
  text-shadow: 0.025em 0.025em 0.025em rgba(0, 0, 0, 0.12);
}

/* Shadow hover : blur réduit, ombre resserrée */
.glass-wrap:has(:hover) .glass-shadow {
  filter: blur(clamp(2px, 0.0625em, 6px));
  transition: filter var(--glass-time) var(--glass-ease);
}

.glass-wrap:has(:hover) .glass-shadow::after {
  top: calc(var(--shadow-cutoff) - 0.875em);
  opacity: 1;
}

/* ========== ACTIVE (CLIC) ========== */

/* Rotation 3D (toucher physique Knoll) */
.glass-wrap:has(:active) {
  transform: rotate3d(1, 0, 0, 25deg);
}

.pill-btn--glass:active, .hud-btn--glass:active {
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.125em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0.225em 0.05em 0 rgba(0, 0, 0, 0.05),
    0 0.25em 0 0 rgba(255, 255, 255, 0.75),
    inset 0 0.25em 0.05em 0 rgba(0, 0, 0, 0.15);
}

.pill-btn--glass:active::after, .hud-btn--glass:active::after {
  --angle-1: -75deg;
}

.pill-btn--glass:active::before, .hud-btn--glass:active::before {
  background-position: 50% 15%;
  --angle-2: -15deg;
}

.glass-wrap:has(:active) .glass-shadow {
  filter: blur(clamp(2px, 0.125em, 12px));
}

.glass-wrap:has(:active) .glass-shadow::after {
  top: calc(var(--shadow-cutoff) - 0.5em);
  opacity: 0.75;
}

.glass-wrap:has(:active) span,
.glass-wrap:has(:active) .hud-btn__text {
  text-shadow: 0.025em 0.25em 0.05em rgba(0, 0, 0, 0.12);
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .pill-btn--glass::before,
  .pill-btn--glass:active::before,
  .hud-btn--glass::before,
  .hud-btn--glass:active::before {
    --angle-2: -45deg;
  }
  
  .pill-btn--glass::after,
  .pill-btn--glass:hover::after,
  .pill-btn--glass:active::after,
  .hud-btn--glass::after,
  .hud-btn--glass:hover::after,
  .hud-btn--glass:active::after {
    --angle-1: -75deg;
  }
}

.header__right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header__cart-btn {
  position: relative;
  color: var(--text-primary);
  transition: var(--t-fast);
  padding: 5px;
}

.header__cart-btn:hover {
  color: var(--neon-green);
  filter: drop-shadow(0 0 5px var(--neon-green));
}

.header__cart-pulse {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--neon-green);
  color: #06030b;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--neon-green);
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
}

.header__menu-btn .bar {
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: var(--t-normal);
}

/* --------------------------------------------------------------------------
   6. MOBILE NAVIGATION
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav--open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.mobile-nav__inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 85%;
  max-width: 320px;
  background: var(--bg-dark);
  border-left: 1px solid var(--glass-border);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-nav--open .mobile-nav__inner {
  transform: translateX(0);
}

.mobile-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.mobile-nav__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-green);
  letter-spacing: 1px;
}

.mobile-nav__close {
  font-size: 28px;
  color: var(--text-secondary);
  line-height: 1;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 40px 0;
}

.mobile-nav__link {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mobile-nav__link:hover {
  color: var(--neon-green);
  padding-left: 5px;
}

.mobile-nav__footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.sys-ok { color: var(--neon-green); }

/* --------------------------------------------------------------------------
   7. PANIER LATERAL (Side Drawer)
   -------------------------------------------------------------------------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  transition: visibility 0.4s;
}

.cart-drawer--open {
  visibility: visible;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cart-drawer--open .cart-drawer__overlay {
  opacity: 1;
}

.cart-drawer__content {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 440px;
  background: rgba(12, 8, 20, 0.96);
  border-left: 1px solid rgba(82, 245, 88, 0.2);
  box-shadow: -10px 0 30px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
}

.cart-drawer--open .cart-drawer__content {
  transform: translateX(0);
}

.cart-drawer__header {
  padding: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer__subtitle {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neon-green);
  letter-spacing: 2px;
}

.cart-drawer__title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.cart-drawer__close {
  color: var(--text-secondary);
  transition: var(--t-fast);
  padding: 5px;
}

.cart-drawer__close:hover {
  color: var(--neon-red);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

.cart-drawer__body::-webkit-scrollbar {
  width: 4px;
}
.cart-drawer__body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-item__image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.cart-item__title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.cart-item__price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-green);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  width: max-content;
  margin-top: 6px;
}

.cart-item__qty-btn {
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
}
.cart-item__qty-btn:hover {
  color: var(--neon-green);
}

.cart-item__qty span {
  font-family: var(--font-mono);
  font-size: 11px;
}

.cart-item__remove {
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px;
}
.cart-item__remove:hover {
  color: var(--neon-red);
}

.cart-drawer__footer {
  padding: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(12, 8, 20, 0.98);
}

.cart-drawer__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.cart-drawer__sum-label {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--text-secondary);
}

.cart-drawer__sum-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--neon-green);
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px; /* Forme carrée/tactique type HUD */
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
}

.hud-btn--primary {
  background-color: var(--neon-green);
  color: #06030b;
  border: 1px solid var(--neon-green);
  box-shadow: 0 4px 15px rgba(82, 245, 88, 0.2);
}

.hud-btn--primary:hover {
  background-color: #3ee144;
  border-color: #3ee144;
  box-shadow: 0 6px 20px rgba(82, 245, 88, 0.4);
  transform: translateY(-1px);
}

.hud-btn:active:not(.hud-btn--glass) {
  transform: scale(0.97) translateY(0);
}

.checkout-btn {
  width: 100%;
}

.cart-drawer__note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 15px;
}

/* --------------------------------------------------------------------------
   8. HERO SECTION (Fixed Background Reveal)
   -------------------------------------------------------------------------- */
.hero {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Suppression du filtre CSS pour permettre un decodage video materiel 100% fluide et sans lag */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(15, 8, 28, 0.15) 0%, rgba(5, 3, 8, 0.9) 90%),
    rgba(5, 3, 8, 0.55); /* Augmente de 0.25 a 0.55 pour compenser la luminosite sans filtre CSS */
  z-index: 2;
}

/* HUD flottants Hero */
.hero__hud-elements {
  position: absolute;
  inset: 50px;
  border: 1px solid rgba(82, 245, 88, 0.08);
  z-index: 3;
  pointer-events: none;
}

.hero__hud-elements .hud-corner {
  width: 20px; height: 20px;
  border-width: 2px;
  border-color: rgba(82, 245, 88, 0.65);
  filter: drop-shadow(0 0 5px rgba(82, 245, 88, 0.45));
}
.hero__hud-elements .hud-corner--top-left { top: -1px; left: -1px; }
.hero__hud-elements .hud-corner--top-right { top: -1px; right: -1px; }
.hero__hud-elements .hud-corner--bottom-left { bottom: -1px; left: -1px; }
.hero__hud-elements .hud-corner--bottom-right { bottom: -1px; right: -1px; }

.hud-line-vert {
  position: absolute;
  top: 15px; bottom: 15px; left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(82, 245, 88, 0.03), transparent);
}

.hud-system-status {
  position: absolute;
  top: 25px; left: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--neon-green);
  opacity: 0.6;
}

.status-indicator {
  width: 6px; height: 6px;
  background-color: var(--neon-green);
  border-radius: 50%;
  animation: led-blink 1.5s infinite;
}

.hud-coordinates {
  position: absolute;
  bottom: 25px; right: 30px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* Texte Hero */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
  margin-top: 50px;
}

.hero__pre-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.hero__pre-title .line-decor {
  width: 0;
  height: 1px;
  background: var(--neon-green);
  opacity: 0.5;
  animation: expand-decor-line 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  animation-delay: 0.4s;
}

@keyframes expand-decor-line {
  to {
    width: 40px;
  }
}

.hero__pre-title .pre-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-green);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Séparateurs horizontaux entre les blocs Hero */
.hero__separator {
  width: 100%;
  max-width: 500px;
  height: 1px;
  margin: 28px auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(82, 245, 88, 0.08) 30%,
    rgba(82, 245, 88, 0.45) 50%,
    rgba(82, 245, 88, 0.08) 70%,
    transparent 100%
  );
  border: none;
}

@media (max-width: 768px) {
  .hero__separator {
    max-width: 280px;
    margin: 22px auto;
  }
}

.hero__logo-wrap {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.hero__logo-img {
  width: 100%;
  max-width: 580px; /* Taille parfaite et responsive */
  height: auto;
  filter: drop-shadow(0 0 15px rgba(82, 245, 88, 0.12));
  animation: logo-pulse 4s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
  transition: filter var(--t-normal);
  cursor: pointer;
}

.hero__logo-img:hover {
  animation-play-state: paused;
  filter: drop-shadow(0 0 25px rgba(82, 245, 88, 0.35)); /* Un petit glow doux et subtil au survol */
}

@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 15px rgba(82, 245, 88, 0.12)); }
  50% { filter: drop-shadow(0 0 25px rgba(82, 245, 88, 0.25)); }
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 1px;
  max-width: 650px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 80px; /* Remonté pour éviter le chevauchement avec la ligne du cadre à 50px */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0.75; /* Plus présent par défaut (0.75 au lieu de 0.6) */
  transition: opacity var(--t-normal), transform var(--t-normal);
}

.hero__scroll:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px); /* Légère animation interactive au survol */
}

.scroll-txt {
  font-family: var(--font-mono);
  font-size: 10px; /* Légèrement agrandi pour plus de présence */
  color: var(--neon-green); /* Couleur verte tactique pour s'affirmer et briller */
  text-shadow: 0 0 5px rgba(82, 245, 88, 0.4);
  letter-spacing: 2px;
  font-weight: 500;
}

.mouse-icon {
  width: 22px; height: 32px; /* Un poil plus grande pour plus de présence */
  border: 1.5px solid rgba(82, 245, 88, 0.4); /* Bordure vert néon discret pour plus de cohérence */
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 8px rgba(82, 245, 88, 0.1);
  transition: border-color var(--t-normal), box-shadow var(--t-normal);
}

.hero__scroll:hover .mouse-icon {
  border-color: var(--neon-green);
  box-shadow: 0 0 12px rgba(82, 245, 88, 0.3);
}

.mouse-icon .wheel {
  width: 3px; height: 6px;
  background: var(--neon-green);
  border-radius: 1.5px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

@keyframes led-blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --------------------------------------------------------------------------
   9. MAIN SCROLL STRUCTURE (Recouvre la Hero sans transparence)
   -------------------------------------------------------------------------- */
main {
  position: relative;
  z-index: 5;
  margin-top: 100vh;
  /* Fond violet satiné lisse ultra opaque comme sur la capture */
  background: var(--bg-deep);
  background: var(--bg-purple-radial);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.section {
  padding: 90px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* --------------------------------------------------------------------------
   10. SPLIT SECTION (Latest Tracks & Best Sellers côte à côte)
   -------------------------------------------------------------------------- */
.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 35px;
  align-items: stretch;
}

.split-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.split-header {
  margin-bottom: 25px;
}

.split-title {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.split-footer {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

/* Liste tracks (gauche) */
.tracks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-item {
  display: grid;
  grid-template-columns: 44px auto 1fr auto;
  gap: 15px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 15px;
  border-radius: 12px;
  transition: var(--t-fast);
  cursor: pointer;
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(82, 245, 88, 0.1);
  transform: translateX(4px);
}

.track-item--active {
  border-color: rgba(82, 245, 88, 0.25);
  background: rgba(82, 245, 88, 0.03);
}

.track-item__art {
  width: 44px; height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.track-item__info {
  display: flex;
  flex-direction: column;
}

.track-item__title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.track-item__plays {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.track-item__state {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.mini-equalizer span {
  width: 1.5px;
  height: 100%;
  background-color: var(--neon-green);
  transform-origin: bottom;
  transform: scaleY(0.15);
}

.track-item--playing .mini-equalizer span {
  animation: spectrum-play 1s infinite alternate;
}
.track-item--playing .mini-equalizer span:nth-child(1) { animation-delay: 0.1s; }
.track-item--playing .mini-equalizer span:nth-child(2) { animation-delay: 0.3s; }
.track-item--playing .mini-equalizer span:nth-child(3) { animation-delay: 0.5s; }

@keyframes spectrum-play {
  0%, 100% { transform: scaleY(0.15); }
  50% { transform: scaleY(0.85); }
}

.track-item__btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--t-fast);
}

.track-item:hover .track-item__btn,
.track-item--active .track-item__btn {
  color: var(--neon-green);
  border-color: var(--neon-green);
  box-shadow: 0 0 6px rgba(82, 245, 88, 0.3);
}

/* Grille BestSellers (droite) */
.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.bestseller-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 10px;
  transition: var(--t-fast);
  cursor: pointer;
}

.bestseller-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(82, 245, 88, 0.08);
}

.bestseller-card__art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.bestseller-card__title {
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

.bestseller-card__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 6px;
}

.bestseller-card__price {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.bestseller-card__price--old {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   11. PAGE SHOP COMPLET (Weapons Grid & Tech Cards)
   -------------------------------------------------------------------------- */
.shop-main {
  margin-top: 0; /* Annule le margin-top de 100vh hérité de main (dédié au Hero de la Home) */
  background: var(--bg-deep);
  background: var(--bg-purple-radial);
  min-height: 100vh;
}

/* En-tête de Section Boutique */
.section__title-wrap {
  margin-bottom: 12px;
}

.section__subtitle {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-green);
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.section__title {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}

.section__header-line {
  height: 1px;
  background: linear-gradient(to right, rgba(82, 245, 88, 0.25), transparent);
  margin: 15px 0 35px 0; /* Espacement de 35px en bas pour faire respirer la carte de badges */
}

.shop-badges-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 30px;
  margin-bottom: 40px;
  background: linear-gradient(
    135deg,
    rgba(14, 8, 24, 0.95) 0%,
    rgba(54, 20, 105, 0.8) 25%,
    rgba(82, 245, 88, 0.12) 50%,
    rgba(18, 42, 85, 0.8) 75%,
    rgba(14, 8, 24, 0.95) 100%
  );
  background-size: 300% 300%;
  animation: badges-glow-flow 15s ease infinite;
  border: 1px solid rgba(82, 245, 88, 0.15);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(82, 245, 88, 0.04);
}

@keyframes badges-glow-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.shop-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.shop-badge-icon {
  color: var(--neon-green);
  filter: drop-shadow(0 0 4px rgba(82, 245, 88, 0.2));
  flex-shrink: 0;
}

.shop-badge-text {
  display: flex;
  flex-direction: column;
}

.shop-badge-title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.shop-badge-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Layout général de la boutique (Panneau gauche / Grille droite) */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 35px;
  align-items: start;
}

.shop-sidebar {
  padding: 25px 25px 25px 35px; /* Plus d'espace à gauche pour les graduations */
  position: sticky;
  top: 95px;
  z-index: 10;
}

/* Graduations techniques verticales style règle de mesure/micromètre */
.shop-sidebar::before {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 10px;
  width: 6px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(82, 245, 88, 0.4) 0px,
    rgba(82, 245, 88, 0.4) 1px,
    transparent 1px,
    transparent 8px
  );
  opacity: 0.3;
  pointer-events: none;
  transition: opacity var(--t-normal);
}

.shop-sidebar:hover::before {
  opacity: 0.55;
}

/* Header HUD technique de la Sidebar */
.sidebar-hud-header {
  margin: -10px -10px 20px -20px;
  padding: 10px 10px 15px 15px; /* Ajout de padding haut/gauche pour éviter la collision avec les coins HUD */
  border-bottom: 1px dashed rgba(82, 245, 88, 0.12);
  font-family: var(--font-mono);
  position: relative;
}

.sidebar-hud-header .hud-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.sidebar-hud-header .hud-status__dot {
  width: 5px;
  height: 5px;
  background-color: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: led-blink 1s infinite alternate;
}

.sidebar-hud-header .hud-status__text {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sidebar-hud-header .hud-coords {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.sidebar-hud-header .hud-grid-deco {
  display: flex;
  justify-content: space-between;
  height: 4px;
  opacity: 0.25;
  width: 100%;
}

.sidebar-hud-header .hud-grid-deco span {
  width: 1px;
  height: 100%;
  background-color: var(--text-primary);
}

.sidebar-hud-header .hud-grid-deco span:nth-child(odd) {
  height: 60%;
}

.shop-sidebar__section {
  margin-bottom: 30px;
}

.shop-sidebar__section:last-child {
  margin-bottom: 0;
}

.shop-sidebar__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-green);
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(82, 245, 88, 0.15);
  padding-bottom: 6px;
}

.shop-sidebar__filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-filter__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: all var(--t-fast);
}

.shop-filter__btn:hover {
  color: var(--text-primary);
  border-color: rgba(82, 245, 88, 0.15);
  background: rgba(82, 245, 88, 0.02);
  transform: translateX(4px);
}

.filter-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all var(--t-fast);
}

.shop-filter__btn--active {
  color: #06030b !important;
  background: var(--neon-green) !important;
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 12px rgba(82, 245, 88, 0.25);
}

.shop-filter__btn--active .filter-indicator {
  background: #06030b;
}

.shop-filter__btn--active:hover {
  transform: none;
}

/* Section Prix & Accordéon (Look Wix Studio avec lignes fines) */
.shop-sidebar__section--price {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  margin-top: 15px;
  margin-bottom: 30px;
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.price-title {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.price-toggle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  transition: transform var(--t-fast);
}

.price-slider-wrapper {
  margin-top: 24px;
  transition: all var(--t-normal) ease;
}

.price-slider-container {
  position: relative;
  width: 100%;
  height: 20px;
}

/* Petites graduations micrométriques horizontales style réglet de précision sous la barre */
.price-slider-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 6px;
  margin-top: 5px; /* Juste en dessous de la barre */
  background-image: repeating-linear-gradient(
    90deg,
    rgba(82, 245, 88, 0.25) 0px,
    rgba(82, 245, 88, 0.25) 1px,
    transparent 1px,
    transparent 6px
  );
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--t-normal);
}

.price-slider-container:hover::before {
  opacity: 0.65;
}

.slider-track {
  position: absolute;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.price-slider-container input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  pointer-events: none;
  z-index: 2;
  left: 0;
}

/* Thumbs pour Chrome/Safari (Curseurs vert fluo cyberpunk tactiques) */
.price-slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background-color: var(--neon-green); /* Vert fluo TEARZ */
  cursor: pointer;
  pointer-events: auto;
  border: 2px solid #06030b; /* Anneau noir pour contraster */
  box-shadow: 0 0 6px rgba(82, 245, 88, 0.6);
  transition: transform 0.1s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.price-slider-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.35);
  box-shadow: 0 0 10px var(--neon-green);
  background-color: #ffffff; /* Devient blanc brillant au survol */
}

.price-slider-container input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(0.9);
}

/* Firefox */
.price-slider-container input[type="range"]::-moz-range-thumb {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background-color: var(--neon-green);
  cursor: pointer;
  pointer-events: auto;
  border: 2px solid #06030b;
  box-shadow: 0 0 6px rgba(82, 245, 88, 0.6);
  transition: transform 0.1s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.price-slider-container input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.35);
  box-shadow: 0 0 10px var(--neon-green);
  background-color: #ffffff;
}

.price-slider-container input[type="range"]::-moz-range-thumb:active {
  transform: scale(0.9);
}

/* Valeurs de prix de la capture */
.price-values {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

/* Zone de monitoring HUD sous les valeurs du slider */
.price-slider-hud {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
  border-top: 1px dashed rgba(82, 245, 88, 0.08);
  padding-top: 6px;
}

.price-slider-hud .hud-value {
  color: var(--neon-green);
}

/* Grille de produits */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.product-card {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px 28px 12px 12px;
  padding: 12px;
  transition: all var(--t-normal);
}

.product-card:hover {
  border-color: rgba(82, 245, 88, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-card__media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px 20px 10px 10px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.product-card:hover .product-card__image {
  transform: scale(1.04);
}

.product-card__shipping-label {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 20;
  width: 105px;
  padding: 8px 6px 6px;
  font-family: var(--font-mono);
  color: #000000;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.05);
  transform: rotate(-3deg);
  transform-origin: top left;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
  user-select: none;
  pointer-events: none;
}

.product-card:hover .product-card__shipping-label {
  transform: rotate(-1.5deg) scale(1.03);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.5);
}

.product-card__shipping-label--sale {
  background-color: #dfff2e; /* Jaune fluo logistique */
}

.product-card__shipping-label--best {
  background-color: #52f558; /* Vert fluo TEARZ */
}

.product-card__shipping-label .label-dashed-border {
  position: absolute;
  top: 3px; left: 3px; right: 3px; bottom: 3px;
  border: 1px dashed rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.product-card__shipping-label .label-header {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 3px;
  opacity: 0.7;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding-bottom: 2px;
}

.product-card__shipping-label .label-title {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: -0.2px;
  text-align: center;
  margin-bottom: 4px;
  line-height: 1.1;
  text-transform: uppercase;
}

.product-card__shipping-label .label-barcode {
  height: 16px;
  margin: 0 auto 3px;
  width: 90%;
  background: repeating-linear-gradient(
    90deg,
    #000000,
    #000000 1.5px,
    transparent 1.5px,
    transparent 3px,
    #000000 3px,
    #000000 4px,
    transparent 4px,
    transparent 5.5px,
    #000000 5.5px,
    #000000 6.5px,
    transparent 6.5px,
    transparent 9px,
    #000000 9px,
    #000000 11px,
    transparent 11px,
    transparent 12.5px
  );
  opacity: 0.85;
}

.product-card__shipping-label .label-footer {
  font-size: 6px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.8px;
  opacity: 0.6;
}

.product-card__body {
  padding: 15px 5px 5px;
}

.product-card__title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 15px;
}

.product-card__price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.product-card__price--old {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card__action {
  width: 100%;
  padding: 10px;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   12. ABOUT_ SECTION (Carte horizontale asymétrique de la maquette)
   -------------------------------------------------------------------------- */
.about-card {
  display: grid;
  grid-template-columns: 200px 1fr 180px;
  gap: 40px;
  align-items: center;
  padding: 35px;
  border-radius: 16px 28px 16px 16px;
}

/* Écran terminal vert localisé */
.terminal-screen {
  background: #040d04;
  border: 1px solid #0f3012;
  border-radius: 12px;
  padding: 20px 15px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Effet CRT très discret localisé sur le terminal */
.terminal-screen__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.8;
  z-index: 2;
}

/* Ligne de balayage lumineuse animée (Scanline) */
.terminal-screen__scan::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(57, 230, 66, 0.15);
  box-shadow: 0 0 10px rgba(57, 230, 66, 0.8);
  pointer-events: none;
  animation: radar-sweep 4s linear infinite;
  opacity: 0.7;
}

@keyframes radar-sweep {
  0% { top: -4px; }
  100% { top: 100%; }
}

.terminal-screen__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.t-green {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #39e642;
  text-shadow: 0 0 4px rgba(57, 230, 66, 0.4);
}

.terminal-cursor {
  display: inline-block;
  background-color: #39e642;
  color: #39e642;
  width: 6px;
  height: 10px;
  margin-left: 2px;
  animation: terminal-blink 0.8s steps(2, start) infinite;
}

@keyframes terminal-blink {
  to { visibility: hidden; }
}


/* Texte & Réseaux sociaux */
.about-card__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.about-card__title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}

.about-card__socials {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
}

.about-card__socials a {
  padding: 4px;
  transition: var(--t-fast);
}

.about-card__socials a:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.about-card__p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.about-card__p:last-child {
  margin-bottom: 0;
}

/* Portrait asymétrique (droite) */
.about-card__portrait-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px 36px 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.about-card__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.95);
}

/* --------------------------------------------------------------------------
   13. FEATURED ON SECTION (Logos en grille propre)
   -------------------------------------------------------------------------- */
.featured-card {
  padding: 55px 40px 85px 40px;
  border-radius: 20px;
  text-align: center;
}

.featured-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 10px;
  margin-bottom: 60px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 55px 40px; /* Plus d'espace vertical entre les deux lignes de logos (respiration complète) */
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto 35px;
}

.featured-grid img {
  max-height: 48px; /* Logos beaucoup plus gros et lisibles */
  max-width: 145px; /* Limite de largeur pour garder une grille harmonieuse */
  width: auto;
  height: auto;
  object-fit: contain; /* Conserve le ratio */
  filter: brightness(0) invert(1); /* Uniformise tous les logos en blanc pur (élimine les logos noirs) */
  opacity: 0.5; /* Opacité élégante par défaut */
  transition: all var(--t-normal);
}

.featured-grid img:hover {
  opacity: 0.95;
  transition: filter 0.1s ease;
}

.glitch-type-a:hover {
  animation: glitch-anim-a 3.2s infinite;
}

.glitch-type-b:hover {
  animation: glitch-anim-b 2.7s infinite;
}

.glitch-type-c:hover {
  animation: glitch-anim-c 3.8s infinite;
}

/* --- ANIMATION GLITCH A (Flashs prolongés de 5-10 frames avec crépitement interne à 12%-17%, 46%-51%, et 82%-87%) --- */
@keyframes glitch-anim-a {
  0%, 11.9%, 17.1%, 45.9%, 51.1%, 81.9%, 87.1%, 100% {
    filter: 
      brightness(0) invert(1) 
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.35));
    transform: translate(0, 0) skew(0deg);
  }
  /* Flash 1 (12% à 17%) : Crépitement multi-couches */
  12% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-3px -1px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(3px 1.5px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(1.5px, 0.5px) skew(1.5deg);
  }
  13.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(3px 1.5px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-3px -1px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(-2px, -1px) skew(-2deg);
  }
  15.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-2px 2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(2px -2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(3px, 1px) skew(2.5deg);
  }
  /* Flash 2 (46% à 51%) */
  46% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(3px 1px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-3px -1.5px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(-2px, -1px) skew(-1.5deg);
  }
  48.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-3px -2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(3px 2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(2.5px, 1.5px) skew(2deg);
  }
  /* Flash 3 (82% à 87%) */
  82% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-2px 1.5px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(2px -1px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(2.5px, -0.5px) skew(-0.8deg);
  }
  84.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(3px -2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-3px 2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(-3px, -1.5px) skew(1.5deg);
  }
}

/* --- ANIMATION GLITCH B (Flashs prolongés de 5-10 frames avec crépitement interne à 8%-13%, 32%-37%, et 74%-79%) --- */
@keyframes glitch-anim-b {
  0%, 7.9%, 13.1%, 31.9%, 37.1%, 73.9%, 79.1%, 100% {
    filter: 
      brightness(0) invert(1) 
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.35));
    transform: translate(0, 0) skew(0deg);
  }
  /* Flash 1 (8% à 13%) */
  8% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(2.5px -1.5px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-2.5px 1px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(-1.5px, 1px) skew(0.8deg);
  }
  10.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-2.5px 2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(2.5px -2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(2px, -1.5px) skew(-1.5deg);
  }
  /* Flash 2 (32% à 37%) */
  32% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-3px 1px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(3px -1px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(2px, -1px) skew(-1.2deg);
  }
  34.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(3px -2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-3px 2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(-2.5px, 1.5px) skew(1.6deg);
  }
  /* Flash 3 (74% à 79%) */
  74% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-2px -2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(2px 2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(-2px, -1.5px) skew(1.4deg);
  }
  76.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(2px 2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-2px -2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(2.5px, 1px) skew(-1deg);
  }
}

/* --- ANIMATION GLITCH C (Flashs prolongés de 5-10 frames avec crépitement interne à 20%-25%, 54%-59%, et 89%-94%) --- */
@keyframes glitch-anim-c {
  0%, 19.9%, 25.1%, 53.9%, 59.1%, 88.9%, 94.1%, 100% {
    filter: 
      brightness(0) invert(1) 
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.35));
    transform: translate(0, 0) skew(0deg);
  }
  /* Flash 1 (20% à 25%) */
  20% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-3px -1.5px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(3px 1px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(1px, -1px) skew(-1deg);
  }
  22.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(3px 2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-3px -2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(-2px, 1.5px) skew(2deg);
  }
  /* Flash 2 (54% à 59%) */
  54% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(2px 2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-2px -2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(-1.5px, 2px) skew(1.2deg);
  }
  56.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-2px -2px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(2px 2px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(2px, -2px) skew(-1.4deg);
  }
  /* Flash 3 (89% à 94%) */
  89% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(-2px -1px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(2px 1.5px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 8px rgba(82, 245, 88, 0.45));
    transform: translate(2px, 0.5px) skew(-0.8deg);
  }
  91.5% {
    filter: 
      url(#cyber-glitch-filter)
      brightness(0) invert(1) 
      drop-shadow(3px -1px 0 rgba(255, 0, 85, 0.8))
      drop-shadow(-3px 1.5px 0 rgba(0, 240, 255, 0.8))
      drop-shadow(0 0 10px rgba(82, 245, 88, 0.5));
    transform: translate(-2px, -1px) skew(1deg);
  }
}

.featured-more {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   14. VIDEOCLIPS SECTION (Cockpit Reveal)
   -------------------------------------------------------------------------- */
.clips-header-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 35px;
}

.clips-title {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 500;
}

.cockpit-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* Format standard 16/9 idéal pour YouTube */
  overflow: hidden;
  border-radius: 12px 28px 12px 12px;
  border: 1px solid rgba(82, 245, 88, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cockpit-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.cockpit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cockpit-play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--neon-green);
  color: #06030b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(82, 245, 88, 0.4);
  transform: scale(0.9);
  transition: all var(--t-normal);
}

.cockpit-container:hover .cockpit-play {
  transform: scale(1);
  box-shadow: 0 6px 30px rgba(82, 245, 88, 0.6);
}

/* Fallback YouTube pour protocole local file:// (Wix / Cyberpunk Style) */
.youtube-fallback {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #150a25 0%, #050308 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.youtube-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(82, 245, 88, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 245, 88, 0.015) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.6;
}

.youtube-fallback__content {
  position: relative;
  z-index: 5;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.fallback-status {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: led-blink 1.5s infinite;
}

.fallback-title {
  font-family: var(--font-title);
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.fallback-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.fallback-subtext {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.fallback-btn {
  margin-top: 10px;
  padding: 10px 24px;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   15. LIGHTBOX MODALE VIDEOS
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  transition: visibility 0.4s;
}

.lightbox--open {
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.95);
  opacity: 0;
  transition: opacity 0.4s;
}

.lightbox--open .lightbox__overlay {
  opacity: 1;
}

.lightbox__container {
  width: 90%;
  max-width: 960px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 10;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox--open .lightbox__container {
  transform: scale(1);
}

.lightbox__header {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox__title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.lightbox__close {
  font-size: 26px;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}
.lightbox__close:hover {
  color: var(--neon-red);
}

.lightbox__video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
}

.lightbox__video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   16. FOOTER (En forme de carte sur la maquette)
   -------------------------------------------------------------------------- */
.footer {
  /* Arrière-plan 100% opaque noir profond bloquant toute transparence vers la Hero */
  background: var(--bg-deep);
  padding: 60px 40px;
  position: relative;
  z-index: 10;
}

.footer-card {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 50px;
  border-radius: 12px 28px 12px 12px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer__grid .footer__col:last-child {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .footer__grid .footer__col:last-child {
    grid-column: span 1;
  }
}

.footer__heading {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__social {
  display: flex;
  gap: 15px;
}

.footer__social a {
  color: var(--text-secondary);
  transition: var(--t-fast);
  padding: 5px;
}

.footer__social a:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer__newsletter-text {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  max-width: 320px;
}

.footer__newsletter {
  display: flex;
  width: 100%;
  max-width: 380px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
  padding: 2px;
}

.footer__newsletter:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
}

.footer__input {
  flex: 1;
  padding: 12px 18px;
  font-size: 12px;
  color: var(--text-primary);
}

.footer__input::placeholder {
  color: var(--text-muted);
}

.footer__submit {
  padding: 12px 24px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer__bottom p {
  font-size: 11px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   17. SYSTEM SCROLL REVEAL (Effets d'apparitions)
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease;
}

.slide-right {
  transform: translateX(30px);
}

.scale-up {
  transform: scale(0.97);
}

.scroll-reveal--visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .section { padding: 70px 25px; }
  .header__inner { padding: 0 25px; }
  .split-layout { grid-template-columns: 1fr; gap: 30px; }
  .about-card { grid-template-columns: 1fr; gap: 30px; }
  .about-card__terminal { height: 120px; }
  .about-card__portrait-wrap { max-width: 260px; margin: 0 auto; }
  
  /* Shop Responsive 1024px */
  .shop-layout { grid-template-columns: 1fr; gap: 30px; }
  .shop-sidebar { position: static; width: 100%; padding: 20px; }
  .shop-sidebar__filters { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .shop-filter__btn { width: auto; }
  .shop-badges-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__menu-btn { display: flex; }
  .bestsellers-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cockpit-container { aspect-ratio: 16/9; }
  .footer { padding: 40px 15px; }
  .footer-card { padding: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  
  /* Shop Responsive 768px */
  .shop-badges-bar { grid-template-columns: 1fr; padding: 15px; gap: 15px; }
  .shop-badge-item { gap: 10px; }
}

@media (max-width: 480px) {
  .hero__logo-img { max-width: 280px; }
  .hero__logo-wrap { margin-bottom: 20px; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 260px; margin: 0 auto; }
  .hero__actions .pill-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   19. CARTES D'HABILLAGE TACTIQUES HUD (Décoration Vidéo en arrière-plan)
   -------------------------------------------------------------------------- */
.hero__logo-wrap {
  position: relative; /* Assure le positionnement absolu de la carte de décoration */
}

.about-card__portrait-container {
  position: relative;
  width: 100%;
  z-index: 2;
}

.hud-deco-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(12, 8, 20, 0.55);
  border: 1px solid rgba(82, 245, 88, 0.15);
  box-shadow: 0 0 15px rgba(82, 245, 88, 0.05), inset 0 0 10px rgba(82, 245, 88, 0.05);
  pointer-events: none; /* Empeche de bloquer les clics de souris */
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Isolation GPU matérielle stricte pour éradiquer tout lag de compositing/compositor */
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Grille de points HUD fine superposée à la vidéo */
.hud-deco-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(82, 245, 88, 0.12) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

.hud-deco-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5; /* Rendu discret et atmosphérique */
  mix-blend-mode: screen; /* Fusionne le noir de la vidéo avec le verre */
}

/* Positionnement spécifique de la carte derrière le logo Hero (à gauche) - Parfaitement Droite & Fixe */
.hud-deco-card--hero-left {
  width: clamp(120px, 16vw, 190px);
  aspect-ratio: 16/10;
  left: -80px; /* Décale parfaitement derrière le T sur la gauche sans débordement excessif */
  top: 50%;
  transform: translateY(-50%) translate3d(0, 0, 0);
  border-color: rgba(82, 245, 88, 0.28);
}

/* Positionnement spécifique de la carte derrière le portrait About (à droite/bas) - Parfaitement Droite & Fixe */
.hud-deco-card--about-right {
  width: clamp(140px, 18vw, 200px);
  aspect-ratio: 16/10;
  right: -10px;
  bottom: -15px;
  border-color: rgba(82, 245, 88, 0.2);
  transform: translate3d(0, 0, 0);
}

/* Adaptabilité responsive et mobile first */
@media (max-width: 1024px) {
  .hud-deco-card--hero-left {
    left: -60px;
    width: 180px;
  }
  .hud-deco-card--about-right {
    right: -5px;
    bottom: -10px;
    width: 150px;
  }
}

@media (max-width: 768px) {
  /* Sur mobile, on recentre la carte HUD directement derrière le logo pour habiller le fond sans dépasser de l'écran */
  .hud-deco-card--hero-left {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
    width: clamp(140px, 45vw, 180px);
    opacity: 0.35;
  }
  .hud-deco-card--about-right {
    right: 0px;
    bottom: -5px;
    width: 130px;
    opacity: 0.4;
  }
}

/* --------------------------------------------------------------------------
   20. PAGE LEGAL (Accordion)
   -------------------------------------------------------------------------- */

.legal-page {
  background: var(--bg-deep);
  background: var(--bg-purple-radial);
}

.legal-page main {
  margin-top: 0;
}

/* Header avec fond sur les pages sans hero (identique à l'état scrollé) */
.shop-page .header,
.legal-page .header {
  background: rgba(12, 8, 20, 0.85);
  border-bottom: 1px solid rgba(82, 245, 88, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.legal-main {
  position: relative;
  z-index: 5;
  padding-top: 90px;
  padding-bottom: 60px;
  background: transparent;
}

.legal-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.legal-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 50px 45px;
  position: relative;
}

.legal-header {
  text-align: left;
  margin-bottom: 40px;
}

.legal-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-green);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin: 0;
}

/* --- Accordion --- */
.legal-accordion {
  display: flex;
  flex-direction: column;
}

.legal-acc-item {
  border-bottom: 1px solid rgba(82, 245, 88, 0.12);
  scroll-margin-top: 100px;
}

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

.legal-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(15px, 2.5vw, 17px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-align: left;
  transition: color var(--t-fast);
}

.legal-acc-trigger:hover {
  color: var(--neon-green);
}

.legal-acc-trigger[aria-expanded="true"] {
  color: var(--neon-green);
}

.legal-acc-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--neon-green);
  border: 1px solid rgba(82, 245, 88, 0.25);
  border-radius: 4px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.legal-acc-trigger[aria-expanded="true"] .legal-acc-icon {
  transform: rotate(45deg);
  border-color: var(--neon-green);
}

.legal-acc-title {
  flex: 1;
}

.legal-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.45s ease;
  padding: 0 10px 0 40px;
}

.legal-acc-item--open .legal-acc-body {
  max-height: 2000px;
  padding: 0 10px 28px 40px;
}

/* --- Legal Content (inside accordion) --- */
.legal-intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-item {
  margin-bottom: 28px;
}

.legal-item:last-child {
  margin-bottom: 0;
}

.legal-item__heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.legal-item__heading--allowed {
  color: var(--neon-green);
}

.legal-item__heading--forbidden {
  color: #f55;
}

.legal-item p,
.legal-acc-body > p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 15px 0;
}

.legal-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--neon-green);
  font-size: 12px;
  opacity: 0.5;
}

.legal-list--forbidden li::before {
  content: '✕';
  color: #f55;
  opacity: 0.7;
}

.legal-link {
  color: var(--neon-green);
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.legal-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-main {
    padding-top: 85px;
    padding-bottom: 40px;
  }
  .legal-card {
    padding: 35px 25px;
    border-radius: 20px;
  }
  .legal-header {
    margin-bottom: 30px;
  }
  .legal-acc-trigger {
    padding: 18px 6px;
    gap: 12px;
    font-size: 15px;
  }
  .legal-acc-body {
    padding: 0 6px 0 36px;
  }
  .legal-acc-item--open .legal-acc-body {
    padding: 0 6px 22px 36px;
  }
}

/* --------------------------------------------------------------------------
   15. COCKPIT TERMINAL DATALINK INDEX & TRACK ROWS
   -------------------------------------------------------------------------- */
.cockpit-index {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-row {
  display: grid;
  grid-template-columns: 50px 50px 1fr 150px 200px 50px 140px;
  align-items: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px 20px;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.track-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--neon-green);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.track-row:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(82, 245, 88, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateX(4px);
}

.track-row:hover::before {
  opacity: 0.8;
}

.track-row--playing {
  background: rgba(82, 245, 88, 0.04) !important;
  border-color: rgba(82, 245, 88, 0.25) !important;
  box-shadow: 0 0 15px rgba(82, 245, 88, 0.05);
}

.track-row--playing::before {
  opacity: 1 !important;
}

.track-row__file-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-green);
  opacity: 0.6;
}

.track-row__art-wrap {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease;
}

.track-row:hover .track-row__art-wrap {
  transform: scale(1.1) rotate(3deg);
  border-color: var(--neon-green);
}

.track-row__art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-row__title-wrap {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

.track-row__title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.25px;
}

.track-row__subtitle {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.track-row__plays {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.8;
}

.track-row__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.track-row__play-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-play-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mini-play-btn:hover {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: var(--bg-deep);
  box-shadow: 0 0 10px rgba(82, 245, 88, 0.5);
  transform: scale(1.1);
}

.track-row--playing .mini-play-btn {
  background: var(--neon-green) !important;
  border-color: var(--neon-green) !important;
  color: var(--bg-deep) !important;
  box-shadow: 0 0 10px rgba(82, 245, 88, 0.5) !important;
}

/* Version mini du bouton Liquid Glass 3D */
.pill-btn--glass-mini {
  font-size: 10px;
  font-weight: 600;
  padding: 8px 16px;
  min-height: auto;
  border-radius: 20px;
  text-align: center;
}

/* Règle adaptative Responsive pour la ligne de track */
@media (max-width: 1024px) {
  .track-row {
    grid-template-columns: 40px 40px 1fr 120px 40px 120px;
    padding: 10px 15px;
  }
  .track-row__meta {
    display: none; /* Masque les détails audio trop techniques sur tablettes */
  }
}

@media (max-width: 768px) {
  .track-row {
    grid-template-columns: 40px 1fr 40px 90px;
    padding: 12px 10px;
  }
  .track-row__file-no,
  .track-row__plays,
  .track-row__meta {
    display: none; /* Masque pour aérer sur mobile */
  }
  .track-row__art-wrap {
    width: 32px;
    height: 32px;
  }
  .track-row__title {
    font-size: 12px;
  }
  .pill-btn--glass-mini {
    padding: 6px 12px;
    font-size: 9px;
  }
}

/* --------------------------------------------------------------------------
   17. CINEMA MODE (Theater overlay for YouTube Cockpit)
   -------------------------------------------------------------------------- */
.cinema-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(4, 2, 8, 0.92); /* Opaque à 92% pour une immersion totale sans flou */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.cinema-mode-active .cinema-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Élevé au-dessus de l'overlay cinéma et glow néon intense */
body.cinema-mode-active main {
  z-index: 1250 !important;
}

body.cinema-mode-active #youtubeCockpit {
  z-index: 1300 !important;
  box-shadow: 0 0 60px rgba(82, 245, 88, 0.45);
  border-color: rgba(82, 245, 88, 0.5);
  transform: scale(1.02);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Assombrissement fluide du Header sans flou (Zéro Lag) */
body.cinema-mode-active .header {
  opacity: 0.05 !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease !important;
}

/* Assombrissement fluide des autres sections du site (Zéro Lag) */
body.cinema-mode-active main > *:not(#clips) {
  opacity: 0.05 !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease !important;
}

/* Assombrissement fluide de l'en-tête de la section clips (Zéro Lag) */
body.cinema-mode-active #clips > *:not(#youtubeCockpit) {
  opacity: 0.05 !important;
  pointer-events: none !important;
  transition: opacity 0.4s ease !important;
}

/* Hint text in cinema mode */
.cinema-overlay__exit-hint {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.7;
  text-transform: uppercase;
  pointer-events: none;
  animation: led-blink 2s infinite;
}

