/* ==========================================================================
   NAHLA LANG - PORTFOLIO SYSTEM DESIGN & PREMIUM STYLE SHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & COLOR SYSTEM
   -------------------------------------------------------------------------- */
:root {
  /* Curated Harmonious Palette (Dark Forest Green, Electric Blue, Clean Silver) */
  --bg-color: #0c1917;         /* Deep Forest Green Base */
  --bg-color-alt: #132420;     /* Lighter Forest Green for Cards & Contrasts */
  --accent-color: #00d2ff;     /* Electric Blue Neon Accent */
  --accent-green: #39ffa0;     /* Neon Green secondary accent */
  --accent-color-glow: rgba(0, 210, 255, 0.35);
  --accent-green-glow: rgba(57, 255, 160, 0.25);
  --text-color: #ffffff;       /* Main Content White */
  --text-color-muted: #8da49f; /* Silver Green Muted Text */
  --border-glow: rgba(0, 210, 255, 0.15);
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Syne', sans-serif;
  
  /* Layout */
  --header-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. INITIAL RESET & SCROLL SNAPPING
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--bg-color);
  background-color: var(--bg-color);
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow: hidden; /* Prevent default scrolling, handled by scroll-container */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scroll Snap Container */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.slide-section {
  position: relative;
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  padding: calc(var(--header-height) + 20px) 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom Scrollbar for modern browsers */
.scroll-container::-webkit-scrollbar {
  width: 8px;
}
.scroll-container::-webkit-scrollbar-track {
  background: var(--bg-color);
}
.scroll-container::-webkit-scrollbar-thumb {
  background: rgba(0, 210, 255, 0.3);
  border-radius: 4px;
}
.scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* --------------------------------------------------------------------------
   3. BACKGROUND AMBIENT GLOWS & WAVES
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(57, 255, 160, 0.04) 0%, transparent 45%);
}

.bg-waves {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.bg-waves .wave-bar {
  width: 6px;
  background: linear-gradient(0deg, var(--accent-color), var(--accent-green));
  border-radius: 3px;
  height: 10%;
  animation: bg-equalizer 4s ease-in-out infinite alternate;
}

@keyframes bg-equalizer {
  0% { height: 10%; }
  100% { height: 95%; }
}

/* --------------------------------------------------------------------------
   4. GLASSMORPHISM CARDS & UTILITIES
   -------------------------------------------------------------------------- */
.glass-card {
  background: rgba(19, 36, 32, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 210, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  padding: 30px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(0, 210, 255, 0.25);
  box-shadow: 0 12px 40px 0 rgba(0, 210, 255, 0.08);
  transform: translateY(-4px);
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. HEADER NAVIGATION & MUSIC PLAYER
   -------------------------------------------------------------------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  z-index: 10;
  background: rgba(12, 25, 23, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.08);
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--text-color);
}

.logo-accent {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-color-glow);
}

.desktop-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-color-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-color);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-link.active::after {
  width: 100%;
}

/* Compact Floating Audio Player inside Header */
.compact-audio-player {
  display: flex;
  align-items: center;
  background: rgba(19, 36, 32, 0.8);
  border: 1px solid rgba(0, 210, 255, 0.15);
  border-radius: 40px;
  padding: 6px 16px 6px 8px;
  gap: 12px;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.compact-audio-player:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.player-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--accent-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.player-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--bg-color);
  transition: var(--transition-smooth);
}

.player-btn:hover {
  transform: scale(1.08);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.track-info {
  display: flex;
  flex-direction: column;
  max-width: 130px;
  overflow: hidden;
}

.track-title-scroll {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-color);
}

#player-track-artist {
  font-size: 9px;
  color: var(--text-color-muted);
}

.hidden {
  display: none !important;
}

/* Compact Visualizer animations in Header */
.mini-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 25px;
  height: 18px;
}

.mini-visualizer .bar {
  width: 3px;
  height: 20%;
  background: var(--accent-green);
  border-radius: 2px;
  transition: height 0.1s ease;
}

.mini-visualizer.playing .bar {
  animation: dance 0.6s ease-in-out infinite alternate;
}

.mini-visualizer.playing .bar:nth-child(1) { animation-delay: 0.1s; }
.mini-visualizer.playing .bar:nth-child(2) { animation-delay: 0.3s; }
.mini-visualizer.playing .bar:nth-child(3) { animation-delay: 0.0s; }
.mini-visualizer.playing .bar:nth-child(4) { animation-delay: 0.4s; }

@keyframes dance {
  0% { height: 15%; }
  100% { height: 100%; }
}

/* --------------------------------------------------------------------------
   6. VERTICAL NAVIGATION DOTS
   -------------------------------------------------------------------------- */
.nav-dots {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.dot:hover {
  background-color: var(--accent-color);
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--accent-color);
}

.dot.active {
  background-color: var(--accent-color);
  transform: scale(1.4);
  border-color: #ffffff;
  box-shadow: 0 0 12px var(--accent-color);
}

.dot::after {
  content: attr(title);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  color: var(--text-color);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  background: rgba(19, 36, 32, 0.9);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.dot:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0px);
}

/* --------------------------------------------------------------------------
   7. SLIDE 1 : INTRO & HERO LAYOUT (REPEATED HEADER TEXT VIBE)
   -------------------------------------------------------------------------- */
.intro-background-repeat {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 4.8vw;
  line-height: 1.1;
  text-align: center;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  opacity: 0.12;
}

.intro-background-repeat div {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-color);
}

.intro-background-repeat div:first-child {
  color: var(--accent-color);
  -webkit-text-stroke: 1px var(--accent-color);
  opacity: 0.65;
}

.intro-background-repeat div:nth-child(2) { opacity: 0.7; }
.intro-background-repeat div:nth-child(3) { opacity: 0.4; }
.intro-background-repeat div:nth-child(4) { opacity: 0.15; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  z-index: 2;
  position: relative;
}

.intro-text {
  max-width: 650px;
}

.intro-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  background: var(--accent-green-glow);
  box-shadow: 0 0 15px var(--accent-green-glow);
}

.glitch-title {
  font-family: var(--font-title);
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.sub-job-title {
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.slogan-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.5;
  border-left: 3px solid var(--accent-color);
  padding-left: 15px;
}

.sub-slogan-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-color-muted);
  margin-bottom: 35px;
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-color);
  color: var(--bg-color);
  border: 1px solid var(--accent-color);
}

.btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-glow:hover {
  box-shadow: 0 0 20px var(--accent-color);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 15px;
}

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

.btn-block {
  display: flex;
  width: 100%;
}

.btn-danger {
  background: #ff3366;
  border: 1px solid #ff3366;
  color: white;
}
.btn-danger:hover {
  background: #ff5588;
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

/* Avatar Visual container */
.intro-avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.avatar-img-box {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--bg-color);
  position: relative;
  z-index: 3;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.avatar-img:hover {
  transform: scale(1.05);
}

.avatar-glow-ring {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  z-index: 1;
  background: radial-gradient(circle, var(--accent-color-glow) 0%, transparent 70%);
  animation: pulse-ring 3s infinite alternate;
}

.avatar-ring-rotating {
  position: absolute;
  width: 264px;
  height: 264px;
  border-radius: 50%;
  z-index: 2;
  border: 2px dashed var(--accent-color);
  opacity: 0.5;
  animation: rotate-ring 20s linear infinite;
}

@keyframes rotate-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.05); opacity: 0.9; }
}

/* Compact Contact Box Underneath */
.compact-contact-box {
  margin-top: 30px;
  width: 100%;
  max-width: 320px;
  z-index: 3;
  padding: 18px 20px !important;
  border-radius: 14px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-color);
}

.contact-icon {
  margin-right: 12px;
  font-size: 16px;
}

.contact-item a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-item a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Scroll indicator footer mouse */
.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-color-muted);
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-color-muted);
  border-radius: 12px;
  position: relative;
}

.mouse-icon .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 16px; opacity: 0; }
}

/* --------------------------------------------------------------------------
   8. SLIDE 2 : À PROPOS & VALEURS
   -------------------------------------------------------------------------- */
.section-badge {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.lead-text {
  font-size: 18px;
  color: var(--text-color);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bio-paragraph {
  font-size: 14px;
  color: var(--text-color-muted);
  line-height: 1.7;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.value-icon {
  font-size: 32px;
  background: rgba(0, 210, 255, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.value-info h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-color);
}

.value-info p {
  font-size: 13px;
  color: var(--text-color-muted);
}

/* --------------------------------------------------------------------------
   9. SLIDE 3 : EXPÉRIENCES (MUSIC TRACKLIST STYLE)
   -------------------------------------------------------------------------- */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 15px;
}

.timeline-container::-webkit-scrollbar {
  width: 4px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 25px;
  position: relative;
  padding-left: 20px;
}

.timeline-index-glow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(19, 36, 32, 0.9);
  border: 2px solid var(--accent-color);
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--accent-color-glow);
  z-index: 2;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 42px;
  top: 45px;
  bottom: -40px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-color), transparent);
  z-index: 1;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-card {
  width: 100%;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline-title h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
}

.timeline-company {
  font-size: 14px;
  color: var(--accent-green);
  font-weight: 500;
  margin-top: 2px;
}

.timeline-period {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-body {
  font-size: 13.5px;
  color: var(--text-color-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.timeline-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-tag {
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: var(--accent-color);
  padding: 3px 10px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   10. SLIDE 4 : FORMATION (CURSUS ACADÉMIQUE)
   -------------------------------------------------------------------------- */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 10px;
}

.education-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.education-card.focus-card {
  border-color: var(--accent-green);
  background: linear-gradient(135deg, rgba(19, 36, 32, 0.8) 0%, rgba(12, 25, 23, 0.6) 100%);
  box-shadow: 0 8px 32px 0 rgba(57, 255, 160, 0.08);
}

.education-card.focus-card::before {
  content: '🎯 RECOMMANDÉ';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent-green);
  color: var(--bg-color);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.edu-period {
  font-family: var(--font-accent);
  font-size: 12px;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.education-card.focus-card .edu-period {
  color: var(--accent-green);
}

.edu-degree {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.3;
  margin-bottom: 6px;
}

.edu-school {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.edu-desc {
  font-size: 13px;
  color: var(--text-color-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. SLIDE 4B : COMPÉTENCES (AUDIO EQUALIZER / MIXER SYSTEM)
   -------------------------------------------------------------------------- */
.skills-intro {
  color: var(--text-color-muted);
  font-size: 14px;
  margin-bottom: 35px;
  max-width: 600px;
}

.skills-mixer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: rgba(19, 36, 32, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  height: 52vh;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: center;
}

.skills-mixer::-webkit-scrollbar {
  height: 6px;
}

.mixer-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  flex: 1;
  min-width: 100px;
  justify-content: space-between;
}

.mixer-track {
  height: 65%;
  width: 14px;
  background: #081110;
  border-radius: 10px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
}

.mixer-fill {
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent-green) 0%, var(--accent-color) 70%, #005a80 100%);
  box-shadow: 0 0 10px var(--accent-color-glow);
  position: relative;
  transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Physical Mixer Knob / Fader handle */
.mixer-fader-knob {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 24px;
  background: #2b4540;
  border: 2px solid #5a7b74;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: grab;
  z-index: 2;
  transition: var(--transition-smooth);
}

.mixer-fader-knob::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
}

.mixer-channel:hover .mixer-fader-knob {
  background: #395d56;
  border-color: var(--accent-color);
}

.mixer-db-scale {
  color: var(--accent-color);
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  margin: 10px 0;
  text-shadow: 0 0 5px var(--accent-color-glow);
}

.mixer-label {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--text-color);
  line-height: 1.4;
  max-width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   12. SLIDE 5 : UNIVERS ARTISTIQUE & VINYL PLAYER
   -------------------------------------------------------------------------- */
.artistic-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.vinyl-player-box {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px !important;
}

.vinyl-container {
  position: relative;
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}

.vinyl-record {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: 
    radial-gradient(circle, #222 18%, #111 20%, #111 35%, #050505 38%, #151515 40%, #000 60%, #111 100%),
    repeating-radial-gradient(circle, transparent, transparent 2px, rgba(255,255,255,0.02) 3px, transparent 4px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s ease-out;
}

.vinyl-record.playing {
  animation: spin 5s linear infinite;
}

.vinyl-center {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.vinyl-label-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid #111;
}

.vinyl-center::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--bg-color);
  border-radius: 50%;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.vinyl-arm {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 80px;
  height: 110px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 110'%3E%3Cpath d='M70,10 L70,30 L30,80 L20,95 L15,90 L25,75 L65,25 L65,10 Z' fill='%23888'/%3E%3Ccircle cx='70' cy='15' r='10' fill='%23555'/%3E%3Cpath d='M15,90 L10,100 L5,97 L10,87 Z' fill='%23333'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform-origin: 70px 15px;
  transform: rotate(-15deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
  pointer-events: none;
}

.vinyl-arm.playing {
  transform: rotate(12deg);
}

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

.player-controls {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.current-track-name {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
}

.current-track-artist {
  font-size: 13px;
  color: var(--accent-green);
  font-weight: 500;
  margin-top: -4px;
}

/* Audio Player Seek Bar */
.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-color);
  border-radius: 10px;
  box-shadow: 0 0 5px var(--accent-color);
}

.control-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 5px;
}

.ctrl-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctrl-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--text-color-muted);
  transition: var(--transition-smooth);
}

.ctrl-btn:hover svg {
  fill: var(--text-color);
}

.play-main-btn {
  width: 48px;
  height: 48px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--accent-color);
  border-radius: 50%;
  transition: var(--transition-smooth);
  box-shadow: 0 0 10px var(--accent-color-glow);
}

.play-main-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-color) !important;
}

.play-main-btn:hover {
  background: var(--accent-color);
  transform: scale(1.08);
}
.play-main-btn:hover svg {
  fill: var(--bg-color) !important;
}

.genres-box h4 {
  font-family: var(--font-title);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-color);
  margin-bottom: 12px;
}

.genres-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.genre-tag {
  background: rgba(19, 36, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.genre-tag:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color-glow);
}

.artistic-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-height: 65vh;
  overflow-y: auto;
  padding-right: 15px;
}

.subsection-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  width: 100%;
}

.project-card h4 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.project-card p {
  font-size: 13.5px;
  color: var(--text-color-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. SLIDE 6 : LANGUES, VOYAGES & CONTACT
   -------------------------------------------------------------------------- */
.international-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.languages-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-name {
  font-weight: 600;
  font-size: 14px;
}

.lang-level {
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 12px;
}

.travels-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.travel-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.travel-icon {
  font-size: 20px;
  background: rgba(255, 255, 255, 0.05);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.travel-info h4 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
}

.travel-info p {
  font-size: 12.5px;
  color: var(--text-color-muted);
  margin-top: 2px;
}

/* Contact Form controls */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-right h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
}

.contact-right p {
  font-size: 13.5px;
  color: var(--text-color-muted);
  margin-top: -10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-color-muted);
  letter-spacing: 1px;
}

.form-group input, .form-group textarea {
  background: rgba(8, 17, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 10px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13.5px;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color-glow);
}

.social-links-footer {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 12px var(--accent-color);
  transform: translateY(-2px);
}

.slide-footer {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   14. VISUAL EDITOR MODE MODIFIER CLASSES
   -------------------------------------------------------------------------- */
/* Glowing button on Header */
.edit-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(19, 36, 32, 0.8);
  border: 1px solid var(--accent-color);
  border-radius: 30px;
  padding: 8px 16px;
  color: var(--accent-color);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  box-shadow: 0 0 10px var(--accent-color-glow);
}

.edit-toggle-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-color);
  transition: var(--transition-smooth);
}

.edit-toggle-btn:hover {
  background: var(--accent-color);
  color: var(--bg-color);
}
.edit-toggle-btn:hover svg {
  fill: var(--bg-color);
}

body.edit-mode-active .edit-toggle-btn {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: var(--bg-color);
  box-shadow: 0 0 12px var(--accent-green-glow);
}
body.edit-mode-active .edit-toggle-btn svg {
  fill: var(--bg-color);
}

/* Target Elements to edit */
.editable {
  position: relative;
  transition: var(--transition-smooth);
}

body.edit-mode-active .editable {
  outline: 1px dashed var(--accent-color);
  outline-offset: 4px;
  cursor: text;
  background: rgba(0, 210, 255, 0.05);
}

body.edit-mode-active .editable:hover {
  background: rgba(0, 210, 255, 0.12);
  outline-color: var(--accent-green);
}

body.edit-mode-active .editable:focus {
  outline: 2px solid var(--accent-green);
  background: rgba(0, 210, 255, 0.15);
  box-shadow: 0 0 10px var(--accent-color-glow);
}

/* Floating Control Panel */
.editor-control-panel {
  position: fixed;
  bottom: -400px; /* Hidden by default */
  right: 40px;
  width: 380px;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  border: 1px solid var(--accent-color);
  transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px !important;
}

.editor-control-panel.show {
  bottom: 40px;
}

.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.editor-logo {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--accent-color-glow);
}

.editor-close-btn {
  background: transparent;
  border: none;
  color: var(--text-color-muted);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.editor-close-btn:hover {
  color: white;
}

.editor-instructions {
  font-size: 12px;
  color: var(--text-color-muted);
  margin-bottom: 20px;
}

.editor-field-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editor-field-group label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-color);
}

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

.editor-row input {
  flex-grow: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  color: white;
  font-size: 12px;
}

.editor-row input:focus {
  border-color: var(--accent-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 11px;
}

.field-hint {
  font-size: 10px;
  color: var(--text-color-muted);
}

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

.editor-actions .btn {
  margin-left: 0 !important;
}

/* Export Modal Code backdrops */
.export-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.export-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.export-modal {
  width: 90%;
  max-width: 600px;
  padding: 40px !important;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.export-modal h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-green);
}

.export-modal p {
  font-size: 13.5px;
  color: var(--text-color-muted);
}

.export-modal textarea {
  width: 100%;
  height: 250px;
  background: #081110;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  color: #39ffa0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  resize: none;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE MEDIA QUERIES FOR MOBILE DEVICES
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .desktop-nav {
    display: none; /* Hide header menu, dot navigation on right remains accessible */
  }
  
  .slide-section {
    padding: calc(var(--header-height) + 10px) 20px 20px;
    height: auto;
    min-height: 100vh;
    scroll-snap-align: none; /* Disable scroll snap on mobile for better usability */
  }
  
  .scroll-container {
    height: auto;
    overflow-y: visible;
    scroll-snap-type: none;
  }
  
  body {
    overflow: auto;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .intro-text {
    max-width: 100%;
  }
  
  .slogan-text {
    border-left: none;
    border-top: 2px solid var(--accent-color);
    padding-left: 0;
    padding-top: 15px;
  }
  
  .intro-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .btn-outline {
    margin-left: 0;
  }
  
  .intro-avatar-container {
    margin-top: 20px;
  }
  
  .intro-background-repeat {
    font-size: 8vw;
    top: 40px;
  }
  
  .skills-mixer {
    padding: 20px;
  }
  
  .vinyl-player-box {
    flex-direction: column;
    text-align: center;
  }
  
  .control-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .glitch-title {
    font-size: 42px;
  }
  
  .sub-job-title {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .avatar-img-box {
    width: 200px;
    height: 200px;
  }
  
  .avatar-glow-ring {
    width: 220px;
    height: 220px;
  }
  
  .avatar-ring-rotating {
    width: 214px;
    height: 214px;
  }
  
  .skills-mixer {
    flex-direction: column;
    height: auto;
    gap: 40px;
    overflow-x: hidden;
  }
  
  .mixer-channel {
    width: 100%;
    min-height: 200px;
  }
  
  .mixer-track {
    width: 65%;
    height: 14px; /* Turn horizontally on mobile */
    align-items: center;
    justify-content: flex-start;
  }
  
  .mixer-fill {
    height: 100% !important;
    width: 0%;
    transition: width 1.5s ease-out;
  }
  
  .mixer-fader-knob {
    top: 50%;
    left: auto;
    right: -12px;
    transform: translateY(-50%);
    width: 24px;
    height: 32px;
  }
  
  .mixer-fader-knob::after {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: 100%;
  }
  
  .nav-dots {
    display: none; /* Hide dots on small screens */
  }
  
  .main-header {
    padding: 0 20px;
  }
  
  .logo {
    font-size: 16px;
  }
  
  .compact-audio-player {
    padding: 4px 8px;
  }
  
  .track-info {
    display: none; /* Hide title to save space on mobile */
  }
  
  .editor-control-panel {
    width: calc(100% - 40px);
    right: 20px;
  }
}
