:root {
  --radius: 6px;
  --max-width: 1200px;

  /* Palette pulled from the cover art (cassette-on-orange): dominant vivid
     orange, a deep rust shadow tone, and the cassette body's warm cream. */
  --bg: #0a0a0a;
  --bg-alt: #161210;
  --text: #dcdacc;
  --text-muted: #9a9186;
  --accent: #fd6a02;
  --accent-2: #a31906;
  --accent-gradient: linear-gradient(135deg, #fd6a02 0%, #a31906 100%);
  --accent-contrast: #fff8f0;
  --border: #2a2320;
  --highlight: #a31906;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header — transparent over hero, solidifies on scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text);
}
.logo:hover { text-decoration: none; color: var(--accent); }

.primary-nav { display: flex; gap: 32px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.primary-nav a { color: var(--text); }
.primary-nav a:hover { color: var(--accent); text-decoration: none; }

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

/* Full-bleed hero cover */
.hero-cover {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a0a0a url('../assets/sanjay-vaani-hd-music-cover.jpg') center/cover no-repeat;
}
.hero-cover-overlay {
  position: absolute;
  inset: 0;
  /* Cover art is a bright orange flat-lay with a white cassette dead center —
     vignette darkens the middle (where the title sits) while letting the
     vivid orange edges show through. */
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 35%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0.25) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 100%);
}
.hero-cover-content { position: relative; z-index: 1; padding: 0 20px; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 20px;
  display: inline-block;
}
.hero-cover h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  margin: 0;
}
.hero-tag {
  margin: 20px 0 32px;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-cta { display: flex; justify-content: center; gap: 16px; }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-size: 1.4rem;
  animation: bob 1.8s ease-in-out infinite;
  z-index: 1;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--accent);
  background: none;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent-gradient); color: var(--accent-contrast); border-color: transparent; }
.btn-primary:hover { opacity: 0.88; }
.btn-outline:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.btn-social {
  border-color: var(--border);
  color: var(--text-muted);
  width: 100%;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}
.btn-social:disabled { cursor: not-allowed; opacity: 0.5; }

.placeholder-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 0 12px;
}

/* Section titles */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-desc { color: var(--text-muted); max-width: 60ch; }

/* Music — song embed wrapper (used on per-song pages) */
.music-section { padding: 100px 0 60px; }
.placeholder-embed {
  aspect-ratio: 16 / 5;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  margin-bottom: 8px;
}

/* Upcoming */
.upcoming-section { position: relative; overflow: hidden; padding: 60px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.upcoming-section .container { position: relative; z-index: 1; }
.upcoming-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; }
.upcoming-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.upcoming-date { color: var(--highlight); font-weight: bold; font-size: 0.9rem; }

/* Connect */
.connect-section { padding: 80px 0; text-align: center; }
.connect-section .section-desc { margin: 0 auto 32px; }
.social-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }

/* Feedback (used on per-song pages) */
.feedback-section {
  position: relative;
  padding: 120px 0 80px;
  background: var(--bg-alt);
  overflow: hidden;
}
.notes-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.notes-bg .note {
  position: absolute;
  bottom: -40px;
  font-size: 1.5rem;
  color: color-mix(in srgb, var(--accent) 35%, transparent);
  animation: float-note linear infinite;
}
.notes-bg .note:nth-child(1) { left: 8%; animation-duration: 9s; animation-delay: 0s; font-size: 1.8rem; }
.notes-bg .note:nth-child(2) { left: 24%; animation-duration: 12s; animation-delay: 2s; }
.notes-bg .note:nth-child(3) { left: 48%; animation-duration: 10s; animation-delay: 4s; font-size: 2.2rem; }
.notes-bg .note:nth-child(4) { left: 68%; animation-duration: 13s; animation-delay: 1s; }
.notes-bg .note:nth-child(5) { left: 86%; animation-duration: 11s; animation-delay: 3s; font-size: 1.6rem; }
@keyframes float-note {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-420px) rotate(20deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .notes-bg .note { animation: none; display: none; }
}
.feedback-inner { position: relative; z-index: 1; max-width: 620px; }
.feedback-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feedback-form fieldset { border: none; padding: 0; margin: 0; }
.feedback-form legend { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; padding: 0; }
.feedback-form label { font-size: 0.9rem; color: var(--text-muted); }
.feedback-form input[type="text"],
.feedback-form input[type="tel"],
.feedback-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  margin-top: 6px;
}
.feedback-form input:focus,
.feedback-form textarea:focus { outline: none; border-color: var(--accent); }
.social-buttons { display: flex; flex-direction: column; gap: 10px; }
.divider { display: flex; align-items: center; text-align: center; color: var(--text-muted); margin: 16px 0; font-size: 0.85rem; }
.divider::before, .divider::after { content: ""; flex: 1; border-bottom: 1px solid var(--border); }
.divider span { padding: 0 12px; }
.guest-fields { display: flex; flex-direction: column; gap: 12px; }
.required { color: var(--highlight); }
.optional { color: var(--text-muted); font-weight: normal; }
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { font-size: 1.8rem; color: var(--border); cursor: pointer; transition: color 0.15s ease; }
.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label { color: var(--highlight); }
.form-note { color: var(--accent); font-size: 0.9rem; }

/* Song page hero (per-song pages) */
.song-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #1a1a1a, #0a0a0a 70%);
}
.song-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%);
}
.song-hero-content { position: relative; z-index: 1; padding: 48px 24px; max-width: var(--max-width); margin: 0 auto; width: 100%; }
.song-hero-content .back-link { display: inline-block; margin-bottom: 16px; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.song-hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: 0.85rem; color: var(--text-muted); }
.footer-inner { display: flex; justify-content: center; text-align: center; }

/* Responsive */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .primary-nav.open { display: flex; }
}
