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

:root {
  --cream: #FFF8EE;
  --amber: #F5A623;
  --amber-dim: #C47D0A;
  --violet: #4A1D96;
  --violet-light: #7C3AED;
  --violet-dark: #2D0F5C;
  --charcoal: #1A1A2E;
  --ink: #0E0E1A;
  --mist: rgba(255, 248, 238, 0.06);
  --text: #E8DFD0;
  --text-dim: rgba(232, 223, 208, 0.55);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.9;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 3rem 6rem;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--violet-dark) 0%, var(--ink) 70%);
}

/* Prism light rays */
.prism-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ray {
  position: absolute;
  top: -20%;
  width: 120px;
  transform-origin: top center;
}
.ray::after {
  content: '';
  display: block;
  height: 140vh;
  border-radius: 2px;
  transform-origin: top center;
}
.ray-1 {
  left: 30%;
  transform: rotate(-18deg);
}
.ray-1::after {
  background: linear-gradient(to bottom, rgba(245, 166, 35, 0.18) 0%, transparent 80%);
}
.ray-2 {
  left: 32%;
  transform: rotate(-22deg);
}
.ray-2::after {
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.12) 0%, transparent 80%);
}
.ray-3 {
  left: 34%;
  transform: rotate(-15deg);
}
.ray-3::after {
  background: linear-gradient(to bottom, rgba(245, 166, 35, 0.10) 0%, transparent 80%);
}
.ray-4 {
  left: 28%;
  transform: rotate(-25deg);
}
.ray-4::after {
  background: linear-gradient(to bottom, rgba(74, 29, 150, 0.15) 0%, transparent 80%);
}

/* Floating orbs */
.hero-orb-container {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: floatOrb 8s ease-in-out infinite;
}
.orb-1 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.25), transparent 70%);
  top: -80px; left: -60px;
  animation-delay: 0s;
}
.orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.20), transparent 70%);
  top: 40px; left: 40px;
  animation-delay: -3s;
}
.orb-3 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15), transparent 70%);
  top: 120px; left: -20px;
  animation-delay: -6s;
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: left;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.88;
  color: var(--cream);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 3rem;
  font-weight: 300;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* === SECTION LABELS === */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 1rem;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--charcoal);
  padding: 8rem 3rem;
  display: flex;
  align-items: center;
  gap: 6rem;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(245, 166, 35, 0.06), transparent 60%);
  pointer-events: none;
}
.manifesto-inner { max-width: 680px; }
.manifesto-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 2.5rem;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 2.5rem;
  border-left: 3px solid var(--amber);
  padding-left: 1.5rem;
}
.manifesto-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* Prism decorative shape */
.manifesto-prism {
  flex-shrink: 0;
  width: 240px;
  height: 280px;
  position: relative;
}
.prism-shape {
  width: 100%;
  height: 100%;
  background: conic-gradient(
    from 200deg at 50% 50%,
    rgba(245, 166, 35, 0.8) 0deg,
    rgba(124, 58, 237, 0.8) 60deg,
    rgba(74, 29, 150, 0.8) 120deg,
    rgba(245, 166, 35, 0.8) 180deg,
    rgba(124, 58, 237, 0.6) 240deg,
    rgba(74, 29, 150, 0.8) 300deg,
    rgba(245, 166, 35, 0.8) 360deg
  );
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  opacity: 0.7;
  animation: prismSpin 20s linear infinite;
}
.prism-shape::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--charcoal);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
@keyframes prismSpin {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}

/* === SOUND === */
.sound {
  background: var(--ink);
  padding: 8rem 3rem;
}
.sound-header {
  text-align: center;
  margin-bottom: 5rem;
}
.sound-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.sound-sub {
  font-size: 1rem;
  color: var(--text-dim);
  font-style: italic;
  font-family: var(--font-display);
}
.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  max-width: 1100px;
  margin: 0 auto 3rem;
  border: 1px solid rgba(255,248,238,0.06);
}
.genre-card {
  background: var(--charcoal);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.genre-card:hover { background: #1F1F38; }
.genre-bar {
  height: 2px;
  width: 40px;
  margin-bottom: 1.5rem;
  border-radius: 1px;
}
.gbar-1 { background: linear-gradient(to right, var(--amber), var(--amber-dim)); }
.gbar-2 { background: linear-gradient(to right, var(--violet-light), var(--violet)); }
.gbar-3 { background: linear-gradient(to right, #8B5CF6, #6D28D9); }
.gbar-4 { background: linear-gradient(to right, rgba(245,166,35,0.5), rgba(245,166,35,0.2)); }
.gbar-5 { background: linear-gradient(to right, #A78BFA, #7C3AED); }
.gbar-6 { background: linear-gradient(to right, #FB923C, #C2410C); }
.genre-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.genre-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-dim);
  font-weight: 300;
}
.sound-note {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(232,223,208,0.3);
  max-width: 400px;
  margin: 0 auto;
  font-style: italic;
}

/* === SIGNAL / RADIO PLAYER === */
.signal {
  background: var(--charcoal);
  padding: 6rem 3rem;
  border-top: 1px solid rgba(255,248,238,0.06);
  border-bottom: 1px solid rgba(255,248,238,0.06);
}
.signal-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.signal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  transition: all 0.3s;
}
.signal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }
.signal-badge span { font-size:0.75rem;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;color:var(--amber) }

/* Player box */
.player-box {
  background: rgba(14,14,26,0.9);
  border: 1px solid rgba(255,248,238,0.1);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
}
.waveform { display:flex; align-items:flex-end; justify-content:center; gap:5px; height:60px; margin-bottom:1.5rem; }
.wave-bar { width:4px; background:var(--amber); border-radius:2px; animation:waveAnim 1.5s ease-in-out infinite; animation-play-state:paused; }
.w1{height:20px;animation-delay:0s} .w2{height:35px;animation-delay:0.1s} .w3{height:50px;animation-delay:0.2s}
.w4{height:30px;animation-delay:0.3s} .w5{height:45px;animation-delay:0.15s} .w6{height:55px;animation-delay:0.05s}
.w7{height:40px;animation-delay:0.25s} .w8{height:25px;animation-delay:0.35s} .w9{height:48px;animation-delay:0.1s}
.w10{height:32px;animation-delay:0.2s} .w11{height:55px;animation-delay:0s} .w12{height:38px;animation-delay:0.3s}
.w13{height:28px;animation-delay:0.15s} .w14{height:50px;animation-delay:0.05s} .w15{height:22px;animation-delay:0.25s}
@keyframes waveAnim { 0%,100%{transform:scaleY(1)} 50%{transform:scaleY(0.4)} }

.player-controls { display:flex; align-items:center; gap:1.5rem; }
.play-btn {
  flex-shrink:0; width:52px; height:52px; border-radius:50%;
  border:1px solid rgba(245,166,35,0.3); background:rgba(245,166,35,0.08);
  color:var(--amber); cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:all 0.2s;
}
.play-btn:hover { background:rgba(245,166,35,0.16); border-color:rgba(245,166,35,0.5); transform:scale(1.05); }
.play-btn:active { transform:scale(0.97); }

.track-info { flex:1; text-align:left; }
.track-name { font-family:var(--font-display); font-size:1.1rem; font-weight:700; color:var(--cream); margin-bottom:0.2rem; line-height:1.3; }
.track-meta { font-size:0.78rem; color:var(--text-dim); letter-spacing:0.06em; display:flex; align-items:center; gap:0.5rem; }
.track-sep { opacity:0.4; }
#genreTag { color:var(--amber); font-weight:500; }

.volume-control { display:flex; align-items:center; gap:0.6rem; color:var(--text-dim); }
#volumeSlider { -webkit-appearance:none; width:80px; height:3px; border-radius:2px; background:rgba(255,248,238,0.15); outline:none; cursor:pointer; }
#volumeSlider::-webkit-slider-thumb { -webkit-appearance:none; width:14px; height:14px; border-radius:50%; background:var(--amber); cursor:pointer; transition:transform 0.15s; }
#volumeSlider::-webkit-slider-thumb:hover { transform:scale(1.2); }

.now-playing { display:flex; align-items:center; justify-content:center; gap:0.8rem; font-size:0.8rem; margin-bottom:1.5rem; opacity:0.6; }
.now-playing-label { color:var(--amber); font-weight:500; letter-spacing:0.1em; text-transform:uppercase; font-size:0.68rem; }
.now-track { color:var(--cream); font-weight:500; }
.now-artist { color:var(--text-dim); }
.now-artist::before { content:'— '; opacity:0.5; }

.signal-note { font-size:0.88rem; color:var(--text-dim); font-style:italic; line-height:1.6; }

/* === SUBMIT === */
.submit {
  background: var(--ink);
  padding: 8rem 3rem;
  display: flex;
  align-items: center;
  gap: 8rem;
  position: relative;
  overflow: hidden;
}
.submit::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: 0;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.08), transparent 60%);
  pointer-events: none;
}
.submit-inner { max-width: 580px; }
.submit-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.submit-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 2rem;
}
.submit-rules {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.submit-rule {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.rule-check {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.submit-cta {
  font-size: 0.85rem;
  color: rgba(232,223,208,0.35);
  font-style: italic;
}

/* Spiral visual */
.submit-visual {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-spiral {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 50%;
  position: relative;
  animation: spiralSpin 30s linear infinite;
}
.submit-spiral::before {
  content: '';
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50%;
}
.submit-spiral::after {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(245, 166, 35, 0.12);
  border-radius: 50%;
}
@keyframes spiralSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === CLOSING === */
.closing {
  background: var(--charcoal);
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.07), transparent 60%);
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.closing-rings {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 3rem;
}
.ring {
  border-radius: 50%;
  border: 1px solid;
  animation: ringPulse 3s ease-in-out infinite;
}
.ring-1 { width: 60px; height: 60px; border-color: rgba(245, 166, 35, 0.5); animation-delay: 0s; }
.ring-2 { width: 90px; height: 90px; border-color: rgba(124, 58, 237, 0.4); animation-delay: -1s; }
.ring-3 { width: 120px; height: 120px; border-color: rgba(74, 29, 150, 0.3); animation-delay: -2s; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 1rem;
}

/* === FOOTER === */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,248,238,0.06);
  padding: 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.footer-note {
  font-size: 0.8rem;
  color: rgba(232, 223, 208, 0.3);
  max-width: 320px;
  text-align: right;
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; text-align: left; }
  .hero-orb-container { display: none; }
  .manifesto { padding: 5rem 1.5rem; flex-direction: column; gap: 3rem; }
  .manifesto-prism { width: 160px; height: 190px; }
  .sound { padding: 5rem 1.5rem; }
  .genre-grid { gap: 1px; }
  .submit { padding: 5rem 1.5rem; flex-direction: column; gap: 3rem; }
  .submit-visual { width: 200px; height: 200px; }
  .submit-spiral { width: 180px; height: 180px; }
  .closing { padding: 5rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-note { text-align: center; max-width: 100%; }
}
@media (max-width: 480px) {
  .nav-links a { font-size: 0.75rem; }
  .hero-title { font-size: 3.5rem; }
  .genre-card { padding: 1.5rem 1rem; }
}