:root {
  --blue: #1800a9;
  --blue-deep: #12007f;
  --red: #bd0045;
  --red-bright: #df0c4b;
  --white: #ffffff;
  --soft: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.24);
  --shadow: rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(145deg, var(--blue), var(--blue-deep));
}

button,
input {
  font: inherit;
}

input[type="range"] {
  accent-color: var(--red-bright);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 1.35rem clamp(1rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(18, 0, 127, 0.92), rgba(18, 0, 127, 0));
}

.site-nav {
  display: flex;
  gap: 0.4rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 0, 119, 0.72);
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.16);
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--red);
  outline: 0;
}

.stage {
  width: min(100%, 68rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 5rem clamp(1rem, 3vw, 2rem) 3rem;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  min-height: 13.75rem;
  padding-top: 0;
  text-align: center;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: clamp(8.5rem, 15vw, 11rem);
  aspect-ratio: 1;
  margin-top: 0.4rem;
  color: var(--white);
  background: var(--red);
  font-size: clamp(3.5rem, 6vw, 4.25rem);
  line-height: 1;
  clip-path: polygon(50% 0%, 56% 5%, 63% 2%, 68% 8%, 75% 6%, 79% 14%, 87% 14%,
      90% 22%, 97% 25%, 96% 33%, 100% 39%, 95% 45%, 100% 52%,
      94% 58%, 96% 66%, 89% 70%, 87% 78%, 79% 78%, 75% 86%,
      68% 84%, 62% 91%, 56% 88%, 50% 94%, 44% 88%, 38% 91%,
      32% 84%, 25% 86%, 21% 78%, 13% 78%, 11% 70%, 4% 66%,
      6% 58%, 0% 52%, 5% 45%, 0% 39%, 4% 33%, 3% 25%,
      10% 22%, 13% 14%, 21% 14%, 25% 6%, 32% 8%, 37% 2%, 44% 5%);
}

.hero h1 {
  margin: 1.5rem 0 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 400;
}

.tagline {
  margin: 0;
  color: var(--soft);
  text-transform: uppercase;
  font-size: 0.84rem;
}

.radio-console {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin-top: 0;
}

.search-box {
  width: min(100%, 31.25rem);
}

.search-box label {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--soft);
  text-align: center;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.search-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  min-height: 4.35rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 0, 119, 0.72);
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.16);
}

.search-control input,
.search-control button {
  min-height: 3.1rem;
  border: 0;
}

.search-control input {
  width: 100%;
  padding: 0 1.25rem;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: 1px solid rgba(255, 255, 255, 0.16);
}

.search-control input::-webkit-search-cancel-button {
  cursor: pointer;
}

.search-control input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.search-control button {
  padding: 0 1.35rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
  text-transform: uppercase;
}

.search-control button:hover,
.search-control button:focus-visible {
  background: var(--red-bright);
  outline: 0;
}

.now-playing {
  min-height: 1.9rem;
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  text-transform: uppercase;
}

.player-shell {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 0.55rem;
  width: min(100%, 39rem);
  min-height: 5.4rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 0, 119, 0.92);
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3);
}



.skip-button,
.play-button,
.volume-button {
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.skip-button:hover,
.skip-button:focus-visible,
.play-button:hover,
.play-button:focus-visible,
.volume-button:hover,
.volume-button:focus-visible {
  border-radius: 999px;
  background: var(--red);
  outline: 0;
}



.previous-icon,
.next-icon {
  position: relative;
  display: block;
  width: 2.35rem;
  height: 2.2rem;
}

.previous-icon::before,
.previous-icon::after,
.next-icon::before,
.next-icon::after {
  content: "";
  position: absolute;
  top: 0.1rem;
  width: 0;
  height: 0;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
}

.previous-icon::before {
  left: 0;
  border-right: 1rem solid var(--white);
}

.previous-icon::after {
  left: 0.95rem;
  border-right: 1rem solid var(--white);
}

.next-icon::before {
  right: 0.95rem;
  border-left: 1rem solid var(--white);
}

.next-icon::after {
  right: 0;
  border-left: 1rem solid var(--white);
}

.play-button {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
}

.pause-icon {
  width: 1.65rem;
  height: 3rem;
  border-left: 0.28rem solid var(--white);
  border-right: 0.28rem solid var(--white);
}

.play-button.is-paused .pause-icon {
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
  border-left: 1.6rem solid var(--white);
  border-right: 0;
}

.volume-control {
  display: flex;
  align-items: center;
  justify-self: end;
  width: 3.25rem;
  height: 4rem;
  overflow: hidden;
  border-radius: 999px;
  transition: width 180ms ease, background 180ms ease;
}

.volume-control:hover,
.volume-control:focus-within {
  width: 13.5rem;
  background: rgba(189, 0, 69, 0.5);
}

.volume-button {
  flex: 0 0 3.25rem;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 4rem;
}

.volume-icon {
  position: relative;
  display: block;
  width: 1.55rem;
  height: 1.5rem;
}

.volume-icon::before {
  content: "";
  position: absolute;
  top: 0.36rem;
  left: 0;
  width: 0.45rem;
  height: 0.78rem;
  background: var(--white);
}

.volume-icon::after {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.42rem;
  width: 0;
  height: 0;
  border-top: 0.63rem solid transparent;
  border-bottom: 0.63rem solid transparent;
  border-right: 0.9rem solid var(--white);
}

.volume-panel {
  position: static;
  display: grid;
  grid-template-columns: 1fr 3rem;
  align-items: center;
  gap: 0.55rem;
  width: 9.75rem;
  padding: 0 0.8rem 0 0;
  opacity: 0;
  transform: translateX(-0.4rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.volume-control:hover .volume-panel,
.volume-control:focus-within .volume-panel {
  opacity: 1;
  transform: translateX(0);
}

.volume-panel label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.volume-control label,
.volume-value {
  color: var(--soft);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.volume-panel input {
  width: 100%;
  cursor: pointer;
  z-index: 1;
}

.volume-value {
  z-index: 1;
  text-align: right;
}

.status-line {
  min-height: 1.25rem;
  color: var(--soft);
  font-size: 0.9rem;
  text-align: center;
}

.station-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, auto));
  gap: 1rem;
  width: min(100%, 56rem);
  margin-top: 0.3rem;
  justify-content: center;
}

.station-card {
  display: grid;
  align-content: end;
  gap: 0.5rem;
  aspect-ratio: 2 / 3;
  min-height: 15rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(0deg, rgba(15, 0, 119, 0.92), rgba(15, 0, 119, 0.16) 68%),
    var(--red);
  box-shadow: 0 1.1rem 2rem rgba(0, 0, 0, 0.18);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
}

.station-card:hover,
.station-card:focus-visible,
.station-card.is-active {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(0deg, rgba(189, 0, 69, 0.94), rgba(189, 0, 69, 0.2) 70%),
    var(--blue);
  outline: 0;
}

.station-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.station-meta {
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.info-section {
  width: min(100%, 48rem);
  margin: 5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  margin-bottom: 80px;
}

.info-section h2 {
  margin: 0 0 0.8rem;
  font-size: 1.55rem;
  font-weight: 400;
}

.info-section p {
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}

@media (max-width: 720px) {
  .site-header {
    min-height: 4.75rem;
    padding: 0.9rem 0.75rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 0.75rem;
  }

  .stage {
    padding-top: 4.8rem;
  }

  .hero {
    min-height: 11.5rem;
  }

  .search-control {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0.55rem;
    border-radius: 1.1rem;
  }

  .player-shell {
    grid-template-columns: 1fr 3.25rem 1fr 2.75rem;
    min-height: 5rem;
    padding: 0.6rem 0.8rem 0.6rem 1.2rem;
    border-radius: 1.6rem;
  }

  .volume-control {
    width: 2.75rem;
  }

  .volume-control:hover,
  .volume-control:focus-within {
    width: 11.5rem;
  }

  .volume-button {
    flex-basis: 2.75rem;
    width: 2.75rem;
  }

  .volume-panel {
    width: 8.5rem;
    padding-right: 0.65rem;
  }

  .volume-control:hover .volume-panel,
  .volume-control:focus-within .volume-panel {
    transform: translateX(0);
  }
}