/* base reset & variables */
:root{
  --purple-night:#2e1a47;
  --purple:#4b2a80;
  --purple-lite:#5c3ea0;
  --black:#000;
  --text:#fff;
  --text-muted:#aaa;
  --header-offset:80px; /* for anchor scrolling */
}
@media (max-width:768px){
  :root{ --header-offset:120px; }
}

/* smooth anchor scrolling */
html { scroll-behavior: smooth; }

:where([id]) { 
  scroll-margin-top: var(--header-offset); 
}

@media (max-width: 768px) {
  :where([id]) { 
    scroll-margin-top: 140px; /* had to bump this up for mobile */
  }
}

html, body { margin: 0; padding: 0; background: var(--black); color: var(--text); }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { margin-top: 0; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

/* typography */
body {
  font-family: 'Source Sans 3', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}
h1, h2, h3, .section-title {
  font-family: Futura, 'Trebuchet MS', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: .5em;
}

/* header styles */
header {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  background: rgba(46, 26, 71, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
  transition: transform 300ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header.hidden { transform: translateY(-100%); }

header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative; /* for the hamburger */
}

header .row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

header nav {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}

header nav a {
  text-decoration: none;
  opacity: 0.85;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  transition: opacity 200ms ease, color 200ms ease;
  color: var(--text);
}
header nav a:hover,
header nav a:focus-visible {
  opacity: 1;
  color: #FFD700;
}

/* social icons */
.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  position: absolute;
  right: 2rem;
}
.social-links a {
  color: var(--text);
  opacity: 0.85;
  transition: opacity 200ms ease, transform 200ms ease, color 200ms ease;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.3rem;
}
.social-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: #FFD700;
}

/* hamburger menu (hidden on desktop) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  color: var(--text);
  cursor: pointer;
  position: relative;
  padding: 0;
}
.menu-toggle .bar {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 220ms ease, opacity 160ms ease, background 160ms ease;
}
.menu-toggle .bar:nth-child(1) { transform: translate(-50%, -7px); }
.menu-toggle .bar:nth-child(2) { transform: translate(-50%, 0); }
.menu-toggle .bar:nth-child(3) { transform: translate(-50%, 7px); }

/* hamburger X animation */
header.menu-open .menu-toggle .bar:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
header.menu-open .menu-toggle .bar:nth-child(2) { opacity: 0; transform: translate(-50%, 0) scaleX(0); }
header.menu-open .menu-toggle .bar:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

/* mobile header stuff */
@media (max-width: 768px) {
  header {
    padding: 0.7rem 0;
  }

  header .container {
    padding: 0 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* show hamburger on left */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  /* dropdown nav */
  header nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(46, 26, 71, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      max-height 240ms ease,
      opacity 180ms ease,
      padding 180ms ease,
      transform 200ms ease;
    z-index: 2;
  }

  header nav a {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  /* menu open state */
  header.menu-open nav {
    padding: 0.5rem 0.5rem 0.75rem;
    max-height: 60vh;
    opacity: 1;
    transform: translateY(0);
  }

  /* social links stay on right */
  .social-links {
    position: static;
    margin-left: auto;
  }
  .social-links a {
    font-size: 1rem;
    margin: 0 0.25rem;
  }
}

/* hero section */
.hero { position: relative; overflow: hidden; min-height: 80vh; color: var(--text); }
.hero h1.section-title {
  font-size: clamp(0.8rem, 2.2vw, 1.6rem);
  font-weight: 500;
  text-align: center;
  margin: 0 auto;
  max-width: 50ch;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.6), 0 0 40px rgba(167, 139, 250, 0.4);
}
.hero h1.section-title::after {
  content: "";
  display: block;
  width: 80%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(167, 139, 250, 0.6) 50%, transparent 100%);
  margin: 1.5rem auto 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: url("assets/sky.webp") center top / cover no-repeat;
  transform: translate3d(0, 0, 0) scale(1.06);
  animation: skyDrift 40s linear infinite;
  z-index: 0;
}
.hero::after {
  content: ""; 
  position: absolute; 
  inset: 0; 
  pointer-events: none; 
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(20, 10, 35, .65) 0%, rgba(40, 20, 60, .65) 60%, rgba(50, 30, 75, .65) 100%),
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .04) 0%, rgba(0, 0, 0, .3) 100%);
}
.hero > .container { position: relative; z-index: 2; }
.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: -48px;
  transition: transform 300ms ease, filter 300ms ease;
  cursor: pointer;
}
.hero-logo:hover { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(92, 62, 160, 0.8)); }
.hero-logo img { 
  height: 540px; 
  width: auto;
  object-fit: contain;
}
@media (min-width: 768px) { .hero-logo img { height: 500px; } }

/* sky animation */
@keyframes skyDrift {
  0% { transform: translate3d(0, 0, 0) scale(1.06); }
  100% { transform: translate3d(-80px, 60px, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; transform: scale(1.06); } }

/* mobile hero tweaks */
@media (max-width: 768px) {
  .hero { min-height: 70vh; padding-top: 100px; }
  .hero-logo { margin-bottom: -20px; }
  .hero-logo img { 
    height: clamp(280px, 55vw, 380px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  .hero h1.section-title { font-size: clamp(0.85rem, 3.5vw, 1.1rem); padding: 0 1.5rem; }
  .hero h1.section-title::after { width: 90%; }
}

/* main content */
#main { padding-top: 60px; }
@media (max-width: 768px) { #main { padding-top: 120px; } }

/* section backgrounds */
#wishlist {
  background: linear-gradient(to bottom, rgba(50, 30, 75, 1) 0%, var(--purple) 30%, var(--black) 100%);
  color: var(--text);
  padding-block: clamp(40px, 6vw, 60px);
}
#about {
  background:
    linear-gradient(
      to bottom,
      rgba(75, 42, 128, 0.3) 0%,
      rgba(75, 42, 128, 0.6) 50%,
      rgba(0, 0, 0, 0.9) 80%,
      var(--black) 100%
    ),
    url("assets/LibraryHero.png") center top / 100% auto no-repeat;
  position: relative;
  padding-top: clamp(20rem, 30vw, 35rem);
}
#about .container { position: relative; z-index: 2; }
#about .subhead {
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 400;
  text-align: center;
  margin: 0 auto 0;
  max-width: 32ch;
  opacity: .9;
}
#news { background: #FFD700; color: #000; text-align: center; padding-block: clamp(32px, 6vw, 72px); }
#press, #contact, footer { background: var(--black); }
footer { color: var(--text-muted); }

/* mobile about section - more overlap with library */
@media (max-width: 768px) {
  #about { padding-top: clamp(8rem, 25vw, 15rem); }
  #about .center.stack-sm { padding: 1.5rem; margin: 0 1rem 2rem; }
  #about .section-title { font-size: clamp(1.6rem, 5vw, 2rem); }
  #about .subhead { font-size: clamp(1.1rem, 4vw, 1.4rem); }
}

/* wishlist section */
#wishlist .section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 40ch;
}
#wishlist .lead {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  text-align: center;
  margin: -3rem auto 2rem;
  max-width: 40ch;
  font-weight: 600;
}
#wishlist p { text-align: center; }

.doofus-highlight {
  color: #FFD700;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 0, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* mobile wishlist */
@media (max-width: 768px) {
  #wishlist { padding-block: clamp(30px, 8vw, 50px); }
  #wishlist .section-title {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    padding: 0 1.5rem;
    margin-bottom: 2rem;
  }
  #wishlist .lead { font-size: clamp(1.4rem, 5vw, 1.9rem); margin: -2rem auto 1.5rem; padding: 0 1.5rem; }
}

/* bigger screens need more space */
@media (min-width: 1024px) {
  #wishlist .section-title { margin-bottom: 3rem; }
}

/* cast lineup */
.cast { 
  position: relative; 
  padding: 24px 0; 
  overflow: hidden; 
  margin-bottom: 0.5rem; 
}
.cast-stage { 
  position: relative; 
  margin: 0 auto; 
  width: min(1100px, 92vw); 
  aspect-ratio: 16 / 7; 
  isolation: isolate; 
  z-index: 2; 
}
.ch {
  --left: 50%; 
  --w-min: 110px; 
  --w-vw: 12vw; 
  --w-max: 190px; 
  --scale: 1; 
  --z: 2; 
  --y: -20px;
  position: absolute; 
  left: var(--left); 
  bottom: var(--baseline, 8%);
  width: clamp(var(--w-min), var(--w-vw), var(--w-max));
  transform: translateX(-50%) translateY(var(--y)) scale(var(--scale));
  transform-origin: 50% 100%; 
  z-index: var(--z); 
  pointer-events: none;
}
.ch-sculpture { --left: 17%; --w-min: 90px; --w-vw: 10vw; --w-max: 160px; --scale: 1.4; --z: 4; }
.ch-npc3 { --left: 29%; --w-min: 100px; --w-vw: 11vw; --w-max: 170px; --scale: 1.2; --z: 4; }
.ch-liora { --left: 38%; --z: 7; --y: -50px; animation: lioraFloat 4s ease-in-out infinite; }
.ch-nino { --left: 50%; --w-min: 140px; --w-vw: 15vw; --w-max: 230px; --scale: .8; --z: 9; }
.ch-varek { --left: 62%; --scale: 1.2; --z: 7; }
.ch-npc1 { --left: 72%; --scale: 1.3; --z: 8; }
.ch-npc2 { --left: 82%; --scale: 1.8; --z: 4; }
@media (min-width: 1024px) { .ch { --baseline: 10%; } }

@keyframes lioraFloat {
  0%, 100% { transform: translateX(-50%) translateY(var(--y)) scale(var(--scale)); }
  50% { transform: translateX(-50%) translateY(calc(var(--y) - 12px)) scale(var(--scale)); }
}

/* mobile cast adjustments */
@media (max-width: 768px) {
  .cast { padding: 24px 0 12px 0; overflow: visible; }
  .cast-stage { 
    aspect-ratio: 16 / 9; 
    margin-top: -2rem;
    width: min(1100px, 98vw);
    overflow: visible;
  }
  .ch { 
    --baseline: 12%; 
    --w-min: 60px;
    --w-vw: 8.5vw;
    --w-max: 110px;
  }
  .ch-nino { 
    --baseline: 8%; 
    --w-min: 80px; 
    --w-vw: 10.5vw;
    --w-max: 140px; 
  }
  .ch-sculpture { 
    --left: 20%;
    --w-min: 50px; 
    --w-vw: 7vw; 
    --w-max: 100px; 
  }
  .ch-npc3 { 
    --left: 30%;
    --w-min: 58px; 
    --w-vw: 7.5vw; 
    --w-max: 105px; 
  }
  .ch-npc2 { 
    --left: 79%;
  }
  .ch-npc1 {
    --left: 71%;
  }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(92, 62, 160, 0.9);
  color: var(--text);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  transition: transform 200ms ease, box-shadow 200ms ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 20px rgba(92, 62, 160, 0.4); 
  background: rgba(92, 62, 160, 1); 
}
.steam-btn { 
  background: #000; 
  border: 2px solid #fff; 
  color: #fff; 
  gap: 12px; 
}
.steam-btn:hover { 
  background: #1a1a1a; 
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2); 
}
.steam-btn i { 
  font-size: 1.5rem; 
  display: flex; 
  align-items: center; 
}

/* mobile buttons */
@media (max-width: 768px) {
  .btn { padding: 14px 28px; font-size: 1.05rem; }
  .steam-btn i { font-size: 1.3rem; }
}

/* about section */
#about .center.stack-sm {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  margin: 0 auto 2rem;
  max-width: fit-content;
}
#about .section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
  margin: 0 auto .5rem;
  max-width: 28ch;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* mobile about */
@media (max-width: 768px) {
  #about .center.stack-sm { padding: 1.5rem; margin: 0 1rem 2rem; }
  #about .section-title { font-size: clamp(1.6rem, 5vw, 2rem); }
  #about .subhead { font-size: clamp(1.1rem, 4vw, 1.4rem); }
}

/* trailer */
.trailer-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 3rem 0 2rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
}
.trailer-container iframe { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
}

/* mobile trailer */
@media (max-width: 768px) { 
  .trailer-container { margin: 2rem 0; } 
}

/* feature sections */
.feature-section {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin: 4rem auto;
  max-width: 1200px;
}
.feature-section.reverse { 
  flex-direction: row-reverse; 
}
.feature-image { 
  flex: 1; 
  min-width: 0; 
}
.feature-image img { 
  width: 100%; 
  height: auto; 
  border-radius: 12px; 
  border: 3px solid rgba(92, 62, 160, 0.4); 
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); 
}
.feature-text { 
  flex: 1; 
  min-width: 0; 
}
.feature-text h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  color: var(--text);
  background: none;
  border: none;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  position: relative;
}
.feature-text h3::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, #FFD700 0%, rgba(255, 215, 0, 0.3) 70%, transparent 100%);
  position: absolute;
  bottom: 0;
  left: 0;
}
.feature-highlight { 
  color: #FFD700; 
}
.feature-text p { 
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); 
  line-height: 1.7; 
  color: var(--text); 
  opacity: 0.95; 
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); 
}

/* mobile features */
@media (max-width: 768px) {
  .feature-section,
  .feature-section.reverse { 
    flex-direction: column; 
    margin: 2.5rem 1.5rem; 
    gap: 2rem; 
  }
  .feature-text h3 { 
    font-size: clamp(1.4rem, 5vw, 1.9rem); 
  }
  .feature-text p { 
    font-size: clamp(1rem, 3.5vw, 1.15rem); 
  }
}

/* screenshot gallery */
.screenshots-container { 
  position: relative; 
  margin-top: 2rem; 
}

.screenshots-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.screenshots-scroll::-webkit-scrollbar { 
  display: none; 
}
.screenshots-scroll img {
  flex: 0 0 auto;
  height: clamp(300px, 40vh, 500px);
  width: auto;
  border-radius: 8px;
  scroll-snap-align: start;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  cursor: pointer;
}
.screenshots-scroll img:hover { 
  transform: scale(1.05); 
  border-color: #FFD700; 
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4); 
}

/* screenshot arrows */
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 200ms ease;
  backdrop-filter: blur(10px);
}

.scroll-arrow:hover { 
  background: rgba(92, 62, 160, 0.9); 
  border-color: #FFD700; 
  transform: translateY(-50%) scale(1.1); 
}

.scroll-arrow-left { left: 10px; }
.scroll-arrow-right { right: 10px; }

/* mobile screenshots */
@media (max-width: 768px) {
  .screenshots-scroll { padding: 1.5rem 0; gap: 0.8rem; }
  .screenshots-scroll img { 
    height: clamp(140px, 22vh, 220px);
    width: auto;
  }
  .screenshots-scroll img:hover { transform: scale(1); }
  
  .scroll-arrow { 
    display: none !important;
  }
}

/* screenshot modal */
.screenshot-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.screenshot-modal.active { 
  display: flex; 
}
.screenshot-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  transition: all 200ms ease;
  backdrop-filter: blur(10px);
}
.modal-close:hover { 
  background: rgba(255, 255, 255, 0.2); 
  border-color: rgba(255, 255, 255, 0.6); 
  transform: scale(1.1); 
}

/* mobile modal */
@media (max-width: 768px) {
  .screenshot-modal img { max-width: 95%; max-height: 80%; }
  .modal-close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 24px; }
}

/* news section */
#news .section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 0 auto 2rem;
  max-width: 28ch;
  color: #000;
  font-weight: 700;
}
#news .highlight {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 400;
  line-height: 1.7;
  margin: 0 auto 2rem;
  max-width: 50ch;
  color: #000;
}
#news .subheadline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 2rem auto 1rem;
  max-width: 36ch;
  line-height: 1.2;
  color: #000;
}
#news .subheadline .subnote {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  margin-top: .75rem;
  opacity: .95;
}
#news .coolkids {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  margin-top: 2rem;
  color: #000;
  opacity: 0.7;
}
.social-buttons { 
  display: flex; 
  gap: 2rem; 
  justify-content: center; 
  margin: 1.5rem auto; 
}
.icon-btn { 
  color: #000; 
  transition: transform 200ms ease, opacity 200ms ease; 
  display: flex; 
  background: none; 
  border: none; 
  padding: 0; 
  cursor: pointer; 
  text-decoration: none; 
}
.icon-btn i { 
  font-size: 72px !important; 
}
.icon-btn:hover { 
  transform: scale(1.15); 
  opacity: 0.7; 
}
#news a:not(.icon-btn) { 
  color: #8B5CF6; 
  font-weight: 600; 
  text-decoration: none; 
  transition: color 200ms ease; 
}
#news a:not(.icon-btn):hover { 
  color: #7C3AED; 
  text-decoration: underline; 
}

/* mobile news */
@media (max-width: 768px) {
  #news { padding-block: clamp(30px, 8vw, 60px); }
  #news .section-title { font-size: clamp(2rem, 7vw, 3rem); padding: 0 1.5rem; }
  #news .highlight { font-size: clamp(1rem, 3.8vw, 1.2rem); padding: 0 1.5rem; }
  #news .subheadline { font-size: clamp(1.5rem, 5.5vw, 2rem); padding: 0 1.5rem; }
  #news .subheadline .subnote { font-size: clamp(0.95rem, 3.5vw, 1.1rem); }
  .social-buttons { gap: 3rem; }
  .icon-btn i { font-size: 56px !important; }
}

/* press section */
#press {
  position: relative;
  padding-block: clamp(40px, 6vw, 80px);
  z-index: 2;
  background: linear-gradient(135deg, #1a0d2e 0%, #2e1a47 50%, #1a0d2e 100%);
}
#press .section-title { 
  text-align: left; 
  margin-bottom: 0.5rem; 
  font-size: clamp(2rem, 3.5vw, 2.8rem); 
}
.press-subtitle { 
  font-size: clamp(1.3rem, 2vw, 1.6rem); 
  margin-top: 0; 
  margin-bottom: 1.5rem; 
  opacity: 0.9; 
  font-style: italic; 
}
.press-flex { 
  display: flex; 
  align-items: flex-end; 
  justify-content: center; 
  gap: 3rem; 
  flex-wrap: wrap; 
  margin-top: 1rem; 
}
.press-art { 
  flex: 0 0 auto; 
  position: relative; 
}
.press-stack { 
  position: relative; 
  width: clamp(280px, 28vw, 440px); 
  pointer-events: none; 
  filter: drop-shadow(0 0 30px rgba(92, 62, 160, 0.6)); 
}
.press-ground { 
  display: block; 
  width: 100%; 
  height: auto; 
}
.press-character { 
  position: absolute; 
  left: 50%; 
  bottom: 84px; 
  transform: translateX(-50%); 
  width: 86%; 
  height: auto; 
  z-index: 2; 
  animation: pressFloat 5s ease-in-out infinite; 
}
@keyframes pressFloat { 
  0%, 100% { transform: translateX(-50%) translateY(0); } 
  50% { transform: translateX(-50%) translateY(-16px); } 
}
.press-text { 
  flex: 1 1 360px; 
  max-width: 560px; 
  text-align: left; 
  color: var(--text); 
  font-size: clamp(1.2rem, 1.6vw, 1.4rem); 
}
.press-text a { 
  color: #8B5CF6; 
  text-decoration: none; 
  transition: color 200ms ease; 
}
.press-text a:hover { 
  color: #A78BFA; 
  text-decoration: underline; 
}
.press-text .btn { 
  background: #8B5CF6; 
  border: 2px solid rgba(255, 255, 255, 0.3); 
  font-weight: 700; 
  color: #fff !important; 
}
.press-text .btn:hover { 
  background: #A78BFA; 
  transform: translateY(-2px) scale(1.02); 
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5); 
}
.press-text .closing-joke { 
  font-size: 1.05rem; 
  font-style: italic; 
  margin-top: 1.5rem; 
  opacity: .75; 
  line-height: 1.8; 
  font-weight: 300; 
}

/* mobile press - fix overflow */
@media (max-width: 768px) {
  #press { padding-block: clamp(50px, 10vw, 80px); }
  .press-flex { align-items: center; gap: 1.5rem; }
  .press-stack { width: clamp(220px, 50vw, 340px); height: 280px; position: relative; }
  .press-ground { position: absolute; bottom: 0; left: 0; width: 100%; z-index: 1; }
  .press-character { bottom: 60px; width: 78%; }
  .press-text { text-align: center; padding: 0 1.5rem; font-size: clamp(1.05rem, 3.8vw, 1.2rem); }
  #press .section-title { text-align: center; font-size: clamp(1.8rem, 6vw, 2.4rem); padding: 0 1.5rem; }
  .press-subtitle { font-size: clamp(1.15rem, 4.5vw, 1.4rem); text-align: center; padding: 0 1.5rem; }
  .press-text .closing-joke { font-size: 1rem; }
}

/* contact section */
#contact {
  position: relative;
  margin-top: 0;
  padding-block: clamp(60px, 8vw, 100px);
  background: linear-gradient(135deg, #2e1a47 0%, #1a0d2e 50%, #2e1a47 100%);
}
#contact .section-title { 
  text-align: left; 
  margin-bottom: 0.5rem; 
  font-size: clamp(2rem, 3.5vw, 2.8rem); 
}
.contact-subtitle { 
  font-size: clamp(1.3rem, 2vw, 1.6rem); 
  margin-top: 0; 
  margin-bottom: 1.5rem; 
  opacity: 0.9; 
}
.contact-flex { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 3rem; 
  flex-wrap: wrap; 
}
.contact-art { 
  flex: 0 0 auto; 
  position: relative; 
  width: clamp(220px, 26vw, 420px); 
  filter: drop-shadow(0 0 40px rgba(92, 62, 160, 0.7)); 
}
.varek-laugh { 
  width: 75%; 
  height: auto; 
  animation: varekFloat 6s ease-in-out infinite; 
}
@keyframes varekFloat { 
  0%, 100% { transform: translateY(0); } 
  50% { transform: translateY(-10px); } 
}
.contact-text { 
  flex: 1 1 360px; 
  max-width: 560px; 
  text-align: left; 
  color: var(--text); 
  font-size: clamp(1.2rem, 1.6vw, 1.4rem); 
}
.contact-reach { 
  font-size: clamp(1.5rem, 2.2vw, 1.8rem); 
  font-weight: 600; 
  margin-top: 1.5rem; 
  margin-bottom: 0.5rem; 
  color: #FFD700; 
}
.contact-email { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  margin-top: 0.5rem; 
}
.contact-text a { 
  color: #A78BFA; 
  text-decoration: none; 
  transition: color 200ms ease; 
}
.contact-text a:hover { 
  color: #C4B5FD; 
  text-decoration: underline; 
}
.contact-fans { 
  font-size: clamp(1.4rem, 2vw, 1.7rem); 
  font-weight: 700; 
  margin-top: 1.5rem; 
  margin-bottom: 0.5rem; 
}
.contact-joke { 
  font-size: 1.2rem; 
  opacity: 0.6; 
  font-style: italic; 
  margin-top: 0; 
}

/* mobile contact */
@media (max-width: 768px) {
  #contact { padding-block: clamp(40px, 8vw, 80px); }
  .contact-flex { align-items: center; gap: 2rem; }
  .contact-art { width: clamp(180px, 50vw, 350px); display: flex; justify-content: center; }
  .contact-text { text-align: center; padding: 0 1.5rem; }
  #contact .section-title { text-align: center; font-size: clamp(1.8rem, 6vw, 2.4rem); padding: 0 1.5rem; }
  .contact-subtitle { font-size: clamp(1.15rem, 4.5vw, 1.4rem); text-align: center; padding: 0 1.5rem; }
  .contact-reach { font-size: clamp(1.3rem, 5vw, 1.6rem); }
  .contact-email { justify-content: center; }
  .contact-fans { font-size: clamp(1.25rem, 4.5vw, 1.5rem); }
  .contact-joke { font-size: 1.05rem; }
}

/* FAQ section */
#faq {
  background:
    linear-gradient(135deg, #1a0d2e 0%, #0d0616 50%, #1a0d2e 100%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.15) 0%, transparent 50%);
  padding-block: clamp(40px, 6vw, 60px);
  position: relative;
}
#faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(92, 62, 160, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(92, 62, 160, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
#faq .container { 
  position: relative; 
  z-index: 1; 
}
#faq .section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  text-align: center;
  position: relative;
}
#faq .section-title::after {
  content: "";
  display: block;
  width: 60%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.6) 50%, transparent 100%);
  margin: 1.5rem auto 0;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* faq dancer */
.faq-dancer-container { 
  position: relative; 
  width: clamp(150px, 20vw, 250px); 
  margin: 2rem auto 0rem; 
}
.faq-dancer { 
  width: 100%; 
  height: auto; 
  display: block; 
  filter: drop-shadow(0 0 30px rgba(92, 62, 160, 0.5)); 
}
.dancer-text {
  position: absolute;
  font-weight: 700;
  font-style: italic;
  color: #FFD700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  animation: floatText 3s ease-in-out infinite;
}
.dancer-text:nth-child(2) { top: -10%; left: -30%; font-size: clamp(1rem, 1.5vw, 1.3rem); animation-delay: 0s; }
.dancer-text:nth-child(3) { top: 20%; right: -40%; font-size: clamp(0.9rem, 1.3vw, 1.1rem); animation-delay: 1s; }
.dancer-text:nth-child(4) { bottom: 10%; left: -35%; font-size: clamp(0.85rem, 1.2vw, 1rem); animation-delay: 2s; transform: rotate(-15deg); }
.dancer-text:nth-child(5) { top: -5%; right: -30%; font-size: clamp(0.85rem, 1.2vw, 1rem); animation-delay: 0.5s; }
.dancer-text:nth-child(6) { bottom: 20%; right: -35%; font-size: clamp(0.9rem, 1.3vw, 1.1rem); animation-delay: 1.5s; }
.dancer-text:nth-child(7) { top: 30%; left: -40%; font-size: clamp(0.95rem, 1.4vw, 1.15rem); animation-delay: 2.5s; }

@keyframes floatText { 
  0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); } 
  50% { transform: translateY(-8px) rotate(var(--rotate, 0deg)); } 
}

/* faq items */
.faq-list { 
  max-width: 900px; 
  margin: 0 auto; 
}
.faq-item {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(92, 62, 160, 0.05) 100%);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 300ms ease;
  position: relative;
}
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #8B5CF6 0%, #A78BFA 100%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.faq-item:hover::before { 
  opacity: 1; 
}
.faq-item:hover { 
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(92, 62, 160, 0.08) 100%); 
  border-color: rgba(139, 92, 246, 0.5); 
  box-shadow: 0 8px 24px rgba(92, 62, 160, 0.3); 
  transform: translateX(4px); 
}
.faq-item summary {
  padding: 1.5rem 2rem;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background 200ms ease;
  display: flex;
  align-items: center;
  position: relative;
}
.faq-item summary::-webkit-details-marker { 
  display: none; 
}
.faq-item summary::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  font-size: 1.2em;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 300ms ease;
}
.faq-item summary::after { 
  content: "▼"; 
  position: absolute; 
  right: 2rem; 
  color: #A78BFA; 
  font-size: 0.9rem; 
  transition: transform 300ms ease; 
}
.faq-item[open] summary::after { 
  transform: rotate(180deg); 
}
.faq-item[open] summary::before { 
  content: "!"; 
  background: linear-gradient(135deg, #10B981 0%, #34D399 100%); 
  transform: rotate(360deg); 
}
.faq-item summary:hover { 
  background: rgba(139, 92, 246, 0.1); 
}
.faq-item p { 
  padding: 1rem 2rem 1.5rem 4.5rem; 
  margin: 0; 
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); 
  line-height: 1.6; 
  opacity: 0.9; 
}

/* mobile FAQ */
@media (max-width: 768px) {
  #faq { padding-block: clamp(30px, 8vw, 50px); }
  #faq .section-title { font-size: clamp(1.8rem, 6vw, 2.4rem); padding: 0 1.5rem; }
  .faq-dancer-container { width: clamp(120px, 35vw, 200px); margin: 1.5rem auto 2rem; }
  .dancer-text { font-size: clamp(0.75rem, 3vw, 0.95rem) !important; }
  .faq-list { padding: 0 1rem; }
  .faq-item { margin-bottom: 1rem; }
  .faq-item summary { padding: 1.2rem 1.5rem; font-size: clamp(1.05rem, 4vw, 1.2rem); padding-right: 3rem; }
  .faq-item summary::before { width: 28px; height: 28px; margin-right: 0.8rem; }
  .faq-item summary::after { right: 1.5rem; }
  .faq-item p { padding: 0.8rem 1.5rem 1.2rem 3.8rem; font-size: clamp(0.95rem, 3.5vw, 1.1rem); }
  .faq-item:hover { transform: translateX(0); }
}

/* countdown timer */
.countdown { 
  display: flex; 
  justify-content: center; 
  gap: clamp(0.8rem, 2.5vw, 1.5rem); 
  margin: 1.5rem auto; 
}
.countdown .cell { 
  background: rgba(0, 0, 0, 0.5); 
  border: 2px solid rgba(255, 255, 255, 0.2); 
  border-radius: 12px; 
  padding: clamp(0.8rem, 1.5vw, 1.2rem); 
  min-width: clamp(60px, 10vw, 85px); 
  backdrop-filter: blur(10px); 
  transition: transform 200ms ease, box-shadow 200ms ease; 
}
.countdown .cell:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 8px 20px rgba(92, 62, 160, 0.3); 
}
.countdown .value { 
  font-size: clamp(1.8rem, 4.5vw, 3rem); 
  font-weight: 700; 
  font-family: Futura, 'Trebuchet MS', Arial, sans-serif; 
  line-height: 1; 
  color: #fff; 
}
.countdown .label { 
  font-size: clamp(0.75rem, 1.2vw, 0.95rem); 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  margin-top: 0.4rem; 
  opacity: 0.9; 
  font-weight: 600; 
  color: #FFD700; 
}
.muted { 
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); 
  opacity: 0.95; 
  margin-top: 1.5rem; 
  text-align: center; 
  font-style: italic; 
  font-weight: 600; 
  color: #D1D5DB; 
}

/* mobile countdown */
@media (max-width: 768px) {
  .countdown { gap: 0.6rem; margin: 1.2rem auto; }
  .countdown .cell { min-width: clamp(55px, 18vw, 75px); padding: clamp(0.6rem, 2vw, 0.9rem); }
  .countdown .value { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .countdown .label { font-size: clamp(0.65rem, 2.5vw, 0.8rem); }
  .muted { font-size: clamp(1.1rem, 4vw, 1.4rem); padding: 0 1.5rem; }
  .countdown .cell:hover { transform: translateY(0); }
}

/* godot banner */
#godot-banner { 
  padding-block: clamp(80px, 12vw, 140px); 
  position: relative; 
  overflow: hidden; 
}

#godot-banner::after { 
  content: ""; 
  position: absolute; 
  inset: -10%; 
  background: url("assets/Banner.png") center center / cover no-repeat; 
  z-index: 0; 
  transition: transform 800ms ease; 
}

#godot-banner:hover::after { 
  transform: scale(1.05); 
}

#godot-banner::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: rgba(0, 0, 0, 0.3); 
  z-index: 1; 
}

#godot-banner .container { 
  position: relative; 
  z-index: 2; 
  display: flex; 
  flex-direction: column; 
  align-items: flex-end; 
  max-width: 1200px; 
  padding-right: clamp(2rem, 8vw, 12rem); 
  margin-left: auto; 
}

.godot-text { 
  font-size: clamp(1.4rem, 2.5vw, 2rem); 
  font-weight: 600; 
  text-align: right; 
  margin: 0 0 2rem 0; 
  max-width: 35ch; 
  text-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(71, 140, 191, 0.35),
    0 0 40px rgba(71, 140, 191, 0.2);
}

.godot-text .godot-highlight { 
  color: #478CBF; 
}

.godot-btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 12px; 
  padding: 16px 32px; 
}

.godot-icon { 
  width: 36px; 
  height: 36px; 
  display: inline-block; 
}

/* mobile godot */
@media (max-width: 768px) {
  #godot-banner { 
    padding-block: clamp(50px, 10vw, 80px); 
  }
  
  #godot-banner .container { 
    align-items: center; 
    padding: 0 1.5rem; 
    margin: 0 auto; 
  }
  
  .godot-text { 
    text-align: center; 
    font-size: clamp(1.2rem, 4.5vw, 1.6rem); 
    max-width: 100%; 
  }
  
  .godot-btn { 
    padding: 14px 28px; 
  }
  
  .godot-icon { 
    width: 32px; 
    height: 32px; 
  }
}

/* soundtrack section */
#soundtrack {
  background: linear-gradient(135deg, #0f0820 0%, #1a0d2e 50%, #0f0820 100%);
  padding-block: clamp(80px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

#soundtrack::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 400px;
  background: 
    linear-gradient(to bottom, 
      rgba(15, 8, 32, 0) 0%, 
      rgba(15, 8, 32, 0.3) 40%,
      rgba(15, 8, 32, 0.7) 70%,
      rgba(15, 8, 32, 1) 100%
    ),
    url("assets/piano-roll2.png") center top / cover no-repeat;
  opacity: 0.6;
  z-index: 0;
}

#soundtrack::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.12) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

#soundtrack .container {
  position: relative;
  z-index: 2;
}

#soundtrack .section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0 auto 4rem;
  max-width: fit-content;
  text-align: center;
  position: relative;
  padding: 1.8rem 3.5rem;
  background: linear-gradient(135deg, rgba(26, 13, 46, 0.95) 0%, rgba(46, 26, 71, 0.95) 100%);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 12px;
  box-shadow: 
    0 10px 40px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.soundtrack-flex {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.soundtrack-art {
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 350px);
  filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.6));
  position: relative;
}

/* fancy glow line under nino */
.soundtrack-art::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.8) 20%, #A78BFA 50%, rgba(139, 92, 246, 0.8) 80%, transparent 100%);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.9);
  border-radius: 2px;
}

.nino-headphones {
  width: 100%;
  height: auto;
  display: block;
  animation: musicBounce 3.5s ease-in-out infinite;
}

@keyframes musicBounce {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.soundtrack-content {
  flex: 1;
  min-width: 0;
}

.soundtrack-text {
  margin-bottom: 2.5rem;
}

.soundtrack-subhead {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffe600;
  line-height: 1.3;
  position: relative;
  padding-bottom: 1.2rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.soundtrack-subhead::after {
  content: "";
  display: block;
  width: 70%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 212, 160, 0.6) 20%, #E8D4A0 50%, rgba(232, 212, 160, 0.6) 80%, transparent 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  box-shadow: 0 0 10px rgba(232, 212, 160, 0.4);
}

.soundtrack-text p {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
}

.soundtrack-note {
  font-style: italic;
  opacity: 0.85;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(167, 139, 250, 0.9);
}

.soundtrack-player {
  max-width: 600px;
}

.player-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.player-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  background: rgba(139, 92, 246, 0.2);
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease;
}

.player-tab i {
  font-size: 1.4rem;
}

.player-tab:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
}

.player-tab.active {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  border-color: #A78BFA;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.player-content {
  position: relative;
}

.player-iframe {
  display: none;
  animation: fadeIn 400ms ease;
}

.player-iframe.active {
  display: block;
}

.player-iframe iframe {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.player-iframe iframe:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(139, 92, 246, 0.6);
}

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

/* mobile soundtrack */
@media (max-width: 768px) {
  #soundtrack { 
    padding-block: clamp(60px, 10vw, 100px); 
  }
  
  #soundtrack::before {
    height: 300px;
    top: -30px;
  }

  #soundtrack .section-title { 
    font-size: clamp(1.9rem, 6.5vw, 2.6rem); 
    padding: 1.4rem 2.2rem;
    margin: 0 1.5rem 3rem;
  }
  
  .soundtrack-flex {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }
  
  .soundtrack-art {
    width: clamp(180px, 45vw, 260px);
  }
  
  .soundtrack-text {
    text-align: center;
  }
  
  .soundtrack-subhead {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }
  
  .soundtrack-subhead::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .soundtrack-text p {
    font-size: clamp(1.05rem, 4vw, 1.2rem);
  }
  
  .soundtrack-player {
    max-width: 100%;
  }
  
  .player-tab {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
  }
  
  .player-tab i {
    font-size: 1.3rem;
  }
  
  .player-iframe iframe:hover {
    transform: translateY(0);
  }
  
  .player-tab:hover {
    transform: translateY(0);
  }
}

/* footer */
footer { 
  background: var(--black); 
  color: var(--text-muted); 
  padding: 3rem 0; 
  text-align: center; 
}
footer .container { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}
footer p { 
  margin: 0; 
  font-size: clamp(1rem, 1.5vw, 1.2rem); 
}

@media (max-width: 768px) {
  footer { padding: 2.5rem 1.5rem; }
  footer p { font-size: clamp(0.9rem, 3vw, 1rem); }
}

/* mobile header final tweaks */
@media (max-width: 768px) {
  header {
    --mobile-header-h: 56px;                  
    padding: 0;                               
    height: calc(var(--mobile-header-h) + 1px); 
  }

  header .container {
    height: var(--mobile-header-h);
    padding: 0 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  /* left hamburger */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  header nav {
    position: fixed;                          
    top: calc(var(--mobile-header-h) + 1px);   
    left: 0;
    right: 0;
    background: rgba(46, 26, 71, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      max-height 240ms ease,
      opacity 180ms ease,
      padding 180ms ease,
      transform 200ms ease;
    z-index: 999;                               
  }

  header nav a {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  /* open state */
  header.menu-open nav {
    padding: 0.5rem 0.5rem 0.75rem;
    max-height: 60vh;
    opacity: 1;
    transform: translateY(0);
  }

  .social-links {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }
  .social-links a {
    font-size: 1rem;
    margin: 0 0.25rem;
  }
}

@media (max-width: 768px) {
  header.hidden nav {
    max-height: 0 !important;
    opacity: 0 !important;
    padding: 0 !important;
    transform: translateY(-6px);
    pointer-events: none;
  }
}