/**
 * PROMPT - Layout System
 * Grid, sections, navigation, and footer
 * ============================================
 */

/* ========================================
 * MAIN LAYOUT STRUCTURE
 * ======================================== */

.site-wrapper {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  position: relative;
  z-index: var(--z-base);
}

/* ========================================
 * FULL-VIEWPORT SECTIONS
 * Each section fills the screen
 * ======================================== */

.section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--section-padding-y) var(--section-padding-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.section--hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--compact {
  min-height: auto;
  padding: var(--space-24) var(--section-padding-x);
}

/* Section backgrounds */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--color-synthetic-violet-rgb), 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Alternate section accents */
.section:nth-child(even)::before {
  background: radial-gradient(
    ellipse at center,
    rgba(var(--color-dream-teal-rgb), 0.03) 0%,
    transparent 70%
  );
}

/* Section headers */
.section__header {
  margin-bottom: var(--space-12);
  text-align: center;
}

.section__title {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-4);
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-byte-magenta),
    var(--color-synthetic-violet)
  );
  box-shadow: var(--glow-magenta-sm);
}

.section__subtitle {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
}

/* Section content container */
.section__content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* ========================================
 * GRID SYSTEM
 * Flexible content layouts
 * ======================================== */

.grid {
  display: grid;
  gap: var(--space-8);
}

/* Auto-fit columns */
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Fixed columns */
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Asymmetric layouts */
.grid--sidebar-left {
  grid-template-columns: 300px 1fr;
}

.grid--sidebar-right {
  grid-template-columns: 1fr 300px;
}

.grid--feature {
  grid-template-columns: 1fr 1.5fr;
}

/* Gap variations */
.grid--tight {
  gap: var(--space-4);
}

.grid--loose {
  gap: var(--space-12);
}

/* Responsive grid */
@media (max-width: 1024px) {
  .grid--2,
  .grid--sidebar-left,
  .grid--sidebar-right,
  .grid--feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
 * CONTAINER
 * Content width constraints
 * ======================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1600px;
}

.container--full {
  max-width: none;
}

/* ========================================
 * NAVIGATION
 * Fixed, minimal, glowing
 * ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-4) var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    180deg,
    rgba(var(--color-void-black-rgb), 0.95) 0%,
    rgba(var(--color-void-black-rgb), 0.8) 50%,
    transparent 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--duration-slow) var(--ease-out),
              padding var(--duration-slow) var(--ease-out);
}

.nav--scrolled {
  background: rgba(var(--color-void-black-rgb), 0.98);
  padding: var(--space-3) var(--section-padding-x);
  box-shadow: 0 1px 0 rgba(var(--color-synthetic-violet-rgb), 0.2);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-signal-white);
  transition: text-shadow var(--duration-normal) var(--ease-out);
  max-height: 50px;
  overflow: hidden;
}

.nav__logo:hover {
  text-shadow: var(--text-glow-violet);
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Five lines logo mark */
.nav__logo-mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.nav__logo-mark span {
  display: block;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--color-synthetic-violet),
    var(--color-byte-magenta)
  );
  border-radius: var(--radius-full);
  transition: height var(--duration-normal) var(--ease-bounce),
              background var(--duration-normal) var(--ease-out);
}

.nav__logo-mark span:nth-child(1) { height: 40%; }
.nav__logo-mark span:nth-child(2) { height: 70%; }
.nav__logo-mark span:nth-child(3) { height: 100%; }
.nav__logo-mark span:nth-child(4) { height: 55%; }
.nav__logo-mark span:nth-child(5) { height: 85%; }

.nav__logo:hover .nav__logo-mark span:nth-child(1) {
  height: 70%;
  background: linear-gradient(180deg, var(--color-synthetic-violet), var(--color-signal-white));
}
.nav__logo:hover .nav__logo-mark span:nth-child(2) {
  height: 100%;
  background: linear-gradient(180deg, var(--color-byte-magenta), var(--color-signal-white));
}
.nav__logo:hover .nav__logo-mark span:nth-child(3) {
  height: 60%;
  background: linear-gradient(180deg, var(--color-warning-orange), var(--color-signal-white));
}
.nav__logo:hover .nav__logo-mark span:nth-child(4) {
  height: 90%;
  background: linear-gradient(180deg, var(--color-dream-teal), var(--color-signal-white));
}
.nav__logo:hover .nav__logo-mark span:nth-child(5) {
  height: 45%;
  background: linear-gradient(180deg, var(--color-circuit-gold), var(--color-signal-white));
}

/* Logo image */
.nav__logo-img {
  display: block;
  height: 32px;
  width: auto;
  position: relative;
  z-index: 1;
  transition: filter var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.nav__logo:hover .nav__logo-img {
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
  transform: scale(1.05);
}

/* Navigation links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  transition: color var(--duration-normal) var(--ease-out),
              text-shadow var(--duration-normal) var(--ease-out);
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-byte-magenta);
  box-shadow: var(--glow-magenta-sm);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-signal-white);
  text-shadow: 0 0 10px rgba(var(--color-signal-white-rgb), 0.3);
}

.nav__link:hover::before,
.nav__link--active::before {
  width: 100%;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 20px;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-signal-white);
  border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.nav__toggle:hover span {
  background: var(--color-byte-magenta);
  box-shadow: var(--glow-magenta-sm);
}

.nav__toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile navigation */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-8);
    background: rgba(var(--color-void-black-rgb), 0.98);
    border-left: 1px solid rgba(var(--color-synthetic-violet-rgb), 0.3);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-power);
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--font-size-md);
  }
}

/* ========================================
 * HERO SECTION
 * Landing visual impact
 * ======================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--space-24);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin-bottom: var(--space-6);
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
}

@keyframes hero-glow {
  0% {
    filter: drop-shadow(0 0 20px rgba(var(--color-synthetic-violet-rgb), 0.5));
  }
  100% {
    filter: drop-shadow(0 0 40px rgba(var(--color-byte-magenta-rgb), 0.5));
  }
}

.hero__logo {
  display: block;
  max-width: 380px;
  width: auto;
  height: auto;
  margin: 0 auto var(--space-4);
  position: relative;
  z-index: 1;
  animation: hero-glow 4s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
  .hero__logo {
    max-width: 260px;
  }
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-8);
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Socials */
.hero__socials {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
}

.hero__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.hero__social:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Floating Social Sidebar */
.social-sidebar {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
  padding: 0.75rem;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  backdrop-filter: blur(10px);
}

.social-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.social-sidebar__link:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.3);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}

/* ========================================
 * ALBUM COVER
 * ======================================== */

.album-cover {
  max-width: 400px;
  margin: 0 auto;
}

.album-cover__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(139, 92, 246, 0.2);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.album-cover:hover .album-cover__image {
  transform: scale(1.02);
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(139, 92, 246, 0.3);
}

@media (max-width: 768px) {
  .album-cover {
    max-width: 280px;
  }
}

/* ========================================
 * CANVAS / VISUALIZER
 * WebGL background canvas
 * ======================================== */

.visualizer-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ========================================
 * CARDS
 * Content containers
 * ======================================== */

.card {
  position: relative;
  padding: var(--space-6);
  background: rgba(var(--color-void-black-rgb), 0.8);
  border: 1px solid rgba(var(--color-synthetic-violet-rgb), 0.2);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: rgba(var(--color-byte-magenta-rgb), 0.5);
  box-shadow: var(--glow-magenta-sm);
  transform: translateY(-4px);
}

.card__header {
  margin-bottom: var(--space-4);
}

.card__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.card__content {
  color: var(--color-text-muted);
}

/* ========================================
 * BUTTONS
 * Interactive elements
 * ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.btn--primary {
  background: var(--color-byte-magenta);
  color: var(--color-signal-white);
  border: 1px solid var(--color-byte-magenta);
}

.btn--primary:hover {
  background: transparent;
  box-shadow: var(--glow-magenta-md);
}

.btn--secondary {
  background: transparent;
  color: var(--color-signal-white);
  border: 1px solid var(--color-synthetic-violet);
}

.btn--secondary:hover {
  background: rgba(var(--color-synthetic-violet-rgb), 0.1);
  box-shadow: var(--glow-violet-md);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid transparent;
}

.btn--ghost:hover {
  color: var(--color-signal-white);
  border-color: rgba(var(--color-signal-white-rgb), 0.2);
}

/* ========================================
 * FOOTER
 * Site footer with links and info
 * ======================================== */

.footer {
  position: relative;
  padding: var(--space-16) var(--section-padding-x) var(--space-8);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--color-void-black-rgb), 0.5) 20%,
    var(--color-void-black) 100%
  );
  border-top: 1px solid rgba(var(--color-synthetic-violet-rgb), 0.1);
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer__brand {
  grid-column: span 1;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  max-width: 280px;
}

.footer__nav-title {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-synthetic-violet);
  margin-bottom: var(--space-4);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__nav-link {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__nav-link:hover {
  color: var(--color-signal-white);
  text-shadow: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(var(--color-signal-white-rgb), 0.05);
}

.footer__copyright {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  letter-spacing: var(--letter-spacing-wide);
}

.footer__socials {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(var(--color-signal-white-rgb), 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  color: var(--color-signal-white);
  border-color: var(--color-byte-magenta);
  box-shadow: var(--glow-magenta-sm);
}

/* ========================================
 * TRACK LIST / MUSIC PLAYER
 * Audio player layout
 * ======================================== */

.track-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(var(--color-void-black-rgb), 0.5);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.track:hover {
  background: rgba(var(--color-synthetic-violet-rgb), 0.1);
  border-color: rgba(var(--color-synthetic-violet-rgb), 0.3);
}

.track--playing {
  background: rgba(var(--color-byte-magenta-rgb), 0.1);
  border-color: var(--color-byte-magenta);
  box-shadow: var(--glow-magenta-sm);
}

.track__number {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  width: 2ch;
}

.track__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.track__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}

.track__duration {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ========================================
 * MEMBER CARDS
 * Band member display
 * ======================================== */

.member-card {
  position: relative;
  padding: var(--space-8);
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(var(--color-void-black-rgb), 0.9) 0%,
    rgba(var(--color-void-black-rgb), 0.7) 100%
  );
  border: 1px solid rgba(var(--color-signal-white-rgb), 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out);
}

.member-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.member-card:hover::before {
  opacity: 1;
}

/* Member-specific accent colors */
.member-card--jax::before {
  background: radial-gradient(circle at center, rgba(var(--color-synthetic-violet-rgb), 0.15), transparent 70%);
}
.member-card--gene::before {
  background: radial-gradient(circle at center, rgba(var(--color-byte-magenta-rgb), 0.15), transparent 70%);
}
.member-card--synoise::before {
  background: radial-gradient(circle at center, rgba(102, 0, 51, 0.2), transparent 70%);
}
.member-card--808::before {
  background: radial-gradient(circle at center, rgba(var(--color-warning-orange-rgb), 0.15), transparent 70%);
}
.member-card--hypnos::before {
  background: radial-gradient(circle at center, rgba(var(--color-dream-teal-rgb), 0.15), transparent 70%);
}

.member-card:hover {
  transform: translateY(-8px);
}

.member-card__visual {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.member-card__name {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.member-card__role {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.member-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ========================================
 * RESPONSIVE UTILITIES
 * ======================================== */

@media (max-width: 1024px) {
  .section {
    padding: var(--space-16) var(--space-6);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-12) var(--space-4);
  }

  .hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    margin-bottom: var(--space-6);
  }

  .footer__tagline {
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
 * ANIMATION CLASSES FOR SCROLL REVEAL
 * ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}

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

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }
.reveal--delay-5 { transition-delay: 500ms; }

/* ========================================
 * STORY MODAL
 * ======================================== */

.story-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.story-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.story-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(90vw, 800px);
  max-height: 85vh;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl, 1rem);
  overflow-y: auto;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.story-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.story-modal__close {
  position: sticky;
  top: 0;
  float: right;
  margin: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.story-modal__close:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
}

.story-modal__content {
  padding: 2rem 3rem 3rem;
}

.story-modal__title {
  font-size: 2rem;
  color: #ff8bf5;
  margin-bottom: 2rem;
  text-align: center;
}

.story-modal__section {
  margin-bottom: 2rem;
}

.story-modal__section h3 {
  font-size: 1.25rem;
  color: #7fe9ff;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(127, 233, 255, 0.2);
  padding-bottom: 0.5rem;
}

.story-modal__section p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.story-modal__section strong {
  color: #ff8bf5;
}

.story-modal__section em {
  color: #7fe9ff;
  font-style: italic;
}

.story-modal__section blockquote {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid #8b5cf6;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-family: monospace;
  font-size: 0.9rem;
}

.story-modal__section blockquote p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.story-modal__section blockquote p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .story-modal__content {
    padding: 1.5rem;
  }

  .story-modal__title {
    font-size: 1.5rem;
  }
}

/* ========================================
 * QUOTE ROTATOR
 * ======================================== */

.hero__quotes {
  position: relative;
  min-height: 60px;
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.hero__quote {
  position: absolute;
  width: 100%;
  text-align: center;
  font-style: italic;
  font-size: var(--font-size-md);
  color: var(--color-dream-teal);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

.hero__quote--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero__quote-author {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-style: normal;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .hero__quotes {
    min-height: 80px;
  }

  .hero__quote {
    font-size: var(--font-size-sm);
    padding: 0 var(--space-4);
  }
}

/* ========================================
 * COUNTDOWN TIMER
 * ======================================== */

.countdown-container {
  text-align: center;
  padding: var(--space-8);
  margin-bottom: var(--space-12);
  background: linear-gradient(135deg, rgba(255, 100, 50, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(255, 100, 50, 0.3);
  border-radius: var(--radius-xl);
}

.countdown__title {
  font-size: var(--font-size-xl);
  color: var(--color-warning-orange);
  margin-bottom: var(--space-2);
}

.countdown__subtitle {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
}

.countdown__value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-signal-white);
  text-shadow: 0 0 20px rgba(255, 100, 50, 0.5);
}

.countdown__label {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
}

.countdown__separator {
  font-size: 2rem;
  color: var(--color-warning-orange);
  opacity: 0.5;
}

.countdown__note {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  opacity: 0.7;
}

@media (max-width: 640px) {
  .countdown__unit {
    min-width: 60px;
    padding: var(--space-3);
  }

  .countdown__value {
    font-size: 1.5rem;
  }

  .countdown__separator {
    font-size: 1.5rem;
  }
}

/* ========================================
 * PHOTO GALLERY
 * ======================================== */

.section--gallery {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item--large {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.gallery-item:hover .gallery-item__image {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__name {
  font-size: var(--font-size-lg);
  color: var(--color-signal-white);
  margin-bottom: var(--space-1);
}

.gallery-item__role {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--color-synthetic-violet);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 250px);
  }

  .gallery-item--large {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item {
    height: 300px;
  }

  .gallery-item--large {
    grid-row: span 1;
  }
}

/* ========================================
 * STREAMING LINKS
 * ======================================== */

.streaming-links {
  margin-top: var(--space-12);
  text-align: center;
}

.streaming-links__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  color: var(--color-text-muted);
}

.streaming-links__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.streaming-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-signal-white);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  transition: all 0.3s ease;
}

.streaming-link__icon {
  width: 24px;
  height: 24px;
}

.streaming-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.streaming-link--spotify:hover {
  background: rgba(30, 215, 96, 0.2);
  border-color: #1ed760;
  color: #1ed760;
}

.streaming-link--apple:hover {
  background: rgba(252, 60, 68, 0.2);
  border-color: #fc3c44;
  color: #fc3c44;
}

.streaming-link--youtube:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff0000;
  color: #ff0000;
}

.streaming-link--bandcamp:hover {
  background: rgba(0, 161, 198, 0.2);
  border-color: #00a1c6;
  color: #00a1c6;
}

@media (max-width: 640px) {
  .streaming-link {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-xs);
  }

  .streaming-link span {
    display: none;
  }

  .streaming-link__icon {
    width: 28px;
    height: 28px;
  }
}

/* ========================================
 * NEWSLETTER SIGNUP
 * ======================================== */

.newsletter-signup {
  margin-top: var(--space-12);
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(255, 0, 102, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-xl);
  text-align: center;
}

.newsletter-signup__title {
  font-size: var(--font-size-xl);
  color: var(--color-synthetic-violet);
  margin-bottom: var(--space-2);
}

.newsletter-signup__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form__group {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form__input {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  padding: var(--space-3) var(--space-4);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-signal-white);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form__input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-form__input:focus {
  outline: none;
  border-color: var(--color-synthetic-violet);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.newsletter-form__submit {
  min-width: 140px;
}

.newsletter-form__note {
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  opacity: 0.7;
}

@media (max-width: 640px) {
  .newsletter-signup {
    padding: var(--space-6);
  }

  .newsletter-form__input {
    min-width: 100%;
  }

  .newsletter-form__submit {
    width: 100%;
  }
}

/* ========================================
 * MERCH TEASER
 * ======================================== */

.section--merch {
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 100%);
}

.merch-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.merch-teaser__visual {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-teaser__hologram {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}

.merch-item {
  position: relative;
  width: 100px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(0, 179, 179, 0.2) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-lg);
  animation: hologramFloat 3s ease-in-out infinite;
}

.merch-item--vinyl {
  animation-delay: 0.5s;
}

.merch-item--poster {
  animation-delay: 1s;
}

@keyframes hologramFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

.merch-item__glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.merch-item__label {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--color-signal-white);
  text-align: center;
  padding: var(--space-2);
}

.merch-teaser__content {
  text-align: left;
}

.merch-teaser__headline {
  font-size: var(--font-size-xl);
  color: var(--color-signal-white);
  margin-bottom: var(--space-4);
}

.merch-teaser__text {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-relaxed);
}

.merch-teaser__eta {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-6);
}

.merch-teaser__status {
  color: var(--color-warning-orange);
}

.merch-teaser__status-value {
  color: var(--color-dream-teal);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (max-width: 768px) {
  .merch-teaser {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .merch-teaser__content {
    text-align: center;
  }

  .merch-teaser__visual {
    height: 200px;
  }

  .merch-item {
    width: 80px;
    height: 100px;
  }
}

/* ========================================
 * FOOTER PADDING FOR PLAYER
 * ======================================== */

.footer {
  padding-bottom: 120px; /* Space for player when collapsed */
}

@media (max-width: 768px) {
  .footer {
    padding-bottom: 80px;
  }
}

/* ========================================
 * COOKIE CONSENT BANNER
 * ======================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-consent__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent__content p {
  flex: 1;
  min-width: 280px;
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.cookie-consent__content a {
  color: var(--color-neon-pink);
  text-decoration: underline;
}

.cookie-consent__content a:hover {
  color: var(--color-dream-teal);
}

.cookie-consent__buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-consent__btn--accept {
  background: var(--color-neon-pink);
  border-color: var(--color-neon-pink);
  color: #000;
}

.cookie-consent__btn--accept:hover {
  background: #ff3399;
  box-shadow: 0 0 15px rgba(255, 0, 102, 0.5);
}

.cookie-consent__btn--decline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text-secondary);
}

.cookie-consent__btn--decline:hover {
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary);
}

@media (max-width: 600px) {
  .cookie-consent__content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent__content p {
    min-width: auto;
  }

  .cookie-consent__buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
 * BACK TO TOP BUTTON
 * ======================================== */

.back-to-top {
  position: fixed;
  bottom: 100px; /* Above the player */
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(255, 0, 102, 0.2);
  border-color: var(--color-neon-pink);
  color: var(--color-neon-pink);
  box-shadow: 0 0 20px rgba(255, 0, 102, 0.3);
}

.back-to-top:active {
  transform: scale(0.95);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Adjust position when player is expanded */
.back-to-top.player-expanded {
  bottom: 420px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 70px; /* Above collapsed player */
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .back-to-top.player-expanded {
    bottom: 380px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: 60px;
    width: 36px;
    height: 36px;
  }

  .back-to-top.player-expanded {
    bottom: 350px;
  }
}
