/* ==========================================================
   RSTV Radio Portal — Landing Page (Radio Only)
   ========================================================== */

:root{
  --bg:#070614;
  --bg2:#0b0820;

  --text:#f6f4ff;
  --muted:rgba(255,255,255,.68);

  --border:rgba(255,255,255,.10);
  --shadow:0 18px 45px rgba(0,0,0,.45);

  --accent:#22d3ee;
  --purple:#a855f7;
  --blue:#3b82f6;

  --r:22px;
}

*{box-sizing:border-box}
html,body{height:100%}

body.rstv-portal{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 10% -10%, rgba(239,68,68,.26), transparent 60%),
    radial-gradient(900px 560px at 90% 10%, rgba(168,85,247,.20), transparent 60%),
    radial-gradient(900px 700px at 60% 110%, rgba(34,211,238,.12), transparent 60%),
    linear-gradient(180deg,var(--bg),var(--bg2));
}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 18px;
}

.page{
  padding:26px 0 60px;
}

/* ==========================================================
   Topbar
   ========================================================== */

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(12px);
  background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.15));
  border-bottom:1px solid rgba(255,255,255,.08);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand{
  text-decoration:none;
  color:inherit;
}

.brand__pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:
    0 10px 26px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.06);
}

.brand__dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 6px rgba(34,211,238,.18);
}

.brand__name{
  font-weight:900;
  letter-spacing:.01em;
}

/* ==========================================================
   Hero
   ========================================================== */

.hero{
  padding:12px 0 18px;
}

.hero h1{
  margin:0;
  font-size:40px;
  font-weight:1000;
  letter-spacing:-.02em;
}

.hero p{
  margin:10px 0 0;
  color:var(--muted);
  max-width:68ch;
}

/* ==========================================================
   Card Base
   ========================================================== */

.card{
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* ==========================================================
   Station Grid
   ========================================================== */

.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:10px;
}

/* Station is the interactive card */
.station{
  position:relative;
  display:block;
  padding:22px;
  text-decoration:none;
  color:inherit;

  border-radius:var(--r);
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  box-shadow:var(--shadow);

  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease;
}

/* Hover lift */
.station:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
}

/* Glow overlay (does NOT fight box-shadow) */
.station::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:calc(var(--r) + 2px);
  pointer-events:none;
  opacity:0;
  filter:blur(10px);
  transition:opacity .2s ease;
}

/* Subtle animated pulse on hover */
@keyframes rstvGlowPulseOpacity{
  0%{opacity:.22}
  50%{opacity:.42}
  100%{opacity:.22}
}

.station:hover::after{
  opacity:.3;
  animation:rstvGlowPulseOpacity 1.4s ease-in-out infinite;
}

/* Station-specific glows */
.station--dance:hover::after{
  background:radial-gradient(closest-side, rgba(168,85,247,.55), rgba(168,85,247,0) 70%);
}

.station--hits:hover::after{
  background:radial-gradient(closest-side, rgba(59,130,246,.55), rgba(59,130,246,0) 70%);
}

/* ==========================================================
   Station Head (Title + LIVE)
   ========================================================== */

.station__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.station__title{
  font-size:34px;
  font-weight:1000;
  color:#ffffff;
  letter-spacing:-.01em;
  line-height:1.05;
}

/* Title glows (subtle) */
.station--dance .station__title{
  text-shadow:
    0 0 10px rgba(168,85,247,.22),
    0 0 18px rgba(168,85,247,.12);
}

.station--hits .station__title{
  text-shadow:
    0 0 10px rgba(59,130,246,.22),
    0 0 18px rgba(59,130,246,.12);
}

.station__desc{
  margin-top:14px;
  color:var(--muted);
  line-height:1.45;
  font-size:18px;
}

/* ==========================================================
   Tag (LIVE / COMING SOON)
   ========================================================== */

.station__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:1000;
  letter-spacing:.14em;
  background:rgba(0,0,0,.30);
  border:1px solid rgba(255,255,255,.14);
  white-space:nowrap;
}

/* LIVE tag — readable */
.station__tag--live{
  background:linear-gradient(135deg, rgba(34,211,238,.30), rgba(59,130,246,.30));
  border:1px solid rgba(34,211,238,.55);
  color:#ffffff;
  text-shadow:0 1px 3px rgba(0,0,0,.78);
}

/* ==========================================================
   Now Playing Preview
   ========================================================== */

.np-preview{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:18px;
  padding:14px;
  border-radius:18px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
}

.np-preview__art{
  width:54px;
  height:54px;
  border-radius:14px;
  overflow:hidden;
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
}

.np-preview__art img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.np-preview__meta{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}

.np-preview__label{
  font-size:12px;
  font-weight:1000;
  letter-spacing:.12em;
  color:rgba(255,255,255,.58);
  text-transform:uppercase;
}

.np-preview__title{
  font-size:20px;
  font-weight:1000;
  color:#ffffff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.1;
}

.np-preview__artist{
  font-size:16px;
  font-weight:800;
  color:rgba(255,255,255,.70);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ==========================================================
   Bottom pills (Now Playing / Schedule / Catch up)
   ========================================================== */

.station__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-size:12px;
  font-weight:1000;
  letter-spacing:.06em;
  color:rgba(255,255,255,.86);
}

/* ==========================================================
   Coming soon card
   ========================================================== */

.station--soon{
  opacity:.86;
  cursor:default;
}
.station--soon:hover{
  transform:none;
}

/* ==========================================================
   Radio Only Note
   ========================================================== */

.note{
  margin-top:16px;
  padding:18px;
}

.note__title{
  font-weight:1000;
}

.note__text{
  margin-top:8px;
  color:var(--muted);
  line-height:1.45;
}

.note__link{
  font-weight:1000;
  color:var(--accent);
  text-decoration:none;
  border-bottom:1px solid rgba(34,211,238,.5);
  transition:opacity .15s ease, border-color .15s ease;
}

.note__link:hover,
.note__link:focus{
  opacity:.85;
  border-bottom-color:rgba(34,211,238,.8);
  outline:none;
}

/* ==========================================================
   Footer
   ========================================================== */

.footer{
  margin-top:26px;
  color:rgba(255,255,255,.55);
  font-size:13px;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width:860px){
  .grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:34px; }
  .station__title{ font-size:30px; }
  .station__desc{ font-size:16px; }
}
