/* ── INDEX-SPECIFIC STYLES ── */

/* Hero */
.hero {
  position:relative;
  /* background-color: var(--bg); */
  min-height:100svh;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  overflow:hidden;
  padding:80px 1.4rem 2rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  display: block;
  max-width: unset;
}


/* [data-theme="light"] .hero-bg img { filter: brightness(.82) saturate(1.15); } */
/* [data-theme="dark"]  .hero-bg img { filter: brightness(.35) saturate(1); } */


[data-theme="light"] .hero-bg {
  /* filter:brightness(.82) saturate(1.15); */
  transition: filter var(--tr);
}
[data-theme="dark"]  .hero-bg {
  /* filter:brightness(.35) saturate(.65); */
  transition: filter var(--tr);
}

.hero-overlay {
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(175deg,rgba(194,223,241,.22) 0%,rgba(5,20,40,.08) 40%,rgba(5,20,40,.72) 100%);
  transition: background-color var(--tr);
}
[data-theme="dark"] .hero-overlay {
  background:linear-gradient(175deg,rgba(5,15,30,.5) 0%,rgba(5,15,30,.35) 40%,rgba(5,15,30,.88) 100%);
}

.hero-body {
  position:relative; z-index:2;
  width:100%; max-width:480px;
  display:flex; flex-direction:column;
  align-items:center; gap:1.4rem;
  text-align:center;
}

.hero-badge {
  display:inline-flex; align-items:center; gap:.45rem;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.35);
  border-radius:99px; padding:.38rem 1rem;
  font-size:.7rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:#fff;
  animation:fadeDown .7s .05s both;
}
.badge-dot {
  width:6px; height:6px; border-radius:50%; background:#ff5f5f;
  animation:blink 1.8s ease-in-out infinite;
}

.hero-title {
  font-family:'DM Serif Display',serif;
  font-size:clamp(2.6rem,9vw,4.8rem);
  line-height:1.06; color:#fff;
  text-shadow:0 2px 28px rgba(0,0,0,.3);
  animation:fadeDown .7s .15s both;
}
.hero-title em { font-style:italic; color:#7de8f5; }

.hero-sub {
  font-size:clamp(.88rem,3vw,1rem);
  font-weight:300; color:rgba(255,255,255,.82);
  line-height:1.65;
  animation:fadeDown .7s .25s both;
}

/* Player card */
.player {
  width:100%;
  /* background:var(--surface); */
  /* backdrop-filter:blur(1px); */
  /* -webkit-backdrop-filter:blur(1px); */
  /* border:1px solid rgba(255,255,255,.42); */
  border-radius:24px;
  padding:1.6rem 1.6rem 1.4rem;
  /* box-shadow:0 20px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18); */
  animation:fadeUp .8s .38s both;
  transition: background-color var(--tr);
}
.p-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:1.2rem;
}
.live-pill {
  display:flex; align-items:center; gap:.4rem;
  background:rgba(255,95,95,.12);
  border:1px solid rgba(255,95,95,.25);
  border-radius:99px; padding:.28rem .75rem;
  font-size:.65rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:#e05555;
}
.live-pill .ld { width:6px; height:6px; border-radius:50%; background:#e05555; }
.live-pill .ld.on { animation:blink 1.6s ease-in-out infinite; }
#liveStatus { color:var(--invertido); font-size:.7rem; font-weight:500; }

.station { margin-bottom:1.4rem; text-align:center; }
.station-name {
  font-family:'DM Serif Display',serif;
  font-size:1.5rem; color:var(--invertido); margin-bottom:.15rem;
}
.station-tag { font-size:.75rem; color:var(--invertido); font-weight:400; }
.now-playing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  margin-bottom: 1rem;
  min-height: 2.2rem;
}
.now-playing #titulo {
  font-size: .88rem;
  font-weight: 600;
  color: var(--invertido);
  text-align: center;
  line-height: 1.3;
}
.now-playing #artista {
  font-size: .75rem;
  color: var(--invertido);
  text-align: center;
}
/* Waveform */
.wave {
  display:flex; align-items:center; justify-content:center;
  gap:3px; height:32px; margin-bottom:1.3rem;
}
.wb { width:3px; border-radius:3px; background:var(--ondas); animation:wa 1.1s ease-in-out infinite; }
.wb:nth-child(1){animation-delay:0s}
.wb:nth-child(2){animation-delay:.12s}
.wb:nth-child(3){animation-delay:.24s}
.wb:nth-child(4){animation-delay:.36s}
.wb:nth-child(5){animation-delay:.24s}
.wb:nth-child(6){animation-delay:.12s}
.wb:nth-child(7){animation-delay:0s}
@keyframes wa { 0%,100%{height:4px;opacity:.35} 50%{height:30px;opacity:1} }
.wb.off { animation:none !important; height:4px !important; opacity:.25 !important; }

/* Play button */
.play-row {
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap:1.4rem; margin-bottom:1.4rem;
}
.play-btn {
  width:64px; height:64px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--accent),var(--acc2));
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 28px var(--glow);
  transition:transform .2s,box-shadow .2s;
  position:relative; flex-shrink:0;
}
.play-btn:hover { transform:scale(1.08); box-shadow:0 10px 36px var(--glow); }
.play-btn:active { transform:scale(.95); }
.play-btn svg { width:26px; height:26px; }
.play-btn.on::before {
  content:''; position:absolute; inset:-10px; border-radius:50%;
  border:2px solid var(--accent); opacity:0;
  animation:ring 2s ease-out infinite;
}
@keyframes ring { 0%{transform:scale(1);opacity:.5} 100%{transform:scale(1.75);opacity:0} }

/* Volume */
.vol-row { display:flex; justify-content: center; align-items:center; gap:.55rem; flex:1; max-width:110px; }
.vi { font-size:.95rem; color:var(--muted); cursor:pointer; user-select:none; }
input.vol {
  flex:1; appearance:none; height:3px; border-radius:2px; outline:none; cursor:pointer;
  background:linear-gradient(to right,var(--accent) var(--vp,80%),var(--border) var(--vp,80%));
}
input.vol::-webkit-slider-thumb {
  appearance:none; width:13px; height:13px; border-radius:50%;
  background:var(--accent); cursor:pointer;
  box-shadow:0 1px 6px var(--glow); transition:transform .15s;
}
input.vol::-webkit-slider-thumb:hover { transform:scale(1.35); }

/* FM badge */
.fm-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.32);
  border-radius:99px; padding:.45rem 1.1rem;
  font-size:.75rem; font-weight:400;
  color:rgba(255,255,255,.9); letter-spacing:.01em;
}
.fm-badge strong { font-weight:700; color:#fff; }
.fm-badge svg { opacity:.8; flex-shrink:0; }

/* Scroll cue */
.scroll-cue {
  position:relative; z-index:2; margin-top:.6rem;
  display:flex; flex-direction:column; align-items:center; gap:.35rem;
  color:rgba(255,255,255,.55);
  font-size:.65rem; letter-spacing:.14em; text-transform:uppercase;
  cursor:pointer;
  animation:bob 2.4s ease-in-out infinite;
}

/* Verse strip */
.verse-strip {
  background:linear-gradient(90deg,var(--accent),var(--acc2));
  padding:1.8rem 1.4rem; text-align:center;
}
.verse-strip blockquote {
  font-family:'DM Serif Display',serif; font-style:italic;
  font-size:clamp(1rem,3.5vw,1.35rem); color:#fff;
  max-width:620px; margin:0 auto .4rem; line-height:1.5;
}
.verse-strip cite { font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.72); }

/* Feature cards */
.features {
  padding:3rem 1.4rem;
  max-width:640px; margin:0 auto;
  display:flex; flex-direction:column; gap:1rem;
}
@media(min-width:600px) { .features { display:grid; grid-template-columns:1fr 1fr; } }

.feat-card {
  background:var(--surface-s);
  border:1px solid var(--border);
  border-radius:18px; padding:1.4rem;
  display:flex; align-items:flex-start; gap:1rem;
  box-shadow:var(--card-sh);
  transition: background-color var(--tr),transform .22s,box-shadow .22s;
}
.feat-card:hover { transform:translateY(-3px); box-shadow:0 16px 40px rgba(10,40,70,.14); }
.feat-ic {
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:1.3rem;
  background:linear-gradient(135deg,rgba(14,127,192,.12),rgba(9,184,196,.12));
}
.feat-text h3 { font-size:.92rem; font-weight:600; color:var(--text); margin-bottom:.3rem; }
.feat-text p  { font-size:.78rem; color:var(--muted); line-height:1.65; font-weight:300; }

/* About teaser */
.about-teaser {
  padding:2.8rem 1.4rem 3rem;
  max-width:640px; margin:0 auto; text-align:center;
}
.section-tag {
  font-size:.65rem; font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; color:var(--accent); margin-bottom:.6rem;
}
.section-h {
  font-family:'DM Serif Display',serif;
  font-size:clamp(1.7rem,5vw,2.6rem);
  color:var(--text); line-height:1.12; margin-bottom:1rem;
}
.section-h em { font-style:italic; color:var(--accent); }
.section-p { font-size:.9rem; color:var(--muted); line-height:1.8; font-weight:300; margin-bottom:1.6rem; }
.margin-0 { margin-bottom: 0;}
.btn-ghost {
  display:inline-flex; align-items:center; gap:.45rem;
  border:1.5px solid var(--accent); border-radius:99px;
  padding:.65rem 1.6rem; font-size:.8rem; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent); text-decoration:none;
  transition: background-color .2s,color .2s,transform .2s;
}
.btn-ghost:hover { background:var(--accent); color:#fff; transform:translateY(-2px); }