/* ===================================
   BLATT — DARK CINEMATIC PORTFOLIO
   =================================== */

/* ---- VARIABLES ---- */
:root {
  --bg:          #080808;
  --bg-2:        #0d0d0d;
  --green:       #C8F400;
  --green-glow:  rgba(200, 244, 0, 0.35);
  --green-dim:   rgba(200, 244, 0, 0.12);
  --white:       #F0EDE6;
  --white-dim:   rgba(240, 237, 230, 0.55);
  --white-ghost: rgba(240, 237, 230, 0.06);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Space Mono', monospace;
  --transition:  0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }



/* ---- GRAIN OVERLAY ---- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.12; /* Increased slightly to compensate for lack of blending */
  transform: translateZ(0); /* Promote to own layer */
  animation: grain-shift 0.4s steps(4) infinite; /* Slightly slower and smoother */
}
@keyframes grain-shift {
  0%   { transform: translate(0,     0); }
  33%  { transform: translate(-2px,  1px); }
  66%  { transform: translate(1px,  -1px); }
  100% { transform: translate(2px,  -2px); }
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: transparent;
  backdrop-filter: blur(0px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.scrolled {
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateZ(0);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--green); }
.nav-links {
  display: flex;
  gap: 48px;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--white-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--green);
  transition: width 0.3s var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8,8,8,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}
.mobile-link {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--green); }

/* ---- HERO ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.scanline-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* HUGE HERO TITLE */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(18vw, 22vw, 26vw);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--white);
  display: flex;
  user-select: none;
  position: relative;
}

.glitch-char {
  display: inline-block;
  position: relative;
  transition: transform 0.05s;
}
.glitch-char.glitching {
  animation: char-glitch 0.12s steps(2) forwards;
}
@keyframes char-glitch {
  0%   { transform: translate(0,0);      clip-path: inset(0 0 100% 0); color: var(--green); }
  25%  { transform: translate(-4px, 2px); clip-path: inset(20% 0 40% 0); text-shadow: 3px 0 var(--green); }
  50%  { transform: translate(4px, -2px); clip-path: inset(60% 0 0% 0); color: var(--white); }
  75%  { transform: translate(-2px,1px);  clip-path: none; color: var(--green); }
  100% { transform: translate(0,0);       clip-path: none; color: var(--white); }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  letter-spacing: 0.3em;
  color: var(--white-dim);
  text-transform: uppercase;
  margin-top: 8px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: -38vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll-hint span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--white-dim);
  writing-mode: horizontal-tb;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

section[id] {
  scroll-margin-top: 80px;
}

/* ---- SHARED SECTION STYLES ---- */
.sons-section,
.instrus-section,
.formations-section {
  padding: 80px 40px;
  position: relative;
  contain: paint;
}
@media (max-width: 768px) {
  .sons-section,
  .instrus-section,
  .formations-section {
    padding: 50px 20px;
  }
}
.sons-section     { background: var(--bg); }
.instrus-section  { background: var(--bg-2); }
.formations-section { background: var(--bg); }

/* ---- EXCLUSIVE LOOPS NOTICE ---- */
.exclusive-notice {
  text-align: center;
  max-width: 600px;
  margin: 60px auto 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--font-body);
  font-size: 0.85em;
  color: var(--white-dim);
  line-height: 1.6;
}
.exclusive-notice strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4em;
  letter-spacing: 0.05em;
}
.exclusive-notice .highlight {
  color: var(--green);
}
.exclusive-notice a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 4px;
  transition: opacity 0.3s;
}
.exclusive-notice a:hover {
  opacity: 0.7;
  color: var(--green);
}

.section-header {
  margin-bottom: 40px;
}
.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.green-bar {
  width: 3px;
  height: 64px;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--green-glow);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
}
.section-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--white-dim);
  margin-top: 16px;
  padding-left: 23px;
}

/* Navigation arrows within section headers */
.sons-nav-arrows {
  display: flex;
  gap: 12px;
  position: absolute;
  right: 0;
  bottom: 0;
}
.sons-arrow {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.sons-arrow:hover {
  background: rgba(200,244,0,0.1);
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 15px var(--green-glow);
  transform: translateY(-2px);
}
.sons-arrow:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .sons-nav-arrows {
    position: static;
    margin-top: 24px;
    padding-left: 23px;
  }
}

/* ---- SONS SECTION ---- */
.sons-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 24px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
}
.sons-scroll-wrapper::-webkit-scrollbar { height: 2px; }
.sons-scroll-wrapper::-webkit-scrollbar-track { background: transparent; }
.sons-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
.sons-scroll-wrapper:active { cursor: grabbing; }

.sons-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 8px 4px 8px 4px;
}

.sons-card {
  width: 300px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: 2px solid var(--green);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color 0.4s ease;
  position: relative;
}
.sons-card:hover {
  box-shadow: 0 0 30px var(--green-glow), 0 8px 40px rgba(0,0,0,0.6);
  border-bottom-color: var(--green);
}
.sons-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,244,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.card-artwork {
  width: 100%; height: 220px;
  overflow: hidden;
}
.artwork-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.artwork-letter {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(200,244,0,0.2);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.card-info {
  padding: 18px 20px 12px;
}
.card-genre {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--green);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
  margin-top: 6px;
}
.card-feat {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--white-dim);
  margin-top: 6px;
  letter-spacing: 0.1em;
}
.card-player {
  padding: 0 12px 14px;
}
.card-player iframe {
  border-radius: 2px;
  background: #000;
}

/* ---- INSTRUS SECTION ---- */
.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--white-dim);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 20px;
  border-radius: 2px;
  transition: all 0.22s ease;
}
.filter-btn:hover,
.filter-btn.active {
  color: var(--bg);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 16px var(--green-glow);
}

.beat-grid {
  display: flex !important;
  gap: 36px;
}
@media (max-width: 768px) {
  .beat-grid {
    gap: 16px;
  }
}

.beat-card {
  width: 340px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  contain: layout paint;
  transform: translateZ(0);
  will-change: transform;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}
@media (max-width: 768px) {
  .beat-card {
    width: 82vw;
    max-width: 280px;
    padding: 20px 16px 16px;
  }
}
.beat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(200,244,0,0.08), transparent);
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.beat-card:hover {
  box-shadow: 0 0 32px var(--green-glow), 0 10px 40px rgba(0,0,0,0.5);
  border-color: rgba(200,244,0,0.25);
}
.beat-card:hover::after { opacity: 1; }

/* Hidden state for filter */
.beat-card.hidden {
  display: none;
}

.beat-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.beat-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.beat-bpm {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--white-dim);
  letter-spacing: 0.15em;
}

/* Waveform */
.waveform-wrap {
  margin-bottom: 20px;
  height: 40px;
}
.waveform { width: 100%; height: 40px; display: block; }
.wave-bar {
  fill: var(--green);
  transform-origin: center;
  will-change: transform;
  animation: wave-anim var(--dur, 1.4s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  opacity: 0.7;
}

/* Assign different animation durations/delays via nth-child patterns */
.wave-bar:nth-child(1)  { --dur: 1.1s; --delay: 0.00s; }
.wave-bar:nth-child(2)  { --dur: 1.4s; --delay: 0.06s; }
.wave-bar:nth-child(3)  { --dur: 0.9s; --delay: 0.12s; }
.wave-bar:nth-child(4)  { --dur: 1.6s; --delay: 0.18s; }
.wave-bar:nth-child(5)  { --dur: 1.2s; --delay: 0.24s; }
.wave-bar:nth-child(6)  { --dur: 0.8s; --delay: 0.30s; }
.wave-bar:nth-child(7)  { --dur: 1.5s; --delay: 0.36s; }
.wave-bar:nth-child(8)  { --dur: 1.0s; --delay: 0.42s; }
.wave-bar:nth-child(9)  { --dur: 1.7s; --delay: 0.48s; }
.wave-bar:nth-child(10) { --dur: 1.3s; --delay: 0.00s; }
.wave-bar:nth-child(11) { --dur: 0.9s; --delay: 0.07s; }
.wave-bar:nth-child(12) { --dur: 1.4s; --delay: 0.14s; }
.wave-bar:nth-child(13) { --dur: 1.1s; --delay: 0.21s; }
.wave-bar:nth-child(14) { --dur: 1.6s; --delay: 0.28s; }
.wave-bar:nth-child(15) { --dur: 1.0s; --delay: 0.35s; }
.wave-bar:nth-child(16) { --dur: 1.3s; --delay: 0.42s; }
.wave-bar:nth-child(17) { --dur: 0.8s; --delay: 0.49s; }
.wave-bar:nth-child(18) { --dur: 1.5s; --delay: 0.00s; }
.wave-bar:nth-child(19) { --dur: 1.2s; --delay: 0.08s; }
.wave-bar:nth-child(20) { --dur: 1.7s; --delay: 0.16s; }
.wave-bar:nth-child(21) { --dur: 0.9s; --delay: 0.24s; }
.wave-bar:nth-child(22) { --dur: 1.4s; --delay: 0.32s; }
.wave-bar:nth-child(23) { --dur: 1.1s; --delay: 0.40s; }
.wave-bar:nth-child(24) { --dur: 1.6s; --delay: 0.48s; }
.wave-bar:nth-child(25) { --dur: 1.0s; --delay: 0.56s; }

@keyframes wave-anim {
  0%   { transform: scaleY(1); }
  100% { transform: scaleY(0.25); }
}

.beat-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.beat-genre-tag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--white-dim);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 10px;
  border-radius: 2px;
}
.beat-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green);
  letter-spacing: 0.05em;
}
.item-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--white);
  margin-top: 8px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.buy-btn {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--green);
  background: transparent;
  border: 1.5px solid var(--green);
  padding: 13px 20px;
  border-radius: 2px;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  z-index: 1;
}
.buy-btn:hover {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 0 24px var(--green-glow);
}

/* ---- LOOP KITS SECTION ---- */
.loopkits-section {
  padding: 120px 60px;
  position: relative;
  background: var(--bg);
}
@media (max-width: 768px) {
  .loopkits-section {
    padding: 60px 20px;
  }
}

.loop-kit-grid {
  display: flex !important;
  gap: 36px;
}
@media (max-width: 768px) {
  .loop-kit-grid {
    gap: 16px;
  }
}

.lk-empty {
  font-family: var(--font-body);
  color: var(--white-dim);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 60px 0;
  grid-column: 1 / -1;
}

.loop-kit-card {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  contain: layout paint;
  transform: translateZ(0);
  will-change: transform;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
  position: relative;
}
@media (max-width: 768px) {
  .loop-kit-card {
    width: 88vw;
    max-width: 340px;
  }
}
.loop-kit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(200,244,0,0.08), transparent);
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.loop-kit-card:hover {
  box-shadow: 0 0 32px var(--green-glow), 0 10px 40px rgba(0,0,0,0.5);
  border-color: rgba(200,244,0,0.25);
}
.loop-kit-card:hover::after { opacity: 1; }

.lk-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #000;
}
.lk-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.loop-kit-card:hover .lk-cover-img {
  transform: scale(1.05);
}

.lk-header {
  padding: 28px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lk-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.lk-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.lk-bpm {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--white-dim);
  letter-spacing: 0.15em;
}
.lk-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lk-genre-tag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--white-dim);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 4px 10px;
  border-radius: 2px;
}
.lk-track-count {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--green);
  letter-spacing: 0.12em;
}
.lk-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lk-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--green);
  letter-spacing: 0.05em;
}
.lk-expand-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--white-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.lk-expand-btn:hover {
  color: var(--green);
  border-color: var(--green);
  background: rgba(200,244,0,0.06);
}
.lk-expand-btn .lk-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}
.loop-kit-card.open .lk-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.lk-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 0px solid transparent;
  background: rgba(0,0,0,0.25);
}
.loop-kit-card.open .lk-dropdown {
  max-height: 2000px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.lk-dropdown-inner {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lk-dropdown-header {
  font-family: var(--font-body);
  font-size: 0.55rem;
  color: var(--green);
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
  padding: 4px 12px 10px 12px;
  border-bottom: 1px solid rgba(200,244,0,0.1);
  margin-bottom: 5px;
}

/* Individual track row */
.lk-track {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  padding: 10px 12px;
  transition: background 0.2s;
}
.lk-track:hover { background: rgba(200,244,0,0.04); }
.lk-track-label {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  white-space: normal;
}
.lk-track-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}
.lk-track-meta {
  font-family: var(--font-body);
  font-size: 0.58rem;
  color: var(--green);
  opacity: 0.8;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lk-track-time {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--green);
  opacity: 0.6;
  letter-spacing: 0.05em;
  margin-left: auto;
  padding-left: 10px;
}
.lk-play-btn {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(200,244,0,0.3);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.lk-play-btn:hover {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 0 12px var(--green-glow);
}
.lk-play-btn.playing {
  background: rgba(200,244,0,0.15);
  border-color: var(--green);
}

/* Mini progress bar inside track */
.lk-mini-progress {
  flex-shrink: 0;
  width: 80px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.lk-mini-fill {
  height: 100%;
  width: 0%;
  background: var(--green);
  border-radius: 2px;
  transition: none;
}

.lk-footer {
  padding: 0 24px 24px;
}

/* ---- FORMATIONS SECTION ---- */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) { .formations-grid { grid-template-columns: 1fr; } }

.formation-card {
  position: relative;
  background-color: var(--card-color, #0F1A00);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 94% 100%, 0 100%);
  transition: box-shadow var(--transition);
}
.formation-card:nth-child(2) {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%, 0 90%);
  margin-top: 24px;
}
.formation-card:nth-child(3) {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 92% 100%, 0 100%);
  margin-top: 48px;
}
.formation-card:hover {
  box-shadow: 0 0 40px var(--green-glow), 0 12px 50px rgba(0,0,0,0.6);
}

.formation-card-inner {
  position: relative;
  z-index: 2;
  padding: 44px 36px 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}
.formation-num {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(200,244,0,0.15);
  line-height: 1;
  margin-bottom: 4px;
}
.formation-tag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--green);
  margin-bottom: 20px;
}
.formation-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 20px;
}
.formation-desc {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--white-dim);
  flex: 1;
}
.formation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.formation-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--green);
  letter-spacing: 0.04em;
}
.formation-cta {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 11px 22px;
  border-radius: 2px;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.formation-cta:hover {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 0 24px var(--green-glow);
}

.formation-bg-text {
  position: absolute;
  bottom: -16px; right: -8px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

/* ---- FOOTER ---- */
.footer {
  position: relative;
  background: var(--bg);
  padding: 80px 60px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.footer-ghost-logo {
  position: absolute;
  bottom: -30px; left: -8px;
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 18rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-socials {
  display: flex;
  gap: 24px;
}
.social-link {
  color: var(--white-dim);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
}
.social-link:hover {
  color: var(--green);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px var(--green-glow));
}
.footer-email {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  border-bottom: 1px solid rgba(200,244,0,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-email:hover { color: var(--green); border-color: var(--green); }
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(240,237,230,0.25);
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.beat-grid .beat-card.fade-up:nth-child(1) { transition-delay: 0ms; }
.beat-grid .beat-card.fade-up:nth-child(2) { transition-delay: 60ms; }
.beat-grid .beat-card.fade-up:nth-child(3) { transition-delay: 120ms; }
.beat-grid .beat-card.fade-up:nth-child(4) { transition-delay: 180ms; }
.beat-grid .beat-card.fade-up:nth-child(5) { transition-delay: 240ms; }
.beat-grid .beat-card.fade-up:nth-child(6) { transition-delay: 300ms; }

.formations-grid .formation-card.fade-up:nth-child(1) { transition-delay: 0ms; }
.formations-grid .formation-card.fade-up:nth-child(2) { transition-delay: 60ms; }
.formations-grid .formation-card.fade-up:nth-child(3) { transition-delay: 120ms; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero-title { font-size: 28vw; }

  .sons-section,
  .instrus-section,
  .formations-section { padding: 80px 24px; }

  .section-title { font-size: 4rem; }

  .formations-grid { grid-template-columns: 1fr; gap: 20px; }
  .formation-card:nth-child(2),
  .formation-card:nth-child(3) { margin-top: 0; clip-path: polygon(0 0, 100% 0, 100% 92%, 96% 100%, 0 100%); }

  .footer { padding: 60px 24px 40px; }
  .footer-ghost-logo { font-size: 5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32vw; }
  .sons-card { width: 280px; }
  .filter-tabs { gap: 8px; }
  .filter-btn { padding: 8px 14px; font-size: 0.6rem; }
}

/* ---- CART UI ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s;
}
.lang-btn:hover {
  color: var(--white);
}
.lang-btn.active {
  color: var(--green);
  font-weight: bold;
}
.lang-sep {
  color: rgba(255,255,255,0.1);
  font-size: 0.6rem;
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-right: 15px;
    font-size: 0.65rem;
  }
}

.nav-cart-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--green);
  padding: 6px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-cart-btn:hover {
  background: var(--green);
  color: var(--bg);
  box-shadow: 0 0 12px var(--green-glow);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
  cursor: pointer;
}

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 440px;
  background: var(--bg-2);
  border-left: 1px solid rgba(255,255,255,0.06);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.6s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.8);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cart-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height:1;
}
.cart-close {
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 2.5rem;
  line-height:0.8;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-close:hover { color: var(--green); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cart-empty {
  font-family: var(--font-body);
  color: var(--white-dim);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 40px;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--white);
}
.cart-item-price {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--green);
}
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty-btn, .remove-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.qty-btn:hover { border-color: var(--green); color: var(--green); }
.remove-btn { border-color: transparent; color: #ff4a4a; font-size: 1.2rem; line-height:1;}
.remove-btn:hover { background: rgba(255,74,74,0.1); border-color: #ff4a4a; }

.cart-footer {
  padding: 30px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.cart-total-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white-dim);
}
.cart-total-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--green);
}
.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.cart-checkout-btn:hover {
  box-shadow: 0 0 20px var(--green-glow);
  transform: translateY(-2px);
}
.cart-checkout-btn:disabled {
  background: rgba(255,255,255,0.1); color: var(--white-dim); cursor: not-allowed; box-shadow: none; transform: none;
}

/* ===================================
   CUSTOM AUDIO PLAYER
   =================================== */
.custom-player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  border-radius: 4px;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.player-btn {
  background: transparent;
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), transform var(--transition);
}
.player-btn:hover {
  color: var(--green);
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--green-glow));
}
.player-progress-container {
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.player-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.player-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--green);
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--green-glow);
}
.player-time {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  min-width: 65px;
  text-align: right;
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */
.contact-section {
  padding: 140px 60px 80px;
  min-height: calc(100vh - 300px); /* Fill screen minus footer approx */
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color 0.25s, background 0.25s;
}
.contact-icon {
  color: var(--white);
  transition: color var(--transition), transform var(--transition);
}
.contact-icon svg {
  width: 42px;
  height: 42px;
}
.contact-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color var(--transition);
}
.contact-card:hover {
  background: rgba(200, 244, 0, 0.04);
  border-color: rgba(200, 244, 0, 0.3);
  box-shadow: 0 0 32px var(--green-glow), 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}
.contact-card:hover .contact-icon {
  color: var(--green);
  transform: scale(1.1);
}
.contact-card:hover .contact-label {
  color: var(--green);
}

/* ---- TERMS OF USE SECTION (HOMEPAGE) ---- */
.terms-section {
  padding: 60px 40px;
  background: var(--bg);
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.terms-container {
  max-width: 1200px;
  margin: 0 auto;
}
.terms-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 40px;
  text-align: center;
}
.terms-section-title span {
  color: var(--green);
}
.terms-title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
}
.terms-title-link:hover {
  opacity: 0.8;
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.license-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlight-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition: box-shadow var(--transition), transform var(--transition), border-color 0.25s, background 0.25s;
}
.highlight-card:hover {
  background: rgba(200, 244, 0, 0.04);
  border-color: rgba(200, 244, 0, 0.3);
  box-shadow: 0 0 40px var(--green-glow), 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-6px);
}
.highlight-icon {
  color: var(--green);
  margin-bottom: 8px;
}
.highlight-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.1;
}
.highlight-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(240,237,230,0.7);
}
@media (max-width: 900px) {
  .license-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .highlight-card {
    padding: 24px 20px;
    gap: 12px;
    min-width: auto;
  }
  .highlight-card:nth-child(3) {
    grid-column: 1 / -1;
  }
  .highlight-icon {
    margin-bottom: 4px;
    transform: scale(0.85);
    transform-origin: left center;
  }
  .highlight-title {
    font-size: 1.1rem;
    line-height: 1.2;
  }
  .highlight-text {
    font-size: 0.72rem;
    line-height: 1.5;
  }
  .terms-section { padding: 50px 20px; }
}

/* ---- FOOTER LEGAL LINKS ---- */
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  max-width: 90vw;
  margin: 0 auto;
}
.footer-legal-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(240,237,230,0.65);
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
@media (max-width: 600px) {
  .footer-legal-sep {
    display: none;
  }
  .footer-legal-links {
    gap: 16px;
  }
}
.footer-legal-link:hover,
.footer-legal-link--active {
  color: var(--green);
  border-bottom-color: rgba(200,244,0,0.3);
}
.footer-legal-sep {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(240,237,230,0.4);
}

/* ---- CART CGV CHECKBOX ---- */
.cart-legal-notice {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(240, 237, 230, 0.6);
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
}
.cart-legal-notice a {
  color: var(--green);
  text-decoration: underline;
}
.cart-support-hint {
  margin-top: 8px;
  color: var(--white);
}

.cart-cgv-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 14px;
  cursor: pointer;
}
.cart-cgv-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  min-width: 14px;
  border: 1.5px solid rgba(200,244,0,0.4);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.cart-cgv-label input[type="checkbox"]:checked {
  background: var(--green);
  border-color: var(--green);
}
.cart-cgv-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px; left: 3px;
  width: 5px; height: 8px;
  border: 2px solid var(--bg);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.cart-cgv-label span {
  font-family: var(--font-body);
  font-size: 0.68rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: rgba(240,237,230,0.85);
}
.cart-cgv-label span a {
  color: var(--green);
  border-bottom: 1px solid rgba(200,244,0,0.3);
  transition: border-color 0.2s;
}
.cart-cgv-label span a:hover {
  border-color: var(--green);
}
.cart-checkout-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- GLOBAL PERSISTENT PLAYER ---- */
#global-player {
  position: fixed;
  bottom: -100px; /* Hidden by default */
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 40px;
  transform: translateZ(0);
  transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#global-player.active {
  bottom: 0;
}

.gp-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  gap: 30px;
}

/* Track Info */
.gp-info {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}
.gp-thumb {
  display: none;
}
.gp-info {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.gp-text {
  overflow: hidden;
  white-space: nowrap;
}
.gp-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-overflow: ellipsis;
  overflow: hidden;
}
.gp-genre {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--green);
  opacity: 0.8;
  margin-top: 2px;
}

/* Controls */
.gp-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.gp-main-ctrl {
  display: flex;
  align-items: center;
  gap: 16px;
}
.gp-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
.gp-btn:hover {
  color: var(--green);
  transform: scale(1.1);
}
.gp-btn-play {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--bg);
}
.gp-btn-play:hover {
  background: var(--green);
  color: var(--bg);
  transform: scale(1.05);
}

/* Progress */
.gp-progress-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gp-time {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  min-width: 35px;
}
.gp-progress-bg {
  flex-grow: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.gp-progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  width: 0%;
  box-shadow: 0 0 10px var(--green-glow);
  position: relative;
}

/* Right side actions */
.gp-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.gp-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}
.gp-buy-btn {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
}
.gp-buy-btn:hover {
  background: var(--white);
  color: var(--bg);
}
.gp-close {
  color: rgba(255,255,255,0.3);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
}
.gp-close:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  #global-player {
    height: auto;
    padding: 16px 20px;
  }
  .gp-container {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .gp-instructions, .gp-actions {
    display: none;
  }
  .gp-info {
    grid-column: 1 / 2;
  }
  .gp-controls {
    grid-column: 2 / 3;
    width: auto;
  }
  .gp-progress-wrap {
    grid-column: 1 / 3;
    margin-top: 8px;
  }
}

/* Promotion Badge */
.promo-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--green);
  border: 1px solid rgba(200, 244, 0, 0.4);
  padding: 4px 12px;
  margin-left: 15px;
  border-radius: 20px;
  vertical-align: middle;
  text-transform: uppercase;
  background: rgba(200, 244, 0, 0.05);
  box-shadow: 0 0 15px rgba(200, 244, 0, 0.1);
  display: inline-flex;
  align-items: center;
  height: fit-content;
  position: relative;
  top: -1.2rem; /* Optical alignment with large display font */
}

@media (max-width: 768px) {
  .promo-badge {
    font-size: 0.6rem;
    margin-left: 10px;
    padding: 2px 8px;
    top: -0.4rem;
  }
}

