:root {
  --bg: #0a0a12;
  --bg-alt: #0f0f1a;
  --surface: #15151f;
  --surface-2: #1c1c29;
  --border: #2a2a3a;
  --text: #f2f1f7;
  --text-dim: #a3a1b3;
  --accent: #ff2e93;
  --accent-2: #22e5ff;
  --grad: linear-gradient(90deg, var(--accent), var(--accent-2));
  --shadow-glow: 0 0 40px rgba(255, 46, 147, 0.35);
  --radius: 14px;
  --max-w: 1100px;
  --header-bg: rgba(10, 10, 18, 0.65);
  --header-border: rgba(255, 255, 255, 0.06);
  --header-border-strong: rgba(255, 255, 255, 0.12);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f2f2f7;
  --surface: #ffffff;
  --surface-2: #ececf3;
  --border: #e2e2ea;
  --text: #14141c;
  --text-dim: #63636f;
  --shadow-glow: 0 0 40px rgba(255, 46, 147, 0.2);
  --header-bg: rgba(255, 255, 255, 0.72);
  --header-border: rgba(0, 0, 0, 0.08);
  --header-border-strong: rgba(0, 0, 0, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0;
  transition: color 0.15s ease;
}
.theme-toggle:hover { color: var(--text); }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

h1, h2, h3, .logo {
  font-family: var(--font-heading);
  margin: 0;
}

p { margin: 0 0 1em; color: var(--text-dim); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.section-sub {
  max-width: 560px;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #0a0a12;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: 0 0 55px rgba(255, 46, 147, 0.5); }

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover { border-color: var(--accent-2); }

.btn-small {
  padding: 9px 18px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.btn-small:hover { border-color: var(--accent); color: var(--accent); }

.btn-full { width: 100%; padding: 15px; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--header-border-strong); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-text span { color: var(--accent); }
.logo-img {
  height: 34px;
  width: auto;
  display: none;
}
.logo-img.visible { display: block; }
.logo-text.hidden { display: none; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: #0a0a12 !important;
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.3;
  transition: background-color 0.25s ease;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 46, 147, 0.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(34, 229, 255, 0.22), transparent 45%);
  filter: blur(20px);
  z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, -3%) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * {
    opacity: 0;
    animation: hero-fade-up 0.9s ease forwards;
  }
  .hero-inner .eyebrow { animation-delay: 0.05s; }
  .hero-inner .hero-title { animation-delay: 0.2s; }
  .hero-inner .hero-tagline { animation-delay: 0.4s; }
  .hero-inner .hero-actions { animation-delay: 0.55s; }
  .hero-inner .hero-socials { animation-delay: 0.7s; }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 0.95;
  font-weight: 700;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
  max-width: 520px;
  font-size: 1.15rem;
  margin-bottom: 34px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-socials {
  display: flex;
  gap: 14px;
}

.icon-link {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.15s ease;
  font-size: 0.75rem;
  font-weight: 700;
}
.icon-link:hover {
  color: #0a0a12;
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Sections spacing */
section:not(.hero) { padding: 110px 0; position: relative; z-index: 1; }
.bio { background: var(--bg-alt); }
.events { background: var(--bg-alt); }

/* Bio */
.bio-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}

.photo-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  padding: 3px;
  background: var(--grad);
}

.photo-placeholder {
  height: 100%;
  width: 100%;
  border-radius: 11px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-dim);
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.photo-placeholder svg { color: var(--accent-2); opacity: 0.7; }
.photo-placeholder span { font-size: 0.85rem; }
.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-frame:hover .photo-placeholder img { transform: scale(1.04); }

.bio-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }

.bio-stats {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 28px 0 0;
  padding: 0;
}
.bio-stats li { display: flex; flex-direction: column; }
.bio-stats strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bio-stats span { font-size: 0.8rem; color: var(--text-dim); }

/* Mixes */
.mix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.mix-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.mix-card:hover { border-color: rgba(255,46,147,0.4); transform: translateY(-3px); }

.play-btn {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #0a0a12;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
}

.mix-card.playing .play-btn .icon-play { display: none; }
.mix-card:not(.playing) .play-btn .icon-pause { display: none !important; }
.mix-card.playing .play-btn .icon-pause { display: block !important; }

.eq { display: none; gap: 3px; align-items: flex-end; height: 16px; }
.mix-card.playing .play-btn svg { display: none; }
.mix-card.playing .eq { display: flex; }
.eq i {
  width: 3px;
  background: #0a0a12;
  animation: eq 0.9s ease-in-out infinite;
}
.eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 100%; animation-delay: 0.15s; }
.eq i:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.eq i:nth-child(4) { height: 80%; animation-delay: 0.45s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.mix-info { flex: 1; min-width: 0; }
.mix-card .btn-small { flex-shrink: 0; }
.mix-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.mix-meta { margin: 0; font-size: 0.85rem; color: var(--text-dim); }

/* Events */
.event-list { display: flex; flex-direction: column; gap: 14px; }

.event-row {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.15s ease;
}
.event-row:hover { border-color: rgba(34,229,255,0.4); }
.event-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.event-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-radius: 10px;
  background: var(--surface-2);
}
.event-date .day { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; }
.event-date .month { font-size: 0.7rem; text-transform: uppercase; color: var(--accent-2); letter-spacing: 0.08em; }

.event-details { flex: 1; }
.event-details h3 { font-size: 1.05rem; margin-bottom: 4px; }
.event-details p { margin: 0; font-size: 0.88rem; }

/* Merch */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.merch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.merch-card:hover { border-color: rgba(255,46,147,0.4); transform: translateY(-3px); }

.merch-photo {
  aspect-ratio: 1/1;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-align: center;
  overflow: hidden;
  padding: 16px;
}
.merch-photo span { font-size: 0.8rem; }
.merch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.merch-card:hover .merch-photo img { transform: scale(1.06); }

.merch-card h3 { font-size: 1rem; }
.merch-price { margin: 0; font-size: 0.9rem; color: var(--accent-2); font-weight: 600; }

/* Booking */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}
.contact-line span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.contact-line a { font-size: 1.05rem; font-weight: 600; }
.contact-line a:hover { color: var(--accent-2); }

/* Availability calendar */
.availability {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 340px;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-month {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}
.cal-nav {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}
.cal-nav:hover { border-color: var(--accent-2); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-nav:disabled:hover { border-color: var(--border); }
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border-radius: 7px;
}
.cal-empty { visibility: hidden; }
.cal-past { color: var(--text-dim); opacity: 0.35; }
.cal-open {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cal-open:hover { border-color: var(--accent-2); transform: translateY(-1px); }
.cal-booked {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  text-decoration: line-through;
  border: 1px solid rgba(248, 113, 113, 0.35);
  cursor: not-allowed;
}
.cal-legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.cal-legend-item { display: flex; align-items: center; gap: 6px; }
.cal-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.cal-dot-open { background: var(--grad); }
.cal-dot-booked { background: #f87171; }

.booking-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-split { flex-direction: row; gap: 18px; }
.form-row-split > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }

label { font-size: 0.82rem; color: var(--text-dim); }

input, select, textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}

.form-status {
  margin: 0;
  font-size: 0.88rem;
  min-height: 1.2em;
  color: var(--accent-2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-inner p { margin: 0; font-size: 0.85rem; }
.footer-inner .icon-link { width: 34px; height: 34px; font-size: 0.65rem; }

/* Responsive */
@media (max-width: 900px) {
  .bio-grid, .booking-grid { grid-template-columns: 1fr; }
  .photo-frame { max-width: 320px; margin: 0 auto 12px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 380px; }
  .nav-links li { width: 100%; }
  .nav-links a, .nav-links .theme-toggle { display: block; padding: 16px 24px; width: 100%; text-align: left; }
  .nav-cta { border-radius: 0; text-align: center; }
  .nav-toggle { display: flex; }

  .form-row-split { flex-direction: column; }
  .event-row { flex-wrap: wrap; }
}
