:root{
  --bg:#02050d;
  --panel:rgba(5,12,25,.72);
  --panel2:rgba(7,16,33,.84);
  --line:rgba(60,145,255,.22);
  --blue:#0878ff;
  --blue2:#37a6ff;
  --white:#f7fbff;
  --muted:#9cafc8;
  --soft:#61728e;
  --shadow:0 0 44px rgba(0,119,255,.28);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--white);
  font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;
  min-height:100vh;
  overflow-x:hidden;
}

.noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:50;
  opacity:.07;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.page-glow{
  position:fixed;
  inset:-30%;
  background:
    radial-gradient(circle at 50% 8%,rgba(0,119,255,.18),transparent 35%),
    radial-gradient(circle at 95% 45%,rgba(0,91,255,.13),transparent 28%),
    radial-gradient(circle at 5% 55%,rgba(0,91,255,.12),transparent 28%);
  pointer-events:none;
}

.topbar{
  height:82px;
  padding:0 4.6vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:20;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,.85),
    rgba(0,0,0,.36),
    transparent
  );
  backdrop-filter:blur(18px);
}

.brand{
  display:flex;
  align-items:center;
  min-width:220px;
  text-decoration:none;
}

.brand-logo-img{
  display:block;
  width:260px;
  max-width:22vw;
  height:auto;
}

.nav{
  display:flex;
  gap:30px;
  text-transform:uppercase;
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
}

.nav a{
  color:white;
  text-decoration:none;
  opacity:.86;
  padding:30px 0;
  position:relative;
}

.nav a.active,
.nav a:hover{
  color:var(--blue2);
  opacity:1;
}

.nav a.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:20px;
  height:2px;
  background:var(--blue);
}

.top-actions{
  display:flex;
  align-items:center;
  gap:22px;
}

.listen-btn{
  border:1px solid rgba(0,127,255,.75);
  background:rgba(0,50,120,.15);
  color:white;
  height:44px;
  padding:0 20px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
  border-radius:3px;
  box-shadow:inset 0 0 22px rgba(0,119,255,.08);
  cursor:pointer;
  transition:.25s;
}

.listen-btn:hover,
.mega-play:hover{
  box-shadow:
    0 0 34px rgba(0,119,255,.55),
    inset 0 0 20px rgba(0,119,255,.18);
}

.play-icon{
  display:inline-block;
  margin-right:9px;
  border-left:11px solid var(--blue2);
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
  vertical-align:-1px;
}

.is-playing .play-icon{
  width:11px;
  height:14px;
  border:0;
  border-left:4px solid var(--blue2);
  border-right:4px solid var(--blue2);
  margin-right:9px;
}

.onair{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  color:var(--blue2);
  font-weight:900;
}

.onair i{
  width:7px;
  height:7px;
  border-radius:50%;
  display:inline-block;
  background:var(--blue);
  box-shadow:0 0 15px var(--blue);
  margin-right:9px;
}

/* HERO */

.hero{
  min-height:620px;
  position:relative;
  display:grid;
  place-items:center;
  isolation:isolate;
  overflow:hidden;
  padding-top:70px;

  background:
    linear-gradient(
      180deg,
      rgba(2,5,13,.20) 0%,
      rgba(2,5,13,.16) 36%,
      rgba(2,5,13,.60) 75%,
      rgba(2,5,13,.96) 100%
    ),
    url("../images/background.webp") center center / cover no-repeat;
}

.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 58%,rgba(0,119,255,.18),transparent 25%),
    linear-gradient(
      180deg,
      rgba(0,0,0,.12),
      rgba(0,0,0,.55)
    );
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:2;
  text-align:center;
  width:min(1160px,92vw);
  padding-top:24px;
}

.image-logo{
  display:block;
  text-align:center;
  line-height:0;
}

.hero-logo-img{
  display:block;
  width:min(1100px,86vw);
  height:auto;
  margin:0 auto;
  filter:drop-shadow(0 0 22px rgba(255,255,255,.15));
}

.tagline{
  margin:12px auto 45px;
  color:var(--blue2);
  text-transform:uppercase;
  letter-spacing:.48em;
  font-size:14px;
  font-weight:900;
}

.mega-play{
  width:120px;
  height:120px;
  border-radius:50%;
  border:2px solid var(--blue);
  background:rgba(0,20,50,.56);
  box-shadow:
    0 0 46px rgba(0,119,255,.62),
    inset 0 0 28px rgba(0,119,255,.26);
  cursor:pointer;
}

.mega-play span{
  display:block;
  margin-left:43px;
  border-left:36px solid white;
  border-top:24px solid transparent;
  border-bottom:24px solid transparent;
  filter:drop-shadow(0 0 12px white);
}

.stream-caption{
  color:var(--blue2);
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin:18px 0 6px;
}

.stream-subtitle{
  text-transform:uppercase;
  letter-spacing:.25em;
  font-size:13px;
  margin:0;
}

/* NOW PLAYING */

.now-card,
.panel{
  border:1px solid var(--line);
  background:linear-gradient(
    180deg,
    rgba(5,12,25,.82),
    rgba(3,8,17,.72)
  );
  box-shadow:
    0 0 0 1px rgba(255,255,255,.02),
    var(--shadow);
  backdrop-filter:blur(18px);
}

.now-card{
  width:min(1450px,94vw);
  margin:-50px auto 16px;
  border-radius:10px;
  position:relative;
  z-index:4;

  display:grid;
  grid-template-columns:170px 150px minmax(300px,1fr) 360px 180px;
  align-items:center;
  gap:22px;

  padding:14px 24px;
  min-height:132px;
}

.section-label,
.panel h2{
  color:var(--blue2);
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:900;
  font-size:15px;
}

.cover{
  width:126px;
  height:126px;
  border-radius:6px;

  background:
    radial-gradient(circle at 50% 30%,rgba(255,255,255,.25),transparent 14%),
    linear-gradient(135deg,#2e0e75,#0168ff 45%,#050a13 75%);

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;

  box-shadow:0 0 26px rgba(0,119,255,.35);
}

.cover span{
  font-weight:900;
  font-size:26px;
  font-style:italic;
  text-shadow:0 0 12px #fff;
}

.cover small{
  color:#aee0ff;
  text-transform:uppercase;
  font-weight:900;
}

.track-meta .artist{
  color:var(--blue2);
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin:0 0 6px;
}

.track-meta h1{
  font-size:28px;
  line-height:1.16;
  margin:0 0 6px;
}

.track-sub{
  margin:0;
  color:var(--muted);
}

#waveCanvas{
  width:100%;
  height:80px;
}

.now-actions{
  display:flex;
  gap:13px;
  justify-content:flex-end;
  align-items:center;
}

.icon-btn{
  background:transparent;
  border:0;
  color:white;
  font-size:30px;
  cursor:pointer;
}

/* DASHBOARD */

.dashboard{
  width:min(1450px,94vw);
  margin:0 auto 42px;

  display:grid;
  grid-template-columns:1.1fr 2fr 1.05fr;
  gap:16px;
  align-items:stretch;
}

.panel{
  border-radius:10px;
  padding:22px;
}

.panel-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
}

.panel-head a{
  color:var(--muted);
  text-transform:uppercase;
  font-size:11px;
  text-decoration:none;
  font-weight:900;
}

.track-list{
  display:grid;
}

.mini-track{
  display:grid;
  grid-template-columns:1fr auto;
  gap:3px 18px;

  border-bottom:1px solid rgba(255,255,255,.08);
  padding:14px 0;
}

.mini-track b{
  color:var(--blue2);
}

.mini-track span{
  color:var(--muted);
  grid-column:1;
}

.mini-track time{
  color:#c8d8ee;
  grid-row:1/3;
  grid-column:2;
  align-self:center;
}

/* SHOWS */

.show-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.show-card{
  height:205px;
  border:1px solid var(--line);
  border-radius:8px;
  padding:22px;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;

  overflow:hidden;
  position:relative;
  background:#06101f;
}

.show-card:before{
  content:"";
  position:absolute;
  inset:0;

  background:
    radial-gradient(circle at 50% 30%,rgba(0,119,255,.45),transparent 32%),
    linear-gradient(135deg,rgba(0,119,255,.1),rgba(255,0,180,.16));

  opacity:.9;
}

.show-card h3,
.show-card p,
.show-card span{
  position:relative;
  margin:0;
}

.show-card h3{
  font-size:23px;
}

.show-card p{
  color:var(--muted);
  margin-top:5px;
}

.show-card span{
  color:#c8d8ee;
  text-transform:uppercase;
  font-size:12px;
  margin-top:9px;
}

.italo:before{
  background:
    radial-gradient(circle at 52% 32%,rgba(255,0,210,.45),transparent 36%),
    linear-gradient(135deg,rgba(0,119,255,.1),rgba(255,0,130,.2));
}

.trance:before{
  background:
    radial-gradient(circle at 52% 32%,rgba(0,119,255,.5),transparent 36%),
    linear-gradient(135deg,rgba(0,119,255,.1),rgba(0,255,255,.15));
}

/* SCHEDULE */

.slot{
  display:grid;
  grid-template-columns:74px 1fr;
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:17px 0;
}

.slot time{
  color:var(--blue2);
  font-weight:900;
}

.slot b{
  color:white;
}

.slot span{
  grid-column:2;
  color:var(--muted);
}

/* ABOUT */

.about{
  width:min(1050px,92vw);
  margin:62px auto 80px;
  text-align:center;
}

.about h2{
  font-size:clamp(36px,5vw,70px);
  line-height:1.02;
  margin:0 0 18px;
}

.about p{
  color:var(--muted);
  font-size:20px;
  line-height:1.7;
}

/* RESPONSIVE */

@media (max-width:1200px){

  .nav{
    gap:18px;
    font-size:12px;
  }

  .now-card{
    grid-template-columns:130px 140px 1fr 260px 140px;
  }
}

@media (max-width:1050px){

  .nav{
    display:none;
  }

  .hero-logo-img{
    width:min(760px,88vw);
  }

  .tagline{
    letter-spacing:.2em;
    font-size:11px;
  }

  .now-card{
    grid-template-columns:1fr;
    gap:14px;
    text-align:center;
    margin-top:-25px;
  }

  .section-label{
    display:none;
  }

  .cover{
    margin:auto;
  }

  .now-actions{
    justify-content:center;
  }

  .dashboard{
    grid-template-columns:1fr;
  }

  .show-grid{
    grid-template-columns:1fr;
  }

  .topbar{
    height:70px;
  }

  .brand-logo-img{
    width:190px;
    max-width:45vw;
  }

  .top-actions .onair{
    display:none;
  }

  .listen-btn{
    padding:0 14px;
    font-size:11px;
  }
}

@media (max-width:620px){

  .topbar{
    padding:0 18px;
  }

  .hero{
    min-height:560px;
  }

  .mega-play{
    width:96px;
    height:96px;
  }

  .mega-play span{
    margin-left:34px;
    border-left-width:30px;
    border-top-width:20px;
    border-bottom-width:20px;
  }

  .track-meta h1{
    font-size:22px;
  }

  .panel{
    padding:18px;
  }

  .top-actions{
    display:none;
  }

  .brand-logo-img{
    width:150px;
  }

  .hero-logo-img{
    width:92vw;
  }
}

/* AFTERLIFE INFO */

.afterlife-block{
    position:relative;
    overflow:hidden;

    min-height:190px;

    padding-bottom:26px;
    margin-bottom:22px;

    border-bottom:1px solid rgba(255,255,255,.08);
}

.afterlife-block::before{
    content:"";
    position:absolute;
    inset:0;

    background:
        repeating-linear-gradient(
            180deg,
            rgba(255,255,255,.015) 0px,
            rgba(255,255,255,.015) 1px,
            transparent 1px,
            transparent 3px
        );

    opacity:.22;
    pointer-events:none;
}

.afterlife-text{
    position:relative;
    z-index:2;

    color:#ffffff;

    font-size:15px;
    line-height:1.8;
    font-weight:600;

    letter-spacing:.015em;

    max-width:82%;

    text-shadow:
        0 0 12px rgba(255,255,255,.05),
        0 0 24px rgba(0,119,255,.08);

    transition:opacity .35s ease;
}

.afterlife-block .panel-head{
    margin-bottom:22px;
}

.afterlife-block h2{
    color:var(--blue2);
}