:root {
  --bg-dark: #060b18;
  --bg-surface: #0c1428;
  --bg-card: #111c36;
  --bg-card-hover: #172547;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(0, 148, 255, 0.35);

  --blue-deep: #002a80;
  --blue-royal: #0046cc;
  --blue-bright: #0094ff;
  --orange: #ff7a00;
  --gold: #ffb800;
  --live-red: #ef4444;
  --green-wa: #25d366;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at 15% -10%, rgba(0, 70, 204, 0.32), transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(255, 122, 0, 0.14), transparent 35%),
              var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 24, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-pill {
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 148, 255, 0.25);
  display: flex;
  align-items: center;
}

.brand-pill img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0, 148, 255, 0.14);
  border: 1px solid rgba(0, 148, 255, 0.35);
  color: #7dd3fc;
}

.status-chip.is-live {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.55);
  color: #fecaca;
}

.status-chip.is-clip {
  background: rgba(255, 122, 0, 0.2);
  border-color: rgba(255, 184, 0, 0.6);
  color: #fde68a;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
  animation: pulse 1.5s infinite;
}

.status-chip.is-live .pulse-dot {
  background: var(--live-red);
  box-shadow: 0 0 10px var(--live-red);
}

.status-chip.is-clip .pulse-dot {
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.45; }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), #ff9500);
  border: none;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.35);
}

.btn-orange:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-wa {
  background: linear-gradient(135deg, #16a34a, #25d366);
  border: none;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.28);
}

.btn-wa:hover {
  filter: brightness(1.08);
}

.mobile-menu-btn {
  display: none;
}

/* ================= HERO PLAYER SECTION ================= */
.hero-section {
  padding: 24px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 20px;
  align-items: stretch;
}

.player-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.player-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02050d;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 148, 255, 0.28);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 122, 0, 0.08);
}

.player-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  z-index: 1;
}

.player-layer.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

#tvVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

#youtubeFrame {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Simulated Live Studio Screen */
.sim-studio {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(0, 42, 128, 0.9), rgba(6, 11, 24, 0.94)),
    url('/assets/banner-tv-1.jpg') center/cover no-repeat;
}

.sim-studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.92);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.55);
}

.sim-studio h2 {
  font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.sim-studio p {
  color: #cbd5e1;
  max-width: 560px;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
  margin-bottom: 18px;
}

.eq-bars span {
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(to top, var(--blue-bright), var(--gold));
  animation: eq 0.9s ease-in-out infinite alternate;
}

.eq-bars span:nth-child(2) { animation-delay: 0.15s; }
.eq-bars span:nth-child(3) { animation-delay: 0.32s; }
.eq-bars span:nth-child(4) { animation-delay: 0.08s; }
.eq-bars span:nth-child(5) { animation-delay: 0.42s; }
.eq-bars span:nth-child(6) { animation-delay: 0.22s; }
.eq-bars span:nth-child(7) { animation-delay: 0.38s; }

@keyframes eq {
  0% { height: 8px; }
  100% { height: 36px; }
}

.sim-studio-note {
  background: rgba(6, 11, 24, 0.65);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: #fde68a;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.84rem;
  max-width: 600px;
}

/* Broadcast HUD overlays */
.hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(6, 11, 24, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hud-badge.live {
  background: rgba(220, 38, 38, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
}

.hud-badge.clip {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.95), rgba(217, 119, 6, 0.95));
  border-color: rgba(255, 255, 255, 0.35);
}

.hud-viewers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(6, 11, 24, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.unmute-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, var(--orange), #ff9500);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(255, 122, 0, 0.55);
  transition: transform 0.2s;
}

.unmute-overlay.visible {
  display: inline-flex;
}

.unmute-overlay:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

/* Clip countdown banner */
.clip-banner {
  position: absolute;
  bottom: 58px;
  left: 14px;
  right: 14px;
  z-index: 12;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 184, 0, 0.5);
  font-size: 0.84rem;
}

.clip-banner.visible {
  display: flex;
}

/* Player bottom controls */
.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 16px 12px;
  background: linear-gradient(to top, rgba(2, 5, 13, 0.92), transparent);
}

.controls-left,
.controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ctrl-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.volume-slider {
  width: 82px;
  accent-color: var(--orange);
  cursor: pointer;
}

.now-playing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.np-info h1 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.np-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tag-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(0, 148, 255, 0.16);
  color: #7dd3fc;
}

.tag-pill.orange {
  background: rgba(255, 122, 0, 0.2);
  color: #fdba74;
}

/* ================= SIDEBAR ================= */
.sidebar-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 620px;
}

.sidebar-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.tab-btn {
  padding: 13px 10px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  color: #fff;
  border-bottom-color: var(--orange);
  background: rgba(255, 122, 0, 0.08);
}

.tab-content {
  display: none;
  flex: 1;
  flex-direction: column;
  padding: 16px;
  gap: 14px;
  overflow-y: auto;
}

.tab-content.active {
  display: flex;
}

.side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.side-card.highlight {
  border-color: rgba(255, 122, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.08), var(--bg-card));
}

.side-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.side-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-bright), var(--orange));
  border-radius: 999px;
  transition: width 0.6s linear;
}

.wa-cta-card {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.full-btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

/* Chat */
.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  min-height: 240px;
  padding-right: 4px;
}

.chat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.84rem;
}

.chat-item.staff {
  border-color: rgba(0, 148, 255, 0.45);
  background: rgba(0, 70, 204, 0.18);
}

.chat-item-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  margin-bottom: 3px;
}

.chat-author {
  font-weight: 700;
  color: var(--gold);
}

.chat-item.staff .chat-author {
  color: #7dd3fc;
}

.chat-time {
  color: var(--text-dim);
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.chat-row {
  display: flex;
  gap: 8px;
}

.input-dark {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.85rem;
}

.input-dark:focus {
  outline: none;
  border-color: var(--blue-bright);
}

/* ================= SECTIONS ================= */
.section-block {
  padding: 34px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 4px;
}

.section-title {
  font-size: 1.55rem;
  font-weight: 800;
}

/* Sponsors */
.sponsors-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.sponsor-card {
  background: linear-gradient(145deg, var(--bg-card), rgba(0, 56, 168, 0.16));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: transform 0.2s, border-color 0.2s;
}

.sponsor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 184, 0, 0.45);
}

.sponsor-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.sponsor-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sponsor-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sponsor-cta {
  border-style: dashed;
  border-color: rgba(255, 122, 0, 0.45);
  background: rgba(255, 122, 0, 0.06);
}

/* Horizontal Schedule */
.schedule-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-royal) transparent;
}

.schedule-card {
  min-width: 245px;
  flex: 0 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}

.schedule-card.on-air {
  border: 2px solid var(--orange);
  background: linear-gradient(160deg, rgba(255, 122, 0, 0.16), var(--bg-card));
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.16);
}

.sched-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #7dd3fc;
}

.sched-now-badge {
  background: var(--orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}

.sched-title {
  font-size: 1rem;
  font-weight: 700;
}

.sched-host {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* VOD Catalog */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-pill.active {
  background: var(--blue-royal);
  border-color: var(--blue-bright);
  color: #fff;
}

.vod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.vod-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.vod-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.vod-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #02050d;
  overflow: hidden;
}

.vod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.vod-card:hover .vod-thumb img {
  transform: scale(1.05);
}

.vod-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
}

.vod-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 11, 24, 0.28);
  font-size: 2.2rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.vod-card:hover .vod-play-icon {
  opacity: 1;
}

.vod-body {
  padding: 14px;
}

.vod-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.vod-title {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.vod-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.about-card p {
  color: #cbd5e1;
  font-size: 0.93rem;
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.feature-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.feature-list strong {
  color: var(--gold);
}

.director-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.director-avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-royal), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: #040812;
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
}

.footer-col h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Modal Player (VOD) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 5, 13, 0.86);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 920px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.modal-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}

/* ================= ADMIN PANEL ================= */
.admin-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  padding: 24px 0 50px;
}

.panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.panel-card h2 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mode-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.big-mode-btn {
  padding: 16px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.big-mode-btn span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.big-mode-btn.active-linear {
  border-color: var(--blue-bright);
  background: rgba(0, 148, 255, 0.16);
}

.big-mode-btn.active-live {
  border-color: var(--live-red);
  background: rgba(239, 68, 68, 0.18);
}

.clip-trigger-box {
  background: linear-gradient(145deg, rgba(255, 122, 0, 0.12), var(--bg-card));
  border: 1px solid rgba(255, 184, 0, 0.45);
  border-radius: 14px;
  padding: 16px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.code-box {
  background: #030712;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: #7dd3fc;
  word-break: break-all;
  margin-top: 6px;
}

.media-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.media-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.media-row img {
  width: 64px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.media-row-title {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-row-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.media-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mini-btn {
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.mini-btn.on {
  background: rgba(0, 148, 255, 0.25);
  border-color: var(--blue-bright);
  color: #7dd3fc;
}

.mini-btn.danger {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.countdown-alert {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 122, 0, 0.22);
  border: 1px solid var(--gold);
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.countdown-alert.visible {
  display: flex;
}

/* ================= PREVIEW STAGE VISIBILITY ================= */
body.hide-admin-links .admin-public-link {
  display: none !important;
}

/* Stage 1: Só o Player (Prova de Conceito) */
body.stage-1 .nav-links,
body.stage-1 .social-header-link,
body.stage-1 .sidebar-panel,
body.stage-1 .np-wa-btn,
body.stage-1 #patrocinadores,
body.stage-1 #programacao,
body.stage-1 #programas,
body.stage-1 #sobre,
body.stage-1 .site-footer {
  display: none !important;
}

body.stage-1 .hero-grid {
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
}

body.stage-1 .stage1-footer {
  display: flex;
}

.stage1-footer {
  display: none;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 980px;
  margin: 18px auto 32px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(12, 20, 40, 0.7);
  border: 1px dashed rgba(0, 148, 255, 0.3);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Stage 2: Player + Grade + Patrocinadores (sem Chat, sem VOD, sem Quem Somos) */
body.stage-2 .nav-stage3-only,
body.stage-2 .chat-tab-btn,
body.stage-2 #tabChat,
body.stage-2 #programas,
body.stage-2 #sobre {
  display: none !important;
}

body.stage-2 .sidebar-tabs {
  grid-template-columns: 1fr;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .admin-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-panel {
    max-height: none;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
  .header-inner {
    min-height: 64px;
  }
  .brand-pill img {
    height: 30px;
  }
  .status-chip {
    display: none;
  }
  .now-playing-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .mode-buttons {
    grid-template-columns: 1fr;
  }
}
