/* ==========================================================================
   NETMIRROR / MOVIEBOX WEB - DESIGN SYSTEM & STYLES
   Directly cloned & synthesized from https://netmirror.gold/
   ========================================================================== */

:root {
  /* Official NetMirror Core Tokens */
  --black: #04152d;
  --black2: #041226;
  --black3: #020c1b;
  --black-light: #173d77;
  --black-lighter: #1c4b91;
  --orange: #f89e00;
  --pink: #da2f68;
  --gradient: linear-gradient(98.37deg, #f89e00 0.99%, #da2f68 100%);

  --bg-black: #020c1b;
  --bg-surface: #04152d;
  --bg-card: #081a38;
  --bg-card-hover: #0f2752;
  --bg-glass: rgba(4, 21, 45, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #e50914;

  --red: #e50914;
  --red-hover: #f40612;
  --red-glow: rgba(229, 9, 20, 0.45);
  --red-primary: #e50914;
  --gold: #f89e00;
  --cyan: #00d2ff;

  --text-primary: #ffffff;
  --text-secondary: #a3b1cc;
  --text-muted: #798da8;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Outfit', 'Inter', -apple-system, sans-serif;

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

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: #222c42;
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: #344463;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  background: linear-gradient(180deg, rgba(4, 7, 20, 0.95) 0%, rgba(4, 7, 20, 0.6) 70%, transparent 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(4, 7, 20, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.nav-container {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-title);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  border-radius: 6px;
  box-shadow: 0 0 16px var(--red-glow);
}

.logo-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.logo-highlight {
  color: var(--red);
  font-weight: 900;
}

.logo-tag {
  display: none;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--pink);
}

.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--red);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  padding: 8px;
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 4px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-item {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dropdown-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 6px currentColor;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

/* Nav Right / Search */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-wrapper {
  position: relative;
  width: 280px;
  transition: width var(--transition-normal);
}

.search-wrapper:focus-within {
  width: 360px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0 40px 0 38px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input:focus {
  border-color: var(--red);
  background: rgba(10, 14, 26, 0.95);
  box-shadow: 0 0 12px var(--red-glow);
}

.search-shortcut {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.clear-search-btn:hover {
  color: #fff;
}

/* Autocomplete Popover */
.suggestions-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  max-height: 380px;
  overflow-y: auto;
  z-index: 1001;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition-fast);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover, .suggestion-item.active {
  background: rgba(255, 255, 255, 0.08);
}

.suggestion-poster {
  width: 32px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  background: #182030;
}

.suggestion-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   HERO SHOWCASE SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.72) contrast(1.1);
  transform: scale(1.02);
  transition: transform 1.2s ease, opacity 0.8s ease;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, var(--bg-black) 8%, rgba(4, 7, 20, 0.7) 40%, rgba(4, 7, 20, 0.3) 70%, transparent 100%),
              linear-gradient(90deg, rgba(4, 7, 20, 0.95) 0%, rgba(4, 7, 20, 0.6) 45%, transparent 80%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-meta-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-red {
  background: var(--red);
  color: #fff;
}

.badge-gold {
  background: rgba(248, 158, 0, 0.18);
  color: var(--gold);
  border: 1px solid rgba(248, 158, 0, 0.4);
}

.badge-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-accent {
  background: rgba(0, 210, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 14px;
  max-width: 800px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.hero-synopsis {
  font-size: clamp(14px, 1.2vw, 16px);
  color: #d1d5db;
  max-width: 640px;
  margin-bottom: 24px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.btn-icon-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.btn-icon-round:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.fav-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: fill var(--transition-fast), stroke var(--transition-fast);
}
.fav-active .fav-icon {
  fill: var(--red);
  stroke: var(--red);
}

/* Quick Search in Hero */
.hero-quick-search {
  max-width: 600px;
  margin-top: 10px;
}

.quick-search-box {
  display: flex;
  align-items: center;
  background: rgba(10, 14, 26, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.quick-search-box input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  outline: none;
  padding: 8px 0;
}

.quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.quick-tag-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.tag-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.tag-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Hero Slider Navigation Arrows & Indicators */
.hero-slider-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.indicator-dot {
  width: 28px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.indicator-dot.active {
  width: 44px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}

/* ==========================================================================
   CAROUSEL RAILS & MOVIE CARDS
   ========================================================================== */
.main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px 80px;
  position: relative;
  z-index: 5;
}

/* ==========================================================================
   INTERACTIVE CATEGORY QUICK NAVIGATION BAR (Sticky Strip on Home)
   ========================================================================== */
.home-category-bar {
  position: sticky;
  top: 68px;
  z-index: 35;
  margin: 12px 0 28px;
  padding: 10px 0;
  background: rgba(7, 16, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.home-category-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px;
}

.home-category-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  padding: 7px 15px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.cat-pill:hover {
  background: rgba(30, 41, 59, 0.9);
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-1px);
}

.cat-pill.active {
  background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
  color: #ffffff;
  border-color: #ff3b47;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.45);
}

@keyframes railPulseGlow {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.015); filter: brightness(1.25); }
  100% { transform: scale(1); filter: brightness(1); }
}

.rail-highlight-pulse {
  animation: railPulseGlow 1.2s ease-out;
}

.rail-section {
  margin-bottom: 48px;
}

.rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rail-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rail-indicator {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--red);
  border-radius: 2px;
}

.rail-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 3px;
  font-weight: 400;
}

.platform-count-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(0, 210, 255, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.platform-link-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.platform-link-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateX(2px);
  color: #fff;
}

.rail-view-all-btn {
  background: #f59e0b !important;
  color: #04152d !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 6px 18px !important;
  border-radius: 9999px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.28) !important;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.rail-view-all-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45) !important;
}

.rail-clear-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.rail-clear-btn:hover {
  color: var(--red);
}

/* Fluid Streaming Card Tokens across Devices (Mobile, Tablet, Laptop, Desktop PC, Ultra-wide) */
:root {
  --movie-card-w: 180px;
  --movie-card-gap: 16px;
  --movie-poster-h: 270px;
}

@media (min-width: 1441px) {
  :root {
    --movie-card-w: 195px;
    --movie-card-gap: 18px;
    --movie-poster-h: 292px;
  }
}

@media (max-width: 1024px) {
  :root {
    --movie-card-w: 160px;
    --movie-card-gap: 14px;
    --movie-poster-h: 240px;
  }
}

@media (max-width: 768px) {
  :root {
    --movie-card-w: 142px;
    --movie-card-gap: 12px;
    --movie-poster-h: 213px;
  }
}

@media (max-width: 480px) {
  :root {
    --movie-card-w: 132px;
    --movie-card-gap: 10px;
    --movie-poster-h: 198px;
  }
}

@media (max-width: 360px) {
  :root {
    --movie-card-w: 120px;
    --movie-card-gap: 8px;
    --movie-poster-h: 180px;
  }
}

.rail-carousel-wrapper {
  position: relative;
  width: 100%;
}

.rail-carousel {
  display: flex;
  gap: var(--movie-card-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 8px 12px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  min-height: calc(var(--movie-poster-h) + 65px);
  align-items: stretch;
}

.rail-carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.rail-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.rail-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 14px));
  width: 44px;
  height: 76px;
  background: rgba(4, 21, 45, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 28px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.88;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  transition: opacity var(--transition-fast), background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

@media (max-width: 768px) {
  .rail-nav-btn {
    width: 32px !important;
    height: 54px !important;
    font-size: 20px !important;
    opacity: 0.65 !important;
  }
}

.rail-carousel-wrapper:hover .rail-nav-btn {
  opacity: 1;
}

.rail-prev {
  left: 6px;
}

.rail-next {
  right: 6px;
}

.rail-nav-btn:hover {
  opacity: 1 !important;
  background: var(--red);
  color: #fff;
  border-color: rgba(229, 9, 20, 0.85);
  transform: translateY(calc(-50% - 14px)) scale(1.08);
  box-shadow: 0 0 24px var(--red-glow), 0 8px 24px rgba(0, 0, 0, 0.85);
}

.rail-nav-btn:active {
  transform: translateY(calc(-50% - 14px)) scale(0.96);
}

.rail-nav-btn.disabled,
.rail-nav-btn[disabled] {
  opacity: 0.15 !important;
  pointer-events: none;
  cursor: default;
}

/* Movie & TV Show Card - Clean Dark-Themed Streaming Layout */
.movie-card {
  flex: 0 0 var(--movie-card-w) !important;
  width: var(--movie-card-w) !important;
  min-width: var(--movie-card-w) !important;
  max-width: var(--movie-card-w) !important;
  flex-shrink: 0 !important;
  position: relative;
  background: transparent;
  border-radius: 12px;
  overflow: visible; /* Allows -bottom-4 overlapping circular rating badge */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  scroll-snap-align: start;
}

.movie-card:hover {
  transform: translateY(-4px);
}

/* Poster Container (2:3 aspect ratio, rounded corners, subtle hover zoom) */
.poster-wrap {
  position: relative;
  width: 100%;
  height: var(--movie-poster-h);
  min-height: var(--movie-poster-h);
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: visible;
}

.poster-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #071326;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.movie-card:hover .poster-img {
  transform: scale(1.05); /* Subtle hover zoom (hover:scale-105) */
}

/* Top-Right Badge: Small rounded pill (bg-rose-600 text-white text-[11px] font-semibold px-2.5 py-0.5 rounded-full) */
.card-tag-badge,
.card-badge-top-right {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #e11d48; /* bg-rose-600 */
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 9999px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
  letter-spacing: 0.2px;
  text-transform: capitalize;
}

@media (max-width: 768px) {
  .card-tag-badge,
  .card-badge-top-right {
    top: 6px;
    right: 6px;
    font-size: 9.5px;
    padding: 1px 7px;
  }
}

/* Bottom-Left Circular Rating Badge (-bottom-4 left-2.5, w-9 h-9 rounded-full bg-white text-slate-900 font-bold text-xs shadow-md) */
.card-rating-badge,
.card-rating-circle {
  position: absolute;
  bottom: -15px; /* -bottom-4 (-1rem) overlapping bottom-left edge of poster */
  left: 10px;    /* left-2.5 (0.625rem) */
  width: 36px;   /* w-9 (2.25rem) */
  height: 36px;  /* h-9 (2.25rem) */
  border-radius: 9999px;
  background-color: #ffffff;
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  line-height: 1;
}

@media (max-width: 768px) {
  .card-rating-badge,
  .card-rating-circle {
    bottom: -11px;
    left: 8px;
    width: 29px;
    height: 29px;
    font-size: 10px;
  }
}

.card-rating-badge.border-emerald-500,
.card-rating-circle.border-emerald-500 {
  border: 2.5px solid #10b981 !important; /* Emerald green for scores >= 7.0 */
}

.card-rating-badge.border-amber-500,
.card-rating-circle.border-amber-500 {
  border: 2.5px solid #f59e0b !important; /* Amber/yellow for scores < 7.0 */
}

/* Hover Play Overlay */
.card-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 2;
}

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

.card-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e50914;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.7);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}

.movie-card:hover .card-play-icon {
  transform: scale(1);
}

.card-play-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 2px;
}

/* Metadata Below Poster (Leave pt-5 to clear overlapping rating circle) */
.card-info {
  padding-top: 20px; /* pt-5 (1.25rem) to clear overlapping circle badge */
  padding-left: 2px;
  padding-right: 2px;
  padding-bottom: 2px;
  display: flex;
  flex-direction: column;
}

/* Bold white single-line truncated text (text-sm font-semibold text-white truncate) */
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

/* 4-digit release year directly underneath in muted gray (text-xs text-slate-400 mt-0.5) */
.card-year {
  font-size: 12px;
  color: #94a3b8; /* text-slate-400 */
  margin-top: 2px; /* mt-0.5 */
  font-weight: 500;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 2px;
}

/* Skeleton Loading Shimmer Placeholders */
.skeleton-card {
  flex: 0 0 var(--movie-card-w) !important;
  width: var(--movie-card-w) !important;
  min-width: var(--movie-card-w) !important;
  max-width: var(--movie-card-w) !important;
  flex-shrink: 0 !important;
  display: flex;
  flex-direction: column;
  user-select: none;
  scroll-snap-align: start;
}

.skeleton-poster {
  width: 100%;
  height: var(--movie-poster-h);
  min-height: var(--movie-poster-h);
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #071326 25%, #0f2442 50%, #071326 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-info {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skeleton-line {
  border-radius: 4px;
  background: linear-gradient(90deg, #091830 25%, #132a4e 50%, #091830 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-title {
  width: 80%;
  height: 14px;
}

.skeleton-year {
  width: 45%;
  height: 11px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Clean Fallback Message if API Request Fails */
.rail-fallback-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  color: #94a3b8;
  font-size: 13px;
  margin: 6px 0;
  width: 100%;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.rail-fallback-icon {
  font-size: 22px;
}

.rail-fallback-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rail-retry-btn {
  background: #f59e0b;
  color: #04152d;
  border: none;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.rail-retry-btn:hover {
  background: #d97706;
  color: #ffffff;
}

/* TMDB API Diagnostics Error Banner */
.tmdb-debug-banner {
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.25), rgba(127, 29, 29, 0.35));
  border-bottom: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
  font-size: 13px;
  padding: 8px 16px;
  position: relative;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tmdb-debug-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tmdb-debug-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.tmdb-debug-title {
  font-weight: 700;
  color: #f87171;
  flex-shrink: 0;
}

.tmdb-debug-msg {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #fef2f2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tmdb-debug-dismiss {
  background: transparent;
  border: none;
  color: #fca5a5;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.tmdb-debug-dismiss:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.2);
}

/* Highlight Pulse when scrolling to a category */
@keyframes railPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.rail-highlight-pulse {
  animation: railPulse 0.6s ease-in-out;
}

.rail-highlight-pulse .rail-title {
  color: #f59e0b !important;
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

/* Progress bar on Continue Watching cards */
.card-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  position: absolute;
  bottom: 0;
  left: 0;
}
.card-progress-fill {
  height: 100%;
  background: var(--red);
}

/* ==========================================================================
   STREAMING PLATFORMS & STUDIOS SHOWCASE
   ========================================================================== */
.platforms-rail-section {
  padding: 24px;
  background: linear-gradient(180deg, rgba(14, 20, 36, 0.7) 0%, rgba(8, 12, 22, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin-top: 10px;
  margin-bottom: 44px;
}

.ott-brand-cards {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 4px 12px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.ott-brand-cards.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.ott-brand-cards::-webkit-scrollbar {
  display: none;
}

.ott-card {
  flex: 0 0 156px;
  position: relative;
  height: 96px;
  background: linear-gradient(145deg, rgba(20, 26, 42, 0.85) 0%, rgba(10, 14, 24, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 12px 8px 8px;
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.ott-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-fast);
}

.ott-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

.ott-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 9px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  pointer-events: none;
}

.ott-logo {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.ott-sub {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}

/* 9 Platforms Styling */
.ott-netflix .ott-logo { color: #e50914; }
.ott-netflix:hover { border-color: #e50914; box-shadow: 0 12px 28px rgba(229, 9, 20, 0.4); }
.ott-netflix:hover::before { background: #e50914; }

.ott-prime .ott-logo { color: #00a8e1; }
.ott-prime:hover { border-color: #00a8e1; box-shadow: 0 12px 28px rgba(0, 168, 225, 0.4); }
.ott-prime:hover::before { background: #00a8e1; }

.ott-disney .ott-logo { color: #3b82f6; }
.ott-disney:hover { border-color: #3b82f6; box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4); }
.ott-disney:hover::before { background: #3b82f6; }

.ott-apple .ott-logo { color: #e2e8f0; }
.ott-apple:hover { border-color: #e2e8f0; box-shadow: 0 12px 28px rgba(255, 255, 255, 0.3); }
.ott-apple:hover::before { background: #e2e8f0; }

.ott-hulu .ott-logo { color: #1ce783; }
.ott-hulu:hover { border-color: #1ce783; box-shadow: 0 12px 28px rgba(28, 231, 131, 0.4); }
.ott-hulu:hover::before { background: #1ce783; }

.ott-zee5 .ott-logo { color: #a855f7; }
.ott-zee5:hover { border-color: #a855f7; box-shadow: 0 12px 28px rgba(168, 85, 247, 0.4); }
.ott-zee5:hover::before { background: #a855f7; }

.ott-viu .ott-logo { color: #f59e0b; }
.ott-viu:hover { border-color: #f59e0b; box-shadow: 0 12px 28px rgba(245, 158, 11, 0.4); }
.ott-viu:hover::before { background: #f59e0b; }

.ott-vivamax .ott-logo { color: #f97316; font-size: 16px; font-weight: 900; }
.ott-vivamax:hover { border-color: #f97316; box-shadow: 0 12px 28px rgba(249, 115, 22, 0.4); }
.ott-vivamax:hover::before { background: #f97316; }

.ott-hoichoi .ott-logo { color: #ef4444; font-size: 18px; }
.ott-hoichoi:hover { border-color: #ef4444; box-shadow: 0 12px 28px rgba(239, 68, 68, 0.4); }
.ott-hoichoi:hover::before { background: #ef4444; }

/* Universe & Studio Chips Bar */
.universe-chips-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.universe-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.universe-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.universe-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.universe-chip:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.chip-marvel .chip-dot { background: #ed1d24; box-shadow: 0 0 6px #ed1d24; }
.chip-marvel:hover { border-color: #ed1d24; color: #ff6b6b; }

.chip-dc .chip-dot { background: #0476f2; box-shadow: 0 0 6px #0476f2; }
.chip-dc:hover { border-color: #0476f2; color: #60a5fa; }

.chip-anime .chip-dot { background: #ec4899; box-shadow: 0 0 6px #ec4899; }
.chip-anime:hover { border-color: #ec4899; color: #f472b6; }

.chip-kdrama .chip-dot { background: #f43f5e; box-shadow: 0 0 6px #f43f5e; }
.chip-kdrama:hover { border-color: #f43f5e; color: #fb7185; }

.chip-bollywood .chip-dot { background: #eab308; box-shadow: 0 0 6px #eab308; }
.chip-bollywood:hover { border-color: #eab308; color: #facc15; }

.chip-hollywood .chip-dot { background: #06b6d4; box-shadow: 0 0 6px #06b6d4; }
.chip-hollywood:hover { border-color: #06b6d4; color: #22d3ee; }

.chip-boxoffice .chip-dot { background: #10b981; box-shadow: 0 0 6px #10b981; }
.chip-boxoffice:hover { border-color: #10b981; color: #34d399; }

/* ==========================================================================
   LANGUAGE SHOWCASE & MULTI-LANGUAGE DISCOVERY
   ========================================================================== */
.language-rail-section {
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.7) 0%, rgba(10, 14, 24, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin-top: 20px;
  margin-bottom: 40px;
}

.lang-indicator {
  background: #3b82f6 !important;
  box-shadow: 0 0 10px #3b82f6 !important;
}

.lang-count-tag {
  background: rgba(59, 130, 246, 0.18) !important;
  border: 1px solid rgba(59, 130, 246, 0.35) !important;
  color: #93c5fd !important;
}

.language-brand-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 4px 12px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.language-brand-cards.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.language-brand-cards::-webkit-scrollbar {
  display: none;
}

.lang-card {
  flex: 0 0 162px;
  position: relative;
  height: 98px;
  background: linear-gradient(145deg, rgba(22, 30, 50, 0.85) 0%, rgba(12, 16, 28, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 12px 8px 8px;
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.lang-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-fast);
}

.lang-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6);
}

.lang-card:hover::before {
  background: #3b82f6;
}

.lang-card[data-lang="hindi"]:hover::before { background: #eab308; }
.lang-card[data-lang="japanese"]:hover::before { background: #ec4899; }
.lang-card[data-lang="korean"]:hover::before { background: #f43f5e; }
.lang-card[data-lang="english"]:hover::before { background: #06b6d4; }
.lang-card[data-lang="spanish"]:hover::before { background: #f59e0b; }
.lang-card[data-lang="french"]:hover::before { background: #3b82f6; }
.lang-card[data-lang="tamil_telugu"]:hover::before { background: #f97316; }
.lang-card[data-lang="bengali"]:hover::before { background: #10b981; }
.lang-card[data-lang="german"]:hover::before { background: #6366f1; }
.lang-card[data-lang="italian"]:hover::before { background: #14b8a6; }
.lang-card[data-lang="arabic"]:hover::before { background: #84cc16; }
.lang-card[data-lang="turkish"]:hover::before { background: #e11d48; }
.lang-card[data-lang="chinese"]:hover::before { background: #d97706; }
.lang-card[data-lang="russian"]:hover::before { background: #8b5cf6; }
.lang-card[data-lang="tagalog"]:hover::before { background: #ea580c; }
.lang-card[data-lang="portuguese"]:hover::before { background: #059669; }

.lang-flag {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.lang-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lang-desc {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lang-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 8.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  padding: 2px 5px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Grid Language Bar (Filter by Language in Grid View) */
.grid-language-bar {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  padding: 6px 2px 14px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.grid-language-bar::-webkit-scrollbar {
  display: none;
}

.lang-filter-chip {
  flex: 0 0 auto;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-filter-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-filter-chip.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--red-glow);
}

/* Owner-Monetized Ad Banners (Google AdSense ca-pub-4512671475286537) */
.user-ad-banner {
  width: 100%;
  max-width: 970px;
  margin: 16px auto;
  text-align: center;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .user-ad-banner {
    margin: 10px auto;
  }
}

/* Automatically collapse when empty, unfilled by Google AdSense, or blocked */
.user-ad-banner:empty,
.user-ad-banner.hidden,
.user-ad-banner.ad-unfilled,
.user-ad-banner:has(ins[data-ad-status="unfilled"]) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.user-ad-banner ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
  height: 0 !important;
}

.user-ad-banner ins.adsbygoogle {
  display: block !important;
  width: 100% !important;
  margin: 0 auto;
}

/* ==========================================================================
   DEDICATED PLATFORM SHOWCASE VIEW
   ========================================================================== */
#platformView {
  padding-top: 86px;
  min-height: 80vh;
}

.platform-hero-header {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 26, 44, 0.9) 0%, rgba(6, 9, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.platform-hero-glow {
  position: absolute;
  top: -80px;
  left: 30%;
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.6;
  transition: background 0.4s ease;
}

.platform-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.platform-back-btn {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.platform-brand-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.platform-title {
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.platform-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.platform-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-stat-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #fff;
}

.platform-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 12px 18px;
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  gap: 14px;
}

.platform-filters {
  display: flex;
  gap: 8px;
}

.platform-sorting {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.sort-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.sort-select:focus {
  border-color: var(--red);
}

.sort-select option {
  background: var(--bg-card);
  color: #fff;
}

/* ==========================================================================
   GRID VIEW (Search Results / Categories)
   ========================================================================== */
.grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-top: 100px;
}

.grid-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
}

.grid-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.grid-filters {
  display: flex;
  gap: 8px;
}

.filter-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip.active, .filter-chip:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

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

.grid-pagination {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

/* ==========================================================================
   MEDIA DETAILS MODAL
   ========================================================================== */
.modal,
.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 10005 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.modal.hidden,
.modal-backdrop.hidden {
  display: none !important;
}

.modal-sheet-indicator {
  display: none;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--red);
  transform: rotate(90deg);
}

.modal-hero {
  position: relative;
  min-height: 320px;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.modal-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) contrast(1.1);
  z-index: 1;
}

.modal-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(4, 21, 45, 0) 0%, rgba(4, 21, 45, 0.65) 45%, var(--bg-surface) 100%);
  z-index: 2;
}

.modal-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 26px;
  align-items: flex-end;
  width: 100%;
}

.modal-poster-wrap {
  flex: 0 0 170px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  flex: 1;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0;
  color: #fff;
}

.modal-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.modal-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.genre-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--pink);
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(218, 47, 104, 0.35);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.genre-tag:hover {
  transform: translateY(-1px);
  background: #e83a75;
}

/* NetMirror Rating & Animated Play Button Row */
.modal-netmirror-rating-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

/* NetMirror Circular Progress Rating */
.circleRating {
  width: 50px;
  height: 50px;
  background-color: var(--black2);
  border-radius: 50%;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.circular-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3;
}

.circle-stroke {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke-dasharray 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.circular-chart.green .circle-stroke {
  stroke: #008137;
}

.circular-chart.orange .circle-stroke {
  stroke: #f89e00;
}

.circular-chart.red .circle-stroke {
  stroke: #da2f68;
}

.circle-text {
  fill: #ffffff;
  font-family: var(--font-title);
  font-size: 9.5px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
}

/* NetMirror Animated SVG Play Button */
.playbtn {
  color: #ffffff;
  cursor: pointer;
  align-items: center;
  display: inline-flex;
  gap: 14px;
  position: relative;
  transition: all 0.3s ease;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
}

.playbtn svg {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.playbtn .triangle {
  stroke-dasharray: 240;
  stroke-dashoffset: 480;
  stroke: #ffffff;
  transform: translateY(0);
  transition: all 0.7s ease-in-out;
}

.playbtn .circle {
  stroke: #ffffff;
  stroke-dasharray: 650;
  stroke-dashoffset: 1300;
  transition: all 0.5s ease-in-out;
}

.playbtn .text {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  transition: color 0.4s ease, transform 0.4s ease;
}

.playbtn:hover .text {
  color: var(--pink);
  transform: translateX(2px);
}

.playbtn:hover .triangle {
  stroke-dashoffset: 0;
  opacity: 1;
  stroke: var(--pink);
  animation: trailorPlay 0.7s ease-in-out;
}

.playbtn:hover .circle {
  stroke-dashoffset: 0;
  stroke: var(--pink);
}

@keyframes trailorPlay {
  0% { stroke-dashoffset: 480; }
  50% { stroke-dashoffset: 240; }
  100% { stroke-dashoffset: 0; }
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-body {
  padding: 28px 32px;
}

.section-heading {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.modal-overview {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.modal-credits {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-bottom: 24px;
}

.credit-label {
  color: var(--text-muted);
}
.credit-val {
  color: #fff;
  font-weight: 500;
}

/* Audio Dubs Section */
.modal-dubs-section {
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.dubs-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dub-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dub-btn.active, .dub-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* TV Series Episodes Section */
.modal-series-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.series-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.season-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.season-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.season-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.episode-search-wrapper input {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  width: 200px;
}

.episodes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
}

.episode-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.episode-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(229, 9, 20, 0.5);
}

.episode-card.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.episode-card.active .ep-num {
  color: #4ade80;
}

.ep-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-muted);
  width: 32px;
  text-align: center;
}

.ep-thumb-wrap {
  width: 100px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #141b2b;
  position: relative;
  flex-shrink: 0;
}

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

.ep-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.episode-card:hover .ep-play-icon {
  opacity: 1;
}
.ep-play-icon svg {
  width: 12px;
  height: 12px;
  fill: #fff;
  margin-left: 2px;
}

.ep-info {
  flex: 1;
  min-width: 0;
}

.ep-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-overview {
  font-size: 12px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   IN-BROWSER VIDEO PLAYER & MODERN WATCH VIEW (MATCHING NETMIRROR EXPERIENCE)
   ========================================================================== */
.player-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #07101e;
  z-index: 5000;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.watch-view-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 24px 48px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

/* 1. Breadcrumb Top Bar */
.watch-top-bar,
.player-header {
  position: static !important;
  background: transparent !important;
  padding: 0 0 14px 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 20;
}

.watch-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  flex-wrap: wrap;
}

.breadcrumb-link {
  background: none;
  border: none;
  color: #60a5fa;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.breadcrumb-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #64748b;
  font-size: 15px;
  line-height: 1;
}

.breadcrumb-current {
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 700;
}

.breadcrumb-sub {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

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

.watch-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.watch-close-btn:hover {
  background: #e50914;
  color: #fff;
  border-color: #e50914;
}

/* ==========================================================================
   2. UI/UX PRO MAX 3-COLUMN CINEMA WATCH LAYOUT
   Left: Stream Servers (Instant Switch)
   Center: Video Player & Audio Enhancements
   Right: Seasons & Episodes (Series) / Recommended (Movies)
   ========================================================================== */

.watch-view-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 14px 20px 48px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

/* 3-Column Cinema Cockpit Layout */
.watch-main-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
  width: 100%;
  margin-top: 8px;
}

/* Shared Sidebar Container Styles (Left Servers & Right Episodes) */
.watch-servers-column,
.watch-episodes-column {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
  max-height: calc(75vh + 90px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.25) transparent;
}

.watch-servers-column::-webkit-scrollbar,
.watch-episodes-column::-webkit-scrollbar {
  width: 5px;
}

.watch-servers-column::-webkit-scrollbar-thumb,
.watch-episodes-column::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 4px;
}

/* Column Headers */
.watch-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.watch-column-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.watch-col-icon {
  font-size: 18px;
  line-height: 1;
}

.watch-col-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.3px;
  margin: 0;
  text-transform: uppercase;
}

.watch-col-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #38bdf8;
  display: block;
  margin-top: 2px;
}

/* Left Sidebar: Vertical Server List */
.watch-servers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.server-pill-btn {
  background: rgba(30, 41, 59, 0.72);
  color: #cbd5e1;
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.server-pill-btn:hover {
  background: rgba(51, 65, 85, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  color: #fff;
  transform: translateX(2px);
}

.server-pill-btn.active {
  background: rgba(248, 158, 0, 0.14);
  border-color: #f89e00;
  border-left: 3.5px solid #f89e00;
  color: #ffbe40;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(248, 158, 0, 0.28);
}

.server-pill-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-pill-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-pill-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.server-pill-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  letter-spacing: 0.2px;
}

.server-pill-btn.active .server-pill-tag {
  background: rgba(248, 158, 0, 0.25);
  color: #f89e00;
}

.server-pill-ping {
  font-size: 10.5px;
  font-weight: 700;
  color: #22c55e;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Left Sidebar Footer Actions */
.watch-servers-sidebar-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.watch-sidebar-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  box-sizing: border-box;
}

.watch-sidebar-btn.how-to-download-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.watch-sidebar-btn.how-to-download-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.watch-sidebar-btn.watch-download-side-btn {
  background: rgba(229, 9, 20, 0.16);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #ff4d58;
}

.watch-sidebar-btn.watch-download-side-btn:hover {
  background: var(--red);
  color: #fff;
}

.watch-sidebar-tip {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.4;
  padding: 2px 4px;
}

/* Center Video Column */
.watch-video-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Player Quick Actions Bar (Directly Above Video Screen) */
.watch-player-quick-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.watch-quick-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stream-server-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(229, 9, 20, 0.14);
  border: 1px solid rgba(229, 9, 20, 0.32);
  color: #ff4d58;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Mobile Segmented Tabs (Displayed on screens <= 980px) */
.watch-mobile-tabs {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.watch-mobile-tab {
  flex: 1;
  padding: 9px 6px;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  user-select: none;
}

.watch-mobile-tab.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 10px rgba(229, 9, 20, 0.45);
}

/* Live Equalizer Signal Waves */
.live-signal-bars,
.ep-live-signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.live-signal-bars .bar,
.ep-live-signal .bar {
  width: 2.5px;
  background-color: #22c55e;
  border-radius: 1px;
  animation: signalBounce 1.1s infinite ease-in-out;
}

.live-signal-bars .b1, .ep-live-signal .b1 { height: 6px; animation-delay: 0.1s; }
.live-signal-bars .b2, .ep-live-signal .b2 { height: 12px; animation-delay: 0.3s; }
.live-signal-bars .b3, .ep-live-signal .b3 { height: 8px; animation-delay: 0.2s; }

@keyframes signalBounce {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

.player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 75vh;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  user-select: none;
}

/* Native & CSS Immersive Fullscreen / Zoom-In Mode Override */
body.player-in-fullscreen {
  overflow: hidden !important;
  position: fixed !important;
  width: 100vw !important;
  height: 100vh !important;
  touch-action: none !important;
}

:fullscreen .player-container,
:-webkit-full-screen .player-container,
.player-container:fullscreen,
.player-container:-webkit-full-screen,
.player-container.is-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  aspect-ratio: unset !important;
  z-index: 10002 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  background: #000 !important;
  box-shadow: none !important;
}

:fullscreen .player-container .video-element,
:-webkit-full-screen .player-container .video-element,
.player-container:fullscreen .video-element,
.player-container:-webkit-full-screen .video-element,
.player-container.is-fullscreen .video-element,
:fullscreen .player-container .embed-player-iframe,
:-webkit-full-screen .player-container .embed-player-iframe,
.player-container:fullscreen .embed-player-iframe,
.player-container:-webkit-full-screen .embed-player-iframe,
.player-container.is-fullscreen .embed-player-iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: #000 !important;
  z-index: 5 !important;
}

:fullscreen .player-container .player-floating-actions,
:-webkit-full-screen .player-container .player-floating-actions,
.player-container:fullscreen .player-floating-actions,
.player-container:-webkit-full-screen .player-floating-actions,
.player-container.is-fullscreen .player-floating-actions {
  position: absolute !important;
  top: calc(14px + env(safe-area-inset-top, 0px)) !important;
  right: calc(14px + env(safe-area-inset-right, 0px)) !important;
  z-index: 30 !important;
}

:fullscreen .player-container .player-controls,
:-webkit-full-screen .player-container .player-controls,
.player-container:fullscreen .player-controls,
.player-container:-webkit-full-screen .player-controls,
.player-container.is-fullscreen .player-controls {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 8px)) !important;
  padding-left: calc(16px + env(safe-area-inset-left, 0px)) !important;
  padding-right: calc(16px + env(safe-area-inset-right, 0px)) !important;
  z-index: 25 !important;
}

/* Watch Action Pills Group (Sound, Fullscreen, Audio Dubs, Download) */
.watch-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.player-action-pill-btn {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.player-action-pill-btn .btn-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.player-action-pill-btn:hover {
  background: #334155;
  color: #fff;
  border-color: #64748b;
  transform: translateY(-1px);
}

.player-action-pill-btn.sound-boost-btn {
  border-color: rgba(234, 179, 8, 0.4);
  color: #fde047;
  background: rgba(234, 179, 8, 0.1);
}

.player-action-pill-btn.sound-boost-btn:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: #eab308;
}

.player-action-pill-btn.fullscreen-btn {
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
}

.player-action-pill-btn.fullscreen-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

/* Floating Controls inside Player Container (Always accessible on top of both HTML5 & Embeds) */
.player-floating-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  transition: opacity 0.25s ease;
  pointer-events: auto;
}

.player-container:hover .player-floating-actions {
  opacity: 1;
}

.floating-action-btn {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.floating-action-btn:hover {
  background: rgba(229, 9, 20, 0.9);
  border-color: #e50914;
  transform: scale(1.04);
}

.floating-action-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

@media (max-width: 640px) {
  .watch-servers-bar {
    gap: 8px;
  }
  .watch-actions-group {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .watch-actions-group::-webkit-scrollbar {
    display: none;
  }
  .player-action-pill-btn {
    padding: 5px 11px;
    font-size: 11.5px;
  }
}

/* How To Download Button (aligned cleanly on right of server bar, never blocking player controls) */
.how-to-download-btn {
  flex-shrink: 0;
  background: #e50914;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
  transition: transform 0.2s, background 0.2s;
}

.how-to-download-btn:hover {
  background: #b80710;
  transform: translateY(-1px);
}

/* Video Below Helpers: Ads Note & Download Button */
.watch-video-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0 8px;
}

.watch-ads-note {
  color: #94a3b8;
  font-size: 13.5px;
  text-align: center;
  margin: 0 0 8px;
}

.watch-fallback-helper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  margin: 4px 0 12px;
  color: #cbd5e1;
  font-size: 13px;
  text-align: center;
}
.watch-fallback-helper b {
  color: #fff;
}

.watch-download-btn {
  background: #e50914;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 36px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
  transition: all 0.2s;
}

.watch-download-btn:hover {
  background: #b80710;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(229, 9, 20, 0.5);
}

/* 4K & 8K Ultra HD Download Center Modal */
.download-hub-card {
  max-width: 580px;
  width: 95%;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.download-media-header {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}
.download-media-poster {
  width: 60px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.download-media-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.download-media-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.download-badge-uhd {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.download-body-scroll {
  padding: 18px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.download-quality-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.download-quality-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.2s ease;
  gap: 12px;
}
.download-quality-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.download-quality-card.uhd-card {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.07);
}
.download-quality-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.download-quality-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.download-quality-meta {
  font-size: 11.5px;
  color: var(--text-muted);
}
.download-action-btn {
  background: #e50914;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.download-action-btn:hover {
  background: #b20710;
  transform: scale(1.03);
}
.download-action-btn.btn-copy {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.download-action-btn.btn-copy:hover {
  background: rgba(255, 255, 255, 0.2);
}
.download-section-heading {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.filter-chip-dubbed {
  border-color: rgba(139, 92, 246, 0.4) !important;
  color: #c4b5fd !important;
}
.filter-chip-dubbed:hover, .filter-chip-dubbed.active {
  background: #8b5cf6 !important;
  color: #fff !important;
}

/* Right Sidebar: Seasons & Episodes (Series) / Recommended (Movies) */
.watch-episodes-column {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  padding: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
  max-height: calc(75vh + 90px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.watch-series-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Season Badges Row */
.watch-seasons-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.watch-seasons-row::-webkit-scrollbar {
  display: none;
}

.watch-season-pill {
  background: #1e293b;
  color: #94a3b8;
  border: 1px solid #334155;
  border-radius: 7px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.watch-season-pill:hover {
  background: #334155;
  color: #fff;
  border-color: #475569;
}

.watch-season-pill.active {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border-color: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.28);
}

/* Episode Buttons Grid */
.watch-episodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.watch-ep-btn {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: 8px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.watch-ep-btn:hover {
  background: #334155;
  border-color: #64748b;
  color: #fff;
  transform: translateY(-1px);
}

.watch-ep-btn.active {
  background: #064e3b;
  border-color: #22c55e;
  color: #4ade80;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
}

/* Selected Episode Status Card */
.watch-selected-ep-card {
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Movie Recommendations Grid (Right Sidebar for Movies) */
.watch-movie-recs-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.watch-movie-recs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

.watch-rec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.watch-rec-card:hover {
  background: #334155;
  border-color: #64748b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.watch-rec-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #0f172a;
}

.watch-rec-title {
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.watch-rec-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
}

/* Keep Watch Top Bar visible even if player controls timeout fires */
.watch-top-bar.controls-hidden {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Responsive adjustments for 3-Column Cinema Cockpit */
@media (min-width: 981px) and (max-width: 1199px) {
  .watch-main-layout {
    grid-template-columns: 210px minmax(0, 1fr) 280px !important;
    gap: 14px !important;
  }
  .watch-servers-column,
  .watch-episodes-column {
    padding: 12px 10px !important;
    width: auto !important;
  }
  .watch-episodes-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
  }
  .server-pill-btn {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 980px) {
  .watch-main-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .watch-video-column {
    order: 1 !important;
    width: 100% !important;
  }
  .watch-servers-column {
    order: 2 !important;
    width: 100% !important;
    max-height: none !important;
  }
  .watch-episodes-column {
    order: 3 !important;
    width: 100% !important;
    max-height: none !important;
  }
  .watch-mobile-tabs {
    display: flex !important;
  }
  .watch-episodes-grid {
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)) !important;
  }

  /* Controlled tab display on handhelds (<= 980px) */
  .watch-main-layout[data-mobile-tab="player"] .watch-servers-column,
  .watch-main-layout[data-mobile-tab="player"] .watch-episodes-column {
    display: none !important;
  }
  .watch-main-layout[data-mobile-tab="player"] .watch-video-footer {
    display: block !important;
  }

  .watch-main-layout[data-mobile-tab="servers"] .watch-servers-column {
    display: flex !important;
  }
  .watch-main-layout[data-mobile-tab="servers"] .watch-episodes-column,
  .watch-main-layout[data-mobile-tab="servers"] .watch-video-footer {
    display: none !important;
  }

  .watch-main-layout[data-mobile-tab="episodes"] .watch-episodes-column {
    display: flex !important;
  }
  .watch-main-layout[data-mobile-tab="episodes"] .watch-servers-column,
  .watch-main-layout[data-mobile-tab="episodes"] .watch-video-footer {
    display: none !important;
  }

  .watch-main-layout[data-mobile-tab="info"] .watch-video-footer {
    display: block !important;
  }
  .watch-main-layout[data-mobile-tab="info"] .watch-servers-column,
  .watch-main-layout[data-mobile-tab="info"] .watch-episodes-column {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .watch-view-wrapper {
    padding: 10px 12px 36px !important;
  }
  .watch-episodes-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 6px !important;
  }
  .watch-ep-btn {
    height: 40px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 600px) {
  .watch-view-wrapper {
    padding: 12px 14px 32px;
  }
  .watch-episodes-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .watch-ep-btn {
    height: 40px;
    font-size: 13.5px;
  }
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.embed-player-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}

.server-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-right: 4px;
}

/* Video Subtitle Track Styling */
::cue {
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.25rem;
  line-height: 1.4;
  border-radius: 4px;
  padding: 2px 6px;
}

.player-back-btn {
  background: none;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background var(--transition-fast);
}
.player-back-btn:hover {
  background: rgba(229, 9, 20, 0.85);
}
.player-back-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.player-title-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.player-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.player-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
}

.player-icon-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}
.player-icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Spinner */
.player-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 8;
  pointer-events: none;
}

.spinner-ring {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Center Splash Icon */
.player-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(229, 9, 20, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 9;
  animation: splashFade 0.5s ease forwards;
}
.player-center-icon svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes splashFade {
  0% { transform: translate(-50%, -50%) scale(0.7); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

/* Next Episode Overlay */
.next-ep-prompt {
  position: absolute;
  bottom: 100px;
  right: 40px;
  z-index: 20;
}

.next-ep-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
}

.next-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 1px;
}

.next-ep-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* Player Controls Bar */
.player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 32px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity var(--transition-normal);
}

.player-controls.controls-hidden {
  opacity: 0;
  pointer-events: none;
}
.player-header.controls-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Progress Bar */
.progress-bar-container {
  position: relative;
  width: 100%;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: relative;
  transition: height var(--transition-fast);
}

.progress-bar-container:hover .progress-track {
  height: 7px;
}

.progress-buffer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  width: 0%;
}

.progress-played {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--red);
  border-radius: 2px;
  width: 0%;
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-fast);
}

.progress-bar-container:hover .progress-handle {
  transform: translate(-50%, -50%) scale(1);
}

.progress-hover-time {
  position: absolute;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
  pointer-events: none;
  display: none;
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.player-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.player-btn:hover {
  color: var(--red);
  transform: scale(1.1);
}

.player-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

#fullscreenBtn svg, #pipBtn svg, #volumeBtn svg, #audioDubMenuBtn svg, #subtitlesMenuBtn svg, #playerShareBtn svg, #modalShareBtn svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.player-text-btn {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}

/* Volume Slider */
.volume-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.volume-slider {
  width: 70px;
  height: 4px;
  appearance: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.time-display {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
}

/* Player Popup Menus */
.player-menu-wrapper {
  position: relative;
}

.player-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 50;
}

.player-header .player-menu {
  bottom: auto;
  top: calc(100% + 8px);
  min-width: 220px;
  max-height: 380px;
  overflow-y: auto;
}

.menu-item {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.menu-item:hover, .menu-item.active {
  background: rgba(229, 9, 20, 0.85);
  color: #fff;
}

.menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 4px 0;
}

/* Volume Percentage Indicator */
.volume-percent-badge {
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
  min-width: 38px;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

/* Audio Quality & Volume Enhancer Menu */
.audio-enhancer-menu {
  min-width: 300px;
  max-width: 340px;
  max-height: 490px;
  overflow-y: auto;
  padding: 14px;
  gap: 12px;
  right: -50px;
  background: rgba(14, 18, 30, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 24px rgba(229, 9, 20, 0.15);
}

@media (max-width: 640px) {
  .audio-enhancer-menu {
    right: -20px;
    min-width: 270px;
  }
}

.enhancer-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.enhancer-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.enhancer-sparkle-icon {
  width: 15px;
  height: 15px;
  fill: #e50914;
  stroke: none;
}

.enhancer-desc {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
  line-height: 1.35;
}

.enhancer-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.enhancer-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.enhancer-val {
  color: #38bdf8;
  font-weight: 700;
  font-size: 11px;
}

.enhancer-boost-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.boost-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.boost-chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.boost-chip.active {
  background: #e50914;
  border-color: #ff3344;
  color: #fff;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.45);
}

.enhancer-slider {
  width: 100%;
  height: 6px;
  appearance: none;
  background: linear-gradient(to right, #38bdf8 0%, #3b82f6 50%, #e50914 100%);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  margin-top: 4px;
}

.enhancer-slider::-webkit-slider-thumb {
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.enhancer-presets-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preset-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.preset-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.preset-item.active {
  background: rgba(229, 9, 20, 0.16);
  border-color: rgba(229, 9, 20, 0.5);
}

.preset-item.active .preset-name {
  color: #ff4d58;
}

.preset-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.preset-sub {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.25;
  margin-top: 1px;
  display: block;
}

.enhancer-toggles-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
}

.enhancer-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 10px;
}

.toggle-label-text {
  display: flex;
  flex-direction: column;
}

.toggle-label-text strong {
  font-size: 11px;
  color: #e2e8f0;
}

.toggle-label-text small {
  font-size: 9.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   SHORTCUTS MODAL
   ========================================================================== */
.shortcuts-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 480px;
  width: 100%;
}

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

.shortcuts-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shortcut-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--red);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: toastIn 0.3s ease forwards;
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER & DEVELOPER DETAILS (FS FERDOWS)
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(6, 9, 20, 0.98) 0%, rgba(3, 5, 12, 1) 100%);
  padding: 64px 28px 48px;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 420px;
  margin-top: 10px;
  margin-bottom: 16px;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-vertical a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.footer-links-vertical a:hover {
  color: var(--pink);
  transform: translateX(4px);
}

.footer-vip-highlight {
  color: #facc15 !important;
  font-weight: 700 !important;
}

.footer-vip-highlight:hover {
  color: #fef08a !important;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

/* Developer Details Card (FS FERDOWS) */
.developer-card {
  background: linear-gradient(145deg, rgba(22, 29, 48, 0.75) 0%, rgba(11, 15, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.developer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #e50914, #38bdf8, #a855f7);
}

.developer-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

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

.developer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e50914 0%, #b91c1c 50%, #1e1b4b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
  flex-shrink: 0;
}

.developer-meta {
  display: flex;
  flex-direction: column;
}

.developer-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.developer-role {
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.developer-bio {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.developer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dev-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dev-email-btn {
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #fca5a5;
}

.dev-email-btn:hover {
  background: rgba(229, 9, 20, 0.3);
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.3);
}

.dev-github-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e7eb;
}

.dev-github-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.dev-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Footer Bottom Strip */
.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.credit-highlight {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.credit-email {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.credit-email:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-dev-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 100px !important; /* clears mobile bottom nav */
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-dev-col {
    grid-column: span 1;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links {
    display: none; /* Mobile menu can be expanded or toggle */
  }
  .search-wrapper {
    width: 200px;
  }
  .search-wrapper:focus-within {
    width: 240px;
  }
  .modal-hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .modal-poster-wrap {
    flex: 0 0 160px;
  }
  .modal-actions {
    justify-content: center;
  }
  .controls-row {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .nav-container {
    padding: 0 16px;
  }
  .logo-text {
    font-size: 18px;
  }
  .hero-section {
    min-height: 65vh;
    padding-top: 80px;
  }
  .movie-card {
    flex: 0 0 var(--movie-card-w);
  }
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
}

/* ==========================================================================
   LIVE SPORTS STREAMING SECTION STYLES
   ========================================================================== */
.live-dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2a2a;
  box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.7);
  animation: livePulse 1.6s infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes livePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(255, 42, 42, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 42, 42, 0);
  }
}

.nav-live-sports {
  color: #ff3333 !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 6px 14px !important;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  transition: all var(--transition-fast) !important;
}
.nav-live-sports:hover, .nav-live-sports.active {
  background: rgba(229, 9, 20, 0.28) !important;
  border-color: rgba(229, 9, 20, 0.7) !important;
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.4);
  color: #fff !important;
}

/* ==========================================================================
   Live Sports Spotlight Rail (Homepage)
   ========================================================================== */
.sports-spotlight-rail {
  position: relative;
  background: radial-gradient(circle at 12% 20%, rgba(229, 9, 20, 0.1) 0%, transparent 45%),
              radial-gradient(circle at 88% 80%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
              rgba(11, 17, 32, 0.55);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  margin: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.sports-spotlight-carousel {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 18px !important;
  -webkit-overflow-scrolling: touch;
}

.sports-spotlight-carousel::-webkit-scrollbar {
  height: 6px;
}
.sports-spotlight-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}
.sports-spotlight-carousel::-webkit-scrollbar-thumb {
  background: rgba(229, 9, 20, 0.35);
  border-radius: 999px;
}
.sports-spotlight-carousel::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 9, 20, 0.7);
}

.sports-spotlight-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(6, 10, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.15);
  transition: all var(--transition-normal);
  user-select: none;
}

.sports-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e50914, #ff3b47, #00d2ff);
  opacity: 0.85;
}

.sports-spotlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 24px rgba(229, 9, 20, 0.3);
}

.spotlight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.spotlight-sport-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.spotlight-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
  background: linear-gradient(135deg, #e50914 0%, #b8050e 100%);
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.5);
  text-transform: uppercase;
}

.spotlight-upcoming-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 9px;
  border-radius: 999px;
}

.spotlight-tournament {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-event-name {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.spotlight-teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 16px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spotlight-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.spotlight-team img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px;
  flex-shrink: 0;
}

.spotlight-team span {
  font-size: 12.5px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-vs {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--red);
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.spotlight-watch-btn {
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #e50914 0%, #b8050e 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
  transition: all var(--transition-fast);
  margin-top: 10px;
}

.spotlight-watch-btn:hover {
  background: linear-gradient(135deg, #ff2a3a 0%, #e50914 100%);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.65);
  transform: scale(1.02);
}

/* Sports Hero */
.sports-hero-header {
  position: relative;
  padding: 44px 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 22, 42, 0.9) 0%, rgba(6, 10, 20, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 36px;
  overflow: hidden;
}

.sports-hero-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.25) 0%, rgba(0, 168, 225, 0.15) 50%, transparent 75%);
  pointer-events: none;
  filter: blur(50px);
}

.sports-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.sports-back-btn {
  margin-bottom: 16px;
}

.sports-live-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(229, 9, 20, 0.45);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.sports-hero-title {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.sports-hero-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 24px;
}

/* Sports Search Bar & Quick Match Matcher */
.sports-search-bar-wrap {
  max-width: 760px;
  margin-bottom: 22px;
}
.sports-search-bar {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 18px;
  transition: all var(--transition-fast);
  gap: 8px;
}
.sports-search-bar:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}
.sports-search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 14.5px;
  outline: none;
  padding: 6px 8px;
  min-width: 0;
}
.sports-search-bar input::placeholder {
  color: var(--text-muted);
}
.sports-search-clear-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #cbd5e1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.sports-search-clear-btn:hover {
  background: rgba(229, 9, 20, 0.8);
  color: #fff;
}
.sports-search-submit-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.sports-search-submit-btn:hover {
  background: #b20710;
  transform: scale(1.02);
}
.sports-matches-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  background: rgba(229, 9, 20, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.sports-quick-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-left: 4px;
}
.quick-tag-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 2px;
}
.sports-tag-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  border-radius: 14px;
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.sports-tag-chip:hover, .sports-tag-chip.active {
  background: rgba(229, 9, 20, 0.25);
  border-color: var(--red);
  color: #fff;
}

/* Category Filters */
.sports-categories-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.sports-cat-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.sports-cat-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.sports-cat-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 12px var(--red-glow);
}

/* Status Bar */
.sports-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sports-status-tabs {
  display: flex;
  gap: 8px;
}

.sports-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.sports-tab:hover {
  color: #fff;
}
.sports-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Sports Section */
.sports-section {
  margin-bottom: 48px;
}

.sports-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sports-section-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sports-indicator {
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--red);
  border-radius: 2px;
}

.sports-counter-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.sports-section-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: -10px;
  margin-bottom: 20px;
}

/* Sports Matches Grid */
.sports-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

/* Sports Match Card */
.sports-match-card {
  background: linear-gradient(145deg, rgba(16, 23, 40, 0.88) 0%, rgba(9, 13, 25, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.sports-match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.sports-match-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75), 0 0 18px rgba(229, 9, 20, 0.2);
}
.sports-match-card:hover::before {
  opacity: 1;
}

.match-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.match-tournament-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.match-country-flag,
.match-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.match-sport-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}

.match-tournament-name,
.match-league {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.match-status-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.match-status-live,
.match-status-badge.status-live {
  background: rgba(229, 9, 20, 0.22);
  border: 1px solid rgba(229, 9, 20, 0.6);
  color: #ff3333;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.35);
}

.match-status-upcoming,
.match-status-badge.status-upcoming {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
}

.match-card-body {
  margin-bottom: 14px;
}

.match-teams-layout,
.match-teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.match-team,
.match-home-team,
.match-away-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.match-team-logo,
.team-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.match-team-name,
.team-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.match-vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  flex-shrink: 0;
}

.match-vs-text,
.vs-badge {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--red);
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.35);
  padding: 3px 7px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.match-time-text {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

.match-single-event {
  padding: 14px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.match-single-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.35;
}

.match-single-meta {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.match-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.match-servers-list,
.match-servers-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1;
}

.server-stream-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.server-stream-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 10px var(--red-glow);
}

.match-play-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, #e50914 0%, #b8050e 100%);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(229, 9, 20, 0.4);
  white-space: nowrap;
}

.match-play-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.7);
}

/* 24/7 Channels Grid */
.sports-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.sports-channel-card {
  background: rgba(14, 20, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.sports-channel-card:hover {
  transform: translateY(-3px);
  border-color: #00d2ff;
  background: rgba(18, 28, 52, 0.95);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.2);
}

.channel-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.channel-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.25) 0%, rgba(17, 60, 207, 0.35) 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d2ff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.channel-title-text {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel-status-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.channel-tune-btn {
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: #00d2ff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.sports-channel-card:hover .channel-tune-btn {
  background: #00d2ff;
  color: #040914;
}

/* Live Cricket Broadcast Hub */
.cricket-hub-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(22, 33, 62, 0.95) 0%, rgba(13, 19, 33, 0.98) 100%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.cricket-hub-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cricket-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: #ff3b30;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.cricket-hub-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.cricket-hub-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.cricket-hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.cricket-channel-action-card {
  background: rgba(14, 20, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.cricket-channel-action-card:hover {
  transform: translateY(-4px);
  border-color: #00d2ff;
  background: rgba(20, 30, 56, 0.98);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.25);
}

.c-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.c-card-badge {
  background: rgba(229, 9, 20, 0.25);
  color: #ff4d4d;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.c-card-sport {
  font-size: 11px;
  color: #00d2ff;
  font-weight: 700;
}

.c-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.c-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
  flex: 1;
}

.c-card-watch-btn {
  background: linear-gradient(135deg, #e50914 0%, #b8050e 100%);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: 0 2px 10px rgba(229, 9, 20, 0.35);
}

.cricket-channel-action-card:hover .c-card-watch-btn {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.6);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION & DRAWER STYLES
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px calc(env(safe-area-inset-bottom, 0px) + 2px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 8px;
  min-width: 56px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-fast);
}

.mobile-nav-item.active {
  color: #fff;
}
.mobile-nav-item.active svg {
  stroke: var(--red);
  transform: scale(1.1);
}

.sports-nav-icon-wrap {
  position: relative;
  display: inline-flex;
}

.sports-live-pip {
  position: absolute;
  top: -2px;
  right: -3px;
  width: 7px;
  height: 7px;
  background: #ff2a2a;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff2a2a;
  animation: livePulse 1.6s infinite;
}

.mobile-nav-sports.active svg {
  stroke: #00d2ff !important;
}

/* Mobile Platforms Sheet */
.mobile-platforms-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: opacity 0.3s ease;
}

.mobile-platforms-sheet.hidden {
  opacity: 0;
  pointer-events: none;
}

.mobile-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.mobile-sheet-content {
  position: relative;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px 20px 0 0;
  padding: 16px 20px calc(env(safe-area-inset-bottom, 0px) + 24px);
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-platforms-sheet.hidden .mobile-sheet-content {
  transform: translateY(100%);
}

.sheet-indicator {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 12px;
}

.sheet-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sheet-title-row h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.sheet-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.mobile-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mobile-plat-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 8px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  border-left: 3px solid var(--c, #e50914);
}
.mobile-plat-btn:active {
  background: rgba(255, 255, 255, 0.15);
}



/* ==========================================================================
   MONETIZATION, VIP & SPONSOR STYLES
   ========================================================================== */

/* Navbar VIP Upgrade Button */
.vip-upgrade-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.4) 100%);
  border: 1px solid rgba(234, 179, 8, 0.6);
  color: #fef08a;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.25);
  animation: vipPulseGlow 3s infinite ease-in-out;
}

@keyframes vipPulseGlow {
  0%, 100% {
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.25);
    border-color: rgba(234, 179, 8, 0.5);
  }
  50% {
    box-shadow: 0 0 24px rgba(234, 179, 8, 0.6), 0 0 8px #fef08a;
    border-color: #fef08a;
  }
}

.vip-upgrade-btn:hover {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #000;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.8);
}

.vip-crown-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Streaming Partner / VPN Banner in Movie Details Modal */
.sponsor-banner-card {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.1);
  transition: all var(--transition-fast);
}

.sponsor-banner-card:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.2);
}

.sponsor-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sponsor-icon-badge {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sponsor-text {
  flex: 1;
  min-width: 220px;
}

.sponsor-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.sponsor-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
}

.sponsor-discount-pill {
  background: #e50914;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.sponsor-desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}

.btn-sponsor-cta {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-sponsor-cta:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

/* In-Player AdShield Protection Badge */
.player-adshield-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  user-select: none;
  cursor: default;
  transition: all var(--transition-fast);
}

.player-adshield-pill:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  color: #6ee7b7;
}

.adshield-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: adshieldPulse 2s infinite ease-in-out;
}

@keyframes adshieldPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* In-Player VPN Sponsor Pill */
.player-sponsor-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.player-sponsor-pill:hover {
  background: #0284c7;
  color: #fff;
  border-color: #38bdf8;
  transform: scale(1.04);
}

/* VIP Modal Styles */
.vip-modal-card {
  background: linear-gradient(180deg, #181d2f 0%, #0f1422 100%);
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 620px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(234, 179, 8, 0.2);
}

.vip-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.vip-crown-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(202, 138, 4, 0.3) 100%);
  border: 2px solid #eab308;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.4);
}

.vip-crown-badge svg {
  width: 26px;
  height: 26px;
  fill: #fef08a;
}

.vip-modal-header h2 {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.vip-subtitle {
  font-size: 13px;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.45;
}

.vip-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 540px) {
  .vip-perks-grid {
    grid-template-columns: 1fr;
  }
}

.vip-perk-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.vip-perk-icon {
  font-size: 20px;
  line-height: 1;
}

.vip-perk-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.vip-perk-text p {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}

.vip-section-title {
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vip-pay-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

@media (max-width: 540px) {
  .vip-pay-buttons {
    grid-template-columns: 1fr;
  }
}

.vip-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: all var(--transition-fast);
  text-align: center;
}

.bmac-btn {
  background: #ffdd00;
  color: #000;
  font-weight: 800;
}
.bmac-btn:hover {
  background: #ffea47;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 221, 0, 0.4);
}

.kofi-btn {
  background: #ff5e5b;
}
.kofi-btn:hover {
  background: #ff7572;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 94, 91, 0.4);
}

.paypal-btn {
  background: #0070ba;
}
.paypal-btn:hover {
  background: #008be5;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 112, 186, 0.4);
}

/* Crypto Addresses List */
.vip-crypto-section {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
}

.vip-crypto-header {
  font-size: 12px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.crypto-addresses-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.crypto-addr-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crypto-coin {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  min-width: 95px;
}

.crypto-addr-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 5px 8px;
  color: #e2e8f0;
  font-family: monospace;
  font-size: 11px;
  outline: none;
}

.btn-copy-crypto {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-crypto:hover {
  background: #e50914;
  border-color: #ff3344;
}

/* VIP License Code Section */
.vip-license-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.vip-license-desc {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.vip-code-input-row {
  display: flex;
  gap: 8px;
}

.vip-code-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 13px;
  outline: none;
}

.vip-code-input:focus {
  border-color: #eab308;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.4);
}

.vip-status-message {
  margin-top: 10px;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 4px;
}
.vip-status-message.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
}
.vip-status-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* ==========================================================================
   MASTER MULTI-DEVICE RESPONSIVE SYSTEM
   (Large Screens >1441px, Laptops 1025-1440px, Tablets 769-1024px, 
    Phones <768px, <640px, <480px, <380px, & Touch Optimizations)
   ========================================================================== */

/* Keyframe for Native Mobile Sheet */
@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* 1. Large Desktop & Ultra-wide Monitors (> 1441px) */
@media (min-width: 1441px) {
  .main-container, .nav-container {
    max-width: 1680px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-section {
    min-height: 70vh;
    padding-top: 100px;
  }
  .hero-title {
    font-size: 56px;
  }
  .hero-synopsis {
    font-size: 15.5px;
    max-width: 700px;
  }
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
  }
  .sports-matches-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .sports-channels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .cricket-hub-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .modal-card {
    max-width: 980px;
  }
}

/* 2a. Large Laptops & Desktops (1341px - 1440px) */
@media (min-width: 1341px) and (max-width: 1440px) {
  .main-container, .nav-container {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-container {
    padding: 0 20px !important;
  }
  .nav-left {
    gap: 20px !important;
  }
  .nav-links {
    gap: 14px !important;
  }
  .nav-link {
    font-size: 13px !important;
    padding: 5px 2px !important;
  }
  .search-wrapper {
    width: 210px !important;
  }
  .search-wrapper:focus-within {
    width: 260px !important;
  }
  .nav-right {
    gap: 12px !important;
  }
  .install-app-nav-btn {
    padding: 6px 11px !important;
    font-size: 12px !important;
  }
  .vip-upgrade-btn {
    padding: 6px 11px !important;
    font-size: 11.5px !important;
  }
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
  }
  .sports-matches-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .sports-channels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .cricket-hub-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* 2b. Standard 13-inch Laptops (1200px - 1340px: MacBook Air 1280, 1366x768 compact) */
@media (min-width: 1200px) and (max-width: 1340px) {
  .main-container, .nav-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-container {
    padding: 0 16px !important;
  }
  .nav-left {
    gap: 14px !important;
  }
  .logo-text {
    font-size: 18.5px !important;
  }
  .nav-links {
    gap: 9px !important;
  }
  .nav-link {
    font-size: 12px !important;
    padding: 4px 2px !important;
  }
  #shortcutsBtn {
    display: none !important;
  }
  .search-wrapper {
    width: 170px !important;
  }
  .search-wrapper:focus-within {
    width: 220px !important;
  }
  .nav-right {
    gap: 8px !important;
  }
  .install-app-nav-btn {
    padding: 5px 9px !important;
    font-size: 11.5px !important;
  }
  .vip-upgrade-btn {
    padding: 5px 9px !important;
    font-size: 11px !important;
  }
}

/* 2b. Compact Laptops & Small Displays (1025px - 1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
  .main-container, .nav-container {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-container {
    padding: 0 16px !important;
  }
  .nav-left {
    gap: 14px !important;
  }
  .logo-text {
    font-size: 19px !important;
  }
  .nav-links {
    gap: 10px !important;
  }
  .nav-link {
    font-size: 12.5px !important;
    padding: 4px 2px !important;
  }
  .nav-link[data-nav="history"],
  .nav-link[data-nav="mylist"],
  #shortcutsBtn {
    display: none !important;
  }
  .search-wrapper {
    width: 170px !important;
  }
  .search-wrapper:focus-within {
    width: 220px !important;
  }
  .nav-right {
    gap: 10px !important;
  }
  .install-app-nav-btn {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
  }
  .vip-upgrade-btn {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
  }
}

/* 3. Tablets Landscape & Medium Screens (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    height: 62px !important;
  }
  .nav-container {
    height: 62px !important;
    padding: 0 14px !important;
  }
  .nav-left {
    gap: 12px !important;
  }
  .logo-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
  }
  .logo-text {
    font-size: 16.5px !important;
  }
  .nav-links {
    gap: 8px !important;
  }
  .nav-link {
    font-size: 12px !important;
    padding: 4px 3px !important;
  }
  .nav-link[data-nav="trending"],
  .nav-link[data-nav="history"],
  .nav-link[data-nav="mylist"],
  #shortcutsBtn,
  .search-shortcut {
    display: none !important;
  }
  .nav-right {
    gap: 8px !important;
  }
  .search-wrapper {
    width: 145px !important;
    min-width: 110px !important;
    height: 34px !important;
    transition: width 0.25s ease !important;
  }
  .search-wrapper:focus-within {
    width: 200px !important;
  }
  .search-input {
    height: 34px !important;
    font-size: 13px !important;
    padding: 0 24px 0 30px !important;
  }
  .install-app-nav-btn {
    padding: 5px 8px !important;
    height: 32px !important;
  }
  .install-app-btn-text {
    display: none !important;
  }
  .vip-upgrade-btn {
    padding: 5px 9px !important;
    height: 32px !important;
    font-size: 10.5px !important;
  }
  .vip-btn-text {
    display: none !important;
  }
  .vip-upgrade-btn::after {
    content: "VIP" !important;
    font-weight: 800 !important;
    font-size: 10.5px !important;
  }
  .hero-section {
    min-height: 52vh !important;
    max-height: 560px !important;
    padding-top: 80px !important;
  }
  .hero-title {
    font-size: 34px !important;
  }
  .hero-synopsis {
    font-size: 13.5px !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }
  .media-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
  }
  .sports-matches-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .sports-channels-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
  .cricket-hub-cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
  .modal-card {
    width: 86vw !important;
    max-width: 780px !important;
    max-height: 88vh !important;
  }
  .watch-view-wrapper {
    padding: 16px 20px 40px !important;
    max-width: 100% !important;
  }
  .watch-main-layout {
    gap: 14px !important;
  }
}

/* 4. Tablets Portrait & Mobile Transition (<= 768px) */
@media (max-width: 768px) {
  /* Global Layout & Safe Areas */
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Universal Prevention of iOS Safari Auto-Zoom on form inputs */
  input, select, textarea,
  .search-input,
  .quick-search-box input,
  .sports-search-bar input,
  .episode-search-wrapper input,
  .vip-code-input,
  .crypto-addr-input {
    font-size: 16px !important;
  }

  /* Fixed Mobile Top Navigation Bar */
  .navbar {
    height: calc(56px + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-left: calc(12px + env(safe-area-inset-left, 0px)) !important;
    padding-right: calc(12px + env(safe-area-inset-right, 0px)) !important;
    background: rgba(4, 7, 20, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 1100 !important;
  }

  .nav-container {
    height: 56px !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .nav-links,
  #shortcutsBtn,
  .search-shortcut {
    display: none !important;
  }

  .nav-left {
    gap: 8px !important;
    flex: 0 0 auto !important;
  }

  .logo {
    gap: 6px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
  }

  .logo-badge {
    width: 30px !important;
    height: 30px !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    border-radius: 7px !important;
    flex-shrink: 0 !important;
  }

  .logo-text {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px !important;
  }

  .logo-tag {
    display: none !important;
  }

  .nav-right {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  /* Sleek Expandable Mobile Search Input */
  .search-wrapper {
    flex: 1 !important;
    max-width: 220px !important;
    min-width: 115px !important;
    height: 36px !important;
    position: relative !important;
    transition: max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .search-wrapper:focus-within {
    max-width: 290px !important;
  }

  .search-input {
    height: 36px !important;
    font-size: 16px !important;
    padding: 0 28px 0 32px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
  }

  .search-input:focus {
    background: rgba(12, 17, 30, 0.98) !important;
    border-color: var(--red) !important;
    box-shadow: 0 0 14px rgba(229, 9, 20, 0.4) !important;
  }

  .search-icon {
    left: 10px !important;
    width: 14px !important;
    height: 14px !important;
  }

  .clear-search-btn {
    right: 8px !important;
    font-size: 18px !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Full-Width Mobile Search Auto-Suggest Popover */
  .suggestions-popover {
    position: fixed !important;
    top: calc(56px + env(safe-area-inset-top, 0px) + 6px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(80vh - 60px) !important;
    border-radius: 14px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
    background: #0b1120 !important;
    z-index: 1500 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* VIP Pass Button on Mobile */
  .vip-upgrade-btn {
    flex-shrink: 0 !important;
    padding: 6px 11px !important;
    height: 34px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    gap: 4px !important;
    border-radius: 17px !important;
  }

  .vip-crown-icon {
    width: 14px !important;
    height: 14px !important;
  }

  /* Hero Section Cinema Showcase */
  .hero-quick-search,
  .hero-slider-nav {
    display: none !important;
  }

  .hero-section {
    min-height: 52vh !important;
    max-height: 540px !important;
    padding: calc(60px + env(safe-area-inset-top, 0px)) 0 20px !important;
    display: flex !important;
    align-items: flex-end !important;
    position: relative !important;
  }

  .hero-backdrop {
    background-position: center top !important;
  }

  .hero-vignette {
    background: linear-gradient(180deg, rgba(4, 7, 20, 0.15) 0%, rgba(4, 7, 20, 0.72) 58%, var(--bg-black) 100%) !important;
  }

  .hero-content {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 5 !important;
  }

  .hero-meta-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-bottom: 8px !important;
  }

  .badge {
    font-size: 10px !important;
    padding: 2.5px 7px !important;
    border-radius: 4px !important;
  }

  .hero-title {
    font-size: clamp(22px, 6vw, 32px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
  }

  .hero-synopsis {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    color: var(--text-secondary) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
    max-width: 100% !important;
  }

  .hero-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .hero-actions .btn {
    min-height: 44px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
  }

  #heroPlayBtn {
    flex: 1.25 !important;
    justify-content: center !important;
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.5) !important;
  }

  #heroDetailsBtn {
    flex: 1 !important;
    justify-content: center !important;
  }

  #heroFavBtn {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }

  /* Body Content Container */
  .main-container {
    padding: 0 14px calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Streaming Networks & OTT Rails on Mobile */
  .platforms-rail-section,
  .language-rail-section {
    padding: 14px 12px !important;
    margin-top: 6px !important;
    margin-bottom: 24px !important;
    border-radius: 14px !important;
  }

  .rail-header {
    margin-bottom: 10px !important;
    padding: 0 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .rail-title {
    font-size: 16.5px !important;
    font-weight: 700 !important;
  }

  .rail-subtitle {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  .platform-count-tag {
    font-size: 10px !important;
    padding: 2.5px 8px !important;
  }

  .rail-view-all-btn {
    font-size: 11.5px !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
  }

  .rail-carousel-wrapper {
    margin: 0 -14px !important;
    padding: 0 14px !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* Buttery Smooth Horizontal Touch Carousels */
  .rail-carousel {
    display: flex !important;
    gap: 10px !important;
    padding: 6px 14px 16px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    overscroll-behavior-x: contain !important;
  }

  .rail-carousel::-webkit-scrollbar {
    display: none !important;
  }

  .ott-brand-cards,
  .language-brand-cards {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-x: contain !important;
    gap: 10px !important;
    padding: 4px 14px 12px !important;
    margin: 0 -14px !important;
    scrollbar-width: none !important;
  }

  .ott-brand-cards::-webkit-scrollbar,
  .language-brand-cards::-webkit-scrollbar {
    display: none !important;
  }

  .ott-card {
    flex: 0 0 116px !important;
    height: 75px !important;
    padding: 8px 6px !important;
    scroll-snap-align: start !important;
    border-radius: 10px !important;
  }

  .ott-logo {
    font-size: 14.5px !important;
  }

  .ott-sub {
    font-size: 9px !important;
  }

  .lang-card {
    flex: 0 0 116px !important;
    height: 79px !important;
    padding: 8px 6px !important;
    scroll-snap-align: start !important;
    border-radius: 10px !important;
  }

  .lang-flag {
    font-size: 20px !important;
    margin-bottom: 2px !important;
  }

  .lang-name {
    font-size: 11.5px !important;
  }

  .lang-desc {
    font-size: 8.5px !important;
  }

  .universe-chips-bar {
    margin-top: 10px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .universe-label {
    font-size: 11px !important;
    color: var(--text-muted) !important;
  }

  .universe-chips {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    gap: 6px !important;
    width: 100% !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
  }

  .universe-chips::-webkit-scrollbar {
    display: none !important;
  }

  .universe-chip {
    flex-shrink: 0 !important;
    font-size: 11px !important;
    padding: 5px 10px !important;
    border-radius: 14px !important;
  }

  /* Movie & Series Cards in Carousels */
  .movie-card, .skeleton-card {
    flex: 0 0 var(--movie-card-w) !important;
    width: var(--movie-card-w) !important;
    min-width: var(--movie-card-w) !important;
    max-width: var(--movie-card-w) !important;
    scroll-snap-align: start !important;
    border-radius: 10px !important;
  }

  .card-title {
    font-size: 11.5px !important;
    padding: 6px 6px 2px !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    line-height: 1.25 !important;
  }

  .card-meta {
    font-size: 10px !important;
    padding: 0 6px 6px !important;
  }

  /* Grid Views (Search, Category, Filtered) */
  .grid-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .grid-title {
    font-size: 20px !important;
    font-weight: 800 !important;
  }

  .grid-subtitle {
    font-size: 12px !important;
  }

  .grid-filters {
    width: 100% !important;
    display: flex !important;
    gap: 6px !important;
  }

  .filter-chip {
    flex: 1 !important;
    text-align: center !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    min-height: 40px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
  }

  .grid-language-bar {
    gap: 6px !important;
    padding: 4px 2px 10px !important;
    margin-bottom: 14px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
  }

  .lang-filter-chip {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    min-height: 34px !important;
    flex-shrink: 0 !important;
  }

  /* 3-Column Native Mobile Grid (Apple & Netflix style) */
  .media-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  /* Native Mobile Bottom Sheet for Details Modal */
  .modal-backdrop {
    padding: 0 !important;
    align-items: flex-end !important;
    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 10005 !important;
  }

  .modal-sheet-indicator {
    width: 44px !important;
    height: 5px !important;
    background: rgba(255, 255, 255, 0.28) !important;
    border-radius: 3px !important;
    margin: 10px auto 4px !important;
    display: block !important;
  }

  .modal-card {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 93vh !important;
    max-height: 93vh !important;
    border-radius: 22px 22px 0 0 !important;
    background: #0a0f1d !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-bottom: none !important;
    margin: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.95) !important;
  }

  .modal-close-btn {
    position: sticky !important;
    top: 12px !important;
    float: right !important;
    margin-right: 14px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 24px !important;
    z-index: 100 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7) !important;
    cursor: pointer !important;
  }

  .modal-hero {
    min-height: auto !important;
    padding: 18px 14px 14px !important;
    position: relative !important;
  }

  .modal-hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    text-align: left !important;
  }

  .modal-poster-wrap {
    flex: 0 0 auto !important;
    width: 105px !important;
    height: 155px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85) !important;
  }

  .modal-info {
    width: 100% !important;
  }

  .modal-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin: 6px 0 !important;
    font-weight: 800 !important;
  }

  .modal-tagline {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }

  .modal-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
  }

  .modal-genres {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 8px 0 !important;
  }

  .modal-netmirror-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 10px 0 6px !important;
  }

  .circleRating {
    width: 44px !important;
    height: 44px !important;
  }

  .playbtn svg {
    width: 48px !important;
    height: 48px !important;
  }

  .playbtn .text {
    font-size: 14px !important;
  }

  .modal-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 14px !important;
    width: 100% !important;
  }

  .modal-actions #modalPlayBtn {
    flex: 1 1 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 16px rgba(229, 9, 20, 0.5) !important;
  }

  .modal-actions #modalFavBtn,
  .modal-actions #modalShareBtn {
    flex: 1 1 calc(50% - 4px) !important;
    min-height: 42px !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
  }

  .modal-body {
    padding: 14px 14px calc(44px + env(safe-area-inset-bottom, 16px)) !important;
  }

  .modal-overview {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  .series-nav-bar {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .season-selector-wrapper,
  .episode-search-wrapper {
    width: 100% !important;
  }

  .episodes-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .episode-btn {
    min-height: 42px !important;
    padding: 8px 4px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }

  /* Full-Screen VIP Pass Modal on Mobile */
  .vip-modal-card {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: 94vh !important;
    max-height: 94vh !important;
    border-radius: 22px 22px 0 0 !important;
    border: 1px solid rgba(234, 179, 8, 0.35) !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 20px 16px calc(36px + env(safe-area-inset-bottom, 14px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    background: #0d1220 !important;
  }

  .vip-perks-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .vip-pay-buttons {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .vip-pay-btn {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
    border-radius: 10px !important;
  }

  .crypto-addr-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }

  .crypto-coin {
    font-size: 11.5px !important;
    font-weight: 700 !important;
  }

  .crypto-addr-input {
    width: 100% !important;
    font-size: 16px !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
  }

  .btn-copy-crypto {
    width: 100% !important;
    min-height: 42px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  .vip-code-input-row {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .vip-code-input {
    font-size: 16px !important;
    min-height: 44px !important;
    border-radius: 8px !important;
  }

  .vip-code-input-row .btn {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 8px !important;
  }

  /* Live Sports Spotlight Rail on Mobile */
  .sports-spotlight-rail {
    padding: 16px 12px !important;
    margin: 20px 0 !important;
    border-radius: 14px !important;
  }
  .sports-spotlight-carousel {
    gap: 12px !important;
    padding: 8px 2px 14px !important;
  }
  .sports-spotlight-card {
    flex: 0 0 270px !important;
    padding: 14px 15px !important;
    border-radius: 14px !important;
  }
  .spotlight-event-name {
    font-size: 14.5px !important;
    margin-bottom: 8px !important;
  }
  .spotlight-teams-row {
    padding: 8px 10px !important;
    margin: 8px 0 12px !important;
  }
  .spotlight-team img {
    width: 24px !important;
    height: 24px !important;
  }
  .spotlight-team span {
    font-size: 11.5px !important;
  }
  .spotlight-watch-btn {
    min-height: 40px !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
  }

  /* Live Sports Streaming View on Mobile */
  .sports-hero-header {
    padding: calc(16px + env(safe-area-inset-top, 0px)) 14px 16px !important;
  }

  .sports-hero-title {
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  .sports-hero-desc {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .sports-search-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 10px 14px !important;
  }

  .sports-matches-count {
    text-align: right !important;
    font-size: 11px !important;
  }

  .sports-categories-bar {
    gap: 6px !important;
    padding-bottom: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
  }

  .sports-cat-btn {
    padding: 8px 12px !important;
    font-size: 12px !important;
    min-height: 38px !important;
    flex-shrink: 0 !important;
  }

  .sports-status-bar {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .sports-status-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
    gap: 4px !important;
  }

  .sports-tab {
    text-align: center !important;
    padding: 8px 4px !important;
    font-size: 11.5px !important;
    min-height: 38px !important;
  }

  .sports-matches-grid,
  .sports-channels-grid,
  .cricket-hub-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .match-play-btn {
    width: 100% !important;
    min-height: 42px !important;
    margin-top: 8px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Video Player & Watch View Overlay on Mobile */
  .watch-view-wrapper {
    padding: 10px 12px calc(40px + env(safe-area-inset-bottom, 16px)) !important;
    max-width: 100% !important;
  }

  .watch-top-bar,
  .player-header {
    height: auto !important;
    min-height: 40px !important;
    padding: calc(4px + env(safe-area-inset-top, 0px)) 0 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .watch-breadcrumb {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    gap: 4px !important;
  }

  .breadcrumb-link,
  .breadcrumb-sep,
  .breadcrumb-current,
  .breadcrumb-sub {
    font-size: 13px !important;
  }

  .breadcrumb-current {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 140px !important;
  }

  .watch-top-actions {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .player-adshield-pill {
    padding: 3px 8px !important;
    font-size: 10.5px !important;
  }

  #watchShortcutsBtn {
    display: none !important;
  }

  .watch-close-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
  }

  /* Watch Server Pills Selector */
  .watch-servers-bar {
    gap: 0 !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  .watch-servers-bar > .how-to-download-btn,
  .watch-actions-group {
    display: none !important;
  }

  .server-pills-scroll {
    width: 100% !important;
    flex: 1 1 100% !important;
    gap: 8px !important;
    padding: 2px 2px 6px 2px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    display: flex !important;
    align-items: center !important;
  }

  .server-pills-scroll::-webkit-scrollbar {
    display: none !important;
  }

  .server-pill-btn {
    padding: 7px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .player-container {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 72vh !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85) !important;
  }

  .player-container:fullscreen,
  .player-container:-webkit-full-screen,
  .player-container.is-fullscreen,
  :fullscreen .player-container,
  :-webkit-full-screen .player-container {
    aspect-ratio: unset !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10002 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    background: #000 !important;
    box-shadow: none !important;
  }

  .player-floating-actions {
    top: 10px !important;
    right: 10px !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    z-index: 25 !important;
  }

  .floating-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px 11px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: rgba(8, 14, 26, 0.88) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  }

  .player-sponsor-pill,
  #pipBtn {
    display: none !important;
  }

  .player-controls {
    padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 4px)) 8px !important;
    background: linear-gradient(0deg, rgba(6, 10, 18, 0.98) 0%, rgba(6, 10, 18, 0.85) 70%, transparent 100%) !important;
  }

  .progress-bar-container {
    height: 20px !important;
    margin-bottom: 2px !important;
  }

  .progress-track {
    height: 4px !important;
  }

  .progress-handle {
    width: 12px !important;
    height: 12px !important;
  }

  .volume-slider {
    display: none !important;
  }

  .volume-percent-badge {
    font-size: 10px !important;
    min-width: auto !important;
    padding: 1px 4px !important;
  }

  .time-display {
    font-size: 10.5px !important;
    margin-left: 2px !important;
    white-space: nowrap !important;
  }

  .controls-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
  }

  .controls-left {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .controls-right {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
  }

  .player-btn {
    min-width: 34px !important;
    min-height: 34px !important;
    width: 34px !important;
    height: 34px !important;
    padding: 5px !important;
    border-radius: 6px !important;
  }

  .player-text-btn {
    min-width: auto !important;
    width: auto !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
  }

  #speedMenuBtn {
    display: none !important;
  }

  #audioEnhancerBtn #audioEnhanceBadge {
    display: inline-block !important;
    max-width: 44px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 10px !important;
  }

  /* Video Below Helpers & Download Area */
  .watch-video-footer {
    padding: 10px 0 6px !important;
    width: 100% !important;
  }

  .watch-ads-note {
    font-size: 11.5px !important;
    margin-bottom: 4px !important;
    text-align: center !important;
    color: var(--text-muted) !important;
  }

  .watch-fallback-helper {
    font-size: 11.5px !important;
    padding: 8px 12px !important;
    margin: 4px 0 10px !important;
    border-radius: 8px !important;
    background: rgba(229, 9, 20, 0.08) !important;
    border: 1px solid rgba(229, 9, 20, 0.2) !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }

  .watch-footer-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
  }

  .watch-download-btn {
    flex: 1 1 50% !important;
    min-height: 42px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 21px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4) !important;
  }

  .watch-guide-btn {
    flex: 1 1 50% !important;
    min-height: 42px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 21px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 14px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #f1f5f9 !important;
    transition: all 0.2s ease !important;
  }
  .watch-guide-btn:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
  }

  /* Watch Series Episodes & Stream Servers Columns on Mobile */
  .watch-servers-column,
  .watch-episodes-column {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: 12px !important;
    background: rgba(13, 22, 40, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
  }

  .watch-seasons-row {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
    display: flex !important;
  }

  .watch-seasons-row::-webkit-scrollbar {
    display: none !important;
  }

  .watch-season-pill {
    flex-shrink: 0 !important;
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
  }

  .watch-episodes-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 0 !important;
    display: grid !important;
  }

  .watch-ep-btn {
    height: 44px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
    transition: all 0.2s ease !important;
  }

  .watch-ep-btn.active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(16, 185, 129, 0.35) 100%) !important;
    border-color: #22c55e !important;
    color: #4ade80 !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.3) !important;
  }

  .watch-selected-ep-card {
    margin-top: 10px !important;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-align: center !important;
    background: rgba(229, 9, 20, 0.12) !important;
    border: 1px solid rgba(229, 9, 20, 0.25) !important;
    color: #fca5a5 !important;
  }

  /* Download Center Modal Bottom Sheet */
  #downloadGuideModal {
    align-items: flex-end !important;
    padding: 0 !important;
  }

  .download-hub-card {
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 88vh !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
    margin: 0 !important;
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .download-media-header {
    padding: 12px 16px !important;
  }

  .download-media-poster {
    width: 48px !important;
    height: 72px !important;
  }

  .download-body-scroll {
    padding: 14px 16px !important;
  }

  .download-quality-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px 14px !important;
  }

  .download-quality-info {
    width: 100% !important;
  }

  .download-quality-card > div:last-child {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .download-quality-card .btn-copy,
  .download-quality-card .download-action-btn {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
    min-height: 40px !important;
  }

  /* Dialog Bottom Sheet styling for Sound Booster & Audio Dubs Modals */
  #soundBoosterModal,
  #audioDubsModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    align-items: flex-end !important;
    padding: 0 !important;
    z-index: 10005 !important;
  }

  #soundBoosterModal .modal-card,
  #audioDubsModal .modal-card {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: 85vh !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
    margin: 0 !important;
    animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 12px)) !important;
  }

  /* Audio Enhancer Menu as Mobile Bottom Sheet */
  .audio-enhancer-menu {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 80vh !important;
    border-radius: 20px 20px 0 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-bottom: none !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.95) !important;
    z-index: 10010 !important;
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom, 12px)) 16px !important;
    animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Mobile Bottom Navigation Bar */
  .mobile-bottom-nav {
    display: flex !important;
    height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 4px 6px env(safe-area-inset-bottom, 0px) !important;
    background: rgba(8, 12, 22, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.8) !important;
    z-index: 1000 !important;
  }

  .mobile-nav-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    font-size: 10.5px !important;
    padding: 5px 2px !important;
  }

  .mobile-nav-item svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* Mobile Platforms & Languages Sheet Drawer */
  .mobile-platforms-sheet {
    z-index: 2500 !important;
  }

  .mobile-sheet-content {
    background: #0d1322 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 14px 16px calc(24px + env(safe-area-inset-bottom, 12px)) 16px !important;
    max-height: 84vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .mobile-platforms-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)) !important;
    gap: 8px !important;
  }

  .mobile-plat-btn {
    padding: 10px 6px !important;
    font-size: 11.5px !important;
    min-height: 42px !important;
    border-radius: 10px !important;
  }

  .sheet-close-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }

  /* Professional Footer & Developer Card on Mobile */
  .footer {
    padding: 36px 16px calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-brand {
    text-align: left !important;
  }

  .developer-card {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  .developer-avatar {
    width: 42px !important;
    height: 42px !important;
    font-size: 14px !important;
  }

  .developer-name {
    font-size: 15px !important;
  }

  .developer-role {
    font-size: 11.5px !important;
  }

  .developer-bio {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  .developer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .dev-link-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
    min-height: 44px !important;
  }

  .footer-bottom-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
}

/* 5. Compact Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 10px !important;
  }

  .logo-text {
    font-size: 15px !important;
  }

  .search-wrapper {
    max-width: 175px !important;
    min-width: 95px !important;
  }

  .search-wrapper:focus-within {
    max-width: calc(100vw - 110px) !important;
  }

  .hero-title {
    font-size: 21px !important;
  }

  .ott-card {
    flex: 0 0 108px !important;
    height: 72px !important;
  }

  .ott-logo {
    font-size: 13.5px !important;
  }

  .movie-card, .skeleton-card {
    flex: 0 0 var(--movie-card-w) !important;
    width: var(--movie-card-w) !important;
    min-width: var(--movie-card-w) !important;
    max-width: var(--movie-card-w) !important;
  }

  .modal-poster-wrap {
    width: 92px !important;
    height: 138px !important;
  }

  .modal-title {
    font-size: 18px !important;
  }

  .episodes-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }
}

/* 6. Extra Small & Fold Outer Screens (<= 360px) */
@media (max-width: 360px) {
  .nav-container {
    padding: 0 6px !important;
    height: 52px !important;
  }

  .logo-badge {
    width: 26px !important;
    height: 26px !important;
    font-size: 15px !important;
  }

  .logo-text {
    font-size: 13.5px !important;
    letter-spacing: -0.3px !important;
  }

  .search-wrapper {
    max-width: 130px !important;
    min-width: 85px !important;
    height: 32px !important;
  }

  .search-input {
    padding: 0 24px 0 28px !important;
    height: 32px !important;
    font-size: 16px !important;
  }

  .search-icon {
    left: 8px !important;
    width: 13px !important;
    height: 13px !important;
  }

  .vip-upgrade-btn {
    padding: 4px 8px !important;
    font-size: 10px !important;
    height: 30px !important;
  }

  .vip-upgrade-btn .vip-btn-text {
    display: none !important;
  }

  .vip-upgrade-btn::after {
    content: "VIP" !important;
    font-weight: 800 !important;
    font-size: 10.5px !important;
  }

  .hero-title {
    font-size: 19px !important;
  }

  .hero-actions .btn {
    padding: 8px 10px !important;
    font-size: 11.5px !important;
  }

  .movie-card, .skeleton-card {
    flex: 0 0 var(--movie-card-w) !important;
    width: var(--movie-card-w) !important;
    min-width: var(--movie-card-w) !important;
    max-width: var(--movie-card-w) !important;
  }

  .card-title {
    font-size: 10.5px !important;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .modal-poster-wrap {
    width: 82px !important;
    height: 122px !important;
  }

  .modal-title {
    font-size: 16px !important;
  }

  .episodes-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 7. Landscape Mobile Phones (max-height: 500px) */
@media (orientation: landscape) and (max-height: 500px) {
  .navbar {
    height: 48px !important;
    padding-top: 0 !important;
  }

  .nav-container {
    height: 48px !important;
  }

  .hero-section {
    min-height: 85vh !important;
    padding-top: 52px !important;
  }

  .mobile-bottom-nav {
    height: 46px !important;
  }

  body {
    padding-bottom: 50px !important;
  }

  .modal-card {
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
  }
}

/* 8. Touch Screen Hardware Optimizations */
@media (hover: none) and (pointer: coarse) {
  .rail-nav-btn {
    display: flex !important;
    width: 32px !important;
    height: 54px !important;
    font-size: 20px !important;
    opacity: 0.75 !important;
  }
  .rail-prev {
    left: 2px !important;
  }
  .rail-next {
    right: 2px !important;
  }

  .movie-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--border-subtle) !important;
  }

  .movie-card:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
  }

  .ott-card:hover,
  .lang-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .ott-card:active,
  .lang-card:active {
    transform: scale(0.96) !important;
    transition: transform 0.1s ease !important;
  }
}

/* 9. PWA Software Install & Multi-Platform App Styles */
.install-app-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 9, 20, 0.14);
  border: 1px solid rgba(229, 9, 20, 0.38);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.install-app-nav-btn:hover {
  background: #e50914;
  border-color: #e50914;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.45);
  transform: translateY(-1px);
}

.install-app-icon {
  width: 16px;
  height: 16px;
  fill: #e50914;
  transition: fill 0.2s ease;
}

.install-app-nav-btn:hover .install-app-icon {
  fill: #fff;
}

.mobile-install-banner-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.22), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(229, 9, 20, 0.45);
  border-radius: 12px;
  color: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.mobile-install-banner-btn:active {
  transform: scale(0.98);
}

.install-banner-icon {
  font-size: 24px;
}

.install-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.install-banner-text strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.install-banner-text small {
  font-size: 11px;
  color: #94a3b8;
}

.install-banner-arrow {
  color: #e50914;
  font-weight: 700;
  font-size: 16px;
}

/* Universal App Install Modal */
.install-modal-card {
  background: #0b1120 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.15) !important;
}

.native-install-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.18), rgba(30, 41, 59, 0.75));
  border: 1px solid rgba(229, 9, 20, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.native-install-badge {
  display: inline-block;
  background: #e50914;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.install-os-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: none;
}

.install-os-tabs::-webkit-scrollbar {
  display: none;
}

.install-os-tab {
  background: rgba(30, 41, 59, 0.7);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.install-os-tab:hover {
  background: rgba(51, 65, 85, 0.8);
  color: #fff;
}

.install-os-tab.active {
  background: #e50914;
  color: #fff;
  border-color: #e50914;
  box-shadow: 0 2px 10px rgba(229, 9, 20, 0.4);
}

.install-step-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 8px;
}

.step-badge {
  background: rgba(229, 9, 20, 0.2);
  color: #f87171;
  border: 1px solid rgba(229, 9, 20, 0.3);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.step-text {
  font-size: 13px;
  line-height: 1.5;
  color: #e2e8f0;
}

.ios-share-icon, .ios-add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .install-app-nav-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .install-app-btn-text {
    display: none;
  }
}

/* Direct Software Download CTA Cards */
.download-cta-box {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.download-cta-box:hover {
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .download-cta-box {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .download-cta-box .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   ORGANIC SEO & AEO KNOWLEDGE HUB / FAQ SECTION
   ========================================================================== */
.seo-content-hub {
  padding: 56px 24px 36px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 20, 0.95) 40%, #060a14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 48px;
}

.seo-hub-container {
  max-width: 1200px;
  margin: 0 auto;
}

.seo-hub-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.seo-hub-pill {
  display: inline-block;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-radius: 9999px;
  margin-bottom: 12px;
}

.seo-hub-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.seo-hub-subtitle {
  font-size: clamp(13px, 1.3vw, 15px);
  color: #94a3b8;
  line-height: 1.6;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.seo-faq-card {
  background: rgba(14, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.seo-faq-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(229, 9, 20, 0.15);
}

.seo-faq-q {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
  line-height: 1.4;
}

.seo-faq-a {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 640px) {
  .seo-content-hub {
    padding: 36px 14px 24px;
    margin-top: 32px;
  }
  .seo-faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .seo-faq-card {
    padding: 16px 18px;
  }
}
