/* ============================================================
   VORTEX EG — Home Page Styles
   ============================================================ */

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  /*
   * Padding-top shifts the flexbox centering zone downward, clearing the
   * fixed navbar without using offset hacks on child elements.
   * Padding-bottom reserves space for the absolutely-positioned scroll hint.
   * clamp() scales these gracefully across all viewport heights.
   */
  padding-top: clamp(5rem, 9vh, 7.5rem);
  padding-bottom: clamp(3.5rem, 6vh, 5rem);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transition: opacity 1.5s;
  will-change: transform;
}
.hero-video.loaded { opacity: 0.35; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(10,10,10,0.6) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, transparent 40%, transparent 60%, rgba(10,10,10,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /*
   * clamp() gap scales with viewport height so all elements remain
   * visible without scrolling on short screens (laptops, landscape mobile).
   */
  gap: clamp(0.9rem, 2.5vh, 1.8rem);
  padding: 0 var(--gutter);
  animation: hero-enter 1.4s var(--ease-out) 1.5s both;
}
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-logo {
  width: min(280px, 52vw);
  height: auto;
  /*
   * max-height caps the logo on short/landscape viewports so it never
   * consumes too much vertical space and pushes buttons out of frame.
   */
  max-height: 22vh;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(201,168,76,0.25));
  animation: logo-pulse 4s ease-in-out infinite;
  will-change: filter;
}
@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(201,168,76,0.2)); }
  50%       { filter: drop-shadow(0 0 50px rgba(201,168,76,0.35)); }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.06em;
}

/* Scales down on short viewports */
.hero-divider {
  width: 1px;
  height: clamp(28px, 4vh, 60px);
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.hero-intro {
  max-width: 52ch;
  font-size: clamp(0.85rem, 1.3vw, 1.02rem);
  color: rgba(245,245,245,0.7);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: clamp(0.7rem, 1.5vw, 1.2rem);
  flex-wrap: wrap;
  justify-content: center;
}

/* scroll hint — absolute so it sits outside the flex centering calculation */
.hero-scroll-hint {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: hero-enter 1s var(--ease-out) 2.5s both;
}
.hero-scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--light-mid);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1);   transform-origin: top; }
  50%       { transform: scaleY(0.4); transform-origin: top; }
}

/* ── Stats Strip ── */
.stats-strip {
  background: var(--dark);
  border-top: 1px solid var(--dark-3);
  border-bottom: 1px solid var(--dark-3);
  padding: 3.5rem var(--gutter);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--dark-3);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-impact);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-mid);
}

/* ── About Teaser ── */
.about-teaser {
  background: var(--black);
}
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-teaser-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.about-teaser-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.about-teaser-visual:hover img { transform: scale(1.04); }
.about-teaser-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(201,168,76,0.2);
  z-index: 1;
  pointer-events: none;
}
.about-teaser-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold);
  z-index: 0;
}

.about-teaser-text p {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.about-teaser-text p:first-of-type {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--white);
  font-weight: 300;
}

/* ── Featured Projects ── */
.featured-projects { background: var(--dark); }
.featured-projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.projects-carousel {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.7s var(--ease-out);
}
.carousel-slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--dark-2);
  cursor: none;
  transition: box-shadow var(--trans-med) var(--ease-out);
}
.project-card:hover {
  box-shadow: 0 0 34px rgba(201, 168, 76, 0.22);
}
.project-card-thumb {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  position: relative;
}
.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  filter: grayscale(20%);
}
.project-card-thumb img.project-card-poster {
  object-fit: contain;
  background: var(--black);
}
.project-card:hover .project-card-thumb img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transition: background var(--trans-med);
}
.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 55%);
}

.project-card-genre {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.project-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}
.project-card-year {
  font-size: 0.78rem;
  color: var(--light-mid);
  margin-top: 0.3rem;
}

.project-card-synopsis {
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.7;
  margin-top: 0.8rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--trans-med) var(--ease-out),
              transform var(--trans-med) var(--ease-out);
  max-height: 0;
  overflow: hidden;
}
.project-card:hover .project-card-synopsis {
  opacity: 1;
  transform: none;
  max-height: 120px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  justify-content: center;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--charcoal);
  display: grid;
  place-items: center;
  color: var(--silver);
  transition: border-color var(--trans-fast), color var(--trans-fast);
  cursor: none;
}
.carousel-btn:hover { border-color: var(--gold); color: var(--gold); }
.carousel-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: background var(--trans-fast), width var(--trans-fast);
}
.carousel-dot.active {
  background: var(--gold);
  width: 40px;
}

/* ── Reel / Showreel ── */
.reel-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.reel-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-py) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.reel-video-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(201,168,76,0.16), transparent 34%),
    linear-gradient(145deg, #050505 0%, var(--dark-2) 48%, #050505 100%);
  border: 1px solid rgba(201,168,76,0.22);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.62),
    0 0 0 1px rgba(255,255,255,0.035) inset;
  transition:
    transform var(--trans-med) var(--ease-out),
    box-shadow var(--trans-med) var(--ease-out),
    border-color var(--trans-med) var(--ease-out);
}

.reel-video-wrap::before,
.reel-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity var(--trans-med) ease;
}

.reel-video-wrap::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.48)),
    radial-gradient(circle at center, rgba(0,0,0,0.04), rgba(0,0,0,0.68) 82%);
  opacity: 0.94;
}

.reel-video-wrap::after {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.76), transparent 24%, transparent 76%, rgba(0,0,0,0.76)),
    linear-gradient(180deg, rgba(0,0,0,0.64), transparent 30%, transparent 68%, rgba(0,0,0,0.78));
  opacity: 0.78;
}

.reel-video-wrap:hover {
  transform: scale(1.018);
  border-color: rgba(201,168,76,0.5);
  box-shadow:
    0 38px 100px rgba(0,0,0,0.72),
    0 0 46px rgba(201,168,76,0.15),
    0 0 0 1px rgba(201,168,76,0.08) inset;
}

.reel-video-wrap:hover::before { opacity: 0.82; }
.reel-video-wrap:hover::after { opacity: 0.66; }

.reel-thumbnail {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(201,168,76,0.18), transparent 32%),
    linear-gradient(135deg, #050505, #111 48%, #050505);
  transition: opacity var(--trans-med) ease, transform var(--trans-slow) var(--ease-out);
}

.reel-thumbnail img {
  object-position: center;
  transition:
    opacity var(--trans-med) ease,
    filter var(--trans-med) ease,
    transform var(--trans-slow) var(--ease-out);
}

.reel-thumbnail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(18px) saturate(0.65) contrast(1.2);
  transform: scale(1.18);
}

.reel-thumbnail-logo {
  position: relative;
  width: min(68%, 540px);
  max-height: 72%;
  object-fit: contain;
  opacity: 0.78;
  filter: saturate(0.92) contrast(1.08) drop-shadow(0 14px 38px rgba(0,0,0,0.72));
  transform: scale(1);
}

.reel-video-wrap:hover .reel-thumbnail {
  transform: scale(1.035);
}

.reel-video-wrap:hover .reel-thumbnail-bg {
  opacity: 0.3;
  filter: blur(16px) saturate(0.8) contrast(1.26);
  transform: scale(1.24);
}

.reel-video-wrap:hover .reel-thumbnail-logo {
  opacity: 0.86;
  filter: saturate(1) contrast(1.14) drop-shadow(0 0 24px rgba(201,168,76,0.16));
  transform: scale(1.045);
}

.reel-video-wrap video {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--trans-med) ease;
}

.reel-video-wrap.is-playing video {
  opacity: 0.92;
}

.reel-video-wrap.is-playing .reel-thumbnail {
  opacity: 0;
}

.reel-video-wrap.is-playing::before {
  opacity: 0.18;
}

.reel-video-wrap.is-playing::after {
  opacity: 0.34;
}
.reel-play-btn {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background var(--trans-fast), opacity var(--trans-med) ease;
}
.reel-play-btn:hover { background: rgba(0,0,0,0.18); }
.reel-play-circle {
  width: 76px;
  height: 76px;
  border: 1.5px solid rgba(201,168,76,0.78);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.36);
  box-shadow:
    0 0 34px rgba(201,168,76,0.16),
    0 16px 38px rgba(0,0,0,0.48);
  backdrop-filter: blur(8px);
  transition:
    border-color var(--trans-fast),
    background var(--trans-fast),
    box-shadow var(--trans-fast),
    transform var(--trans-fast) var(--ease-out);
}
.reel-play-btn:hover .reel-play-circle {
  border-color: var(--gold);
  background: rgba(0,0,0,0.48);
  box-shadow:
    0 0 44px rgba(201,168,76,0.24),
    0 20px 44px rgba(0,0,0,0.58);
  transform: scale(1.08);
}
.reel-play-circle svg { width: 24px; height: 24px; fill: var(--gold); margin-left: 3px; }

.reel-text p {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* ── Services Strip ── */
.services-strip {
  background: var(--dark);
  border-top: 1px solid var(--dark-3);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.service-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--dark-3);
  transition: background var(--trans-med);
}
.service-item:last-child { border-right: none; }
.service-item:hover { background: var(--dark-2); }
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.service-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}
.service-item p { font-size: 0.85rem; color: var(--light-mid); line-height: 1.8; }

/* ── Marquee / Ticker ── */
.marquee-section {
  background: var(--gold);
  padding: 1rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee-scroll 30s linear infinite;
  white-space: nowrap;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-impact);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--black);
}
.marquee-dot {
  width: 5px;
  height: 5px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .about-teaser-grid { gap: 4rem; }
  .reel-inner        { gap: 3rem; }
  .services-grid     { padding: 0 var(--gutter); }
}

@media (max-width: 900px) {
  /* Hero */
  .hero-logo    { width: min(240px, 50vw); }

  /* Stats — 2×2 grid */
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--dark-3);
  }
  .stat-item:nth-child(odd)  { border-right: 1px solid var(--dark-3); }
  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  /* About Teaser — stacked */
  .about-teaser-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .about-teaser-visual { aspect-ratio: 3 / 2; }
  .about-teaser-accent { display: none; }

  /* Services — 2 columns */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(2n) { border-right: none; }
  .service-item:nth-child(n+3) { border-top: 1px solid var(--dark-3); }

  /* Carousel — 2 slides */
  .carousel-slide { flex: 0 0 calc(50% - 0.75rem); }

  /* Reel — stacked */
  .reel-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  /* Hero */
  .hero-content   { gap: 1rem; }
  .hero-logo      { width: min(200px, 60vw); }
  .hero-intro     { font-size: 0.9rem; }
  .hero-actions   { gap: 0.8rem; }

  /* Stats — still 2×2 on small mobile */
  .stats-strip  { padding: 2.5rem var(--gutter); }
  .stats-inner  { gap: 0; }
  .stat-item    { padding: 1.2rem 0.5rem; }

  /* Services — single column */
  .services-grid { grid-template-columns: 1fr; }
  .service-item  {
    border-right: none !important;
    border-top: none;
    border-bottom: 1px solid var(--dark-3);
  }
  .service-item:last-child { border-bottom: none; }

  /* Carousel — full width */
  .carousel-slide       { flex: 0 0 100%; }
  .featured-projects-header { flex-direction: column; align-items: flex-start; }

  /* Reel */
  .reel-inner { padding: var(--section-py) var(--gutter); }
  .reel-video-wrap { aspect-ratio: 4 / 3; }
  .reel-thumbnail-logo {
    width: min(76%, 360px);
    max-height: 70%;
  }
  .reel-play-circle {
    width: 64px;
    height: 64px;
  }
  .reel-play-circle svg {
    width: 21px;
    height: 21px;
  }
}

/* Short-viewport fix (landscape mobile) */
@media (max-height: 560px) {
  .hero             { padding-top: 4rem; padding-bottom: 2.5rem; }
  .hero-logo        { width: min(160px, 40vw); }
  .hero-divider     { display: none; }
  .hero-intro       { display: none; }
  .hero-scroll-hint { display: none; }
}

/* ── Film · Music Discipline Tags ── */
.hero-disciplines {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.5);
  font-weight: 500;
  font-family: var(--font-body);
  margin-top: -0.4rem;
}
.hero-disc-dot {
  width: 3px;
  height: 3px;
  background: rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Waveform Decoration ── */
.waveform-deco {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
  color: var(--gold);
  opacity: 0.45;
  flex-shrink: 0;
}
.waveform-deco b {
  display: block;
  width: 2px;
  border-radius: 1px;
  background: currentColor;
  animation: wf-pulse 1.5s ease-in-out infinite alternate;
}
.waveform-deco b:nth-child(1) { height: 5px;  animation-delay: 0s;    }
.waveform-deco b:nth-child(2) { height: 11px; animation-delay: .14s;  }
.waveform-deco b:nth-child(3) { height: 18px; animation-delay: .28s;  }
.waveform-deco b:nth-child(4) { height: 9px;  animation-delay: .21s;  }
.waveform-deco b:nth-child(5) { height: 15px; animation-delay: .07s;  }
.waveform-deco b:nth-child(6) { height: 12px; animation-delay: .35s;  }
.waveform-deco b:nth-child(7) { height: 6px;  animation-delay: .10s;  }
/* ── Music Card (vinyl placeholder visual) ── */
.music-card-visual {
  background: linear-gradient(160deg, #111 0%, #1a1205 60%, #0e0e0e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
.music-card-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.music-vinyl {
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  /* Grooved vinyl texture via repeating radial gradient */
  background:
    radial-gradient(circle at 50% 50%, #2a2a2a 22%, transparent 22%),
    repeating-radial-gradient(circle at 50% 50%,
      #1a1a1a 0px, #222 2px, #1a1a1a 4px, #222 6px,
      #1a1a1a 8px, #222 10px, #1a1a1a 12px
    );
  border: 1px solid rgba(201, 168, 76, 0.12);
  box-shadow: 0 4px 40px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.05);
  animation: vinyl-spin 14s linear infinite; /* keyframe defined in main.css */
  animation-play-state: paused;
  transition: box-shadow 0.4s;
}
.music-card-visual:hover .music-vinyl {
  animation-play-state: running;
  box-shadow: 0 4px 40px rgba(0,0,0,0.7), 0 0 30px rgba(201,168,76,0.12);
}
.music-vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  border: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.music-vinyl-label::after {
  content: '';
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid rgba(201,168,76,0.15);
}

/* Waveform bars shown at card bottom */
.music-waveform {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.4s;
}
.music-card-visual:hover .music-waveform { opacity: 1; }
.music-waveform b {
  display: block;
  width: 2px;
  background: rgba(201,168,76,0.6);
  border-radius: 1px;
  animation: wf-pulse 1.3s ease-in-out infinite alternate;
}
.music-waveform b:nth-child(1)  { height: 8px;  animation-delay: 0s;    }
.music-waveform b:nth-child(2)  { height: 16px; animation-delay: .10s;  }
.music-waveform b:nth-child(3)  { height: 24px; animation-delay: .20s;  }
.music-waveform b:nth-child(4)  { height: 12px; animation-delay: .15s;  }
.music-waveform b:nth-child(5)  { height: 20px; animation-delay: .05s;  }
.music-waveform b:nth-child(6)  { height: 28px; animation-delay: .28s;  }
.music-waveform b:nth-child(7)  { height: 14px; animation-delay: .08s;  }
.music-waveform b:nth-child(8)  { height: 22px; animation-delay: .18s;  }
.music-waveform b:nth-child(9)  { height: 10px; animation-delay: .23s;  }
.music-waveform b:nth-child(10) { height: 18px; animation-delay: .33s;  }
.music-waveform b:nth-child(11) { height: 8px;  animation-delay: .12s;  }
.music-waveform b:nth-child(12) { height: 14px; animation-delay: .06s;  }

/* Music badge — moved to main.css so it works on all pages */
