/* Base */

@font-face {
  font-family: SyneGMZExtraBold;
  src: url(font/Syne-ExtraBoldGMZV3.ttf) format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: SyneGMZBold;
  src: url(font/Syne-BoldGMZV3.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
}

* { box-sizing: border-box; }

img, video, iframe {
  max-width: 100%;
  height: auto;
}

html, body { height: 100%; margin: 0; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: #050505;
  color: #eee;
  overflow: hidden; /* le scroll se fait sur main */
}

/* Loading Screen */
#loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 10000; /* Above everything */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loadingScreen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  /* Mask edges for smoothness if needed, but full width is fine */
}

.marquee-content {
  display: flex; /* Use flex to align items */
  width: fit-content;
  animation: scrollRight 8s linear infinite;
}

.marquee-item {
  font-family: 'SyneGMZExtraBold', sans-serif;
  font-size: 4vw; /* Large text */
  font-style: italic;
  color: #aaa;
  padding-right: 2vw; /* Spacing */
  white-space: nowrap;
}

.marquee-separator {
  font-style: normal;
  display: inline-block;
  margin: 0 0.2em;
}

@keyframes scrollRight {
  0% {
    transform: translateX(-33.33%); /* Assuming 3 copies, move from 2nd to 1st? No. */
    /* If we move Left to Right: */
    /* We want to see text moving -> -> -> */
    /* So we start shifted left, and move right (towards 0) */
    /* If we have [A][A][A] */
    /* Start at -33.33% (showing middle A) */
    /* End at 0% (showing first A) */
    /* Since A is identical, it loops. */
  }
  100% {
    transform: translateX(0%);
  }
}

/* Video Landing Overlay */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animations pour le burger et le titre */
.burger {
  transition: opacity 0.6s ease;
}

#titleAccueil {
  transition: opacity 0.8s ease;
}

a:-webkit-any-link {
  text-decoration: none;
}

/* Background Video for Accueil Section */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  mix-blend-mode: screen;
}

#accueil {
  position: relative;
}

#accueil::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111;
  opacity: 0;
  z-index: -1;
}

#accueil h1 {
  position: relative;
  z-index: 2; /* Above overlay */
  font-size: clamp(2em, 13vw, 7em);
  color: #fff;
  /* Base shadow, will be overridden by JS for reactivity */
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 20px 50px rgba(0, 0, 0, 0.9);
  transition: text-shadow 0.1s ease-out, opacity 0.8s ease, letter-spacing 0.8s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  mix-blend-mode: difference;
  line-height: 0.9;
}

.line-grande {
  letter-spacing: 0.02em;
  margin-right: -0.02em;
}

.line-maison {
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}

/* One-scroll fluide global */
main {
  height: 100vh; /* Fallback */
  height: 100dvh; /* Dynamic viewport height */
  overflow: hidden; /* Full JS control */
  /* scroll-snap-type: y mandatory;  Désactivé pour JS custom */
  scroll-behavior: auto; /* Handled by JS */
  scroll-padding-top: 0;
}
main::-webkit-scrollbar { display: none; }
main { -ms-overflow-style: none; scrollbar-width: none; }

/* Sections plein écran */
.screen {
  min-height: 100vh;
  padding: 80px 24px 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  /* scroll-snap-align: start; Désactivé */
}

h1, h2, h3, h4, h5, h6 { 
  font-family: 'SyneGMZExtraBold', sans-serif;
  font-weight: 800; 
  margin: 0 0 12px; 
  color: #f5f5f5; 
  letter-spacing: -1px;
}
p { max-width: 800px; text-align: center; color: #ccc; }

/* Burger */
.burger {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 1000;
  
  /* Size & Layout (Matching Volume Button) */
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;

  /* Glassmorphism Style (Matching .btn) */
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  color: #eee;
  
  border-radius: 50%; /* Circular */
  
  font-size: 24px;
  cursor: pointer;

  /* Animation */
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.4s ease,
              border-color 0.4s ease,
              color 0.4s ease,
              opacity 0.6s ease;
}

.burger:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.burger:active {
  transform: scale(0.95);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.9);
}

/* ===== BURGER MENU OVERLAY ===== */

/* Body class when menu is open - disable scroll */
body.menu-open {
  overflow: hidden;
}

/* Menu Overlay - Fullscreen with blur */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  
  /* Dark transparent background with blur */
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  /* Initial state - off-screen to the right */
  transform: translateX(100%);
  opacity: 0;
  
  /* Animation transition */
  transition: transform 1s cubic-bezier(0.52, 0.07, 0.35, 0.96),
              opacity 1s cubic-bezier(0.3,-0.01, 0.58, 1);
  
  /* Layout for content */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10vw;
  
  pointer-events: none;
}

/* Menu open state */
.menu-overlay.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Close button */
.menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border: none;
  background-color: #fff;
  color: #000;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.4s ease,
              color 0.4s ease;
}

.menu-close:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  color: #fff;
}

/* Animated grid lines container */
.menu-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.12; /* Global opacity between 0.08 and 0.14 */
}

/* Vertical lines - Base styles */
.line-v {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: transparent; /* Removed base background */
  overflow: hidden; /* Mask for inner animation */
  transition: transform 0.45s cubic-bezier(0.65, 0.04, 0.44, 1);
}

/* Inner animation for vertical lines */
.line-v::after {
  content: '';
  display: block;
  width: 100%;
  height: 200%;
  /* Two segments: Opacity 1 and Opacity 0.5, repeated for loop */
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 1) 25%, 
    rgba(255, 255, 255, 0.5) 25%, 
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 1) 50%, 
    rgba(255, 255, 255, 1) 75%, 
    rgba(255, 255, 255, 0.5) 75%, 
    rgba(255, 255, 255, 0.5) 100%
  );
  animation: vertical-flow 8s linear infinite;
}

/* Vertical lines - Delays */
.line-v1::after { animation-delay: 0s; }
.line-v2::after { animation-delay: -1.5s; }
.line-v3::after { animation-delay: -3s; }
.line-v4::after { animation-delay: -4.5s; }
.line-v5::after { animation-delay: -6s; }
.line-v6::after { animation-delay: -7.5s; }

/* Vertical lines - Default positions (evenly spaced) */
.line-v1 { left: 2%; }
.line-v2 { left: 21.2%; }
.line-v3 { left: 40.4%; }
.line-v4 { left: 59.6%; }
.line-v5 { left: 78.8%; }
.line-v6 { left: 98%; }

/* Horizontal lines - Base styles */
.line-h {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: transparent; /* Removed base background */
  overflow: hidden; /* Mask for inner animation */
  transition: transform 0.45s cubic-bezier(0.65, 0.04, 0.44, 1);
}

/* Inner animation for horizontal lines */
.line-h::after {
  content: '';
  display: block;
  width: 200%;
  height: 100%;
  /* Two segments: Opacity 1 and Opacity 0.5, repeated for loop */
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 1) 25%, 
    rgba(255, 255, 255, 0.5) 25%, 
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 1) 50%, 
    rgba(255, 255, 255, 1) 75%, 
    rgba(255, 255, 255, 0.5) 75%, 
    rgba(255, 255, 255, 0.5) 100%
  );
  animation: horizontal-flow 8s linear infinite;
}

/* Horizontal lines - Delays */
.line-h1::after { animation-delay: -2s; }
.line-h2::after { animation-delay: -5s; }
.line-h3::after { animation-delay: -1s; }

/* Keyframes */
@keyframes vertical-flow {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes horizontal-flow {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Horizontal lines - Default positions */
.line-h1 { top: 30%; }
.line-h2 { top: 70%; }

/* Menu content container */
.menu-content {
  position: relative;
  z-index: 1;
  text-align: right;
}

/* Menu list */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Menu item */
.menu-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin: 0;
  padding: 16px 0;
  position: relative;
}

/* Menu number column */
.menu-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  letter-spacing: 2px;
  transition: color 0.3s ease,
              transform 0.3s ease;
}

/* Menu link */
.menu-link {
  font-family: 'SyneGMZExtraBold', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3rem);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              letter-spacing 0.35s ease,
              filter 0.35s ease,
              color 0.35s ease;
}

/* Menu item hover effects */
.menu-item:hover .menu-link {
  transform: scale(1.03);
  letter-spacing: 4px;
  color: #fff;
  filter: brightness(1.15);
}

.menu-item:hover .menu-number {
  color: rgba(255, 255, 255, 0.7);
}

/* Lines highlight on item hover - make active lines brighter */
.menu-overlay .line-v.active,
.menu-overlay .line-h.active {
  background: rgba(140, 170, 220, 0.35);
  box-shadow: 0 0 8px rgba(140, 170, 220, 0.3);
}

/* ===== BURGER MENU RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-overlay {
    padding-right: 5vw;
    justify-content: center;
  }
  
  .menu-content {
    text-align: center;
  }
  
  .menu-item {
    justify-content: center;
    gap: 15px;
  }
  
  .menu-link {
    font-size: clamp(1.8rem, 8vw, 3rem);
    letter-spacing: 1px;
  }
  
  .menu-number {
    font-size: clamp(0.8rem, 2vw, 1rem);
  }
  
  .menu-close {
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
  
  /* Simplify lines on mobile */
  .line-v2, .line-v3, .line-v5 {
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .menu-link {
    font-size: clamp(1.5rem, 10vw, 2.5rem);
  }
  
  .menu-item {
    margin: 0;
    padding: 12px 0;
  }
}

/* Boutons */
.btn {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  
  /* Glassmorphism Style (Matching Timeline Cards) */
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  color: #eee;
  
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 1px;
  
  /* Animation Easing */
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.4s ease,
              border-color 0.4s ease,
              color 0.4s ease;
}

.btn:hover { 
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Contact */
#contact h2 {
  font-size: 4.5em;
  margin: 0;
  position: relative;
  line-height: 1;
  z-index: 20;
  mix-blend-mode: difference;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Outfit', sans-serif;
  width: 100%;
  max-width: 700px;
  margin: 8px auto;
  padding: 12px;
  border-radius: 4px;
  
  /* Glassmorphism Style */
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  
  color: #fff;
}
.contact-form textarea { 
  min-height: 120px; 
  resize: none;
}
.contact-form .btn { margin-top: 8px; }

/* ASCII Background Canvas */
#asciiBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none; /* Allow mouse interaction */
  background-color: #111;
}

/* Radio Section */
#radio {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

#noiseCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4; /* Opacity handled in JS mostly, but this is a global multiplier */
}

#radio.playing .film-grain::before {
  animation-play-state: running;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

.radio-header {
  position: absolute;
  top: 30px;
  left: 30px;
  width: calc(100% - 60px);
  /* z-index removed to allow mix-blend-mode on children */
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Circular Volume Control */
.volume-container {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  
  /* Glassmorphism Style (Unified) */
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  border-radius: 50%;

  /* Animation */
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 100;
}

.volume-container:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}

.volume-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Clicks pass through to container */
}

.volume-container:hover .volume-ring,
.volume-container.dragging .volume-ring {
  opacity: 1;
}

.volume-icon-center {
  font-size: 20px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.volume-container:hover .volume-icon-center {
    transform: scale(1.1);
}

/* Radio Controller (RC) */
.rc-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  bottom: 50px; /* Slightly higher */
  z-index: 1000;
  display: flex;
  align-items: stretch;
  /* Timeline Style Transparency */
  
  background-color: rgba(10, 10, 10, 0.5); /* Darker when docked for visibility */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  
  border-radius: 16px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
  
  /* Adaptive Width */
  width: auto;
  min-width: 350px; /* Increased from 300px */
  max-width: 90vw;
  
  overflow: hidden;
  color: #fff;
}

.rc-container.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
}

.rc-container.docked {
  /* Ensure only the 40px handle is visible */
  transform: translateX(calc(100% - 20px)) !important; 
}

/* Handle / Toggle */
.rc-handle {
  width: 40px; /* Increased from 30px */
  flex-shrink: 0; /* Prevent shrinking */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: background 0.3s;
}

.rc-handle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.rc-toggle-btn {
  font-size: 14px; /* Increased from 12px */
  transition: transform 0.5s ease;
  transform: rotate(180deg); /* Default: Point Right (using chevron-left) */
}

.rc-container.docked .rc-toggle-btn {
  transform: rotate(0deg); /* Docked: Point Left */
}

/* Content */
.rc-content {
  flex: 1;
  padding: 20px; /* Increased from 15px */
  display: flex;
  flex-direction: column;
  gap: 12px; /* Increased gap */
  cursor: grab; /* Draggable area */
  min-width: 0; /* Allow flex items to shrink */
}

.rc-content:active {
  cursor: grabbing;
}

/* Top Row: Play, Volume, Meta */
.rc-top-row {
  display: flex;
  align-items: center;
  gap: 15px; /* Increased gap */
}

.rc-btn-play {
  background: none;
  border: none;
  border-radius: 50%;
  width: 46px; /* Increased from 36px */
  height: 46px; /* Increased from 36px */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  font-size: 18px; /* Larger icon */
}

.rc-btn-play:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.rc-btn-pip {
  background: none;
  border: none;
  border-radius: 50%;
  width: 46px; /* Same as play button */
  height: 46px; /* Same as play button */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  font-size: 18px; /* Same icon size */
}

.rc-btn-pip:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-pip-main {
  position: relative;
  width: 60px; /* Same as volume container */
  height: 60px; /* Same as volume container */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  
  /* Glassmorphism Style (Unified) */
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  border-radius: 50%;

  /* Animation */
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 100;
  color: #fff;
  font-size: 18px;
}

.btn-pip-main:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* RC Circular Volume */
.rc-volume-container {
  position: relative;
  width: 46px; /* Increased from 32px to match play button */
  height: 46px; /* Increased from 32px */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.rc-volume-ring {
  transform: rotate(0deg); /* Rotated 90deg right from -90deg */
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rc-volume-container:hover .rc-volume-ring,
.rc-volume-container.dragging .rc-volume-ring {
  opacity: 1;
}

.rc-ring-bg {
  stroke: rgba(255, 255, 255, 0.2);
}

.rc-ring-progress {
  stroke: #fff;
  /* transition: stroke-dashoffset 0.1s linear; Removed for instant response */
}

.rc-volume-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px; /* Increased from 10px */
  color: #fff;
  pointer-events: none;
}

.rc-volume-container:hover .rc-volume-icon-center {
  transform: translate(-50%, -50%) scale(1.1);
}

.rc-meta {
  flex: 1;
  overflow: hidden;
  text-align: right;
  min-width: 0; /* Allow text truncation */
}

.rc-volume-slider-wrapper {
  width: 60px;
  display: flex;
  align-items: center;
}

#rcVolumeSlider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
}

#rcVolumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.rc-meta {
  flex: 1;
  overflow: hidden;
  text-align: right;
}

#rcTitle {
  font-size: 16px; /* Increased from 14px */
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

#rcArtist {
  font-size: 13px; /* Increased from 11px */
  font-weight: 400;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom Row: Progress */
.rc-bottom-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Space Grotesk', monospace;
}

.rc-progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.rc-progress-fill {
  height: 100%;
  background: #fff;
  width: 0%;
  transition: width 0.1s linear;
}



#radio h2 {
  font-size: 4.5em;
  margin: 0;
  position: relative;
  line-height: 1;
  /* opacity: 0.5; Removed to fix grey text issue */
  z-index: 20;
  mix-blend-mode: difference;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

#currentSong {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  font-family: 'Lexend', sans-serif;
  font-size: 1.1rem;
  color: #ffffff;
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;

  /* Style "Timeline Post" */
  background-color: transparent;
  padding: 10px 20px 30px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  
  /* Adaptation longueur */
  width: auto;
  max-width: 60vw; /* Limite pour éviter le débordement sur petits écrans */
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;

  /* Animation de taille */
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: width, height;
}

#currentSong .title {
  color: #00ff68;
  font-weight: 700;
  text-shadow: 0 0 15px #00a542;
}

#visualizer {
  position: absolute;
  top: 50%;
  left: 0;
  width: 400px;
  height: 90px;
  transform: translateY(-50%);
  z-index: 20;
  pointer-events: none;
  border-radius: 0;
}

.volume-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #eee;
  font-size: 42px;
  cursor: pointer;
  transition: color 0.3s, transform 0.2s;
  filter: drop-shadow(0 0 30px rgba(238, 238, 238, 0.3));
}

.btn-play:hover {
  color: #fff;
  transform: scale(1.05);
  filter: drop-shadow(0 0 40px rgba(238, 238, 238, 0.5));
}

.btn-play:active {
  transform: scale(0.95);
}

#volumeToggle {
  margin: 0;
  width: 35px;
  height: 35px;
  font-size: 16px;
  position: relative;
  z-index: 50;
}

.status {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-align: right;
  color: #aaa;
  font-size: 0.8em;
  z-index: 20;
}

.player {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}



.listeners {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #aaa;
  font-size: 0.92em;
  z-index: 20;
}

/* Volume Control */
.volume {
  position: absolute;
  top: 50px; /* Position below the button */
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  padding: 10px 5px;
  border-radius: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) translateX(-50%);
}

.volume:not(.hidden) {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

.volume.hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) translateX(-50%);
}

.volume:not(.hidden) {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

.volume.hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px) translateX(-50%);
}


@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.volume input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 50px; /* This is now the height */
  height: 4px;
  border-radius: 2px;
  background: #333;
  outline: none;
  cursor: pointer;
  transform: rotate(-90deg); /* Makes the slider vertical */
  transform-origin: center;
}

.volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2px;
  height: 16px;
  background: #999;
  border: none;
  cursor: pointer;
  margin-top: -6px;
}

.volume input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
}

.volume input[type="range"]::-moz-range-thumb {
  width: 2px;
  height: 16px;
  background: #999;
  border: none;
  cursor: pointer;
  margin-top: -6px;
}

.volume input[type="range"]::-moz-range-track {
  background: transparent;
  border: none;
}

/* Timeline */
#timeline { 
  justify-content: flex-start; 
  padding: 0;
  overflow: hidden;
  position: relative;
  height: 100vh;
}

.timeline-header-wrapper {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  /* z-index removed to allow mix-blend-mode on children */
  pointer-events: none;
}

#timeline h2 { 
  margin: 0;
  font-size: 4.5em;
  position: absolute;
  text-align: left;
  pointer-events: none;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  mix-blend-mode: difference;
  color: #fff;
  z-index: 10;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.timeline-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.filter-btn.active {
  background-color: rgba(255, 255, 255, 0.9);
  color: #111;
  border-color: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.timeline-container {
  position: relative;
  width: 100%;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: stretch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* Infinite line */
  background: linear-gradient(#555, #555) repeat-x left 50% / 1px 2px local;
}

.timeline-container::-webkit-scrollbar { display: none; }

.timeline-item { 
  position: relative;
  flex-shrink: 0;
  width: 300px;
  margin: 0 40px;
  z-index: 2;
}

/* The Cursor (Trait) */
.timeline-item::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 24px;
  background-color: #fff;
  border: none;
  border-radius: 0;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Vertical Connector */
.timeline-item::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #555;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item:nth-child(odd)::before {
  bottom: 50%;
  height: 40px;
}

.timeline-item:nth-child(even)::before {
  top: 50%;
  height: 40px;
}

.timeline-content,
.timeline-content-left,
.timeline-content-right { 
  position: absolute;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  
  /* 3D Tilt Setup */
  transform-style: preserve-3d;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --shine-x: 50%;
  --shine-y: 50%;

  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.4s ease,
              border-color 0.4s ease;
}

.timeline-content:hover {
  transform: perspective(1000px) scale(1.05) translateY(-5px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.15);
  background-color: rgba(35, 35, 35, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  z-index: 10;
}

/* Shine Effect */
.timeline-content::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 20px;
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255,255,255,0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 11;
  mix-blend-mode: overlay;
}

.timeline-content:hover::after {
  opacity: 1;
}

.timeline-item:nth-child(odd) .timeline-content {
  bottom: 50%;
  margin-bottom: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
  top: 50%;
  margin-top: 40px;
}

.timeline-item h3 { 
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.3em;
}

.timeline-item h4 { 
  font-family: 'Outfit', sans-serif;
  color: #999;
  margin: 0 0 12px;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-item p { 
  color: #ccc;
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 10px;
  max-width: 100%;
  text-align: center;
}

.timeline-item img { 
  max-width: 100%;
  height: auto;
  border-radius: 0;
  margin-top: 10px;
}

/* Remove old generic link style that might conflict */
.timeline-item a { 
  /* color: #fff;  Removed to allow inherit */
  text-decoration: none;
  /* font-weight: bold; Removed, h3 is already bold */
  /* border-bottom: 1px solid #fff; Removed, handled by specific selectors */
}

.timeline-item h3 a,
.timeline-item h4 a { 
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(153 153 153 / 30%);
  transition: color 0.2s, border-bottom-color 0.2s;
}

.timeline-item h3 a:hover,
.timeline-item h4 a:hover { 
  color: #ccc;
}

.timeline-item a.timeline-image-link {
  display: block;
  border-bottom: none;
}

.timeline-item a.timeline-image-link:hover {
  border-bottom: none;
}

.timeline-date { 
  display: block;
  font-size: 0.75em;
  color: #777;
  margin-top: 12px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section titre Artistes réduite */
#artistes {
  min-height: auto;       /* annule le 100vh hérité de .screen */
  height: auto;           /* s’adapte au contenu */
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* pas besoin de centrer verticalement */
  gap: 20px;
  /* scroll-snap-align: start; Désactivé */
}
#artistes h2 {
  margin: 0 0 20px;
  text-align: center;
}

/* Navigation boutons sous le titre Artistes */
.artistes-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.artistes-nav .btn {
  font-size: 16px;
  padding: 10px 20px;
}

/* Chaque artiste = section plein écran intégrée au one-scroll */
.artiste {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 40px;
  gap: 40px;
  /* scroll-snap-align: start; Désactivé */
}

/* Colonne gauche: infos */
.artiste-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  text-align: left;
  padding-left: 40px;   /* décalage vers la droite */
}

.artiste-info h3 { 
  margin: 0; 
  font-size: clamp(2rem, 8vw, 4rem); /* Fluid font size */
  line-height: 0.9;
  color: #fff;
  white-space: normal; /* Allow wrapping */
  mix-blend-mode: difference;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
.artiste-info .localisation {
  font-family: 'Lexend', sans-serif;
  font-size: 1.2rem;
  color: #aaa;
  margin: 0;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Localisation alignée */
.artiste-info .localisation {
  font-size: 18px;
  color: #aaa;
  margin: 0;
  line-height: 1.4;
  text-align: left;
  padding-left: 3px;
}

.artiste-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-left: 4px;}
.artiste-socials { display: flex; gap: 14px; margin-top: 12px; padding-left: 5px;}
.artiste-socials a { color: #eee; font-size: 24px; transition: color 0.3s; }
.artiste-socials a:hover { color: #2b2b2bcf; }

/* Colonne droite: image */
.artiste {
  padding: 0;              /* supprime le padding autour de la section */
  gap: 0;                  /* supprime l’espace entre colonnes */
}

.artiste-image {
  width: 100%;
  height: 100vh;           /* occupe toute la hauteur de l’écran */
}

.artiste-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* l’image couvre toute la zone */
  object-position: center;
  border-radius: 0;
  display: block;          /* supprime les espaces blancs éventuels */
}

/* Barre de progression de la radio */
#progress-info {
  opacity: 1;
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: calc(50% + 5px); /* Juste en dessous du titre */
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 400px;
  max-width: 80%;
  transition: opacity 0.5s ease;
}

#radio.playing #progress-info.visible {
  opacity: 1;
  pointer-events: auto;
}

#progress-container {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: width 0.25s linear;
}

#elapsed-time,
#remaining-time {
  font-family: 'Lexend', sans-serif;
  font-size: 0.8rem;
  color: #ccc;
  min-width: 35px; /* Empêche le layout de sauter */
}

/* Custom timeline image style */
.timeline-image {
  width: 100%;
  height: 300px; /* Fixed height */
  object-fit: cover; /* Crop to fit */
  object-position: center; /* Center the image */
  border-radius: 12px;
  margin-top: 10px;
}

/* Radar Disc Styles */
@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

#vinyl-disc-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vinyl-disc-container.playing::before {
  content: none;
}

#vinyl-disc.playing::before {
  content: '';
  position: absolute;
  top: -15px; left: -15px; right: -15px; bottom: -15px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #00ff68 0deg,
    #00ff68 var(--glow-angle),
    transparent var(--glow-angle),
    transparent 360deg
  );
  z-index: -2;
  filter: blur(15px);
  -webkit-mask: radial-gradient(transparent 88%, black 95%);
  mask: radial-gradient(transparent 88%, black 95%);
  animation: glow-turn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes glow-turn {
  to {
    --glow-angle: 360deg;
  }
}

#vinyl-disc {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  
  /* Glassmorphism Style */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  
  /* Radar Grid (More visible lines + Diagonals) */
  background-image: 
    linear-gradient(rgba(0, 255, 104, 0.15) 3px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 104, 0.15) 1px, transparent 1px),
    linear-gradient(45deg, rgba(0, 255, 104, 0.1) 1px, transparent 1px),
    linear-gradient(135deg, rgba(0, 255, 104, 0.1) 1px, transparent 1px),
    radial-gradient(circle closest-side, transparent 20%, rgba(0, 255, 104, 0.2) 20%, rgba(0, 255, 104, 0.2) 21%, transparent 21%, transparent 40%, rgba(0, 255, 104, 0.2) 40%, rgba(0, 255, 104, 0.2) 41%, transparent 41%, transparent 60%, rgba(0, 255, 104, 0.2) 60%, rgba(0, 255, 104, 0.2) 61%, transparent 61%, transparent 80%, rgba(0, 255, 104, 0.2) 80%, rgba(0, 255, 104, 0.2) 81%, transparent 81%);
  background-size: 50px 50px, 50px 50px, 50px 50px, 50px 50px, 100% 100%;
  background-position: center center;
  
  /* Electric Glow Shadow */
  box-shadow: 
    0 0 5px rgba(0, 255, 104, 0.05),
    inset 0 0 10px rgba(0, 255, 104, 0.05),
    0 0 5px rgba(0, 255, 104, 0.05);
    
  transition: transform 0.1s ease, box-shadow 0.3s ease; /* Faster transform for audio reactivity */
  /* overflow: hidden; Removed to allow outer glow */
}

#vinyl-disc::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* CSS Sweep removed - Handled by JS for better sync */
  background: transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

#vinyl-disc.playing::after {
  opacity: 0;
  animation: none;
}

#vinyl-disc.playing {
  /* Pulse effect with green glow - Active state (Inset only) */
  box-shadow: 
    inset 0 0 30px rgba(0, 255, 104, 0.2);
  transition: box-shadow 0.5s ease-in-out;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#radarPoints {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#playRadio {
  position: relative; /* Pour être au-dessus du disque */
  z-index: 2;
  width: 80px;
  height: 80px;
  font-size: 36px;
  background-color: transparent; /* Fond transparent pour se fondre avec l'ASCII */
  border: 2px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(2px);
}

/* --- New Playlist Editor Layout --- */
#playlistEditModal {
    display: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.editor-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.editor-actions-top {
    display: flex;
    gap: 10px;
}

.playlist-editor-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr; /* Middle column slightly wider */
    gap: 20px;
    height: calc(100vh - 200px); /* Adjust based on header/padding */
    min-height: 500px;
}

.editor-column {
    display: flex;
    flex-direction: column;
    padding: 0; /* Reset card padding */
    overflow: hidden;
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
}

.column-header {
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--surface-border);
}

.column-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.column-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--surface-border);
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

/* Search Bar in Column */
.search-container {
    padding: 10px 15px;
    border-bottom: 1px solid var(--surface-border);
    position: relative;
}
.search-container input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    background-color: rgba(0,0,0,0.2);
    border: 1px solid var(--surface-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
}
.search-container .search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Song Lists */
.song-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.song-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
    background-color: rgba(255,255,255,0.02);
    transition: background-color 0.2s;
    font-size: 0.9rem;
}
.song-list li:hover {
    background-color: var(--surface-hover);
}

/* Suggestions Specifics */
.suggestions-column {
    border-color: var(--accent-primary); /* Highlight this column */
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.05);
}
.suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.suggestion-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.suggestion-list-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .playlist-editor-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .suggestions-column {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

/* Scroll Arrow */
.scroll-arrow {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-arrow:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
