/* ===========================
   RSTV Radio Portal — styles.css
   (RSTV Dance theme + schedule list style)
   =========================== */

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

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

  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.10);

  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --r: 22px;
}

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

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

a{color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 18px}
.page{padding:26px 0 60px}

/* Top bar */
.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}
.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: rgba(34,211,238,1);box-shadow: 0 0 0 6px rgba(34,211,238,.18)}
.brand__name{font-weight:900;letter-spacing:.01em}
.topnav{display:flex;gap:10px;align-items:center}

/* Buttons */
.btn{
  appearance:none;border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding:10px 14px;border-radius:999px;
  font-weight:800;cursor:pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.16), inset 0 0 0 1px rgba(255,255,255,.05);
}
.btn:hover{background: rgba(255,255,255,.09)}
.btn--ghost{background: rgba(0,0,0,.20)}
.btn--primary{
  background: rgba(34,211,238,.14);
  border-color: rgba(34,211,238,.25);
}
.btn--primary:hover{background: rgba(34,211,238,.18)}
.link{opacity:.8;text-decoration:underline;text-underline-offset:3px}
.link:hover{opacity:1}

/* Cards */
.card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card__head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.card__title{font-weight:900;font-size:18px}
.card__meta{font-size:13px;color:var(--muted)}

/* Layout */
.grid{
  display:grid;
  grid-template-columns: 1.8fr .9fr;
  gap:16px;
  margin-bottom:16px;
}

/* Live */
.live{display:grid;grid-template-columns: 240px 1fr;gap:18px;padding:18px}
.live__art{
  width:240px;height:240px;border-radius:24px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  overflow:hidden;
}
.live__art img{width:100%;height:100%;object-fit:cover;display:block}

.live__chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.14);
  font-size:13px;font-weight:900;
}
.chip--live{border-color: rgba(34,211,238,.25);background: rgba(34,211,238,.10)}
.dot{width:9px;height:9px;border-radius:999px;background: rgba(34,211,238,1);box-shadow: 0 0 0 6px rgba(34,211,238,.18)}
.chip--time{opacity:.9}

.np__title{font-size:34px;font-weight:1000;letter-spacing:-.02em;margin:6px 0 2px}
.np__artist{font-size:16px;color:var(--muted);margin-bottom:14px}

.controls{display:flex;align-items:center;gap:10px;margin-bottom:16px}

/* Today mini schedule */
.today{
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top:14px;
}
.today__head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px
}
.today__title{font-weight:1000}
.today__pills{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.pill{
  display:inline-flex;align-items:center;
  padding:8px 10px;border-radius:999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  font-size:12px;font-weight:900;
  color: rgba(255,255,255,.86);
}

.today__list{display:flex;flex-direction:column;gap:10px}
.mini-item{
  padding:12px 12px;border-radius:16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.mini-t{font-weight:900}
.mini-d{color:var(--muted);font-size:13px;margin-top:4px}
.mini-item.is-now{outline:2px solid rgba(12,220,140,.26);border-color: rgba(12,220,140,.28)}

/* Side */
.side{padding:18px;display:flex;flex-direction:column;gap:12px}
.side__item{
  display:block;text-decoration:none;
  padding:14px 14px;border-radius:18px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.10);
}
.side__item:hover{background: rgba(0,0,0,.18)}
.side__item--plain{cursor:default}
.side__k{font-weight:1000}
.side__v{color:var(--muted);margin-top:4px}

/* Last played */
.lastplayed{
  padding:14px 14px 18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lp-empty{padding:14px;color:var(--muted)}
.lpRow{
  display:flex;align-items:center;gap:12px;
  padding:12px;border-radius:18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.lpArt{
  width:56px;height:56px;border-radius:14px;
  overflow:hidden;background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
}
.lpArt img{width:100%;height:100%;object-fit:cover;display:block}
.lpText{min-width:0}
.lpTitle{font-weight:1000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lpArtist{color:var(--muted);margin-top:3px;font-size:13px}

/* ===========================
   Weekly Schedule — looks like screenshot
   =========================== */

.scheduleShell{
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 55px rgba(0,0,0,.35);
}

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

  padding: 18px 22px;
  font-weight: 1000;
  font-size: 18px;

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

.scheduleHint{
  padding: 0 22px 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Day rows */
.schedule-day{
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 0;
}
.schedule-day:first-child{border-top:0}

.schedule-day summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding: 22px 22px;
  cursor:pointer;
  user-select:none;

  font-weight: 1000;
  font-size: 22px;
  color: rgba(255,255,255,.96);
  background: transparent;
}
.schedule-day summary::-webkit-details-marker{display:none}

.schedule-day summary::after{
  content: "▾";
  opacity: .75;
  font-size: 16px;
  transform: rotate(0deg);
  transition: transform .18s ease, opacity .18s ease;
}
.schedule-day[open] summary::after{
  transform: rotate(180deg);
  opacity: .95;
}

/* Expanded shows */
.schedule-items{
  list-style:none;
  margin: 0;
  padding: 10px 18px 18px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.schedule-item{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:16px;

  padding: 16px;
  border-radius: 18px;

  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
}

.schedule-item.is-now{
  border-color: rgba(12,220,140,.30);
  outline: 2px solid rgba(12,220,140,.22);
}

.schedule-main{min-width:0;flex:1}

.schedule-time{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;

  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.10);

  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.schedule-title{
  font-size: 22px;
  font-weight: 1000;
  line-height: 1.15;
}
.schedule-desc{
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
}

.schedule-art{
  width: 92px;
  height: 92px;
  border-radius: 20px;

  padding: 10px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 36px rgba(0,0,0,.30);

  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}

.schedule-icon{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius: 14px;
  display:block;
}

/* Badges */
.schedule-badge{
  display:inline-flex;
  align-items:center;
  margin-left: 10px;
  padding: 7px 12px;
  border-radius: 999px;

  font-weight: 1000;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 12px;
}
.schedule-badge.is-now{
  background: rgba(12,220,140,.18);
  border: 1px solid rgba(12,220,140,.28);
}
.schedule-badge.is-next{
  background: rgba(168,85,247,.18);
  border: 1px solid rgba(168,85,247,.32);
}
@keyframes rstvDotPulse{0%{transform:scale(.86);opacity:.65}50%{transform:scale(1.12);opacity:1}100%{transform:scale(.86);opacity:.65}}
.schedule-badge.is-now::before{
  content:"";
  width:9px;height:9px;border-radius:999px;
  background: rgba(12,220,140,1);
  box-shadow: 0 0 0 5px rgba(12,220,140,.18);
  margin-right:8px;
  animation: rstvDotPulse 1.35s ease-in-out infinite;
}

@media (max-width: 980px){
  .grid{grid-template-columns: 1fr}
  .live{grid-template-columns: 1fr}
  .live__art{width:100%;height:240px}
  .lastplayed{grid-template-columns: 1fr}

  .schedule-day summary{font-size:20px;padding:18px 16px}
  .schedule-items{padding:10px 12px 16px}
  .schedule-title{font-size:18px}
  .schedule-art{width:78px;height:78px;border-radius:18px}
}
