
:root {
  --gold: #ffd400;
  --gold-light: #ffe86a;
  --red: #ed1736;
  --text: #ffffff;
  --muted: rgba(255,255,255,.88);
  --meter-light: #ffd400;
  --meter-dark: rgba(117,92,0,.46);
  --volume-track: rgba(255,255,255,.28);
  --volume-fill: #ffd400;
  --play-ring: #ffd400;
  --overlay: .08;
  --volume-pct: 75%;
}

* { box-sizing: border-box; }
html, body { width:100%; height:100%; margin:0; }
body {
  overflow:hidden;
  background:#0a0a0a;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
button,input { font:inherit; }
button { -webkit-tap-highlight-color:transparent; }

.background,
.background-wash {
  position:fixed;
  inset:0;
}
.background {
  z-index:-3;
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}
.background-wash {
  z-index:-2;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.18)),
    rgba(0,0,0,var(--overlay));
}

.page-shell {
  width:100vw;
  height:100dvh;
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:18px;
}

.desktop-layout {
  width:min(1040px,calc(100vw - 36px));
  display:grid;
  grid-template-columns:minmax(0,1fr) 220px;
  align-items:center;
  gap:16px;
}

.radio-panel {
  min-width:0;
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  align-items:center;
  gap:20px;
  padding:18px 20px;
  border:1px solid rgba(255,212,0,.55);
  border-radius:26px;
  background:linear-gradient(180deg,rgba(8,8,8,.72),rgba(0,0,0,.56));
  box-shadow:
    0 18px 38px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.035);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.identity-column {
  min-width:0;
  display:grid;
  justify-items:center;
  align-content:center;
  text-align:center;
}

.station-logo {
  width:152px;
  max-width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.32));
}

.title-stack {
  display:grid;
  justify-items:center;
  gap:1px;
  margin-top:8px;
}
.title-stack h1 {
  margin:0;
  font-size:26px;
  line-height:.96;
  font-weight:900;
  letter-spacing:.025em;
  color:#fff;
  white-space:nowrap;
}
.station-frequency {
  font-size:43px;
  line-height:.92;
  font-weight:900;
  color:var(--gold);
  text-shadow:0 3px 12px rgba(0,0,0,.24);
}
.station-city {
  margin-top:4px;
  font-size:10px;
  letter-spacing:.34em;
  padding-left:.34em;
  color:var(--muted);
}

.player {
  width:100%;
  min-width:0;
  display:grid;
  justify-items:center;
  gap:10px;
}

.player-main-row {
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr);
  align-items:center;
  gap:14px;
}

.meters {
  height:78px;
  display:flex;
  align-items:center;
  gap:3px;
  min-width:0;
  overflow:hidden;
}
.meter-left { justify-content:flex-end; }
.meter-right { justify-content:flex-start; }
.meters i {
  display:block;
  width:4px;
  min-width:4px;
  height:var(--h);
  border-radius:999px;
  transform-origin:center;
  background:linear-gradient(180deg,var(--meter-light),var(--meter-dark));
  opacity:.9;
}
body.is-playing .meters i {
  animation:meterMove .92s ease-in-out var(--delay) infinite alternate;
}

.play-button {
  width:112px;
  height:112px;
  border-radius:50%;
  border:2px solid var(--play-ring);
  background:radial-gradient(circle at 45% 32%,#2e2e2e,#171717 40%,#050505 76%);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:
    0 0 0 5px rgba(255,212,0,.055),
    0 0 18px rgba(255,212,0,.12),
    0 12px 24px rgba(0,0,0,.34);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.play-button:hover {
  transform:scale(1.018);
  border-color:var(--red);
  box-shadow:
    0 0 0 5px rgba(237,23,54,.06),
    0 0 20px rgba(237,23,54,.14),
    0 12px 24px rgba(0,0,0,.34);
}
.play-button:active { transform:scale(.985); }
.play-button.needs-stream { animation:streamPulse .8s ease; }

#playGlyph {
  font-size:40px;
  line-height:1;
}
#playGlyph.bi-play-fill { transform:translateX(2px); }

.volume-row {
  width:min(340px,72%);
  display:grid;
  grid-template-columns:28px minmax(0,1fr) 28px;
  align-items:center;
  gap:9px;
}
.speaker-button {
  width:28px;
  height:28px;
  padding:0;
  border:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
}
.speaker-copy {
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
}
.speaker-icon {
  font-size:20px;
  color:#fff;
}

input[type="range"] {
  width:100%;
  height:4px;
  appearance:none;
  border-radius:999px;
  outline:none;
  background:linear-gradient(
    to right,
    var(--volume-fill) 0 var(--volume-pct),
    var(--volume-track) var(--volume-pct) 100%
  );
}
input[type="range"]::-webkit-slider-thumb {
  appearance:none;
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.6);
  background:#fff4df;
  box-shadow:0 2px 7px rgba(0,0,0,.24);
}
input[type="range"]::-moz-range-thumb {
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.6);
  background:#fff4df;
}

.links-box {
  width:220px;
  padding:14px 12px 12px;
  border-radius:20px;
  border:1px solid rgba(255,212,0,.6);
  background:linear-gradient(180deg,rgba(8,8,8,.72),rgba(0,0,0,.58));
  box-shadow:
    0 16px 30px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.025);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:grid;
  justify-items:center;
  gap:10px;
}

.links-box-head {
  width:100%;
  text-align:center;
  padding-bottom:9px;
  border-bottom:1px solid rgba(255,212,0,.42);
}
.links-box-head h2 {
  margin:0;
  font-size:20px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
}
.links-box-head p {
  margin:6px 0 0;
  font-size:8px;
  letter-spacing:.24em;
  padding-left:.24em;
  color:var(--muted);
}

.socials {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.social-link {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(10,10,10,.72);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.social-link:hover {
  transform:translateY(-2px);
  border-color:var(--gold);
  box-shadow:0 0 12px rgba(255,212,0,.10);
}
.social-icon {
  font-size:1.16rem;
  line-height:1;
}
.social-link[aria-label="Facebook"] .social-icon { color:#3f82ff; }
.social-link[aria-label="Instagram"] .social-icon { color:#ff4d8d; }
.social-link[aria-label="YouTube"] .social-icon { color:#ff334d; }
.social-link[aria-label="Spotify"] .social-icon { color:#36d66f; }
.social-link[aria-label="WhatsApp"] .social-icon { color:#30d878; }
.social-link[aria-label="TikTok"] .social-icon { color:#fff; }

.noesplay-box {
  display:block;
  width:100%;
  border-radius:15px;
  overflow:hidden;
  border:1px solid rgba(255,212,0,.44);
  box-shadow:0 7px 16px rgba(0,0,0,.20);
}
.noesplay-box img {
  display:block;
  width:100%;
  height:auto;
}

@keyframes meterMove {
  from { transform:scaleY(.58); opacity:.58; }
  to { transform:scaleY(1); opacity:.96; }
}
@keyframes streamPulse {
  0%,100% { box-shadow:0 0 0 5px rgba(255,212,0,.055),0 0 18px rgba(255,212,0,.12),0 12px 24px rgba(0,0,0,.34); }
  50% { box-shadow:0 0 0 10px rgba(255,212,0,.11),0 0 20px rgba(255,212,0,.16),0 12px 24px rgba(0,0,0,.34); }
}

@media (max-width:900px) {
  body { overflow:auto; }
  .page-shell {
    min-height:100dvh;
    height:auto;
    padding:14px 10px;
  }
  .desktop-layout {
    width:min(720px,100%);
    grid-template-columns:1fr;
    gap:12px;
  }
  .links-box {
    width:min(320px,92%);
    justify-self:center;
  }
}

@media (max-width:560px) {
  .page-shell { padding:10px 9px; }
  .radio-panel {
    grid-template-columns:1fr;
    gap:12px;
    padding:13px 11px;
    border-radius:22px;
  }
  .identity-column {
    display:grid;
    grid-template-columns:82px minmax(0,1fr);
    column-gap:11px;
    align-items:center;
    width:100%;
  }
  .station-logo {
    width:82px;
    margin:0;
  }
  .title-stack {
    margin:0;
    justify-items:start;
    text-align:left;
  }
  .title-stack h1 {
    font-size:24px;
    white-space:normal;
  }
  .station-frequency { font-size:36px; }
  .station-city {
    font-size:9px;
    letter-spacing:.24em;
    padding-left:0;
  }
  .player-main-row {
    grid-template-columns:minmax(0,1fr) 88px minmax(0,1fr);
    gap:7px;
  }
  .play-button {
    width:88px;
    height:88px;
  }
  #playGlyph { font-size:30px; }
  .meters {
    height:58px;
    gap:2px;
  }
  .meters i {
    width:3px;
    min-width:3px;
  }
  .volume-row { width:min(300px,90%); }
  .links-box {
    width:min(290px,88%);
    padding:12px 10px 10px;
  }
}

@media (max-width:390px) {
  .identity-column { grid-template-columns:72px minmax(0,1fr); }
  .station-logo { width:72px; }
  .title-stack h1 { font-size:21px; }
  .station-frequency { font-size:32px; }
  .meters { display:none; }
  .player-main-row { grid-template-columns:1fr; justify-items:center; }
}
