:root {
  --bg: #08080c;
  --bg-alt: #0f0f16;
  --surface: #14141d;
  --border: rgba(255,255,255,0.08);
  --text: #f2f2f5;
  --text-dim: #9a9aa8;
  --text-faint: #62626f;
  --accent-1: #ff2d75;
  --accent-2: #7c3aed;
  --accent-3: #22d3ee;
  --gradient: linear-gradient(90deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent-2); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a35; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a48; }

a { color: inherit; }

.demo-badge {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 500;
  padding: 0.5rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: rgba(20,20,29,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  padding: 1.1rem 0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8,8,12,0.75);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 0.8rem 0;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-size: 1.1rem;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-cta {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: -2;
  animation: drift 16s ease-in-out infinite alternate;
}

.hero-glow--1 {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: -10%; left: -8%;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
}

.hero-glow--2 {
  width: 40vw; height: 40vw;
  max-width: 560px; max-height: 560px;
  bottom: -15%; right: -10%;
  background: radial-gradient(circle, var(--accent-1), transparent 70%);
  animation-delay: -8s;
}

@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(4%, 6%) scale(1.08); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  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");
}

.hero-content {
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  max-width: 780px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 60px rgba(124,58,237,0.35));
}

.hero-tagline {
  margin: 1.6rem auto 0;
  max-width: 480px;
  color: var(--text-dim);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(255,45,117,0.55);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(255,45,117,0.7); }

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

.btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); }

.eq {
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 26px;
  opacity: 0.7;
}

.eq span {
  width: 3px;
  border-radius: 2px;
  background: var(--gradient);
  animation: eq 1.2s ease-in-out infinite;
}

.eq span:nth-child(1){height:40%;animation-delay:-1.1s}
.eq span:nth-child(2){height:80%;animation-delay:-0.9s}
.eq span:nth-child(3){height:55%;animation-delay:-0.7s}
.eq span:nth-child(4){height:100%;animation-delay:-0.5s}
.eq span:nth-child(5){height:65%;animation-delay:-1.3s}
.eq span:nth-child(6){height:90%;animation-delay:-0.3s}
.eq span:nth-child(7){height:45%;animation-delay:-0.6s}
.eq span:nth-child(8){height:70%;animation-delay:-1s}

@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-faint);
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Sections ---------- */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6.5rem 2rem;
}

.section-alt {
  max-width: 100%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 3rem; max-width: 620px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
}

.section-sub { color: var(--text-dim); margin-top: 0.6rem; }

/* ---------- Stats ---------- */

.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.stats-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: var(--text-dim); }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text { color: var(--text-dim); font-size: 1.05rem; max-width: 60ch; }

.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; align-content: flex-start; }

.tag {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  white-space: nowrap;
}

/* ---------- Mixes ---------- */

.mix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mix-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.mix-card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-3px); }

.mix-play {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mix-play:hover { transform: scale(1.08); }
.mix-play svg { margin-left: 2px; }

.mix-info h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.mix-meta { color: var(--text-faint); font-size: 0.85rem; }

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
}

.waveform span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-3));
  opacity: 0.5;
  border-radius: 2px;
}

.waveform span:nth-child(4n+1) { height: 40%; }
.waveform span:nth-child(4n+2) { height: 90%; }
.waveform span:nth-child(4n+3) { height: 60%; }
.waveform span:nth-child(4n)   { height: 75%; }

.mix-card:hover .waveform span { opacity: 0.9; }

/* ---------- Events ---------- */

.event-list { display: flex; flex-direction: column; gap: 1rem; }

.event-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.event-card:hover { border-color: rgba(255,255,255,0.18); transform: translateX(4px); }

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

.event-date .d { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.event-date .m { font-size: 0.72rem; text-transform: uppercase; color: var(--text-dim); letter-spacing: 0.05em; }

.event-info { flex: 1; }
.event-info h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.event-meta { color: var(--text-dim); font-size: 0.88rem; }

.event-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.event-link:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }

/* ---------- Social ---------- */

.socials { display: flex; flex-wrap: wrap; gap: 1rem; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }

/* ---------- Booking ---------- */

.booking-form {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.field { display: flex; flex-direction: column; gap: 0.5rem; }

.field label { font-size: 0.85rem; color: var(--text-dim); }

.field input, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}

.booking-form .btn { align-self: flex-start; margin-top: 0.4rem; }

.form-note { font-size: 0.88rem; color: var(--accent-3); min-height: 1.2em; }

/* ---------- Footer ---------- */

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 2.5rem 2rem 5rem;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.footer-credit {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit:hover { color: var(--text); }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 600;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .eq span, .scroll-hint { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .mix-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(8,8,12,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-cta { display: none; }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .field-row { grid-template-columns: 1fr; }
  .event-card { flex-wrap: wrap; }
}
