/* ============================================
   DJ RÚN — Dark & Mystical Portfolio
   Complete Design System
   ============================================ */

/* --------------------------------------------
   CSS Custom Properties
   -------------------------------------------- */
:root {
  --bg-deep: #0a0a12;
  --bg-card: rgba(119, 2, 165, 0.04);
  --gold: #c9a84c;
  --gold-dim: rgba(201, 168, 76, 0.8);
  --gold-subtle: rgba(201, 168, 76, 0.25);
  --gold-faint: rgba(201, 168, 76, 0.05);
  --purple: #7702a5;
  --purple-dim: rgba(119, 2, 165, 0.12);
  --purple-faint: rgba(119, 2, 165, 0.04);
  --teal: #2a9d8f;
  --teal-dim: rgba(42, 157, 143, 0.8);
  --text: #e8e4de;
  --text-muted: rgba(232, 228, 222, 0.35);
  --text-dim: rgba(232, 228, 222, 0.25);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;
  --transition: 0.4s ease;
  --radius: 3px;
}


/* --------------------------------------------
   Reset + Base
   -------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(119, 2, 165, 0.4);
  color: var(--gold);
}


/* --------------------------------------------
   Particles
   -------------------------------------------- */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) translateX(100px);
    opacity: 0;
  }
}


/* --------------------------------------------
   Purple Fog
   -------------------------------------------- */
.fog {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40vh;
  background: linear-gradient(to top, var(--purple-faint), transparent);
  pointer-events: none;
  z-index: 0;
}


/* --------------------------------------------
   Navigation
   -------------------------------------------- */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10, 10, 18, 0.95), transparent);
  transition: background var(--transition), backdrop-filter var(--transition);
}

#main-nav.scrolled {
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(119, 2, 165, 0.08);
}

.nav-logo {
  text-decoration: none;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  z-index: 110;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-logo:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links li a {
  color: rgba(232, 228, 222, 0.6);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}


/* --------------------------------------------
   Hero
   -------------------------------------------- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(119, 2, 165, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(42, 157, 143, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(201, 168, 76, 0.03) 0%, transparent 40%);
}

/* Sacred geometry — Diamond */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: breathe-diamond 6s ease-in-out infinite;
  pointer-events: none;
}

/* Sacred geometry — Circle */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(119, 2, 165, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: breathe-circle 6s ease-in-out infinite 1.5s;
  pointer-events: none;
}

@keyframes breathe-diamond {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) rotate(45deg) scale(1.05);
  }
}

@keyframes breathe-circle {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.96);
  }
}

.hero h1 {
  position: relative;
  z-index: 2;
  line-height: 1;
}

.hero-logo-img {
  height: 140px;
  width: auto;
  filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.15));
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--gold-dim);
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--text-muted);
  margin-top: 35px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
}


/* --------------------------------------------
   Section Common
   -------------------------------------------- */
.section {
  padding: 120px 50px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 12px;
  margin-bottom: 70px;
  color: var(--gold);
  text-transform: uppercase;
}


/* --------------------------------------------
   Dividers
   -------------------------------------------- */
.divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.4), transparent);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}


/* --------------------------------------------
   Sets Section
   -------------------------------------------- */
.genre-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  justify-content: center;
}

.genre-filter button {
  background: transparent;
  border: 1px solid var(--gold-subtle);
  color: rgba(232, 228, 222, 0.5);
  padding: 8px 22px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.genre-filter button:hover,
.genre-filter button.active {
  border-color: rgba(201, 168, 76, 0.6);
  color: var(--gold);
  background: var(--gold-faint);
}

/* Player cards */
.player-card {
  background: linear-gradient(135deg, var(--purple-faint), rgba(42, 157, 143, 0.02));
  border: 1px solid var(--purple-dim);
  padding: 30px 35px;
  margin-bottom: 16px;
  transition: all var(--transition);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.player-card-inner {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.set-artwork {
  flex-shrink: 0;
  width: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--purple-dim);
}

.set-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.player-card:hover .set-artwork img {
  transform: scale(1.05);
}

.player-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.6), rgba(119, 2, 165, 0.4));
  border-radius: 1px;
}

.player-card:hover {
  background: linear-gradient(135deg, rgba(119, 2, 165, 0.08), rgba(42, 157, 143, 0.04));
  border-color: rgba(119, 2, 165, 0.25);
}

.player-card .genre {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--teal-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}

.player-card .set-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.player-card .set-venue {
  font-family: var(--font-accent);
  font-size: 14px;
  font-style: italic;
  color: rgba(232, 228, 222, 0.3);
  margin-bottom: 18px;
  letter-spacing: 2px;
}

/* Player controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.play-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--gold);
  font-size: 0;
  position: relative;
}

/* CSS play triangle */
.play-btn .icon-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--gold);
  margin-left: 3px;
}

/* CSS pause bars */
.play-btn .icon-pause {
  display: flex;
  gap: 3px;
}

.play-btn .icon-pause span {
  width: 3px;
  height: 14px;
  background: var(--gold);
  border-radius: 1px;
}

.play-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

/* Loading spinner */
.play-btn.loading,
.mini-play-btn.loading {
  border-color: transparent;
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  animation: btnSpin 0.8s linear infinite;
  pointer-events: none;
}

.play-btn .icon-loading,
.mini-play-btn .icon-loading {
  display: none;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Seek buttons (back / forward) */
.seek-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: 1px solid rgba(232, 228, 222, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: rgba(232, 228, 222, 0.5);
  font-size: 0;
  padding: 0;
}

/* CSS seek-back arrow (left-pointing) */
.seek-btn .icon-seek-back {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 8px 5px 0;
  border-color: transparent rgba(232, 228, 222, 0.5) transparent transparent;
}

/* CSS seek-forward arrow (right-pointing) */
.seek-btn .icon-seek-fwd {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent rgba(232, 228, 222, 0.5);
}

.seek-btn:hover .icon-seek-back {
  border-color: transparent var(--gold) transparent transparent;
}

.seek-btn:hover .icon-seek-fwd {
  border-color: transparent transparent transparent var(--gold);
}

/* Mini player also uses icon-play / icon-pause */
.mini-play-btn .icon-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--gold);
  margin-left: 2px;
}

.mini-play-btn .icon-pause {
  display: flex;
  gap: 3px;
}

.mini-play-btn .icon-pause span {
  width: 3px;
  height: 12px;
  background: var(--gold);
  border-radius: 1px;
}

.seek-btn:hover {
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.05);
}

.progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(232, 228, 222, 0.08);
  position: relative;
  border-radius: 1px;
  cursor: pointer;
}

.progress-bar .progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--gold), rgba(119, 2, 165, 0.8));
  border-radius: 1px;
  transition: width 0.1s linear;
}

.progress-bar .progress-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.5);
  transition: left 0.1s linear;
}

.time-display {
  font-size: 12px;
  color: rgba(232, 228, 222, 0.3);
  letter-spacing: 1px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}



/* --------------------------------------------
   Mini Player
   -------------------------------------------- */
.mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--purple-dim);
  padding: 12px 30px;
  display: none; /* Hidden by default; JS shows it */
  align-items: center;
  gap: 20px;
  z-index: 99;
}

.mini-player.visible {
  display: flex;
}

.mini-player-artwork {
  width: 42px;
  height: 42px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--purple-dim);
}

.mini-player-title {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.mini-player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.mini-play-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--gold);
  font-size: 0;
  position: relative;
}

.mini-play-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
}

.mini-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(232, 228, 222, 0.08);
  position: relative;
  border-radius: 1px;
  cursor: pointer;
}

.mini-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--gold), rgba(119, 2, 165, 0.8));
  border-radius: 1px;
}

.mini-progress-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(201, 168, 76, 0.5);
}

.mini-time {
  font-size: 11px;
  color: rgba(232, 228, 222, 0.3);
  letter-spacing: 1px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}


/* --------------------------------------------
   Productions Section
   -------------------------------------------- */
.productions-container {
  text-align: center;
  padding: 60px 20px;
}

.coming-soon {
  font-family: var(--font-accent);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-dim);
  letter-spacing: 6px;
  opacity: 0.7;
}

/* ---- Production Showcase (cinematic preview) ---- */
.prod-showcase {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(119, 2, 165, 0.2);
  padding: 60px 40px 50px;
  text-align: center;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.prod-showcase--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animated background */
.prod-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(119, 2, 165, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 50% 100%, rgba(42, 157, 143, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, rgba(10, 10, 18, 0.95), rgba(10, 10, 18, 1));
  overflow: hidden;
}

/* Floating orbs */
.prod-showcase__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: prodOrb 8s ease-in-out infinite alternate;
}

.prod-showcase__orb--1 {
  width: 300px;
  height: 300px;
  background: rgba(119, 2, 165, 0.5);
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 8s;
}

.prod-showcase__orb--2 {
  width: 200px;
  height: 200px;
  background: rgba(42, 157, 143, 0.4);
  bottom: -60px;
  right: -40px;
  animation-duration: 10s;
  animation-delay: -3s;
}

.prod-showcase__orb--3 {
  width: 150px;
  height: 150px;
  background: rgba(201, 168, 76, 0.25);
  bottom: 30%;
  left: -30px;
  animation-duration: 12s;
  animation-delay: -6s;
}

@keyframes prodOrb {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50%  { opacity: 0.5; }
  100% { transform: translate(20px, -15px) scale(1.2); opacity: 0.3; }
}

/* Subtle grid overlay */
.prod-showcase__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(119, 2, 165, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 2, 165, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Content layer */
.prod-showcase__content {
  position: relative;
  z-index: 1;
}

/* PREVIEW badge */
.prod-showcase__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.5);
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 24px;
  animation: badgePulse 3s ease-in-out infinite;
  background: rgba(201, 168, 76, 0.06);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(201, 168, 76, 0.1), 0 0 30px rgba(201, 168, 76, 0); border-color: rgba(201, 168, 76, 0.3); }
  50%      { box-shadow: 0 0 15px rgba(201, 168, 76, 0.2), 0 0 50px rgba(201, 168, 76, 0.08); border-color: rgba(201, 168, 76, 0.6); }
}

/* Genre tag */
.prod-showcase__genre {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--teal-dim);
  margin-bottom: 14px;
  font-weight: 400;
}

/* Title */
.prod-showcase__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 0 0 40px rgba(119, 2, 165, 0.3);
}

.prod-showcase--visible .prod-showcase__title {
  animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes titleReveal {
  from { opacity: 0; letter-spacing: 20px; filter: blur(4px); }
  to   { opacity: 1; letter-spacing: 4px; filter: blur(0); }
}

/* Artists */
.prod-showcase__artists {
  font-family: var(--font-accent);
  font-size: clamp(16px, 2.5vw, 22px);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 4px;
  color: rgba(232, 228, 222, 0.5);
  margin-bottom: 35px;
}

.prod-showcase--visible .prod-showcase__artists {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

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

/* Equalizer bars */
.prod-showcase__eq {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-bottom: 35px;
  opacity: 0.25;
  transition: opacity 0.6s ease;
}

.prod-showcase--playing .prod-showcase__eq {
  opacity: 1;
}

.prod-showcase__eq span {
  display: block;
  width: 3px;
  background: linear-gradient(to top, var(--purple), var(--teal), var(--gold));
  border-radius: 2px;
  height: 4px;
  transition: height 0.15s ease;
}

.prod-showcase--playing .prod-showcase__eq span {
  animation: eqBounce 0.6s ease-in-out infinite alternate;
}

.prod-showcase__eq span:nth-child(1)  { animation-delay: 0.00s; }
.prod-showcase__eq span:nth-child(2)  { animation-delay: 0.05s; }
.prod-showcase__eq span:nth-child(3)  { animation-delay: 0.10s; }
.prod-showcase__eq span:nth-child(4)  { animation-delay: 0.15s; }
.prod-showcase__eq span:nth-child(5)  { animation-delay: 0.20s; }
.prod-showcase__eq span:nth-child(6)  { animation-delay: 0.25s; }
.prod-showcase__eq span:nth-child(7)  { animation-delay: 0.30s; }
.prod-showcase__eq span:nth-child(8)  { animation-delay: 0.35s; }
.prod-showcase__eq span:nth-child(9)  { animation-delay: 0.40s; }
.prod-showcase__eq span:nth-child(10) { animation-delay: 0.45s; }
.prod-showcase__eq span:nth-child(11) { animation-delay: 0.50s; }
.prod-showcase__eq span:nth-child(12) { animation-delay: 0.43s; }
.prod-showcase__eq span:nth-child(13) { animation-delay: 0.36s; }
.prod-showcase__eq span:nth-child(14) { animation-delay: 0.29s; }
.prod-showcase__eq span:nth-child(15) { animation-delay: 0.22s; }
.prod-showcase__eq span:nth-child(16) { animation-delay: 0.15s; }
.prod-showcase__eq span:nth-child(17) { animation-delay: 0.08s; }
.prod-showcase__eq span:nth-child(18) { animation-delay: 0.01s; }
.prod-showcase__eq span:nth-child(19) { animation-delay: 0.12s; }
.prod-showcase__eq span:nth-child(20) { animation-delay: 0.24s; }
.prod-showcase__eq span:nth-child(21) { animation-delay: 0.36s; }
.prod-showcase__eq span:nth-child(22) { animation-delay: 0.48s; }
.prod-showcase__eq span:nth-child(23) { animation-delay: 0.33s; }
.prod-showcase__eq span:nth-child(24) { animation-delay: 0.18s; }
.prod-showcase__eq span:nth-child(25) { animation-delay: 0.03s; }
.prod-showcase__eq span:nth-child(26) { animation-delay: 0.21s; }
.prod-showcase__eq span:nth-child(27) { animation-delay: 0.39s; }
.prod-showcase__eq span:nth-child(28) { animation-delay: 0.09s; }
.prod-showcase__eq span:nth-child(29) { animation-delay: 0.27s; }
.prod-showcase__eq span:nth-child(30) { animation-delay: 0.42s; }

@keyframes eqBounce {
  0%   { height: 4px; }
  100% { height: 36px; }
}

/* Player controls */
.prod-showcase__player {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 500px;
  margin: 0 auto;
}

.prod-showcase--visible .prod-showcase__player {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

/* Play button */
.prod-showcase__play {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border: 2px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  background: transparent;
  position: relative;
}

.prod-showcase__play:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.2), 0 0 60px rgba(201, 168, 76, 0.05);
  transform: scale(1.05);
}

.prod-showcase__play:active {
  transform: scale(0.97);
}

/* Play triangle */
.prod-showcase__play-icon {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent var(--gold);
  margin-left: 4px;
  transition: all 0.3s ease;
}

/* Pause state */
.prod-showcase__play-icon--pause {
  border: none;
  width: 18px;
  height: 20px;
  margin-left: 0;
  background: transparent;
  position: relative;
}

.prod-showcase__play-icon--pause::before,
.prod-showcase__play-icon--pause::after {
  content: '';
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  border-radius: 1px;
}

.prod-showcase__play-icon--pause::before { left: 3px; }
.prod-showcase__play-icon--pause::after { right: 3px; }

/* Progress bar */
.prod-showcase__progress {
  flex: 1;
  height: 6px;
  background: rgba(232, 228, 222, 0.08);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.prod-showcase__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--purple), var(--teal), var(--gold));
  transition: width 0.1s linear;
}

.prod-showcase__progress-dot {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
  transition: left 0.1s linear;
  opacity: 0;
}

.prod-showcase__progress:hover .prod-showcase__progress-dot,
.prod-showcase--playing .prod-showcase__progress-dot {
  opacity: 1;
}

/* Time display */
.prod-showcase__time {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(232, 228, 222, 0.4);
  white-space: nowrap;
  min-width: 85px;
  text-align: right;
}

/* ---- Showcase mobile ---- */
@media (max-width: 768px) {
  .prod-showcase {
    padding: 45px 24px 40px;
  }

  .prod-showcase__title {
    letter-spacing: 2px;
  }

  .prod-showcase--visible .prod-showcase__title {
    animation: titleRevealMobile 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
  }

  @keyframes titleRevealMobile {
    from { opacity: 0; letter-spacing: 10px; filter: blur(4px); }
    to   { opacity: 1; letter-spacing: 2px; filter: blur(0); }
  }

  .prod-showcase__eq {
    gap: 2px;
    height: 30px;
  }

  .prod-showcase__eq span {
    width: 2px;
  }

  .prod-showcase__player {
    gap: 12px;
  }

  .prod-showcase__play {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .prod-showcase__play-icon {
    border-width: 8px 0 8px 14px;
    margin-left: 3px;
  }

  .prod-showcase__time {
    font-size: 10px;
    min-width: 70px;
  }
}

@media (max-width: 480px) {
  .prod-showcase {
    padding: 35px 16px 32px;
  }

  .prod-showcase__artists {
    margin-bottom: 25px;
  }

  .prod-showcase__eq span:nth-child(n+21) {
    display: none;
  }
}

/* Production cards (dynamic from Firestore) */
.production-card {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 25px 30px;
  background: linear-gradient(135deg, var(--purple-faint), rgba(42, 157, 143, 0.02));
  border: 1px solid var(--purple-dim);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: all var(--transition);
}

.production-card:hover {
  background: linear-gradient(135deg, rgba(119, 2, 165, 0.08), rgba(42, 157, 143, 0.04));
  border-color: rgba(119, 2, 165, 0.25);
}

.production-artwork {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--purple-dim);
}

.production-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production-info {
  flex: 1;
  min-width: 0;
}

.production-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.production-genre {
  font-size: 11px;
  color: var(--teal-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.production-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.production-links a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.production-links a:hover {
  color: var(--gold);
}


/* --------------------------------------------
   Gallery Section
   -------------------------------------------- */
.video-container {
  margin-bottom: 60px;
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--purple-dim);
  border-radius: var(--radius);
}

/* Masonry photo grid */
.photo-grid {
  column-count: 3;
  column-gap: 16px;
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  border-radius: var(--radius);
}

.photo-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(119, 2, 165, 0);
  transition: background 0.5s ease;
  border-radius: var(--radius);
  pointer-events: none;
}

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

.photo-item:hover::after {
  background: rgba(119, 2, 165, 0.15);
}


/* --------------------------------------------
   Lightbox
   -------------------------------------------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  display: none; /* Hidden by default; JS shows it */
  justify-content: center;
  align-items: center;
}

.lightbox.visible {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 210;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--gold);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: var(--text);
  background: rgba(10, 10, 18, 0.5);
  border: 1px solid rgba(232, 228, 222, 0.1);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 210;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(10, 10, 18, 0.8);
}


/* --------------------------------------------
   Events Section
   -------------------------------------------- */
.events-block {
  margin-bottom: 60px;
}

.events-block:last-child {
  margin-bottom: 0;
}

.events-subheading {
  font-family: var(--font-accent);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.events-grid {
  display: grid;
  gap: 2px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 35px;
  border-bottom: 1px solid rgba(119, 2, 165, 0.08);
  transition: all var(--transition);
}

.event-card:hover {
  background: var(--purple-faint);
}

.event-date {
  font-family: var(--font-heading);
  font-size: 13px;
  color: rgba(201, 168, 76, 0.7);
  min-width: 140px;
  letter-spacing: 2px;
}

.event-info {
  flex: 1;
}

.event-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
}

.event-genre {
  font-size: 11px;
  color: rgba(232, 228, 222, 0.3);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 4px;
}

.event-location {
  font-family: var(--font-accent);
  font-size: 14px;
  font-style: italic;
  color: var(--text-dim);
  margin-left: auto;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* Event badges */
.event-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-left: 12px;
  vertical-align: middle;
}

.event-badge--postponed {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border: 1px solid var(--gold-subtle);
}

.event-badge--tba {
  background: rgba(232, 228, 222, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(232, 228, 222, 0.1);
}

/* Past events — collapsible year groups */
.past-events .year-group {
  margin-bottom: 8px;
}

.year-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
}

.year-header:hover {
  color: var(--gold);
}

.year-header h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--gold-dim);
}

.year-header .chevron {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.year-header.collapsed .chevron {
  transform: rotate(-90deg);
}

.year-events {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.year-events.collapsed {
  max-height: 0;
}

/* Compact past event rows */
.past-event-row {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(119, 2, 165, 0.05);
  font-size: 14px;
  transition: background var(--transition);
}

.past-event-row:hover {
  background: var(--purple-faint);
}

.past-event-date {
  font-family: var(--font-heading);
  font-size: 12px;
  color: rgba(201, 168, 76, 0.5);
  min-width: 120px;
  letter-spacing: 1px;
}

.past-event-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  flex: 1;
}

.past-event-genre {
  font-size: 11px;
  color: rgba(232, 228, 222, 0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  min-width: 120px;
}

.past-event-location {
  font-family: var(--font-accent);
  font-size: 13px;
  font-style: italic;
  color: var(--text-dim);
  letter-spacing: 1px;
}


/* --------------------------------------------
   About Section
   -------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 80px;
  align-items: start;
}

.about-bio {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(232, 228, 222, 0.75);
}

.about-bio p {
  margin-bottom: 22px;
}

.about-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 30px;
  line-height: 1.5;
}

.about-name .phonetic {
  font-family: var(--font-accent);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.about-name .formerly {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.about-quote {
  border-left: 2px solid var(--gold);
  padding: 20px 0 20px 30px;
  margin: 35px 0;
  font-family: var(--font-accent);
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gold-dim);
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  max-height: 600px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--purple-dim);
  box-shadow: 0 0 40px rgba(119, 2, 165, 0.12);
  transition: box-shadow var(--transition);
}

.about-photo img:hover {
  box-shadow: 0 0 60px rgba(119, 2, 165, 0.2);
}


/* --------------------------------------------
   Book Me / Contact Form
   -------------------------------------------- */
.contact-form {
  max-width: 650px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 10, 18, 0.8);
  border: 1px solid var(--purple-dim);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  display: inline-block;
  padding: 16px 55px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  margin-top: 10px;
}

.submit-btn:hover {
  background: var(--gold-faint);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.1);
}

.submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Form messages */
.form-message {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 1px;
  display: none;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  color: var(--teal);
}

.form-message.error {
  color: #c94c4c;
}


/* --------------------------------------------
   Footer
   -------------------------------------------- */
footer {
  text-align: center;
  padding: 60px 50px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(119, 2, 165, 0.08);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}

.social-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.social-link:hover {
  color: var(--gold);
}

.footer-text {
  font-size: 11px;
  color: rgba(232, 228, 222, 0.2);
  letter-spacing: 4px;
  font-family: var(--font-body);
}


/* --------------------------------------------
   Utility Classes
   -------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================
   Responsive Design
   ============================================ */

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

/* Bottom padding for body when mini-player is visible
   so footer/book-me content is never hidden behind it */
body.has-mini-player {
  padding-bottom: 80px;
}

/* Tablet and below */
@media (max-width: 768px) {

  body.has-mini-player {
    padding-bottom: 100px; /* taller mini-player when wrapped */
  }

  /* Navigation */
  .hamburger {
    display: flex;
    width: 44px;   /* 44px minimum tap target */
    height: 44px;
    padding: 7px;  /* inner lines stay ~30px but outer hit area is 44px */
  }

  .nav-logo-img {
    height: 28px;
    max-width: 120px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(10, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 50px 50px;
    gap: 25px;
    z-index: 105;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    font-size: 14px;
    letter-spacing: 6px;
    display: inline-block;
    padding: 10px 0; /* Larger tap target for nav links */
    min-height: 44px;
    line-height: 24px;
  }

  #main-nav {
    padding: 18px 25px;
  }

  /* Hero */
  .hero h1 {
    font-size: 60px;
  }

  .hero-logo-img {
    height: 100px;
  }

  .hero-subtitle {
    font-size: 16px;
    letter-spacing: 5px;
    text-align: center;
    padding: 0 20px;
  }

  .hero-tagline {
    font-size: 10px;
    letter-spacing: 4px;
    text-align: center;
    padding: 0 20px;
  }

  .hero::before {
    width: 200px;
    height: 200px;
  }

  .hero::after {
    width: 280px;
    height: 280px;
  }

  /* Sections */
  .section {
    padding: 80px 25px;
  }

  .section h2 {
    font-size: 22px;
    letter-spacing: 8px;
    margin-bottom: 50px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-photo {
    order: -1;
    max-width: 400px;
    margin: 0 auto; /* Center photo when stacked */
  }

  /* Sets artwork - slightly smaller on tablet */
  .set-artwork {
    width: 250px;
  }

  /* Gallery */
  .photo-grid {
    column-count: 2;
  }

  /* Events */
  .event-card {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 20px 20px;
  }

  .event-date {
    min-width: auto;
  }

  .event-location {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }

  /* Past events - make rows stack better on tablet */
  .past-event-row {
    flex-wrap: wrap;
    gap: 6px 20px;
    padding: 14px 15px;
  }

  .past-event-date {
    min-width: 110px;
  }

  .past-event-genre {
    min-width: auto;
  }

  /* Year header - ensure 44px touch target */
  .year-header {
    min-height: 44px;
    padding: 14px 0;
  }

  /* Progress bars - enlarge touch area for mobile tapping */
  .progress-bar {
    height: 4px;
    padding: 10px 0;    /* Invisible padding expands tappable area */
    margin: -10px 0;
    background-clip: content-box;
  }

  .mini-progress-bar {
    height: 4px;
    padding: 10px 0;
    margin: -10px 0;
    background-clip: content-box;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Mini player */
  .mini-player {
    flex-wrap: wrap;
    padding: 10px 20px;
    gap: 8px;
  }

  .mini-player-title {
    width: 100%;
    font-size: 11px;
  }

  /* Footer */
  footer {
    padding: 40px 25px;
  }
}

/* Mobile */
@media (max-width: 480px) {

  body.has-mini-player {
    padding-bottom: 110px; /* extra room for wrapped mini-player on mobile */
  }

  /* Hero */
  .hero h1 {
    font-size: 40px;
  }

  .hero-logo-img {
    height: 70px;
  }

  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
  }

  .hero-tagline {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .hero::before {
    width: 150px;
    height: 150px;
  }

  .hero::after {
    width: 210px;
    height: 210px;
  }

  /* Sections */
  .section {
    padding: 60px 18px;
  }

  .section h2 {
    font-size: 18px;
    letter-spacing: 6px;
    margin-bottom: 40px;
  }

  /* Gallery */
  .photo-grid {
    column-count: 1;
  }

  /* Genre filter */
  .genre-filter {
    gap: 8px;
    margin-bottom: 30px;
    justify-content: center;
  }

  .genre-filter button {
    padding: 10px 16px;
    font-size: 10px;
    letter-spacing: 2px;
    min-height: 44px; /* Touch-friendly target */
  }

  /* Player cards */
  .player-card {
    padding: 22px 20px;
  }

  .player-card-inner {
    flex-direction: column;
    gap: 15px;
  }

  .set-artwork {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .player-card .set-title {
    font-size: 15px;
  }

  .player-controls {
    flex-wrap: wrap;
    gap: 12px;
  }

  .play-btn {
    width: 44px;
    height: 44px;
  }

  .seek-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 16px;
  }

  .time-display {
    font-size: 11px;
    width: 100%;
    text-align: right;
  }

  /* Events */
  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 15px;
  }

  .event-name {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .event-badge {
    margin-left: 0;
    margin-top: 4px;
  }

  /* Past events - single column layout on mobile */
  .past-event-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 10px;
  }

  .past-event-date {
    min-width: auto;
    font-size: 11px;
  }

  .past-event-name {
    font-size: 13px;
  }

  .past-event-genre {
    min-width: auto;
    font-size: 10px;
  }

  .past-event-location {
    font-size: 12px;
  }

  /* About */
  .about-quote {
    font-size: 17px;
    padding-left: 20px;
  }

  .about-name {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .about-bio {
    font-size: 14px;
    line-height: 1.75;
  }

  /* Form */
  .submit-btn {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    min-height: 44px; /* Touch-friendly target */
    letter-spacing: 5px;
  }

  .form-group label {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 15px;
    font-size: 16px; /* Prevents iOS zoom */
    min-height: 44px; /* Touch-friendly target */
  }

  /* Mini player */
  .mini-player {
    padding: 8px 15px;
  }

  .mini-play-btn {
    width: 44px; /* Touch-friendly target */
    height: 44px;
  }

  .mini-time {
    font-size: 10px;
  }

  /* Lightbox */
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .lightbox-close {
    width: 44px;
    height: 44px;
    font-size: 32px;
    top: 10px;
    right: 10px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  /* Divider */
  .divider {
    width: 120px;
  }

  /* Footer */
  footer {
    padding: 40px 18px;
  }

  .footer-social {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-link {
    font-size: 11px;
    letter-spacing: 2px;
    min-height: 44px; /* Touch-friendly target */
    display: flex;
    align-items: center;
  }

  .footer-text {
    font-size: 10px;
    letter-spacing: 2px;
  }
}


/* ============================================
   PRELOADER
   ============================================ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #050510;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.8s;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Radial vignette overlay */
.preloader__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(119, 2, 165, 0.06) 60%,
    rgba(5, 5, 16, 0.7) 100%
  );
  pointer-events: none;
}

/* Floating runic particles */
.preloader__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.preloader__particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: preloaderFloat 6s infinite ease-in-out;
}

.preloader__particles span:nth-child(1)  { left: 10%; animation-delay: 0s;   animation-duration: 5s; }
.preloader__particles span:nth-child(2)  { left: 20%; animation-delay: 0.8s; animation-duration: 7s; }
.preloader__particles span:nth-child(3)  { left: 30%; animation-delay: 1.6s; animation-duration: 5.5s; }
.preloader__particles span:nth-child(4)  { left: 40%; animation-delay: 0.4s; animation-duration: 6s; }
.preloader__particles span:nth-child(5)  { left: 50%; animation-delay: 2s;   animation-duration: 7.5s; }
.preloader__particles span:nth-child(6)  { left: 60%; animation-delay: 1.2s; animation-duration: 5s; }
.preloader__particles span:nth-child(7)  { left: 70%; animation-delay: 0.6s; animation-duration: 6.5s; }
.preloader__particles span:nth-child(8)  { left: 80%; animation-delay: 1.8s; animation-duration: 5.2s; }
.preloader__particles span:nth-child(9)  { left: 15%; animation-delay: 2.4s; animation-duration: 6.8s; }
.preloader__particles span:nth-child(10) { left: 35%; animation-delay: 0.2s; animation-duration: 7.2s; }
.preloader__particles span:nth-child(11) { left: 55%; animation-delay: 1s;   animation-duration: 5.8s; }
.preloader__particles span:nth-child(12) { left: 75%; animation-delay: 1.4s; animation-duration: 6.2s; }
.preloader__particles span:nth-child(13) { left: 90%; animation-delay: 2.2s; animation-duration: 5.4s; }
.preloader__particles span:nth-child(14) { left: 45%; animation-delay: 0.3s; animation-duration: 7.8s; }
.preloader__particles span:nth-child(15) { left: 85%; animation-delay: 1.7s; animation-duration: 6s; }

@keyframes preloaderFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { opacity: 0.3; }
  90%  { opacity: 0; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* Center content */
.preloader__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: preloaderFadeIn 1s ease-out 0.2s both;
}

@keyframes preloaderFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Logo + animated ring */
.preloader__logo-ring {
  position: relative;
  width: 160px;
  height: 160px;
}

.preloader__ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.preloader__ring-track {
  fill: none;
  stroke: rgba(201, 168, 76, 0.08);
  stroke-width: 1;
}

.preloader__ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 565.5;
  stroke-dashoffset: 565.5;
  animation: preloaderRingSpin 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.4));
}

@keyframes preloaderRingSpin {
  0%   { stroke-dashoffset: 565.5; transform: rotate(0deg); }
  50%  { stroke-dashoffset: 141;   }
  100% { stroke-dashoffset: 565.5; transform: rotate(360deg); }
}

.preloader__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  animation: preloaderLogoPulse 8s linear infinite;
}

@keyframes preloaderLogoPulse {
  0%   { filter: brightness(0.7) saturate(0.5); transform: translate(-50%, -50%) rotate(0deg); }
  50%  { filter: brightness(1) saturate(0.8); }
  100% { filter: brightness(0.7) saturate(0.5); transform: translate(-50%, -50%) rotate(360deg); }
}

/* EQ bars */
.preloader__eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.preloader__eq span {
  width: 3px;
  background: var(--gold);
  border-radius: 1px;
  opacity: 0.6;
  animation: preloaderEq 1.2s ease-in-out infinite;
}

.preloader__eq span:nth-child(1) { animation-delay: 0s;    height: 6px; }
.preloader__eq span:nth-child(2) { animation-delay: 0.1s;  height: 12px; }
.preloader__eq span:nth-child(3) { animation-delay: 0.2s;  height: 8px; }
.preloader__eq span:nth-child(4) { animation-delay: 0.05s; height: 16px; }
.preloader__eq span:nth-child(5) { animation-delay: 0.15s; height: 10px; }
.preloader__eq span:nth-child(6) { animation-delay: 0.25s; height: 14px; }
.preloader__eq span:nth-child(7) { animation-delay: 0.08s; height: 7px; }
.preloader__eq span:nth-child(8) { animation-delay: 0.18s; height: 18px; }
.preloader__eq span:nth-child(9) { animation-delay: 0.12s; height: 9px; }

@keyframes preloaderEq {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50%      { transform: scaleY(1); opacity: 0.7; }
}

/* Text */
.preloader__text {
  font-family: var(--font-accent);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 3px;
  color: var(--gold-dim);
  opacity: 0.6;
  animation: preloaderTextPulse 2.5s ease-in-out infinite;
}

@keyframes preloaderTextPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}
