/* ==========================================================================
   LIVE.GRIMALDI.TV — THE DREW GRIMALDI PODCAST BROADCAST STYLES (PURE BLACK THEME)
   ========================================================================== */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #121212;
  --bg-card: rgba(12, 12, 12, 0.95);
  --bg-card-hover: rgba(20, 20, 20, 0.98);
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --accent-red: #dc2626;
  --accent-red-glow: none;
  --accent-red-hover: #b91c1c;
  --accent-gold: #f59e0b;
  --accent-gold-glow: none;
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-active: rgba(220, 38, 38, 0.5);
  --border-focus: rgba(245, 158, 11, 0.6);

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Impact", "Arial Black", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-main: none;
  --shadow-player: none;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #000000;
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  background-color: #000000;
  background: #000000;
}

/* ==========================================================================
   STICKY TOP PROMO BANNER (MYPILLOW)
   ========================================================================== */
#static-promo-banner {
  display: block;
  background: linear-gradient(90deg, #991b1b, #dc2626, #b91c1c);
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

#static-promo-banner:hover {
  background: linear-gradient(90deg, #b91c1c, #ef4444, #dc2626);
  filter: brightness(1.1);
}

#static-promo-banner strong {
  background: #ffffff;
  color: #991b1b;
  padding: 2px 6px;
  border-radius: 4px;
  margin: 0 4px;
  font-weight: 900;
}

/* ==========================================================================
   UNIFIED GRIMALDI.TV TOP NAVIGATION
   ========================================================================== */
#grimaldi-unified-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.menu-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-red);
}

#grimaldi-nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

#grimaldi-nav-logo img {
  height: 38px;
  width: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.brand-channel-badge {
  display: flex;
  flex-direction: column;
}

.channel-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  font-weight: 900;
}

.channel-title {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-nav-action:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-gold);
}

.btn-nav-live {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: none;
}

.btn-nav-live:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: none;
}

/* ==========================================================================
   SLIDE-OUT MENU DRAWER
   ========================================================================== */
#grimaldiMenuBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#grimaldiMenuBackdrop.open {
  opacity: 1;
  pointer-events: auto;
}

#grimaldiMenuDrawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #080808;
  border-right: 1px solid var(--border-subtle);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.9);
}

#grimaldiMenuDrawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: #000000;
}

.drawer-title {
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 0.95rem;
  color: #ffffff;
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
}

.drawer-close-btn:hover {
  color: #ffffff;
}

.drawer-nav {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}

.drawer-section-title {
  padding: 12px 20px 6px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}

.grit-nav-link {
  padding: 10px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.grit-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-left-color: var(--accent-red);
}

.grit-nav-link.active-channel {
  background: rgba(220, 38, 38, 0.18);
  color: #ffffff;
  border-left-color: var(--accent-red);
  font-weight: 700;
}

/* ==========================================================================
   BROADCAST HERO STAGE & PLAYER CONTAINER
   ========================================================================== */
.main-stage-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  background-color: #000000;
}

.broadcast-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.live-indicator-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: none;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffffff;
  animation: live-pulse-anim 1.5s infinite;
}

@keyframes live-pulse-anim {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #ffffff; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.badge-stream-metric {
  background: #0d0d0d;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-stream-metric strong {
  color: var(--text-primary);
}

.stream-controls-quick {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-pill {
  background: #0e0e0e;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-pill:hover {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Broadcast Grid Layout */
.broadcast-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
  transition: var(--transition);
}

.broadcast-grid.theater-mode {
  grid-template-columns: 1fr;
}

.broadcast-grid.theater-mode .stream-chat-col {
  margin-top: 24px;
}

/* ==========================================================================
   VIDEO PLAYER BOX & CLOUDFLARE STREAM EMBED
   ========================================================================== */
.player-outer-wrapper {
  position: relative;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-player);
}

.player-aspect-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}

.player-aspect-ratio iframe,
.player-aspect-ratio stream,
.player-aspect-ratio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Standby / Offline / Countdown Screen */
.standby-screen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #181818 0%, #000000 90%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  z-index: 10;
  display: none;
}

.standby-screen.active {
  display: flex;
}

.standby-logo {
  height: 60px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.standby-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: #ffffff;
}

.standby-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin-bottom: 20px;
}

.countdown-timer-box {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.time-card {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  min-width: 68px;
}

.time-val {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  line-height: 1;
}

.time-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-standby-action {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: none;
  transition: var(--transition);
}

.btn-standby-action:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  transform: translateY(-1px);
}

/* Player Lower Bar */
.player-meta-bar {
  background: #0a0a0a;
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.player-title-info h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.player-title-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.player-utility-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   REACTION BAR & FLOATING ANIMATIONS
   ========================================================================== */
.reactions-wrapper {
  background: #0a0a0a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.reaction-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.reaction-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-react {
  background: #141414;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, background-color 0.15s ease;
  user-select: none;
}

.btn-react:hover {
  background: #222222;
  transform: scale(1.12);
}

.btn-react:active {
  transform: scale(0.95);
}

.btn-react .react-count {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* Floating Emoji Animations */
.floating-emoji {
  position: absolute;
  pointer-events: none;
  font-size: 2rem;
  z-index: 100;
  animation: floatUp 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(0.7);
  }
  50% {
    opacity: 0.9;
    transform: translate3d(var(--drift-x, 20px), -120px, 0) scale(1.3);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift-x-end, -30px), -240px, 0) scale(1.6);
  }
}

/* ==========================================================================
   INTERACTIVE LIVE CHAT & AUDIENCE PANEL
   ========================================================================== */
.stream-chat-col {
  background: #0a0a0a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 640px;
  overflow: hidden;
  box-shadow: var(--shadow-main);
}

.chat-tabs-header {
  display: flex;
  background: #000000;
  border-bottom: 1px solid var(--border-subtle);
}

.chat-tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 12px 6px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.chat-tab-btn:hover {
  color: #ffffff;
}

.chat-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--accent-red);
  background: rgba(220, 38, 38, 0.12);
}

.chat-body-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.chat-tab-content {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
}

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

/* Live Feed Tab */
.chat-messages-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  background: #111111;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  animation: fadeInMsg 0.25s ease forwards;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.host-msg {
  background: rgba(220, 38, 38, 0.15);
  border-left-color: var(--accent-red);
}

.chat-msg.mod-msg {
  background: rgba(245, 158, 11, 0.12);
  border-left-color: var(--accent-gold);
}

.chat-msg.user-msg {
  background: rgba(37, 99, 235, 0.15);
  border-left-color: var(--accent-blue);
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.msg-author {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.8rem;
}

.msg-badge {
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-host {
  background: var(--accent-red);
  color: #ffffff;
}

.badge-mod {
  background: var(--accent-gold);
  color: #000000;
}

.badge-vip {
  background: #8b5cf6;
  color: #ffffff;
}

.msg-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: auto;
}

.msg-text {
  color: #e4e4e7;
  line-height: 1.35;
  word-break: break-word;
}

/* Chat Input Bar */
.chat-input-wrapper {
  padding: 12px;
  background: #000000;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}

.chat-input-field {
  flex: 1;
  background: #141414;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.chat-input-field:focus {
  border-color: var(--accent-red);
  background: #1c1c1c;
}

.btn-send-chat {
  background: var(--accent-red);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-send-chat:hover {
  background: var(--accent-red-hover);
}

/* Rundown / Topics Tab */
.rundown-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rundown-item {
  background: #121212;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.rundown-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rundown-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.live-poll-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(220, 38, 38, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px;
}

.poll-question {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.poll-option-btn {
  width: 100%;
  background: #141414;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  transition: var(--transition);
}

.poll-option-btn:hover {
  background: #222222;
  border-color: var(--accent-gold);
}

/* Mailbag Tab */
.mailbag-container {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}

.mailbag-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.mailbag-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-input, .form-textarea {
  width: 100%;
  background: #141414;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-red);
}

.btn-submit-mailbag {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit-mailbag:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* ==========================================================================
   SYNDICATION & PODCAST PLATFORM BUTTONS
   ========================================================================== */
.syndication-section {
  margin-top: 40px;
  background: #0a0a0a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

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

.section-head-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.syndication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.platform-btn {
  background: #121212;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}

.platform-btn:hover {
  background: #1c1c1c;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.platform-icon {
  font-size: 1.3rem;
}

/* ==========================================================================
   RECENT BROADCASTS / VOD ARCHIVE GRID
   ========================================================================== */
.vods-section {
  margin-top: 40px;
}

.vods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.vod-card {
  background: #0a0a0a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.vod-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-red);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

.vod-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
}

.vod-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vod-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.vod-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.vod-play-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: none;
}

.vod-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vod-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.vod-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 6px;
}

.vod-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: auto;
}

.ep-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ep-link-btn {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.ep-link-btn:hover {
  background: #242424;
  border-color: var(--accent-red);
  color: #ffffff;
  transform: translateY(-1px);
}

.ep-link-grimaldi {
  background: #172554;
  border-color: #3b82f6;
  color: #93c5fd;
}

.ep-link-grimaldi:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #60a5fa;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
  background: #000000;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-info img {
  height: 44px;
  border-radius: 4px;
}

.footer-bottom-copy {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .broadcast-grid {
    grid-template-columns: 1fr;
  }
  
  .stream-chat-col {
    height: 520px;
  }
}

@media (max-width: 640px) {
  #grimaldi-unified-nav {
    padding: 8px 12px;
  }

  .channel-title {
    font-size: 0.88rem;
  }

  .btn-nav-action span.hide-mobile {
    display: none;
  }

  .main-stage-container {
    padding: 14px 10px 40px;
  }

  .time-card {
    min-width: 54px;
    padding: 8px 10px;
  }

  .time-val {
    font-size: 1.4rem;
  }

  .reaction-btns {
    gap: 4px;
  }

  .btn-react {
    padding: 4px 8px;
    font-size: 0.85rem;
  }
}
