/* SLMM Radio – Coming Soon (V2 Relaunch)
   Pure HTML/CSS/JS, no external libs
*/

:root{
  --bg: #070812;
  --bg2:#0b0b14;
  --fg:#eaf1ff;
  --muted: rgba(234,241,255,.72);
  --muted2: rgba(234,241,255,.55);
  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.10);
  --stroke: rgba(255,255,255,.12);
  --shadow: 0 30px 80px rgba(0,0,0,.55);

  --pink:#ff3bd7;
  --violet:#7c3cff;
  --blue:#00d4ff;
  --cyan:#38ffd8;
  --orange:#ff7a3d;

  --radius: 18px;
  --radius2: 26px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--fg);
  background: radial-gradient(1200px 700px at 15% 20%, rgba(124,60,255,.18), transparent 60%),
              radial-gradient(900px 600px at 85% 30%, rgba(0,212,255,.12), transparent 55%),
              radial-gradient(900px 700px at 55% 95%, rgba(255,59,215,.10), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

/* Background */
.bg{ position:fixed; inset:0; z-index:-1; pointer-events:none; }
.bg__grid{
  position:absolute; inset:-2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity:.12;
  transform: perspective(800px) rotateX(65deg) translateY(-140px);
  transform-origin: top;
  filter: blur(.2px);
  animation: gridMove 12s linear infinite;
}
@keyframes gridMove{
  0%{ background-position: 0 0, 0 0; }
  100%{ background-position: 240px 0, 0 240px; }
}
.bg__glow{
  position:absolute; inset:-30%;
  background:
    radial-gradient(circle at 25% 35%, rgba(255,59,215,.18), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(0,212,255,.14), transparent 45%),
    radial-gradient(circle at 55% 70%, rgba(124,60,255,.14), transparent 55%);
  filter: blur(30px);
  opacity:.9;
}
#stars{ position:absolute; inset:0; width:100%; height:100%; }

/* Layout */
.topbar{
  position:sticky;
  top:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 20px;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10,10,22,.72), rgba(10,10,22,.25));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.toplink{
  color:var(--fg);
  text-decoration:none;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background: rgba(255,255,255,.04);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.toplink:hover{
  transform: translateY(-1px);
  border-color: rgba(0,212,255,.35);
  background: rgba(0,212,255,.08);
}

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  letter-spacing:.2px;
  font-weight:600;
}
.dot{
  width:10px; height:10px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cyan));
  box-shadow: 0 0 18px rgba(56,255,216,.55);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform:scale(1); opacity:.9; }
  50%{ transform:scale(1.25); opacity:1; }
}

.wrap{
  width:min(1200px, calc(100% - 40px));
  margin:0 auto;
  padding:28px 0 36px;
}

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
}
@media (max-width: 980px){
  .hero{ grid-template-columns:1fr; }
}

.hero__brand{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  padding:28px;
  position:relative;
  overflow:hidden;
}
.hero__brand::before{
  content:"";
  position:absolute; inset:-40%;
  background: conic-gradient(from 130deg, rgba(255,59,215,.22), rgba(0,212,255,.16), rgba(124,60,255,.20), rgba(255,122,61,.12), rgba(255,59,215,.22));
  filter: blur(40px);
  opacity:.35;
  animation: spin 10s linear infinite;
}
@keyframes spin{
  to{ transform: rotate(360deg); }
}
.logo{
  width:min(520px, 100%);
  height:auto;
  display:block;
  margin: 4px 0 18px;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.55));
}
.headline{ position:relative; z-index:1; }
h1{
  margin:0;
  font-size: clamp(38px, 4.2vw, 64px);
  letter-spacing: .5px;
  line-height: 1.05;
}
.sub{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height:1.55;
  max-width: 64ch;
}

/* Glitch headline */
.glitch{
  position:relative;
  display:inline-block;
  text-shadow: 0 0 16px rgba(0,212,255,.25);
}
.glitch::before, .glitch::after{
  content: attr(data-text);
  position:absolute;
  left:0; top:0;
  width:100%;
  overflow:hidden;
  clip-path: inset(0 0 0 0);
  opacity:.85;
}
.glitch::before{
  transform: translate(2px,-1px);
  color: rgba(255,59,215,.85);
  animation: glitch1 2.7s infinite linear alternate-reverse;
}
.glitch::after{
  transform: translate(-2px,1px);
  color: rgba(0,212,255,.85);
  animation: glitch2 3.1s infinite linear alternate-reverse;
}
@keyframes glitch1{
  0%{ clip-path: inset(10% 0 84% 0); }
  10%{ clip-path: inset(46% 0 28% 0); }
  20%{ clip-path: inset(72% 0 10% 0); }
  30%{ clip-path: inset(8% 0 70% 0); }
  40%{ clip-path: inset(58% 0 18% 0); }
  50%{ clip-path: inset(26% 0 46% 0); }
  60%{ clip-path: inset(78% 0 6% 0); }
  70%{ clip-path: inset(18% 0 54% 0); }
  80%{ clip-path: inset(64% 0 14% 0); }
  90%{ clip-path: inset(32% 0 42% 0); }
  100%{ clip-path: inset(52% 0 22% 0); }
}
@keyframes glitch2{
  0%{ clip-path: inset(78% 0 6% 0); }
  10%{ clip-path: inset(18% 0 54% 0); }
  20%{ clip-path: inset(64% 0 14% 0); }
  30%{ clip-path: inset(32% 0 42% 0); }
  40%{ clip-path: inset(52% 0 22% 0); }
  50%{ clip-path: inset(10% 0 84% 0); }
  60%{ clip-path: inset(46% 0 28% 0); }
  70%{ clip-path: inset(72% 0 10% 0); }
  80%{ clip-path: inset(8% 0 70% 0); }
  90%{ clip-path: inset(58% 0 18% 0); }
  100%{ clip-path: inset(26% 0 46% 0); }
}

/* Panel */
.hero__panel{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  padding:18px;
}
.panel{ padding:10px; }
.panel__title{
  font-weight:700;
  letter-spacing:.4px;
  color:rgba(234,241,255,.92);
  margin: 2px 0 10px;
  text-transform: uppercase;
  font-size: 12px;
}

/* Progress */
.progress{
  padding:14px 14px 12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
}
.progress__bar{
  height:12px;
  border-radius: 999px;
  width:0%;
  background:
    linear-gradient(90deg, rgba(255,59,215,.95), rgba(124,60,255,.95), rgba(0,212,255,.95));
  box-shadow: 0 0 18px rgba(0,212,255,.18);
}
.progress__meta{
  display:flex;
  justify-content:space-between;
  margin-top:10px;
  font-weight:700;
}
.muted{ color: var(--muted2); font-weight:600; }

/* Countdown */
.countdown{
  margin-top:16px;
  padding:14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.countdown__title{
  font-weight:700;
  letter-spacing:.4px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(234,241,255,.92);
}
.countdown__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-top:10px;
}
@media (max-width: 520px){
  .countdown__grid{ grid-template-columns: repeat(2, 1fr); }
}
.cd{
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding:12px 10px;
  text-align:center;
}
.cd__num{
  font-size: 30px;
  font-weight:800;
  letter-spacing:.5px;
  line-height:1.1;
  background: linear-gradient(90deg, rgba(255,59,215,.95), rgba(0,212,255,.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cd__label{
  margin-top:4px;
  font-size: 12px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight:700;
}
.hint{
  margin: 10px 2px 0;
  color: var(--muted2);
  font-size: 13px;
  line-height:1.45;
}

/* Buttons */
.cta{
  display:flex;
  gap:10px;
  margin-top:14px;
}
.btn{
  flex:1;
  border:none;
  cursor:pointer;
  padding:12px 14px;
  border-radius: 16px;
  font-weight:800;
  letter-spacing:.2px;
  color: #06101a;
  background: linear-gradient(90deg, rgba(0,212,255,.95), rgba(56,255,216,.95));
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .15s ease, filter .2s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn:active{ transform: translateY(0); }
.btn--ghost{
  color: var(--fg);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
}
.btn--ghost:hover{
  border-color: rgba(255,59,215,.35);
  background: rgba(255,59,215,.08);
}

/* Mini EQ */
.mini{
  margin-top:14px;
  padding:14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.15);
  display:flex;
  gap:14px;
  align-items:center;
}
.eq{
  width: 86px;
  height: 34px;
  display:flex;
  align-items:flex-end;
  gap:5px;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.eq span{
  display:block;
  width: 7px;
  height: 40%;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,59,215,.95), rgba(0,212,255,.85));
  animation: beat 1.2s ease-in-out infinite;
}
.eq span:nth-child(2){ animation-delay:.1s }
.eq span:nth-child(3){ animation-delay:.22s }
.eq span:nth-child(4){ animation-delay:.05s }
.eq span:nth-child(5){ animation-delay:.18s }
.eq span:nth-child(6){ animation-delay:.3s }
.eq span:nth-child(7){ animation-delay:.12s }
.eq span:nth-child(8){ animation-delay:.26s }
@keyframes beat{
  0%,100%{ height: 24%; opacity:.85; }
  50%{ height: 95%; opacity:1; }
}
.mini__title{ font-weight:800; }
.mini__desc{ color:var(--muted2); margin-top:2px; font-size: 13px; line-height:1.35; }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
@media (max-width: 980px){
  .cards{ grid-template-columns:1fr; }
}
.card{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  position:relative;
  overflow:hidden;
}
.card::after{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,59,215,.20), transparent 40%),
              radial-gradient(circle at 70% 60%, rgba(0,212,255,.14), transparent 42%);
  filter: blur(30px);
  opacity:.7;
}
.card__icon{
  font-size: 22px;
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  position:relative;
  z-index:1;
}
.card h2{
  margin:12px 0 6px;
  font-size: 18px;
  position:relative;
  z-index:1;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height:1.5;
  font-size: 14px;
  position:relative;
  z-index:1;
}

/* Footer */
.footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:18px;
  padding:16px 4px 0;
  color: rgba(234,241,255,.70);
  font-size: 13px;
}
.footer__right{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.footer__link{
  color: rgba(234,241,255,.86);
  text-decoration:none;
  border-bottom: 1px dashed rgba(255,255,255,.25);
}
.footer__link:hover{ border-bottom-color: rgba(0,212,255,.55); }
.sep{ opacity:.6; }

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: rgba(10,10,22,.78);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 10px 14px;
  color: rgba(234,241,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast--show{
  opacity:1;
  transform: translateX(-50%) translateY(-4px);
}

/* Modal */
.modal{
  border:none;
  padding:0;
  background: transparent;
}
.modal::backdrop{
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
}
.modal__inner{
  width: min(560px, calc(100vw - 28px));
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.35));
  box-shadow: 0 35px 100px rgba(0,0,0,.65);
  overflow:hidden;
}
.modal__head{
  padding:14px 14px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.modal__title{ font-weight:900; letter-spacing:.2px; }
.modal__close{
  width:40px; height:40px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--fg);
  cursor:pointer;
}
.modal__body{ padding:14px; color: var(--muted); line-height:1.55; }
.modal__foot{ padding: 0 14px 14px; }
