/* ══ PWR HERO v2 — Final ══════════════════════════════════════ */
@font-face {
  font-family: 'Dastnevis';
  src: url('../img/DastNevis.woff') format('woff'),
       url('../img/DastNevis.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}

section.hero {
  position: relative;
  padding: 36px 0 32px;
  background: url('../img/studio-bg.png') center center / cover no-repeat fixed;
}
section.hero::before {
  content:''; position:absolute; inset:0;
  background: rgba(255,255,255,.72);
  z-index: 0;
}
section.hero .container { position:relative; z-index:1; }

.hero-grid-new {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
  direction: rtl;
}

/* ── LIVE PANEL ───────────────────────────────────────────── */
.live-panel-v2 {
  border: 2px solid rgba(29,155,184,.28);
  border-radius: 22px;
  padding: 24px 26px 22px;
  box-shadow: 0 0 0 1px rgba(29,155,184,.08), 0 24px 64px rgba(0,0,0,.85);
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}
.live-panel-v2::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(160deg,rgba(255,255,255,.78) 0%,rgba(255,255,255,.55) 50%,rgba(255,255,255,.8) 100%);
  pointer-events: none; z-index: 0;
}
.live-panel-v2 > * { position:relative; z-index:1; }

/* ON AIR badge */
.on-air-badge {
  display:inline-flex; align-items:center; gap:7px;
  background:rgba(190,20,20,.95); border:1px solid rgba(255,80,80,.35);
  border-radius:7px; padding:5px 14px; font-size:.78rem; font-weight:900;
  letter-spacing:.12em; color:#fff; margin-bottom:14px;
  box-shadow:0 0 22px rgba(200,30,30,.55);
}
.on-air-dot {
  width:8px; height:8px; border-radius:50%; background:#ff4444;
  box-shadow:0 0 8px #ff4444; animation:blink .8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.15} }

/* Header */
.lp-header { text-align:center; margin-bottom:14px; }
.live-now-label { color:var(--muted); font-size:.84rem; font-weight:700; margin-bottom:3px; }
.live-show-title {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 900; color: var(--gold); line-height: 1.1;
  text-shadow: 0 2px 28px rgba(29,155,184,.45);
}
.live-status { display:inline-flex; align-items:center; gap:8px; margin-top:5px; }
.live-dot-red { width:8px; height:8px; border-radius:50%; background:#ff4444; box-shadow:0 0 8px #ff4444; animation:blink .8s ease-in-out infinite; }
.live-text { font-weight:900; font-size:.78rem; color:#ff7777; letter-spacing:.1em; }
.live-sub { font-size:.82rem; color:var(--muted); }

/* ── EQUALIZER ─────────────────────────────────────────── */
.equalizer {
  display:flex; align-items:flex-end; gap:3px;
  height:62px; margin-bottom:18px; justify-content:center; padding:0 4px;
}
.equalizer span {
  display:block; flex:1; max-width:9px; border-radius:3px 3px 0 0;
  background:linear-gradient(180deg,var(--gold3),var(--gold2));
  height:5px; opacity:.35;
}
.equalizer.playing span { opacity:.9; animation:eq-bar .8s ease-in-out infinite; }
.equalizer.playing span:nth-child(odd){animation-duration:.72s}
.equalizer.playing span:nth-child(even){animation-duration:.95s}
.equalizer.playing span:nth-child(3n){animation-duration:.63s}
.equalizer.playing span:nth-child(1){animation-delay:.00s}.equalizer.playing span:nth-child(2){animation-delay:.06s}
.equalizer.playing span:nth-child(3){animation-delay:.12s}.equalizer.playing span:nth-child(4){animation-delay:.18s}
.equalizer.playing span:nth-child(5){animation-delay:.04s}.equalizer.playing span:nth-child(6){animation-delay:.10s}
.equalizer.playing span:nth-child(7){animation-delay:.16s}.equalizer.playing span:nth-child(8){animation-delay:.22s}
.equalizer.playing span:nth-child(9){animation-delay:.08s}.equalizer.playing span:nth-child(10){animation-delay:.14s}
.equalizer.playing span:nth-child(11){animation-delay:.20s}.equalizer.playing span:nth-child(12){animation-delay:.02s}
.equalizer.playing span:nth-child(13){animation-delay:.11s}.equalizer.playing span:nth-child(14){animation-delay:.17s}
.equalizer.playing span:nth-child(15){animation-delay:.23s}.equalizer.playing span:nth-child(16){animation-delay:.05s}
.equalizer.playing span:nth-child(17){animation-delay:.13s}.equalizer.playing span:nth-child(18){animation-delay:.19s}
.equalizer.playing span:nth-child(19){animation-delay:.07s}.equalizer.playing span:nth-child(20){animation-delay:.15s}
.equalizer.playing span:nth-child(21){animation-delay:.21s}.equalizer.playing span:nth-child(22){animation-delay:.03s}
.equalizer.playing span:nth-child(23){animation-delay:.09s}.equalizer.playing span:nth-child(24){animation-delay:.25s}
.equalizer.playing span:nth-child(25){animation-delay:.01s}.equalizer.playing span:nth-child(26){animation-delay:.24s}
.equalizer.playing span:nth-child(27){animation-delay:.08s}.equalizer.playing span:nth-child(28){animation-delay:.16s}
.equalizer.playing span:nth-child(29){animation-delay:.12s}.equalizer.playing span:nth-child(30){animation-delay:.20s}
@keyframes eq-bar { 0%,100%{height:5px} 50%{height:50px} }

/* ── CONTROLS BAR — NEW LAYOUT ────────────────────────── */
.lp-controls {
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:14px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(29,155,184,.25);
  border-radius:18px;
  padding:12px 18px;
}

/* RIGHT side (in RTL = visually first, but DOM-right): "Next Program" */
.lp-next-program {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
  direction: rtl;
}
.lp-next-program .np-label {
  font-size:.7rem;
  color:var(--muted);
  font-weight:700;
  margin-bottom:3px;
}
.lp-next-program .np-name {
  font-size:.92rem;
  font-weight:800;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:180px;
}
.lp-next-program .np-img {
  width:42px; height:42px;
  border-radius:10px;
  background-size:cover;
  background-position:center;
  background-color:#dceaf0;
  border:1px solid rgba(29,155,184,.2);
  flex-shrink:0;
}
.lp-next-program .np-info { min-width:0; }

/* CENTER: just play button (no next/prev) */
.lp-btns { display:flex; align-items:center; justify-content:center; }
.lp-play-main {
  width:64px; height:64px; border-radius:50%;
  background:linear-gradient(180deg,#5ec5dd,#0f7d96);
  border:none; cursor:pointer; display:grid; place-items:center; color:#e3eef4;
  box-shadow:0 0 0 6px rgba(29,155,184,.18),0 8px 30px rgba(15,125,150,.55);
  transition:transform .15s, box-shadow .15s;
}
.lp-play-main:hover { transform:scale(1.08); }
.lp-play-main.playing {
  background:linear-gradient(180deg,#ff8888,#cc2222);
  box-shadow:0 0 0 6px rgba(255,80,80,.18),0 8px 30px rgba(200,30,30,.55);
}

/* LEFT side: "Now Playing Program" */
.lp-now-playing {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  direction: rtl;
  justify-content: flex-end;
}
.lp-now-playing .np-info { min-width:0; text-align:left; }
.lp-now-playing .np-label {
  font-size:.7rem;
  color:#22d974;
  font-weight:700;
  margin-bottom:3px;
}
.lp-now-playing .np-name {
  font-size:.92rem;
  font-weight:800;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:180px;
}

/* ── SECONDARY — more prominent ───────────────────────── */
.secondary-v2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:18px; }
.sec-v2-card {
  display:flex; align-items:center; gap:11px;
  background:linear-gradient(180deg,#ffffff,#eef9fc);
  border:2px solid rgba(29,155,184,.25);
  border-radius:18px;
  padding:14px 16px;
  cursor:pointer;
  transition:all .25s;
  box-shadow: 0 6px 18px rgba(0,0,0,.4), inset 0 1px 0 rgba(29,155,184,.06);
}
.sec-v2-card:hover {
  background:linear-gradient(180deg,rgba(50,30,10,.9),rgba(28,16,4,.92));
  border-color:rgba(29,155,184,.45);
  transform:translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.5), 0 0 0 2px rgba(29,155,184,.15);
}
.sec-v2-card.active-station {
  background:linear-gradient(180deg,rgba(60,38,12,.92),rgba(36,22,6,.95));
  border-color:rgba(29,155,184,.55);
  box-shadow: 0 12px 28px rgba(0,0,0,.55), 0 0 0 2px rgba(29,155,184,.3);
}
.sec-v2-eq { display:flex; align-items:flex-end; gap:2px; width:32px; height:20px; flex-shrink:0; }
.sec-v2-eq span { display:block; width:3px; border-radius:2px 2px 0 0; background:var(--gold); height:3px; opacity:.35; }
.sec-v2-eq.playing span { opacity:.85; animation:eq-sm .8s ease-in-out infinite; }
.sec-v2-eq.playing span:nth-child(1){animation-delay:.00s}.sec-v2-eq.playing span:nth-child(2){animation-delay:.10s}
.sec-v2-eq.playing span:nth-child(3){animation-delay:.20s}.sec-v2-eq.playing span:nth-child(4){animation-delay:.05s}
.sec-v2-eq.playing span:nth-child(5){animation-delay:.15s}.sec-v2-eq.playing span:nth-child(6){animation-delay:.25s}
.sec-v2-eq.playing span:nth-child(7){animation-delay:.08s}.sec-v2-eq.playing span:nth-child(8){animation-delay:.18s}
@keyframes eq-sm { 0%,100%{height:3px} 50%{height:16px} }
.sec-v2-info { flex:1; min-width:0; }
.sec-v2-title { font-size:.92rem; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sec-v2-sub { font-size:.74rem; color:var(--muted); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sec-v2-dot { width:9px; height:9px; border-radius:50%; background:#22d974; box-shadow:0 0 0 4px rgba(34,217,116,.18); flex-shrink:0; }
.sec-v2-btn {
  background:linear-gradient(180deg,var(--gold3),var(--gold2));
  border:none; border-radius:50%; width:38px; height:38px;
  display:grid; place-items:center; color:#e3eef4; cursor:pointer;
  flex-shrink:0; box-shadow:0 4px 14px rgba(15,125,150,.45); transition:all .2s;
}
.sec-v2-btn:hover { transform:scale(1.12); }
.sec-v2-btn.playing-btn { background:linear-gradient(180deg,#ff8888,#cc2222); color:#fff; }

/* ── STICKY NOTE ──────────────────────────────────────── */
.note-area { display:flex; align-items:center; justify-content:center; }
.sticky-note-v2 {
  position:relative; width:320px; height:285px;
  background-size:contain !important; background-repeat:no-repeat !important; background-position:center top !important;
  filter:drop-shadow(0 12px 30px rgba(20,80,110,.3));
  transform:rotate(-2.5deg);
}
.pin-v2,.note-v2-curl { display:none !important; }
.sticky-note-v2::before,.sticky-note-v2::after { display:none !important; }
.note-lines {
  position:absolute; top:18%; left:8%; right:8%; bottom:6%;
  display:flex; flex-direction:column; justify-content:space-evenly; align-items:center; text-align:center;
}
.note-fa .note-lines { font-family:'Dastnevis','Noto Nastaliq Urdu',serif; direction:rtl; color:#1a3a52; }
.note-fa .note-v2-l1 { font-size:1rem; opacity:.7; }
.note-fa .note-v2-l2 { font-size:2.05rem; font-weight:700; line-height:1.1; color:#0f7d96; }
.note-fa .note-v2-l3 { font-size:1.8rem; font-weight:700; }
.note-fa .note-v2-l4 { font-size:.9rem; opacity:.65; line-height:1.45; }
.note-en .note-lines,.note-tr .note-lines { font-family:'Caveat',cursive; direction:ltr; color:#1a3a52; }
.note-en .note-v2-l1,.note-tr .note-v2-l1 { font-size:1rem; font-weight:700; opacity:.7; }
.note-en .note-v2-l2,.note-tr .note-v2-l2 { font-size:2.05rem; font-weight:700; line-height:1.1; color:#0f7d96; }
.note-en .note-v2-l3,.note-tr .note-v2-l3 { font-size:1.8rem; font-weight:700; }
.note-en .note-v2-l4,.note-tr .note-v2-l4 { font-size:.9rem; font-weight:700; opacity:.65; line-height:1.45; }

.hero-grid { display:none !important; }

/* "Open in window" button - LIVE page only */
.open-window-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(29,155,184,.1);
  border:2px solid rgba(29,155,184,.3);
  border-radius:999px;
  padding:9px 18px;
  font-size:.85rem; font-weight:800; color:var(--gold);
  cursor:pointer; transition:all .2s;
  margin: 14px auto 0;
}
.open-window-btn:hover { background:rgba(29,155,184,.18); border-color:rgba(29,155,184,.5); }

/* RESPONSIVE */
@media(max-width:960px) {
  .hero-grid-new { grid-template-columns: 1fr; }
  .note-area { order:-1; margin-bottom:12px; }
  .sticky-note-v2 { width:280px; height:249px; }
  .lp-controls { grid-template-columns: 1fr; gap:14px; padding:14px; }
  .lp-next-program, .lp-now-playing { justify-content:center; text-align:center; }
}
@media(max-width:600px) {
  .secondary-v2 { grid-template-columns: 1fr; }
  .live-show-title { font-size: 1.8rem; }
  .sticky-note-v2 { width:250px; height:222px; }
}
