/**
 * Bollyfiix Pro (v2.0) - Master Production CSS Engine
 * Namespace: bfx-
 * Design System: Electric Film Noir 2.0
 * Architecture: Clean, High-Velocity, Zero-CLS, Mobile-First Native CSS
 */

/* ==========================================================================
   0. Self-Hosted High-Velocity Typography (Two-Font System)
   ========================================================================== */
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/chivo-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/chivo-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

/* ==========================================================================
   1. Design System Tokens & Base Reset
   ========================================================================== */
:root {
  /* Surfaces & Canvas */
  --bfx-bg-root: #090a0f;
  --bfx-bg-surface: #11131b;
  --bfx-bg-raised: #181b26;
  --bfx-bg-overlay: rgba(9, 10, 15, 0.88);

  /* Hairline Borders */
  --bfx-border-subtle: rgba(255, 255, 255, 0.08);
  --bfx-border-strong: rgba(255, 255, 255, 0.16);
  --bfx-border-focus: rgba(229, 9, 20, 0.5);

  /* Brand Accents */
  --bfx-crimson: #e50914;
  --bfx-crimson-hover: #ff1f2d;
  --bfx-emerald: #00eb84;
  --bfx-amber: #f59e0b;
  --bfx-cyan-link: #38bdf8;

  /* Approved Text Color & Contrast Hierarchy */
  --bfx-text-primary: #f1f5f9;
  --bfx-text-secondary: #cbd5e1;
  --bfx-text-muted: #94a3b8;
  --bfx-text-dim: #64748b;
  --bfx-text-disabled: #475569;
  --bfx-text-crimson: #ff4d58;
  --bfx-text-cyan: #38bdf8;

  /* Aliased for full backwards compatibility */
  --bfx-text-main: var(--bfx-text-primary);
  --bfx-text-body: var(--bfx-text-secondary);

  /* Radii */
  --bfx-radius-sm: 4px;
  --bfx-radius-md: 8px;
  --bfx-radius-lg: 12px;
  --bfx-radius-full: 9999px;

  /* Layout Containers */
  --bfx-container: 1280px;
  --bfx-read-column: 680px;

  /* Approved Two-Font Architecture: Chivo (Display) + Inter (Body/UI) */
  --bfx-font-display: 'Chivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --bfx-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --bfx-font-mono: 'Inter', -apple-system, BlinkMacSystemFont, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bfx-bg-root) !important;
  color: var(--bfx-text-secondary) !important;
  font-family: var(--bfx-font-body) !important;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--bfx-crimson);
}

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

/* ==========================================================================
   2. Typography & Defensive Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--bfx-font-display);
  font-weight: 700;
  color: var(--bfx-text-primary);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

/* Unbreakable Headline Link Color & Contrast Hierarchy */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.bfx-lead-title a,
.bfx-trio-title a,
.bfx-streaming-title a,
.bfx-ledger-title a,
.bfx-desk-item-headline a,
.bfx-stream-title a,
.bfx-radar-item-title a,
.bfx-single-title a {
  color: var(--bfx-text-primary) !important;
  text-decoration: none !important;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
.bfx-lead-title a:hover,
.bfx-trio-title a:hover,
.bfx-streaming-title a:hover,
.bfx-ledger-title a:hover,
.bfx-desk-item-headline a:hover,
.bfx-stream-title a:hover,
.bfx-radar-item-title a:hover,
.bfx-single-title a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited,
.bfx-lead-title a:visited,
.bfx-trio-title a:visited,
.bfx-streaming-title a:visited,
.bfx-ledger-title a:visited,
.bfx-desk-item-headline a:visited,
.bfx-stream-title a:visited,
.bfx-radar-item-title a:visited,
.bfx-single-title a:visited {
  color: var(--bfx-text-primary) !important;
}

p {
  margin: 0 0 1.25rem;
}

/* Tabular Numerics for Telemetry, Ratings & Runtimes */
.bfx-tabular,
.bfx-score-badge,
.bfx-scorecard-score,
.bfx-radar-num {
  font-family: var(--bfx-font-mono);
  font-feature-settings: 'tnum' 1, 'cv05' 1;
  font-variant-numeric: tabular-nums;
}

.bfx-container {
  width: 100%;
  max-width: var(--bfx-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Defensive Clamps */
.bfx-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bfx-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bfx-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Badges & Telemetry */
.bfx-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--bfx-radius-sm);
  background: var(--bfx-bg-raised);
  color: var(--bfx-text-main);
  border: 1px solid var(--bfx-border-subtle);
}

.bfx-badge-crimson {
  background: rgba(229, 9, 20, 0.12);
  color: #ff4d58;
  border-color: rgba(229, 9, 20, 0.35);
}

.bfx-badge-emerald {
  background: var(--bfx-emerald);
  color: #000;
  border-color: transparent;
}

.bfx-badge-amber {
  background: var(--bfx-amber);
  color: #000;
  border-color: transparent;
}

/* Live Pulse LED Indicator */
.bfx-pulse-led {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--bfx-crimson);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--bfx-crimson);
  animation: bfxPulse 1.8s infinite;
}

@keyframes bfxPulse {
  0% { transform: scale(0.95); opacity: 0.75; box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); }
  70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(229, 9, 20, 0); }
  100% { transform: scale(0.95); opacity: 0.75; box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

/* ==========================================================================
   3. Header, Brand Masthead & Breaking Ticker
   ========================================================================== */
.bfx-header-wrapper {
  background: var(--bfx-bg-surface);
  border-bottom: 1px solid var(--bfx-border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.bfx-ticker-bar {
  background: #06070a;
  border-bottom: 1px solid var(--bfx-border-subtle);
  font-size: 0.8rem;
  padding: 0.35rem 0;
}

.bfx-ticker-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bfx-ticker-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bfx-text-primary);
  font-family: var(--bfx-font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.bfx-ticker-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
}

.bfx-ticker-item {
  color: var(--bfx-text-muted);
  font-size: 0.825rem;
}

.bfx-ticker-item:hover {
  color: var(--bfx-text-primary);
}

.bfx-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.bfx-brand-logo {
  font-family: var(--bfx-font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--bfx-text-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.bfx-brand-logo span {
  color: var(--bfx-crimson);
}

.bfx-primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bfx-primary-nav li a {
  font-family: var(--bfx-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bfx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
  padding: 0.4rem 0;
}

.bfx-primary-nav li.current-menu-item a,
.bfx-primary-nav li a:hover {
  color: var(--bfx-text-primary);
  border-bottom: 2px solid var(--bfx-crimson);
}

.bfx-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bfx-btn-search,
.bfx-btn-menu-toggle {
  background: var(--bfx-bg-raised);
  border: 1px solid var(--bfx-border-subtle);
  color: var(--bfx-text-main);
  border-radius: var(--bfx-radius-sm);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.bfx-btn-search:hover,
.bfx-btn-menu-toggle:hover {
  background: var(--bfx-border-strong);
  color: #fff;
}

.bfx-btn-menu-toggle {
  display: none;
}

/* Mobile Drawer */
.bfx-mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bfx-mobile-drawer.active {
  opacity: 1;
  visibility: visible;
}

.bfx-drawer-inner {
  width: 280px;
  max-width: 85%;
  height: 100%;
  background: var(--bfx-bg-surface);
  border-right: 1px solid var(--bfx-border-strong);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.bfx-mobile-drawer.active .bfx-drawer-inner {
  transform: translateX(0);
}

.bfx-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bfx-border-subtle);
  margin-bottom: 1.25rem;
}

.bfx-drawer-close {
  background: transparent;
  border: none;
  color: var(--bfx-text-main);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.bfx-drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bfx-drawer-list li a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bfx-text-main);
  text-transform: uppercase;
}

/* Search Modal */
.bfx-search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.bfx-search-modal.active {
  opacity: 1;
  visibility: visible;
}

.bfx-search-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.9);
  backdrop-filter: blur(12px);
}

.bfx-search-modal-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-strong);
  border-radius: var(--bfx-radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.bfx-search-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--bfx-text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.bfx-search-close:hover {
  color: #fff;
}

.bfx-search-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bfx-search-input {
  flex: 1;
  background: var(--bfx-bg-raised);
  border: 1px solid var(--bfx-border-strong);
  border-radius: var(--bfx-radius-sm);
  color: var(--bfx-text-main);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  outline: none;
}

.bfx-search-input:focus {
  border-color: var(--bfx-crimson);
}

.bfx-search-submit {
  background: var(--bfx-crimson);
  color: #fff;
  border: none;
  border-radius: var(--bfx-radius-sm);
  padding: 0 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bfx-search-submit:hover {
  background: var(--bfx-crimson-hover);
}

/* ==========================================================================
   4. Zone 1: Command Center (65/35 Asymmetric Grid)
   ========================================================================== */
.bfx-zone-command {
  margin: 1.5rem 0 2rem;
}

.bfx-command-grid {
  display: grid;
  grid-template-columns: 65% calc(35% - 1.25rem);
  gap: 1.25rem;
}

/* Left Anchor Lead */
.bfx-command-lead {
  position: relative;
  border-radius: var(--bfx-radius-lg);
  overflow: hidden;
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
}

.bfx-lead-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bfx-command-lead:hover .bfx-lead-media {
  transform: scale(1.02);
}

.bfx-fallback-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 85% 15%, rgba(229, 9, 20, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    linear-gradient(145deg, #12141f 0%, #06070a 100%);
}

.bfx-fallback-media::after {
  content: "CINEMA WIRE";
  font-family: var(--bfx-font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: -0.04em;
  position: absolute;
  top: 15%;
  right: -5%;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.bfx-lead-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 10, 15, 0.05) 0%, rgba(9, 10, 15, 0.45) 45%, rgba(9, 10, 15, 0.90) 75%, rgba(9, 10, 15, 0.98) 100%);
  pointer-events: none;
}

.bfx-lead-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.bfx-lead-content .bfx-badge {
  margin-bottom: 0.75rem;
}

.bfx-lead-title {
  font-family: var(--bfx-font-display);
  font-size: 2.50rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--bfx-text-primary);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.bfx-lead-title a {
  color: var(--bfx-text-primary) !important;
  text-decoration: none !important;
}

.bfx-lead-title a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.45);
}

.bfx-lead-title a:visited {
  color: var(--bfx-text-primary) !important;
}

.bfx-lead-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--bfx-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--bfx-text-dim);
}

/* Right Rail: The Newsroom Trade Wire Ledger */
.bfx-command-wire {
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-subtle);
  border-radius: var(--bfx-radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.bfx-wire-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--bfx-border-subtle);
  margin-bottom: 0.85rem;
}

.bfx-wire-heading {
  font-family: var(--bfx-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--bfx-text-primary);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.bfx-wire-ledger {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bfx-ledger-entry {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--bfx-border-subtle);
  transition: background 0.2s ease;
}

.bfx-ledger-entry:first-child {
  padding-top: 0;
}

.bfx-ledger-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bfx-ledger-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  font-family: var(--bfx-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--bfx-text-dim);
}

.bfx-ledger-cat {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bfx-text-muted);
  letter-spacing: 0.04em;
}

.bfx-ledger-dot {
  color: var(--bfx-text-dim);
}

.bfx-ledger-time {
  font-family: var(--bfx-font-body);
  color: var(--bfx-text-dim);
}

.bfx-ledger-title {
  font-family: var(--bfx-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin: 0;
}

.bfx-ledger-title a {
  color: var(--bfx-text-main);
  transition: color 0.15s ease;
}

.bfx-ledger-title a:hover {
  color: #fff;
}

.bfx-wire-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bfx-border-subtle);
  text-align: right;
}

.bfx-wire-action {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bfx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.bfx-wire-action:hover {
  color: var(--bfx-text-main);
}

/* ==========================================================================
   5. Zone 2: Front-Row Feature Trio
   ========================================================================== */
.bfx-zone-trio {
  margin-bottom: 2.5rem;
}

.bfx-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bfx-trio-card {
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-subtle);
  border-radius: var(--bfx-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bfx-trio-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bfx-bg-raised);
  overflow: hidden;
}

.bfx-trio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bfx-trio-card:hover .bfx-trio-thumb {
  transform: scale(1.04);
}

.bfx-trio-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.bfx-trio-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bfx-trio-title {
  font-family: var(--bfx-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
  flex: 1;
}

.bfx-trio-meta {
  font-family: var(--bfx-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--bfx-text-dim);
}

/* ==========================================================================
   6. Zone 3: Streaming & Binge Radar (5-Column Landscape OTT Showcase)
   ========================================================================== */
.bfx-zone-streaming {
  background: #06070a;
  border-top: 1px solid var(--bfx-border-subtle);
  border-bottom: 1px solid var(--bfx-border-subtle);
  padding: 2.25rem 0;
  margin-bottom: 2.75rem;
}

.bfx-streaming-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.bfx-streaming-heading {
  font-family: var(--bfx-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--bfx-text-primary);
}

.bfx-streaming-beacon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--bfx-cyan-link);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--bfx-cyan-link);
}

.bfx-streaming-viewall {
  font-family: var(--bfx-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bfx-text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.bfx-streaming-viewall:hover {
  color: var(--bfx-text-primary);
}

.bfx-streaming-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.bfx-streaming-card {
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-subtle);
  border-radius: var(--bfx-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.bfx-streaming-card:hover {
  transform: translateY(-3px);
  border-color: var(--bfx-border-strong);
}

.bfx-streaming-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bfx-bg-raised);
  overflow: hidden;
}

.bfx-streaming-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.bfx-streaming-card:hover .bfx-streaming-thumb {
  transform: scale(1.05);
}

.bfx-streaming-pill {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: rgba(9, 10, 15, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--bfx-text-primary);
  font-family: var(--bfx-font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: var(--bfx-radius-sm);
  pointer-events: none;
  line-height: 1.0;
}

.bfx-streaming-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bfx-streaming-title {
  font-family: var(--bfx-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin: 0 0 0.4rem;
  flex: 1;
}

.bfx-streaming-title a {
  color: var(--bfx-text-primary);
  transition: color 0.15s ease;
}

.bfx-streaming-title a:hover {
  color: #fff;
}

.bfx-streaming-meta {
  font-family: var(--bfx-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--bfx-text-dim);
}

/* ==========================================================================
   7. Zone 4: Split Desks (Critic Reviews vs Ending Explained)
   ========================================================================== */
.bfx-zone-desks {
  margin-bottom: 2.5rem;
}

.bfx-desks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.bfx-desk-box {
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-subtle);
  border-radius: var(--bfx-radius-lg);
  padding: 1.5rem;
}

.bfx-desk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bfx-border-subtle);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}

.bfx-desk-title {
  font-family: var(--bfx-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
  color: var(--bfx-text-primary);
}

.bfx-desk-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bfx-desk-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bfx-border-subtle);
}

.bfx-desk-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bfx-desk-item-thumb {
  width: 100px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--bfx-radius-sm);
  background: var(--bfx-bg-raised);
}

.bfx-score-badge {
  font-family: var(--bfx-font-mono);
  font-feature-settings: 'tnum' 1, 'cv05' 1;
  font-variant-numeric: tabular-nums;
  font-size: 0.80rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--bfx-radius-sm);
  display: inline-block;
  margin-bottom: 0.35rem;
  line-height: 1.0;
}

.bfx-score-high { background: var(--bfx-emerald); color: #000; }
.bfx-score-mid { background: var(--bfx-amber); color: #000; }
.bfx-score-low { background: var(--bfx-crimson); color: #fff; }

.bfx-desk-item-headline {
  font-family: var(--bfx-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.24;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   8. Zone 5: Discovery Stream & High-RPM Sticky Sidebar
   ========================================================================== */
.bfx-zone-discovery {
  margin-bottom: 3rem;
}

.bfx-discovery-grid {
  display: grid;
  grid-template-columns: 68% calc(32% - 1.5rem);
  gap: 1.5rem;
}

.bfx-stream-header {
  font-family: var(--bfx-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--bfx-border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  color: var(--bfx-text-primary);
}

.bfx-stream-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.bfx-stream-card {
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-subtle);
  border-radius: var(--bfx-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bfx-stream-thumb-wrap {
  aspect-ratio: 16 / 9;
  background: var(--bfx-bg-raised);
}

.bfx-stream-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bfx-stream-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bfx-stream-title {
  font-family: var(--bfx-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.bfx-stream-meta {
  font-family: var(--bfx-font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bfx-text-dim);
  margin-top: auto;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* Sticky Sidebar & Programmatic Ad Slots */
.bfx-discovery-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bfx-sticky-box {
  position: sticky;
  top: 90px;
}

/* Sidebar Top 5 Radar */
.bfx-radar-box {
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-subtle);
  border-radius: var(--bfx-radius-md);
  padding: 1.25rem;
}

.bfx-radar-title {
  font-family: var(--bfx-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  border-bottom: 1px solid var(--bfx-border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  color: var(--bfx-text-primary);
}

.bfx-radar-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bfx-radar-item {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.bfx-radar-num {
  font-family: var(--bfx-font-mono);
  font-feature-settings: 'tnum' 1, 'cv05' 1;
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bfx-text-dim);
  line-height: 1;
}

.bfx-radar-item-title {
  font-family: var(--bfx-font-display);
  font-size: 1.00rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   9. Single Article Canvas (Long-Read Architecture)
   ========================================================================== */
.bfx-single-header {
  padding: 2.5rem 0 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bfx-single-title {
  font-family: var(--bfx-font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 1rem 0;
  color: var(--bfx-text-primary);
}

.bfx-single-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--bfx-font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bfx-text-muted);
}

.bfx-single-featured-media {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  border-radius: var(--bfx-radius-lg);
  overflow: hidden;
}

.bfx-single-content {
  max-width: var(--bfx-read-column);
  margin: 0 auto;
  font-family: var(--bfx-font-body);
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--bfx-text-secondary);
}

.bfx-single-content p {
  margin-bottom: 1.5rem;
}

.bfx-single-content h2 {
  font-family: var(--bfx-font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
  color: var(--bfx-text-primary);
}

.bfx-single-content h3 {
  font-family: var(--bfx-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.20;
  letter-spacing: -0.015em;
  margin: 2rem 0 0.85rem;
  color: var(--bfx-text-primary);
}

.bfx-single-content a {
  color: var(--bfx-cyan-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Critic Scorecard Widget */
.bfx-scorecard {
  background: var(--bfx-bg-surface);
  border: 1px solid var(--bfx-border-strong);
  border-radius: var(--bfx-radius-lg);
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.bfx-scorecard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.bfx-scorecard-score {
  font-family: var(--bfx-font-mono);
  font-feature-settings: 'tnum' 1, 'cv05' 1;
  font-variant-numeric: tabular-nums;
  font-size: 2.4rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--bfx-radius-md);
  letter-spacing: -0.02em;
  line-height: 1.0;
}

.bfx-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.bfx-pros, .bfx-cons {
  padding: 1rem;
  border-radius: var(--bfx-radius-md);
  background: var(--bfx-bg-raised);
}

.bfx-pros-title { color: var(--bfx-emerald); font-weight: 800; font-size: 0.85rem; }
.bfx-cons-title { color: var(--bfx-crimson); font-weight: 800; font-size: 0.85rem; }

/* ==========================================================================
   10. Footer Silo Matrix & Legal Spine
   ========================================================================== */
.bfx-footer {
  background: #050608;
  border-top: 1px solid var(--bfx-border-subtle);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}

.bfx-footer-silos {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--bfx-border-subtle);
}

.bfx-footer-col h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--bfx-text-main);
}

.bfx-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bfx-footer-nav li a {
  font-size: 0.88rem;
  color: var(--bfx-text-muted);
}

.bfx-footer-nav li a:hover {
  color: #fff;
}

.bfx-footer-spine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--bfx-text-dim);
}

.bfx-legal-links {
  display: flex;
  gap: 1.25rem;
}

/* ==========================================================================
   11. Responsive Breakpoints & Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .bfx-command-grid {
    grid-template-columns: 60% calc(40% - 1rem);
    gap: 1rem;
  }
  .bfx-trio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bfx-streaming-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bfx-discovery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bfx-primary-nav {
    display: none;
  }
  .bfx-btn-menu-toggle {
    display: flex;
  }
  .bfx-command-grid {
    grid-template-columns: 1fr;
  }
  .bfx-command-lead {
    min-height: 320px;
  }
  .bfx-lead-title {
    font-size: 1.85rem;
    line-height: 1.10;
  }
  .bfx-single-title {
    font-size: 2.00rem;
    line-height: 1.08;
  }
  .bfx-desk-title,
  .bfx-stream-header,
  .bfx-streaming-heading {
    font-size: 1.20rem;
    line-height: 1.15;
  }
  .bfx-trio-title,
  .bfx-streaming-title,
  .bfx-ledger-title,
  .bfx-stream-title {
    font-size: 1.05rem;
    line-height: 1.22;
  }
  .bfx-single-content {
    font-size: 1.00rem;
    line-height: 1.62;
  }
  .bfx-trio-grid {
    grid-template-columns: 1fr;
  }
  .bfx-streaming-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.85rem;
    padding-bottom: 0.5rem;
  }
  .bfx-streaming-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }
  .bfx-desks-grid {
    grid-template-columns: 1fr;
  }
  .bfx-stream-cards {
    grid-template-columns: 1fr;
  }
  .bfx-footer-silos {
    grid-template-columns: 1fr 1fr;
  }
  .bfx-footer-spine {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bfx-container {
    padding: 0 0.85rem;
  }
  .bfx-lead-content {
    padding: 1.25rem;
  }
  .bfx-lead-title {
    font-size: 1.65rem;
    line-height: 1.12;
  }
  .bfx-single-title {
    font-size: 1.75rem;
    line-height: 1.10;
  }
  .bfx-footer-silos {
    grid-template-columns: 1fr;
  }
}
