:root{
  --station-color:#e52222;
  --station-color-dark:#9d1111;
  --station-text-on-color:#ffffff;
  --station-logo-bg:#ffffff;
  --page-bg:#111111;
  --page-max-width:860px;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
}

body{
  background:var(--page-bg);
  font-family:Arial, Helvetica, sans-serif;
  color:#111;
}

a{
  color:inherit;
  text-decoration:none;
}

.radio-page{
  max-width:var(--page-max-width);
  margin:0 auto;
  background:#fff;
  min-height:100vh;
  box-shadow:0 0 30px rgba(0,0,0,.35);
}

.sonic-source{
  position:absolute;
  left:-99999px;
  top:-99999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* HERO */

.hero{
  position:relative;
  min-height:620px;
  background:#111;
  overflow:hidden;
}

.topbar{
  position:absolute;
  z-index:5;
  left:0;
  top:0;
  width:100%;
  height:96px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
  padding:0 38px;
  background:linear-gradient(to bottom,rgba(0,0,0,.78),rgba(0,0,0,0));
  color:#fff;
}

.station-switch{
  font-size:20px;
  font-weight:800;
}

.menu-icon{
  width:42px;
  height:30px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.menu-icon span{
  display:block;
  height:5px;
  border-radius:10px;
  background:#fff;
}

.logo-badge{
  position:absolute;
  z-index:10;
  top:18px;
  left:38px;
  width:172px;
  height:172px;
  border-radius:50%;
  background:var(--station-logo-bg);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  overflow:hidden;
}

.logo-badge img{
  width:80%;
  height:80%;
  object-fit:contain;
}

.hero-cover{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  filter:saturate(1.05) contrast(1.04);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,rgba(0,0,0,.05) 0%,rgba(0,0,0,.12) 42%,rgba(0,0,0,.66) 100%),
    linear-gradient(to right,rgba(0,0,0,.58),rgba(0,0,0,.05) 55%,rgba(0,0,0,.32));
  z-index:1;
}

.hero-copy{
  position:absolute;
  z-index:4;
  left:38px;
  right:38px;
  bottom:52px;
  color:#fff;
}

.now-label{
  display:inline-block;
  padding:7px 12px;
  margin-bottom:14px;
  background:var(--station-color);
  color:var(--station-text-on-color);
  font-size:15px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.hero-title{
  margin:0;
  max-width:650px;
  font-size:46px;
  line-height:1.03;
  font-weight:950;
  text-shadow:0 4px 16px rgba(0,0,0,.55);
}

.hero-artist{
  margin:12px 0 0;
  max-width:650px;
  font-size:28px;
  line-height:1.08;
  font-weight:900;
  text-shadow:0 4px 16px rgba(0,0,0,.55);
}

/* PLAYER */

.player-strip{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
  padding:24px 38px;
  background:linear-gradient(90deg,var(--station-color-dark),var(--station-color));
  color:#fff;
}

.play-button{
  width:76px;
  height:76px;
  border:3px solid rgba(255,255,255,.92);
  border-radius:50%;
  background:transparent;
  color:#fff;
  font-size:32px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .15s ease, background .15s ease;
}

.play-button:hover{
  transform:scale(1.04);
}

.play-button.is-playing{
  background:rgba(255,255,255,.12);
}

.player-brand strong{
  display:block;
  font-size:23px;
  line-height:1;
  font-weight:950;
  text-transform:uppercase;
}

.player-brand span{
  display:block;
  margin-top:7px;
  font-size:16px;
  font-weight:600;
  opacity:.9;
}

.volume{
  display:flex;
  align-items:center;
  gap:14px;
}

/* Minimal volume icon */

.volume-icon{
  width:22px;
  height:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
}

.volume-icon svg{
  width:22px;
  height:22px;
  display:block;
}

.volume-icon path{
  fill:none;
  stroke:#fff;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.volume-icon path:first-child{
  fill:#fff;
  stroke:none;
}

.volume{
  display:flex;
  align-items:center;
  gap:12px;
}

.volume-range{
  width:150px;
}

.volume-wave{
  position:relative;
}
/* Minimal volume line */

.volume-range{
  -webkit-appearance:none;
  appearance:none;
  width:175px;
  height:2px;
  background:rgba(255,255,255,.75);
  border:0;
  outline:none;
  border-radius:999px;
  cursor:pointer;
}

.volume-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#fff;
  cursor:pointer;
  border:0;
  box-shadow:none;
}

.volume-range::-moz-range-thumb{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#fff;
  border:0;
  cursor:pointer;
  box-shadow:none;
}

.volume-range::-moz-range-track{
  background:rgba(255,255,255,.75);
  height:2px;
  border:0;
  border-radius:999px;
}

.live-pill{
  padding:9px 15px;
  border:2px solid rgba(255,255,255,.95);
  border-radius:999px;
  font-weight:950;
  font-size:16px;
}

/* RECENT */

.recent{
  padding:28px 38px 38px;
  background:#fff;
}

.recent-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.recent-head h2{
  margin:0;
  font-size:26px;
  line-height:1;
  font-weight:950;
  text-transform:uppercase;
}

.track{
  display:grid;
  grid-template-columns:94px 1fr 64px;
  align-items:center;
  gap:22px;
  padding:0 0 14px;
  margin-bottom:14px;
  border-bottom:1px solid #e2e2e2;
}

.track-cover{
  width:94px;
  height:94px;
  object-fit:cover;
  background:#eee;
}

.track-title{
  margin:0;
  font-size:21px;
  line-height:1.16;
  font-weight:950;
}

.track-artist{
  margin:6px 0 0;
  font-size:18px;
  line-height:1.15;
  font-weight:900;
  color:var(--station-color-dark);
}

.track-time{
  justify-self:end;
  font-size:19px;
  font-weight:900;
  color:var(--station-color-dark);
}

.track.compact{
  grid-template-columns:1fr 64px;
  gap:14px;
  padding:0 0 11px;
  margin-bottom:11px;
  align-items:center;
}

.track-compact-copy{
  min-width:0;
}

.track.compact .track-title{
  margin:0;
  font-size:18px;
  line-height:1.15;
}

.track.compact .track-artist{
  margin:4px 0 0;
  font-size:17px;
  line-height:1.15;
}

.empty{
  padding:22px 0;
  font-weight:900;
  color:#555;
}

/* FOOTER */

.footer{
  background:#050505;
  color:#fff;
  padding:38px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.footer h3{
  margin:0 0 22px;
  font-size:19px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.radios{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:15px;
  margin-bottom:24px;
}

.radio-logo{
  width:76px;
  height:76px;
  border-radius:50%;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.radio-logo img{
  width:80%;
  height:80%;
  object-fit:contain;
}

.all-radios{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border:2px solid var(--station-color);
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
}

.contact{
  border-left:1px solid rgba(255,255,255,.45);
  padding-left:38px;
}

.contact p{
  margin:0 0 12px;
  color:#e9e9e9;
  font-size:15px;
  line-height:1.45;
}

.contact a:hover,
.all-radios:hover{
  color:#fff;
  background:var(--station-color);
}

.socials{
  display:flex;
  gap:12px;
  margin-top:22px;
}

.socials a{
  width:42px;
  height:42px;
  border:2px solid var(--station-color);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
}

.copyright{
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.14);
  text-align:center;
  color:#ccc;
  font-size:13px;
}

/* RESPONSIVE */

@media(max-width:700px){
  .hero{
    min-height:560px;
  }

  .topbar{
    height:82px;
    padding:0 22px;
  }

  .station-switch{
    font-size:16px;
  }

  .logo-badge{
    top:14px;
    left:22px;
    width:132px;
    height:132px;
  }

  .hero-copy{
    left:22px;
    right:22px;
    bottom:38px;
  }

  .hero-title{
    font-size:34px;
  }

  .hero-artist{
    font-size:22px;
  }

  .player-strip{
    grid-template-columns:auto 1fr;
    gap:16px;
    padding:18px 22px;
  }

  .play-button{
    width:64px;
    height:64px;
    font-size:27px;
  }

  .player-brand strong{
    font-size:19px;
  }

  .player-brand span{
    font-size:14px;
  }

  .volume{
    grid-column:1 / -1;
    width:100%;
    justify-content:space-between;
  }

  .volume-range{
    flex:1;
    width:auto;
  }

  .recent{
    padding:24px 20px 30px;
  }

  .recent-head h2{
    font-size:24px;
  }

  .track{
    grid-template-columns:76px 1fr 54px;
    gap:16px;
  }

  .track-cover{
    width:76px;
    height:76px;
  }

  .track-title{
    font-size:19px;
  }

  .track-artist{
    font-size:16px;
  }

  .track-time{
    font-size:17px;
  }

  .track.compact{
    grid-template-columns:1fr 54px;
    gap:10px;
  }

  .track.compact .track-title{
    font-size:17px;
  }

  .track.compact .track-artist{
    font-size:15px;
  }

  .footer{
    padding:32px 22px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .contact{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.28);
    padding-left:0;
    padding-top:28px;
  }
}

@media(max-width:420px){
  .hero{
    min-height:520px;
  }

  .logo-badge{
    width:118px;
    height:118px;
  }

  .menu-icon{
    width:34px;
    height:25px;
  }

  .station-switch{
    display:none;
  }

  .hero-title{
    font-size:30px;
  }

  .hero-artist{
    font-size:19px;
  }

  .track{
    grid-template-columns:68px 1fr 48px;
    gap:12px;
  }

  .track-cover{
    width:68px;
    height:68px;
  }

  .track-title{
    font-size:17px;
  }

  .track-artist{
    font-size:15px;
  }

  .track.compact{
    grid-template-columns:1fr 48px;
  }
}

.station-menu-btn{
  width:42px;
  height:32px;
  border:0;
  background:transparent;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:0;
  cursor:pointer;
  z-index:20;
}

.station-menu-btn span{
  display:block;
  height:5px;
  border-radius:10px;
  background:#fff;
}

.station-switcher{
  position:absolute;
  top:76px;
  right:38px;
  z-index:30;
  width:250px;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  padding:10px;
  opacity:0;
  pointer-events:none;
  transform:translateY(-8px);
  transition:.2s ease;
}

.station-switcher.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.station-switcher a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  border-radius:10px;
  color:#fff;
  font-size:15px;
  font-weight:900;
}

.station-switcher a:hover{
  background:var(--station-color);
}

.station-switcher img{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#fff;
  object-fit:contain;
  padding:5px;
}

@media(max-width:700px){
  .station-switcher{
    top:70px;
    right:22px;
    width:230px;
  }
}