/* ==========================================================================
   MARVEL MULTIVERSE ROADMAP - BESPOKE MODERN STYLES
   ========================================================================== */

:root {
  --bg-primary: #0c0d12;
  --bg-secondary: #12151d;
  --bg-card: rgba(18, 22, 30, 0.86);
  --bg-card-hover: rgba(24, 28, 38, 0.94);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);

  --accent-red: #e50914;
  --accent-red-hover: #b80710;
  --accent-green: #22c55e;
  --accent-green-glow: rgba(34, 197, 94, 0.35);
  --accent-gold: #facc15;
  --accent-gold-glow: rgba(250, 204, 21, 0.3);
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --font-brand: 'Barlow Condensed', 'Outfit', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

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

  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 320ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bg: 600ms ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* --------------------------------------------------------------------------
   Atmospheric Landscape Backdrop
   -------------------------------------------------------------------------- */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  transition: opacity 320ms cubic-bezier(0.2, 0, 0.2, 1), transform 0.8s ease-out;
  transform: scale(1.04);
  opacity: 0;
  will-change: opacity, transform;
}

.hero-bg-layer.active {
  opacity: 1;
  transform: scale(1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: radial-gradient(ellipse at 50% 20%, rgba(12, 14, 20, 0.45) 0%, rgba(12, 14, 20, 0.88) 60%, #0c0d12 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   Live Online Presence Indicator
   -------------------------------------------------------------------------- */
.online-presence {
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 100;
}

.online-presence-inner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(14, 17, 23, 0.85);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.online-presence-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2.2s infinite ease-in-out;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(1.25);
  }
}

/* --------------------------------------------------------------------------
   Layout Structure
   -------------------------------------------------------------------------- */
.site-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* --------------------------------------------------------------------------
   Header Section
   -------------------------------------------------------------------------- */
.path-header {
  padding-top: 10px;
  margin-bottom: 24px;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.journey-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 26, 35, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.journey-back-btn:hover {
  background: rgba(30, 36, 48, 0.95);
  border-color: var(--border-highlight);
  transform: translateX(-2px);
}

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

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-danger {
  background: var(--accent-red);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-danger:hover {
  background: var(--accent-red-hover);
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(22, 26, 36, 0.75);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(34, 40, 56, 0.95);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent-gold);
  color: #111;
  font-weight: 700;
}

.btn-accent:hover {
  background: #fde047;
  box-shadow: 0 0 18px var(--accent-gold-glow);
  transform: translateY(-1px);
}

.header-title-block {
  margin-bottom: 22px;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.brand-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 680px;
  font-weight: 400;
}

/* Continue Pill Button */
.header-continue-wrapper {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.bottom-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 26, 36, 0.75);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px 8px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.bottom-pill-btn:hover {
  background: rgba(34, 40, 56, 0.95);
  border-color: var(--border-highlight);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.bottom-label {
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.bottom-pill-btn:hover .bottom-label {
  color: var(--accent-red);
}

.bottom-title {
  font-weight: 600;
}

.continue-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-red);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 18px 8px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.35);
}

.continue-pill-btn:hover {
  background: var(--accent-red-hover);
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.55);
  transform: translateY(-2px);
}

.continue-label {
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  opacity: 0.95;
}

.continue-title {
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Search & Filter Toolbar
   -------------------------------------------------------------------------- */
.roadmap-controls {
  background: rgba(18, 22, 30, 0.65);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
}

#searchInput {
  width: 100%;
  background: rgba(11, 13, 18, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 10px 38px 10px 40px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#searchInput:focus {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

.clear-search-btn:hover {
  color: var(--text-main);
}

.filter-groups-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chips-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

.chip-btn {
  background: rgba(26, 31, 42, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-btn:hover {
  color: var(--text-main);
  border-color: var(--border-highlight);
  background: rgba(36, 43, 58, 0.8);
}

.chip-btn.active {
  background: #ffffff;
  color: #0c0d12;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Sticky HUD Progress Rail
   -------------------------------------------------------------------------- */
.sticky-hud-rail {
  position: sticky;
  top: 14px;
  z-index: 90;
  margin: 18px 0 36px;
  display: flex;
  justify-content: center;
}

.sticky-hud-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(14, 17, 23, 0.88);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  padding: 8px 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  max-width: 90%;
}

.hud-stats-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hud-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 65px;
}

.hud-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
}

.hud-stat-value {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  white-space: nowrap;
}

.stat-left .hud-stat-value {
  color: var(--accent-gold);
  text-shadow: 0 0 10px var(--accent-gold-glow);
}

.stat-pace .hud-stat-value {
  color: var(--accent-gold);
}

.stat-skipped .hud-stat-value {
  color: #94a3b8;
}

.stat-done .hud-stat-value {
  color: #ffffff;
}

.hud-stat-pct {
  font-size: 0.88rem;
  color: var(--accent-green);
  font-weight: 700;
  margin-left: 4px;
}

.hud-stat-divider {
  width: 1px;
  height: 24px;
  background: var(--border-subtle);
}

.hud-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.hud-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-green) 100%);
  transition: width 0.4s ease-out;
  box-shadow: 0 0 8px var(--accent-green);
}

/* --------------------------------------------------------------------------
   Timeline Container & Rail
   -------------------------------------------------------------------------- */
.timeline-container {
  position: relative;
  padding: 20px 0 60px;
}

.timeline-central-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg,
      rgba(34, 197, 94, 0.4) 0%,
      rgba(250, 204, 21, 0.4) 40%,
      rgba(229, 9, 20, 0.6) 95%,
      transparent 100%);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.15);
  pointer-events: none;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

/* --------------------------------------------------------------------------
   Timeline Items & Nodes
   -------------------------------------------------------------------------- */
.timeline-item {
  display: flex;
  position: relative;
  width: 100%;
  align-items: center;
}

/* Central numbered node */
.timeline-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #11141c;
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 800;
  z-index: 10;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
  transition: all var(--transition-fast);
}

/* Left & Right Alternating Sides */
.timeline-item.side-left {
  justify-content: flex-start;
}

.timeline-item.side-left .timeline-card {
  margin-right: calc(50% + 36px);
}

.timeline-item.side-right {
  justify-content: flex-end;
}

.timeline-item.side-right .timeline-card {
  margin-left: calc(50% + 36px);
}

/* Horizontal connector stems */
.timeline-item.side-left::after {
  content: '';
  position: absolute;
  left: calc(50% - 36px);
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--border-subtle);
  pointer-events: none;
}

.timeline-item.side-right::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--border-subtle);
  pointer-events: none;
}

/* Watched Node State */
.timeline-item.is-watched .timeline-node {
  background: #15803d;
  border-color: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 0 16px var(--accent-green-glow);
}

.timeline-item.is-watched::after {
  background: rgba(34, 197, 94, 0.4);
}

/* Skipped Node State */
.timeline-item.is-skipped .timeline-node {
  background: #232733;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  opacity: 0.6;
}

/* Focused / Active Node State */
.timeline-item.is-active .timeline-node {
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(1.12);
}

/* --------------------------------------------------------------------------
   Timeline Entity Card
   -------------------------------------------------------------------------- */
.timeline-card {
  width: 520px;
  max-width: calc(100% - 10px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  display: flex;
  overflow: visible;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.timeline-item.has-open-popover {
  z-index: 60;
}

.timeline-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.7);
}

/* Active / Watched card glow styling */
.timeline-item.is-watched .timeline-card {
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.15), 0 14px 34px rgba(0, 0, 0, 0.55);
}

.timeline-item.is-active .timeline-card {
  border-color: rgba(255, 255, 255, 0.35);
}

.timeline-item.is-skipped .timeline-card {
  opacity: 0.55;
  filter: grayscale(0.5);
}

.timeline-item.is-skipped .timeline-card:hover {
  opacity: 0.85;
  filter: grayscale(0.2);
}

/* Card Media (Portrait Poster) */
.card-media {
  width: 145px;
  min-width: 145px;
  position: relative;
  background: #090a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.card-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.timeline-card:hover .card-poster-img {
  transform: scale(1.04);
}

.card-runtime-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(10, 12, 17, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
}

/* Card Body */
.card-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-index {
  font-weight: 700;
  color: #ffffff;
}

.card-date {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.card-universe-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.card-universe-badge.badge-mcu {
  background: rgba(229, 9, 20, 0.2);
  border-color: rgba(229, 9, 20, 0.4);
  color: #fca5a5;
}

.card-universe-badge.badge-fox {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.card-universe-badge.badge-sony {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
}

.card-universe-badge.badge-defenders {
  background: rgba(234, 179, 8, 0.2);
  border-color: rgba(234, 179, 8, 0.4);
  color: #fde047;
}

/* Card Title */
.card-title {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ffffff;
}

/* Card One-Line Description */
.card-summary {
  font-size: 0.83rem;
  line-height: 1.42;
  color: #94a3b8;
  margin: -4px 0 0 0;
  font-weight: 400;
  letter-spacing: 0.1px;
}

/* Watch Time Section */
.card-watch-stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(11, 13, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

.watch-stat-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.8rem;
}

.watch-stat-label {
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.watch-stat-value {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.3px;
}

/* Series 3-metric stats */
.series-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.series-stat-col {
  display: flex;
  flex-direction: column;
}

.series-stat-col .watch-stat-label {
  font-size: 0.65rem;
}

.series-stat-col .watch-stat-value {
  font-size: 0.98rem;
}

/* Ratings Row */
.card-ratings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  padding: 4px 0;
}

.official-score {
  display: flex;
  align-items: center;
  gap: 5px;
}

.score-badge {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.score-sub {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Interactive Custom Rating Widget */
.user-rating-widget {
  position: relative;
  display: inline-flex;
}

.user-rating-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 26, 36, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.user-rating-btn:hover {
  background: rgba(30, 37, 52, 0.95);
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.12);
}

.user-rating-btn.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(18, 21, 30, 0.65);
}

.user-rating-btn.is-locked:hover {
  background: rgba(18, 21, 30, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transform: none;
}

.user-rating-btn.is-locked .user-rating-value {
  color: var(--text-dim);
}

.rating-lock-icon {
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.user-rating-btn.is-locked:hover .rating-lock-icon {
  color: var(--accent-gold);
}

.user-rating-btn.has-rating {
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.08);
}

.user-rating-prefix {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.4px;
}

.user-rating-value {
  font-family: var(--font-brand);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.2px;
}

.rating-chevron {
  color: var(--accent-gold);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-rating-widget.is-open .rating-chevron {
  transform: rotate(180deg);
}

.rating-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 240px;
  background: rgba(14, 17, 24, 0.97);
  border: 1px solid rgba(250, 204, 21, 0.3);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  z-index: 250;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.88), 0 0 20px rgba(250, 204, 21, 0.12);
  display: none;
  flex-direction: column;
  gap: 8px;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-rating-widget.is-open .rating-popover {
  display: flex;
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rating-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.popover-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-clear-rating {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s;
}

.btn-clear-rating:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.rating-num-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #e2e8f0;
  padding: 6px 0;
  font-family: var(--font-brand);
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  gap: 2px;
  transition: all 0.15s cubic-bezier(0.2, 0, 0, 1);
}

.rating-num-btn .num-star {
  font-size: 0.62rem;
  color: rgba(250, 204, 21, 0.5);
  transition: color 0.15s;
}

.rating-num-btn:hover {
  background: rgba(250, 204, 21, 0.18);
  border-color: var(--accent-gold);
  color: #fff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.rating-num-btn:hover .num-star {
  color: var(--accent-gold);
}

.rating-num-btn.is-selected {
  background: var(--accent-gold);
  border-color: #fef08a;
  color: #0b0d13;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
  transform: scale(1.04);
}

.rating-num-btn.is-selected .num-star {
  color: #0b0d13;
}

/* Watch Providers / Where to Watch */
.card-watch-on {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 2px;
}

.watch-on-label {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.watch-provider-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 0;
  font-size: 0;
}

.watch-provider-icons a,
.provider-badge,
.provider-badge:link,
.provider-badge:visited,
.provider-badge:hover,
.provider-badge:active,
.provider-badge:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
  transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.provider-badge img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
  pointer-events: none;
  border: none !important;
  outline: none !important;
  text-decoration: none !important;
}

.provider-badge:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
  filter: brightness(1.12);
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Card Action Buttons */
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.btn-card {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(25, 30, 42, 0.75);
  color: var(--text-main);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-card:hover {
  background: rgba(38, 46, 64, 0.95);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.btn-watched.is-active {
  background: var(--accent-green);
  color: #0b150f;
  border-color: #22c55e;
  font-weight: 700;
  box-shadow: 0 0 12px var(--accent-green-glow);
}

.btn-watched.is-active:hover {
  background: #16a34a;
}

.btn-skip.is-active {
  background: #374151;
  color: #9ca3af;
  border-color: #4b5563;
}

.btn-trailer {
  flex: 0 0 auto;
}



/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 8, 12, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 820px;
  max-width: 100%;
  background: #12151d;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform var(--transition-fast);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 0;
}

.video-aspect-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  background: #000;
}

.video-aspect-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}



/* --------------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(18, 22, 30, 0.95);
  border: 1px solid var(--border-highlight);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  animation: toast-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Floating Navigation Buttons (Bottom-Left Continue & Bottom-Right Top)
   -------------------------------------------------------------------------- */
.floating-fab {
  position: fixed;
  z-index: 95;
  background: rgba(14, 18, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.2);
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.24s,
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    color var(--transition-fast);
}

.floating-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-fab:active {
  transform: translateY(0) scale(0.95);
}

/* Bottom Right: Back to Top */
.fab-top {
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 0;
}

.fab-top:hover {
  background: rgba(24, 30, 44, 0.98);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75), 0 0 18px rgba(250, 204, 21, 0.35);
}

/* Bottom Left: Jump to Continue Card */
.fab-continue {
  bottom: 24px;
  left: 24px;
  height: 46px;
  padding: 0 18px 0 14px;
  gap: 8px;
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 14px rgba(34, 197, 94, 0.15);
}

.fab-continue-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  transition: transform var(--transition-fast);
}

.fab-continue-label {
  font-family: var(--font-brand);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  white-space: nowrap;
}

.fab-continue:hover {
  background: rgba(20, 28, 38, 0.98);
  border-color: var(--accent-green);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 22px rgba(34, 197, 94, 0.4);
}

.fab-continue:hover .fab-continue-icon {
  transform: scale(1.18);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.path-footer {
  margin-top: 80px;
  padding: 40px 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-title {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 620px;
  margin: 10px auto 20px;
  line-height: 1.5;
}

.footer-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 16px auto 24px;
}

.footer-author-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-author-text .author-name {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer-author-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.footer-author-link:hover {
  color: #ffffff;
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.2);
}

.footer-author-link svg {
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  line-height: 1;
  vertical-align: middle;
}

.footer-link-btn:hover {
  color: #ef4444;
}

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

.no-results-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   FAQ Section (Accessible, Semantic, Google Rich Results Compliant)
   -------------------------------------------------------------------------- */
.faq-section {
  position: relative;
  z-index: 5;
  margin: 64px auto 32px;
  max-width: 960px;
  width: 100%;
}

.faq-inner {
  background: rgba(16, 21, 31, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.faq-header {
  text-align: center;
  margin-bottom: 28px;
}

.faq-kicker {
  display: inline-block;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.faq-heading {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.faq-sub {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: rgba(22, 27, 40, 0.6);
  transition: all var(--transition-fast);
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(229, 9, 20, 0.35);
  background: rgba(26, 33, 48, 0.75);
}

.faq-item[open] {
  border-color: rgba(229, 9, 20, 0.45);
  background: rgba(24, 30, 44, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  list-style: none;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--accent-red);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0;
}

/* Footer Legal Disclaimer */
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  max-width: 760px;
  margin: 16px auto 0;
  line-height: 1.5;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive Layout (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .timeline-central-rail {
    left: 28px;
  }

  .timeline-node {
    left: 28px;
    transform: translate(-50%, -50%);
  }

  .timeline-item.side-left,
  .timeline-item.side-right {
    justify-content: flex-start;
  }

  .timeline-item.side-left .timeline-card,
  .timeline-item.side-right .timeline-card {
    margin-left: 64px;
    margin-right: 0;
    max-width: 580px;
    width: calc(100% - 64px);
  }

  .timeline-item.side-left::after,
  .timeline-item.side-right::after {
    left: 28px;
    width: 36px;
  }
}

@media (max-width: 680px) {
  .header-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .header-links-group,
  .header-actions-group {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .header-links-group .btn-action,
  .header-actions-group .btn-action {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.82rem;
    text-align: center;
  }

  .header-continue-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .continue-pill-btn,
  .bottom-pill-btn {
    justify-content: center;
    width: 100%;
    padding: 8px 14px;
  }

  .continue-pill-title,
  .bottom-pill-title {
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .filter-groups-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-container {
    padding: 16px 12px 90px;
  }

  .timeline-card {
    flex-direction: column;
    width: 100%;
  }

  .card-media {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  }

  .card-content {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .card-poster-img {
    object-position: center 20%;
  }

  .sticky-hud-inner {
    padding: 6px 14px;
    gap: 8px;
  }

  .hud-stats-row {
    gap: 10px;
  }

  .hud-stat-item {
    min-width: 48px;
  }

  .hud-stat-label {
    font-size: 0.62rem;
  }

  .hud-stat-value {
    font-size: 1.05rem;
  }

  .fab-top {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(14px + env(safe-area-inset-right, 0px));
    width: 40px;
    height: 40px;
  }

  .fab-continue {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: calc(14px + env(safe-area-inset-left, 0px));
    height: 40px;
    padding: 0 14px 0 10px;
    gap: 6px;
  }

  .fab-continue-label {
    font-size: 0.78rem;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .hero-title-main {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .header-links-group .btn-action,
  .header-actions-group .btn-action {
    font-size: 0.78rem;
    padding: 7px 6px;
    gap: 5px;
  }

  .continue-pill-btn,
  .bottom-pill-btn {
    font-size: 0.78rem;
    padding: 7px 12px;
  }

  .continue-pill-title,
  .bottom-pill-title {
    max-width: 170px;
  }

  .timeline-central-rail {
    left: 20px;
  }

  .timeline-node {
    left: 20px;
    width: 28px;
    height: 28px;
    font-size: 0.68rem;
  }

  .timeline-item.side-left::after,
  .timeline-item.side-right::after {
    left: 20px;
    width: 24px;
  }

  .timeline-item.side-left .timeline-card,
  .timeline-item.side-right .timeline-card {
    margin-left: 44px;
    width: calc(100% - 44px);
  }

  .card-content {
    padding: 14px 14px 16px;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .card-overview {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .card-actions {
    gap: 6px;
    margin-top: 14px;
  }

  .btn-card {
    font-size: 0.76rem;
    padding: 7px 6px;
    height: 33px;
    flex: 1;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .card-watch-on {
    margin-top: 6px;
  }

  .watch-provider-icons a,
  .provider-badge {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .watch-provider-icons a img,
  .provider-badge img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .rating-popover {
    width: 220px;
    max-width: calc(100vw - 36px);
    right: 0;
  }

  .chips-group {
    gap: 4px;
  }

  .chip-btn {
    font-size: 0.76rem;
    padding: 4px 9px;
  }

  .sticky-hud-inner {
    padding: 6px 10px;
    gap: 6px;
  }

  .hud-stats-row {
    gap: 6px;
  }

  .hud-stat-item {
    min-width: 42px;
  }

  .hud-stat-label {
    font-size: 0.58rem;
  }

  .hud-stat-value {
    font-size: 0.95rem;
  }

  .modal-overlay {
    padding: 12px;
  }

  .modal-header {
    padding: 12px 14px;
  }

  .modal-title {
    font-size: 1.05rem;
  }

  .modal-footer {
    padding: 10px 14px;
  }

  .support-card {
    padding: 18px 16px;
  }

  .tab-switcher {
    width: 100%;
    max-width: 360px;
  }

  .tab-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .site-container {
    padding: 12px 8px 80px;
  }

  .hero-title-main {
    font-size: 1.95rem;
  }

  .timeline-central-rail {
    left: 15px;
  }

  .timeline-node {
    left: 15px;
    width: 24px;
    height: 24px;
    font-size: 0.62rem;
  }

  .timeline-item.side-left::after,
  .timeline-item.side-right::after {
    left: 15px;
    width: 18px;
  }

  .timeline-item.side-left .timeline-card,
  .timeline-item.side-right .timeline-card {
    margin-left: 33px;
    width: calc(100% - 33px);
  }

  .card-content {
    padding: 12px 10px 14px;
  }

  .card-actions {
    flex-wrap: wrap;
    gap: 5px;
  }

  .btn-card.btn-watched {
    flex: 1 1 100%;
    order: 1;
  }

  .btn-card.btn-skip {
    flex: 1 1 calc(50% - 3px);
    order: 2;
  }

  .btn-card.btn-trailer {
    flex: 1 1 calc(50% - 3px);
    order: 3;
  }

  .sticky-hud-inner {
    padding: 4px 6px;
    gap: 4px;
  }

  .hud-stats-row {
    gap: 4px;
  }

  .hud-stat-item {
    min-width: 36px;
  }

  .hud-stat-label {
    font-size: 0.52rem;
  }

  .hud-stat-value {
    font-size: 0.86rem;
  }

  .continue-pill-title,
  .bottom-pill-title {
    max-width: 130px;
  }
}


/* --------------------------------------------------------------------------
   Support & Buy Me a Coffee / Supporters Wall Styles
   -------------------------------------------------------------------------- */
.btn-coffee {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  border: 1px solid rgba(251, 191, 36, 0.45);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-coffee:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  color: #000;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}

.header-links-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.highlight-coffee {
  color: #f59e0b !important;
  font-weight: 600;
}

.highlight-coffee:hover {
  color: #fbbf24 !important;
}

/* Standalone Page Layout */
.page-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.page-hero {
  text-align: center;
  margin-bottom: 36px;
}

.page-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-red);
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.page-kicker.gold {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.page-hero {
  text-align: center;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero .brand-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-intro-box {
  width: 100%;
  max-width: 100%;
  margin: 20px auto 0;
  background: rgba(18, 22, 30, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  backdrop-filter: blur(12px);
  text-align: center;
  line-height: 1.7;
  color: #d1d5db;
  font-size: 0.98rem;
  box-sizing: border-box;
}

.page-intro-box p+p {
  margin-top: 10px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  opacity: 0.6;
}

.support-card.card-upi::before {
  background: linear-gradient(90deg, transparent, #a855f7, #22c55e, transparent);
}

.support-card.card-bank::before {
  background: linear-gradient(90deg, transparent, #f59e0b, #3b82f6, transparent);
}

.support-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.support-card-head {
  margin-bottom: 20px;
}

.support-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.badge-upi {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.badge-bank {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.support-card-title {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.support-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* UPI QR Section */
.qr-preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0 20px;
}

.qr-image-wrapper {
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  max-width: 260px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.qr-image-wrapper:hover {
  transform: scale(1.02);
  border-color: rgba(168, 85, 247, 0.5);
}

.qr-code-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.qr-caption {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
}

/* Fields & Copy Rows */
.support-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.support-field-item {
  background: rgba(22, 27, 38, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.support-field-item:hover {
  border-color: var(--border-highlight);
  background: rgba(28, 34, 48, 0.85);
}

.field-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.field-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.field-copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.field-copy-btn.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  color: #4ade80;
}

/* Callouts */
.support-callout-box {
  margin-top: 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #bfdbfe;
}

.support-callout-box code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: #fff;
  font-family: monospace;
}

.hall-callout-card {
  background: linear-gradient(135deg, rgba(22, 27, 38, 0.9), rgba(18, 22, 30, 0.95));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hall-callout-text h3 {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.hall-callout-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.5;
}

/* Supporters Grid & Cards */
.supporters-stats-ticker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.supporter-stat-card {
  background: rgba(22, 26, 36, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
}

.supporter-stat-num {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1;
}

.supporter-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.supporter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.supporter-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
}

.supporter-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.supporter-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-red), #991b1b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.supporter-avatar-circle.founder {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.supporter-avatar-circle.champion {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.supporter-info-block {
  overflow: hidden;
}

.supporter-name-row {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.supporter-role-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  display: inline-block;
}

.supporter-message {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.45;
  margin: 8px 0 14px;
}

.supporter-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

.supporter-join-card {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background: rgba(22, 27, 38, 0.4);
  text-align: center;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.supporter-join-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.05);
}

.supporter-join-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.supporter-join-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.4;
}

.monthly-notice-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #fef08a;
  line-height: 1.55;
  margin-bottom: 40px;
}

.monthly-notice-box a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .page-header-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .hall-callout-card {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Switchable Tabs on Supporters Page */
.tab-switcher-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.tab-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(22, 26, 36, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 2px 12px rgba(229, 9, 20, 0.4);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: tabFadeIn 0.28s ease-out;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Podium Top 3 Rankings */
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 36px;
  padding-top: 16px;
}

.podium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px 22px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.podium-card:hover {
  transform: translateY(-3px);
}

.podium-card.rank-1 {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
  order: 2;
  padding-top: 36px;
  padding-bottom: 30px;
}

.podium-card.rank-2 {
  border-color: rgba(156, 163, 175, 0.35);
  order: 1;
}

.podium-card.rank-3 {
  border-color: rgba(205, 127, 50, 0.35);
  order: 3;
}

.podium-rank-badge {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -17px;
  border: 2px solid var(--bg-primary);
}

.rank-1 .podium-rank-badge {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #000;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}

.rank-2 .podium-rank-badge {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
  color: #000;
  box-shadow: 0 4px 14px rgba(156, 163, 175, 0.4);
}

.rank-3 .podium-rank-badge {
  background: linear-gradient(135deg, #d97706, #92400e);
  color: #fff;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.4);
}

.podium-avatar-wrapper {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--text-dim);
}

.rank-1 .podium-avatar-wrapper {
  width: 82px;
  height: 82px;
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.05);
}

.podium-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.podium-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 4px;
}

.podium-date {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Supporters Table List */
.supporters-table-wrapper {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
  margin-bottom: 36px;
}

.supporters-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.supporters-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 20px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
}

.supporters-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.empty-supporters-row {
  text-align: center;
  padding: 44px 20px !important;
  color: var(--text-muted);
}

.empty-supporters-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-supporters-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.5;
}

/* Contributors Section List */
.contributors-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contributor-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(14px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contributor-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
}

.contributor-item-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contributor-avatar-pill {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.contributor-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  display: block;
  transition: transform var(--transition-fast);
}

.contributor-item-card:hover .contributor-avatar-img {
  transform: scale(1.08);
}

.contributor-avatar-fallback {
  width: 28px;
  height: 28px;
  fill: #f3f4f6;
  opacity: 0.9;
}

.contributor-meta-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contributor-meta-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contributor-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  box-sizing: border-box;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
}

.contributor-link-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

/* Privacy Policy Layout */
.privacy-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .podium-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .podium-card.rank-1 {
    order: 1;
    padding: 24px 18px;
  }

  .podium-card.rank-2 {
    order: 2;
  }

  .podium-card.rank-3 {
    order: 3;
  }

  .contributor-item-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-grid {
    gap: 18px;
    margin-bottom: 30px;
  }
}