/**
 * Sen-Sei Website - Main Stylesheet
 * Mobile-first, dark theme with warm Rhodes-inspired accents
 * Aesthetic: Paradise Garage meets modern deep house
 */

@import url("features.css");

/* ========================================
   CSS VARIABLES & THEME
   ======================================== */
:root {
  /* Colors - Dark base with warm accents */
  --color-bg: #0a0a0a;
  --color-bg-elevated: #141414;
  --color-bg-card: #1a1a1a;
  --color-surface: #222222;

  --color-text: #f5f5f5;
  --color-text-muted: #888888;
  --color-text-subtle: #555555;

  /* Warm accent palette - Rhodes/vinyl warmth */
  --color-accent: #d4a574;
  --color-accent-hover: #e8c19a;
  --color-accent-glow: rgba(212, 165, 116, 0.3);

  /* Secondary accents */
  --color-gold: #D3AF37;
  --color-cream: #f5e6d3;
  --color-streaming-bar: #00F0FF;
  --accent-blue: #00F0FF;

  /* Button color */
  --color-button: #00F0FF;
  --color-button-hover: #5CF5FF;

  /* Functional */
  --color-success: #4ade80;
  --color-error: #f87171;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font-primary);

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 70px;
  --header-height-mobile: 60px;
  --streaming-bar-height: 46px;
  --header-plus-bar-mobile: 106px;
  --header-plus-bar: 120px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-smooth: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px var(--color-accent-glow);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Prevent scroll when mobile menu or form is open */
body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

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

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

ul, ol {
  list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

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

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

.section {
  padding: var(--space-3xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-mobile);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .header {
    height: var(--header-height);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  z-index: 110;
}

.logo-img {
  height: 35px;
  width: auto;
  filter: invert(1);
}

@media (min-width: 768px) {
  .logo-img {
    height: 45px;
  }
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

/* Booking Button */
.btn-booking {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-button);
  color: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  z-index: 110;
}

.btn-booking:hover {
  background: var(--color-button-hover);
  color: var(--color-bg);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(135, 206, 235, 0.4);
}

@media (min-width: 768px) {
  .btn-booking {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.8125rem;
  }
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
  transform-origin: center;
}

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

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

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

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

/* Header socials (desktop only — sit between Bookings button and hamburger) */
.header-socials {
  display: none;
}

@media (min-width: 768px) {
  .header-socials {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: var(--space-md);
  }
  .header-socials .social-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    opacity: 0.85;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }
  .header-socials .social-link:hover {
    opacity: 1;
    transform: scale(1.1);
  }
  .header-socials .social-link svg {
    width: 20px;
    height: 20px;
  }
}

/* Mobile Navigation Overlay */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-bg);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile .nav-link {
  font-size: 1.5rem;
  color: var(--color-text);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.nav-mobile.active .nav-link {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile.active .nav-link:nth-child(1) { transition-delay: 100ms; }
.nav-mobile.active .nav-link:nth-child(2) { transition-delay: 150ms; }
.nav-mobile.active .nav-link:nth-child(3) { transition-delay: 200ms; }
.nav-mobile.active .nav-link:nth-child(4) { transition-delay: 250ms; }
.nav-mobile.active .nav-link:nth-child(5) { transition-delay: 300ms; }
.nav-mobile.active .nav-link:nth-child(6) { transition-delay: 350ms; }

.nav-mobile-socials {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  align-items: center;
  justify-content: center;
}

.nav-mobile-socials .social-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  opacity: 0.85;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-mobile-socials .social-link:hover {
  opacity: 1;
  transform: scale(1.1);
}

.nav-mobile-socials .social-link svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   BOOKING FORM SLIDE-OUT
   ======================================== */
.booking-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.booking-overlay.active {
  opacity: 1;
  visibility: visible;
}

.booking-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: var(--color-bg-elevated);
  z-index: 210;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.booking-panel.active {
  transform: translateX(0);
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.booking-header h3 {
  font-size: 1.25rem;
}

.booking-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  border-radius: var(--radius-full);
}

.booking-close:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.1);
}

.booking-form {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  flex: 1;
}

/* Form Fields */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: calc(var(--space-md) * 2 + 16px);
}

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

/* Radio Group for Yes/No */
.radio-group {
  display: flex;
  gap: var(--space-md);
}

.radio-option {
  flex: 1;
  position: relative;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.radio-option input:checked + .radio-label {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.radio-option input:focus + .radio-label {
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-button);
  color: var(--color-bg);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  margin-top: auto;
}

.btn-submit:hover {
  background: var(--color-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(135, 206, 235, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Success Message */
.booking-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
  height: 100%;
}

.booking-success.active {
  display: flex;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-bg);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.success-checkmark {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.5s ease-out 0.3s forwards;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.success-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.5s ease-out 0.4s both;
}

.success-message {
  color: var(--color-text-muted);
  max-width: 280px;
  animation: fadeInUp 0.5s ease-out 0.5s both;
}

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

/* ========================================
   STREAMING PLATFORMS BAR
   ======================================== */
.streaming-bar {
  position: fixed;
  top: var(--header-height-mobile);
  left: 0;
  right: 0;
  background: var(--color-streaming-bar);
  z-index: 99;
  padding: var(--space-sm) 0;
}

@media (min-width: 768px) {
  .streaming-bar {
    top: var(--header-height);
    padding: var(--space-sm) 0;
  }
}

.streaming-bar-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.streaming-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.streaming-logos::-webkit-scrollbar {
  display: none;
}

.streaming-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  opacity: 0.85;
}

.streaming-link:hover {
  opacity: 1;
  transform: scale(1.1);
  color: var(--color-bg);
}

.streaming-link svg,
.streaming-link img {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

/* Wordmark logos render shorter so their visual weight matches the icon-only ones */
.streaming-link img[src*="soundcloud"],
.streaming-link img[src*="resident-advisor"] {
  height: 14px;
}

@media (min-width: 768px) {
  .streaming-link svg,
  .streaming-link img {
    height: 26px;
    max-width: 130px;
  }

  .streaming-link img[src*="soundcloud"],
  .streaming-link img[src*="resident-advisor"] {
    height: 17px;
  }

  .streaming-logos {
    gap: var(--space-2xl);
  }
}

/* ========================================
   INLINE MUSIC PLAYER (lives inside the cyan streaming bar)
   ======================================== */
.player {
  position: relative;          /* anchor for the tracklist dropdown */
  flex-shrink: 0;
  margin: 0;
  padding-left: var(--space-md);
  border-left: 1px solid rgba(0, 0, 0, 0.18);   /* hairline divider from the logos */
}

.player-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 6, 8, 0.92);
  border: 1px solid rgba(211, 175, 55, 0.45);
  border-radius: 999px;
  padding: 4px 6px 4px 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.player-inner:hover {
  border-color: rgba(211, 175, 55, 0.9);
  box-shadow: 0 0 18px rgba(211, 175, 55, 0.28);
}

.player-artwork {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;                                          /* vinyl-record */
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
}

@media (min-width: 768px) {
  .player-artwork {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  max-width: 140px;
  line-height: 1.05;
  padding: 0 4px 0 2px;
}

.player-label {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  font-weight: 700;
}

.player-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist { display: none; }

@media (min-width: 768px) {
  .player-info {
    max-width: 180px;
  }
  .player-label {
    font-size: 0.625rem;
  }
  .player-title {
    font-size: 0.8125rem;
  }
}

/* Slim the pill on small screens — drop the info text, keep vinyl + controls */
@media (max-width: 519px) {
  .player-info { display: none; }
  .player {
    padding-left: var(--space-sm);
  }
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 2px;
}

.player-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.player-btn svg {
  width: 14px;
  height: 14px;
}

.player-btn:hover {
  background: rgba(211, 175, 55, 0.15);
  color: var(--color-gold);
}

.player-btn-play {
  width: 30px;
  height: 30px;
  background: var(--color-gold);
  color: #0a0a0a;
}

.player-btn-play svg {
  width: 14px;
  height: 14px;
}

.player-btn-play:hover {
  background: #e8c34a;
  color: #0a0a0a;
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(211, 175, 55, 0.45);
}

.player-btn-play .icon-pause { display: none; }
.player-btn-play.playing .icon-play { display: none; }
.player-btn-play.playing .icon-pause { display: inline-block; }

.player-btn-list.active {
  background: rgba(211, 175, 55, 0.2);
  color: var(--color-gold);
}

/* Tracklist dropdown — drops below the bar, anchored to the player's right */
.tracklist {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  margin-top: 0;
  width: 320px;
  max-width: calc(100vw - var(--space-md) * 2);
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  max-height: 60vh;
  overflow-y: auto;
  z-index: 101;
}

.tracklist[hidden] { display: none; }

.tracklist-items {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  counter-reset: track;
}

.tracklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px var(--space-md);
  cursor: pointer;
  transition: background var(--transition-fast);
  counter-increment: track;
}

.tracklist-item::before {
  content: counter(track, decimal-leading-zero);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}

.tracklist-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tracklist-item.current {
  background: rgba(211, 175, 55, 0.1);
}

.tracklist-item.current::before,
.tracklist-item.current .tracklist-title {
  color: var(--color-gold);
}

.tracklist-title {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracklist-artist {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: calc(var(--header-height-mobile) + 50px + var(--space-xl)) var(--space-md) 14vh;
  position: relative;
  overflow: hidden;
}

/* Background Video Loop */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero > *:not(.hero-video) {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + 50px + var(--space-2xl));
  }
}

/* Rhodes Container - Large like reel-to-reel */
.rhodes-container {
  position: relative;
  width: 100%;
  max-width: 95vw;
  margin: 0 auto;
  padding: 0;
}

@media (min-width: 1200px) {
  .rhodes-container {
    max-width: 90vw;
  }
}

@media (min-width: 1600px) {
  .rhodes-container {
    max-width: 85vw;
  }
}

.rhodes-img {
  width: 100%;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

/* Interactive Knob (Desktop only) */
.knob-container {
  display: none;
  position: absolute;
  top: 50.8%;
  left: 27.5%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: grab;
}

@media (min-width: 768px) {
  .knob-container {
    display: block;
  }
}

.knob-container:active {
  cursor: grabbing;
}

.knob {
  width: 2.6vw;
  min-width: 20px;
  max-width: 45px;
  height: auto;
  display: block;
  transition: filter var(--transition-fast);
  pointer-events: none;
}

.knob.active {
  filter: brightness(1.2) drop-shadow(0 0 8px var(--color-accent-glow));
}

/* Volume Hint Arrow (Desktop only) */
.volume-hint {
  display: none;
  position: absolute;
  top: 38%;
  left: 27.5%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  z-index: 15;
  animation: hintBounce 2s ease-in-out infinite;
  pointer-events: none;
}

@media (min-width: 768px) {
  .volume-hint {
    display: flex;
  }
}

.volume-hint-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.volume-hint-arrow {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

@keyframes hintBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Hide hint when knob is being used */
.knob.active ~ .volume-hint,
.volume-display.visible ~ .volume-hint {
  opacity: 0;
}

/* Mobile Play Button */
.mobile-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 15;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 0 0 rgba(255, 255, 255, 0.4);
  animation: floatPulse 3s ease-in-out infinite;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.mobile-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.5),
    0 0 0 10px rgba(255, 255, 255, 0.1);
}

.mobile-play-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

@keyframes floatPulse {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
    box-shadow:
      0 10px 40px rgba(0, 0, 0, 0.4),
      0 0 0 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.3),
      0 0 0 8px rgba(255, 255, 255, 0.1);
  }
}

.mobile-play-btn svg {
  width: 28px;
  height: 28px;
  color: var(--color-bg);
}

.mobile-play-btn .play-icon {
  margin-left: 4px;
}

.mobile-play-btn .pause-icon {
  display: none;
}

.mobile-play-btn.playing .play-icon {
  display: none;
}

.mobile-play-btn.playing .pause-icon {
  display: block;
}

/* Hide mobile play button on desktop */
@media (min-width: 768px) {
  .mobile-play-btn {
    display: none;
  }
}

/* Volume Display (Desktop only) */
.volume-display {
  display: none;
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity var(--transition-base);
  background: rgba(10, 10, 10, 0.95);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .volume-display {
    display: block;
  }
}

.volume-display.visible {
  opacity: 1;
}

.volume-value {
  font-weight: 600;
  color: var(--color-accent);
}

/* Sponsor Marquee Banner */
.marquee-banner {
  width: 100%;
  overflow: hidden;
  margin-top: var(--space-xl);
  padding: var(--space-md) 0;
  background: transparent;
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-text {
  font-family: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-streaming-bar);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.marquee-spacer {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--color-streaming-bar);
  margin: 0 var(--space-xl);
  opacity: 0.5;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.marquee-banner:hover .marquee-track {
  animation-play-state: paused;
}

/* Hero Text */
.hero-text {
  text-align: center;
  margin-top: var(--space-xl);
}

.hero-tagline {
  font-size: clamp(0.875rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   SECTIONS - General
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* View More Link */
.view-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-top: var(--space-xl);
  transition: all var(--transition-fast);
}

.view-more:hover {
  gap: var(--space-md);
}

.view-more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.view-more:hover svg {
  transform: translateX(4px);
}

/* ========================================
   ABOUT TEASER
   ======================================== */
.about-teaser {
  background: var(--color-bg-elevated);
}

.about-content {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg-elevated) 0%, transparent 30%);
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

/* ========================================
   MUSIC TEASER
   ======================================== */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}

/* Higher specificity so music.css's own .releases-grid rules can't override
   the home-page centering when Turbo has both stylesheets loaded together. */
.music-teaser .releases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 1120px;
  margin: 0 auto;
  justify-content: center;
}

@media (min-width: 768px) {
  .releases-grid,
  .music-teaser .releases-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
  }
}

.release-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.release-card:hover {
  transform: translateY(-4px);
}

.release-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.release-card:hover img {
  transform: scale(1.05);
}

.release-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.release-card:hover .release-overlay {
  opacity: 1;
}

.release-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.release-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ========================================
   VIDEO TEASER
   ======================================== */
.video-teaser {
  background: var(--color-bg-elevated);
}

.video-featured {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}

.video-featured iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   TOUR DATES / CALENDAR TEASER
   ======================================== */
.tour-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tour-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.tour-item:hover {
  border-color: var(--color-accent);
  transform: translateX(4px);
}

.tour-date {
  text-align: center;
  min-width: 60px;
}

.tour-day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.tour-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.tour-info h4 {
  margin-bottom: var(--space-xs);
}

.tour-venue {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.btn-tickets {
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  border: 1px solid var(--color-button);
  color: var(--color-button);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-tickets:hover {
  background: var(--color-button);
  color: var(--color-bg);
}

/* ========================================
   DEBUG PANEL - Press D to toggle
   ======================================== */
.debug-panel {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 10, 10, 0.95);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-accent);
  font-size: 0.875rem;
  z-index: 1000;
  backdrop-filter: blur(10px);
  min-width: 280px;
}

.debug-panel.visible {
  display: block;
}

.debug-title {
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.debug-panel > div {
  margin: var(--space-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.debug-panel label {
  min-width: 40px;
  color: var(--color-text-muted);
}

.debug-panel input[type="range"] {
  flex: 1;
  cursor: pointer;
  accent-color: var(--color-accent);
}

.debug-panel span {
  min-width: 45px;
  text-align: right;
  font-family: monospace;
  color: var(--color-accent);
}

.debug-hint {
  margin-top: var(--space-md) !important;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  font-style: italic;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  filter: invert(1);
}

@media (min-width: 768px) {
  .footer-logo-img {
    height: 60px;
  }
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ========================================
   PLAY OVERLAY (for audio autoplay)
   ======================================== */
.play-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.98);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 300;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.play-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  transition: transform var(--transition-fast);
}

.play-button:hover {
  transform: scale(1.05);
}

.play-icon {
  width: 100px;
  height: 100px;
  border: 2px solid var(--color-text);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto var(--space-lg);
  transition: all var(--transition-base);
}

.play-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-text);
  margin-left: 4px;
}

.play-button:hover .play-icon {
  background: var(--color-text);
}

.play-button:hover .play-icon svg {
  fill: var(--color-bg);
}

.play-text {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}
