/* ===== Tokens ===== */
:root {
  --bg-void: #140b26;
  --bg-deep: #1b1030;
  --bg-panel: #241536;
  --bg-panel-2: #2c1a42;
  --purple: #6b4fb0;
  --purple-soft: #8a6fd0;
  --pink: #ff5fa8;
  --orange: #ff9d5c;
  --moon: #ffcf8a;
  --cream: #f5ead9;
  --cream-dim: #cbb9d8;
  --border: rgba(255, 235, 210, 0.12);
  --shadow-glow: 0 0 40px rgba(255, 95, 168, 0.25);
  --radius: 18px;
  --font-display: "Press Start 2P", monospace;
  --font-body: "Poppins", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(255, 157, 92, 0.10), transparent 45%),
    radial-gradient(ellipse at 85% 10%, rgba(255, 95, 168, 0.10), transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(107, 79, 176, 0.18), transparent 55%);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(20, 11, 38, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  padding: 8px 0;
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mascot {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 95, 168, 0.5));
}
.brand-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--cream);
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream-dim);
  transition: color 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--pink); }
.main-nav a.active { color: var(--pink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #1b1030;
  box-shadow: 0 8px 24px rgba(255, 95, 168, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 95, 168, 0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../images/Hero%20Visualizer%20Loop.jpg");
  background-size: cover;
  background-position: center 65%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,11,38,0.55) 0%, rgba(20,11,38,0.35) 40%, rgba(20,11,38,0.95) 100%),
    linear-gradient(90deg, rgba(20,11,38,0.75) 0%, rgba(20,11,38,0.15) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 90px;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: var(--orange);
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 700;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--cream-dim);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-eq {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  opacity: 0.85;
}
.hero-eq span {
  width: 6px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--pink), var(--orange));
  animation: eqBounce 1.2s ease-in-out infinite;
}
.hero-eq span:nth-child(1) { height: 18px; animation-delay: 0s; }
.hero-eq span:nth-child(2) { height: 34px; animation-delay: 0.15s; }
.hero-eq span:nth-child(3) { height: 22px; animation-delay: 0.3s; }
.hero-eq span:nth-child(4) { height: 44px; animation-delay: 0.45s; }
.hero-eq span:nth-child(5) { height: 26px; animation-delay: 0.2s; }
.hero-eq span:nth-child(6) { height: 38px; animation-delay: 0.35s; }
.hero-eq span:nth-child(7) { height: 16px; animation-delay: 0.1s; }

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

/* ===== Section shared ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  margin: 0 0 12px;
  color: var(--cream);
}
.section-sub {
  color: var(--cream-dim);
  margin: 0 0 48px;
  font-size: 1.05rem;
}

/* ===== Listen ===== */
.listen-embed {
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-glow);
}
.listen-embed iframe { display: block; }

.listen-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ===== Discography ===== */
.discog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
}
.discog-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.discog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.discog-cover {
  aspect-ratio: 1 / 1;
  position: relative;
  background: var(--bg-panel-2);
}
.discog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.discog-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}
.discog-body { padding: 18px 20px 22px; }
.discog-title { font-weight: 600; margin: 0 0 4px; font-size: 1.05rem; }
.discog-meta { color: var(--cream-dim); font-size: 0.85rem; margin: 0; }

.discog-card-coming { border-color: rgba(255, 157, 92, 0.4); }
.discog-card-coming .discog-meta { color: var(--orange); font-weight: 600; }
.coming-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  color: #1b1030;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.discog-more {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ===== Page hero (secondary pages) ===== */
.page-hero {
  padding: 160px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 12px;
  font-weight: 700;
}
.page-hero .eyebrow { text-align: center; }
.page-hero .hero-sub { max-width: 100%; margin: 0 auto; text-align: center; }

/* ===== Legal pages ===== */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 40px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: var(--cream-dim);
  margin: 0 0 16px;
}
.legal-content ul {
  color: var(--cream-dim);
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--pink); text-decoration: underline; }
.legal-content a:hover { color: var(--orange); }
.legal-content strong { color: var(--cream); }

/* ===== Merch (reuses .discog-grid / .discog-card layout) ===== */
.merch-price { color: var(--orange); font-weight: 600; margin: 0 0 14px; font-size: 0.95rem; }
.discog-card .btn { width: 100%; justify-content: center; padding: 10px 20px; font-size: 0.85rem; }

/* ===== Newsletter ===== */
.newsletter-section {
  background: linear-gradient(180deg, transparent, rgba(107,79,176,0.12));
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  flex-wrap: wrap;
}
.newsletter-mascot {
  width: 140px;
  filter: drop-shadow(0 0 30px rgba(255,95,168,0.3));
  flex-shrink: 0;
}
.newsletter-copy { flex: 1; min-width: 260px; }
.newsletter-copy .section-sub { margin-bottom: 28px; }

/* Reskin the MailerLite embed to match the site theme. */
#mlb2-43790187.ml-form-embedContainer { display: block; }
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper {
  background: transparent !important;
  width: 100% !important;
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
  max-width: 420px;
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
  padding: 0;
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent {
  margin: 0;
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow {
  margin: 0 0 12px 0;
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  background-color: rgba(255,255,255,0.05) !important;
  color: var(--cream) !important;
  border-color: var(--border) !important;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  padding: 14px 20px !important;
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus {
  outline: none;
  border-color: var(--pink) !important;
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder,
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::-webkit-input-placeholder,
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::-moz-placeholder {
  color: var(--cream-dim);
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button {
  background: linear-gradient(135deg, var(--pink), var(--orange)) !important;
  color: #1b1030 !important;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover {
  background: linear-gradient(135deg, var(--pink), var(--orange)) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 95, 168, 0.5);
}
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4,
#mlb2-43790187.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p {
  color: var(--cream) !important;
  font-family: var(--font-body);
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 22px;
}
.footer-links a { color: var(--cream-dim); font-size: 0.9rem; }
.footer-links a:hover { color: var(--pink); }
.footer-copy { color: var(--cream-dim); font-size: 0.85rem; margin: 0; }

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--cream-dim);
}
.footer-legal a { color: var(--cream-dim); }
.footer-legal a:hover { color: var(--pink); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-media { background-image: url("../images/Mobile%20Hero%20Loop.jpg"); background-position: center 30%; }
  .hero-content { padding-top: 70px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(20, 11, 38, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--border);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }

  .section { padding: 70px 0; }
  .listen-embed { padding: 10px; }
  .newsletter-inner { padding: 32px 24px; text-align: center; justify-content: center; }
  .newsletter-copy { text-align: left; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .listen-links { flex-direction: column; }
  .listen-links .btn { justify-content: center; }
}
