/* ==========================================================================
   PERMANENT REMOVAL: FLOATING ACTION BUTTON / DICE / FAB
   ========================================================================== */
#cyberFloatingFab,
.cyber-floating-fab-group,
.fab-btn,
.fab-shuffle,
.fab-top {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

/* ==========================================================================
   CONTENT PROTECTION & ANTI-SCRAPING SHIELD
   ========================================================================== */
body,
.video-card,
.story-avatar-wrap,
.video-grid,
.site-header,
.site-footer,
.player-container,
.watch-sidebar {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input,
textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

img,
video {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

:root {
  /* ==========================================================================
     CRYSTAL GLASS — Pure White Frosted Glass System
     ========================================================================== */
  --bg-main: #050508;
  --bg-darker: #020204;
  --bg-surface: #0a0a12;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-heavy: rgba(255, 255, 255, 0.12);
  --bg-glass-card: rgba(255, 255, 255, 0.05);

  /* Pure White Frosted Glass Tokens */
  --neon-purple: #FFFFFF;
  --neon-purple-glow: rgba(255, 255, 255, 0.35);
  --neon-cyan: #FFFFFF;
  --neon-cyan-glow: rgba(255, 255, 255, 0.3);
  --accent-pink: #FFFFFF;
  --accent-pink-glow: rgba(255, 255, 255, 0.3);
  
  /* Fallbacks mapped to pure white */
  --accent-orange: #FFFFFF;
  --accent-purple: #FFFFFF;
  --accent-cyan: #FFFFFF;
  --accent-gold: #FFFFFF;
  --accent-green: #FFFFFF;

  /* Borders & Glass Dividers */
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-glass: rgba(255, 255, 255, 0.18);
  --border-hover: rgba(255, 255, 255, 0.55);
  --border-cyan-hover: rgba(255, 255, 255, 0.55);

  /* Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii & Elevation */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows & Elevation - Quiet Chrome (Unslopped) */
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
  --shadow-neon-purple: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-neon-cyan: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 28px -4px rgba(0, 0, 0, 0.6);

  /* Micro Transitions (180ms per master prompt) */
  --transition-fast: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

button, a, .tier-chip, .subnav-chip, .quick-tag-chip, .video-card, .reel-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* GPU Hardware Acceleration for 60fps butter-smooth scrolling & zero jank */
.video-card,
.reel-card,
.story-item,
.subnav-chip,
.tier-chip {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  perspective: 1000px;
}

.stories-scroller,
.subnav-scroller,
.quick-tags-scroller,
.reels-shelf-scroller {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.card-thumb-wrap img,
.video-card img {
  image-rendering: -webkit-optimize-contrast;
  content-visibility: auto;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #222b40;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Header & Nav — Ultra-Transparent Liquid Glass (10% Blur) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.3);
  backdrop-filter: blur(5px) saturate(130%);
  -webkit-backdrop-filter: blur(5px) saturate(130%);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, opacity 240ms ease;
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-orange), #c2410c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

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

.brand-name .highlight {
  color: var(--accent-orange);
}

.brand-sub {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
}

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

/* Search Box */
.search-box {
  flex: 1;
  max-width: 600px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  padding: 12px 48px 12px 42px;
  background: #141a27;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--accent-orange);
  background: #192032;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.search-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.clear-btn {
  position: absolute;
  right: 48px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
}

.clear-btn:hover {
  color: #fff;
}

.search-action-btn {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}

.search-action-btn:hover {
  background: var(--accent-orange-hover);
  transform: scale(1.05);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn,
.watchlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(19, 23, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.action-btn:hover,
.watchlist-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.action-btn i,
.watchlist-btn i {
  color: #FFFFFF;
}

.action-btn .badge,
.watchlist-btn .badge,
.watchlist-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Hero Spotlight Banner */
.hero-spotlight {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 60px 30px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(1.2);
  transition: background-image 0.6s ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-main) 0%, rgba(7, 9, 14, 0.7) 60%, rgba(7, 9, 14, 0.4) 100%);
}

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

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.badge-featured {
  background: linear-gradient(135deg, var(--accent-orange), #c2410c);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-quality {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
}

.badge-rating {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-views {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Category Pills Bar (Ultra-Transparent Liquid Glass & Scroll-Hide) */
.categories-bar {
  background: rgba(5, 5, 8, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 24px;
  position: sticky;
  top: 69px;
  z-index: 90;
  backdrop-filter: blur(5px) saturate(130%);
  -webkit-backdrop-filter: blur(5px) saturate(130%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, opacity 240ms ease;
  will-change: transform;
}

.categories-bar.categories-hidden {
  transform: translateY(-220%);
  opacity: 0;
  pointer-events: none;
}

.categories-bar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1440px;
  margin: 0 auto 12px;
  padding: 0 4px;
  position: relative;
}

.tier-nav-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.nav-tier-badge {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.nav-tier-badge i {
  color: #FFFFFF;
  font-size: 11px;
}

.sub-tier-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

.sub-tier-badge i {
  color: #FFFFFF;
}

/* Two-Tier Category Mode Switcher */
.channel-toggle-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  flex: 1;
  min-width: 0;
  backdrop-filter: blur(16px);
}

.channel-toggle-group::-webkit-scrollbar {
  display: none;
}

.channel-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.channel-toggle-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.channel-toggle-btn.active {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 16px rgba(255, 255, 255, 0.2) !important;
}

.channel-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.anime-badge {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ff52a4 !important;
  border: 1px solid rgba(255, 0, 122, 0.35);
}

.manga-badge {
  background: rgba(255, 152, 0, 0.2) !important;
  color: #ffb74d !important;
  border: 1px solid rgba(255, 152, 0, 0.35);
}

/* Modal Channel Tabs */
.modal-channel-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.modal-channel-tab {
  flex: 1;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(14, 22, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-channel-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.modal-channel-tab.active#modalTabHuman {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.modal-channel-tab.active#modalTabAnime {
  background: rgba(255, 0, 122, 0.18);
  border-color: #ff2a8d;
  color: #ff2a8d;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.modal-channel-tab.active#modalTabManga {
  background: rgba(255, 152, 0, 0.18);
  border-color: #ff9800;
  color: #ffb74d;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.categories-bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-cyan);
}

.categories-bar-label i {
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 6px var(--accent-cyan));
}

.btn-all-categories {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.btn-all-categories:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.categories-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.cat-nav-arrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.cat-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.categories-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden !important;
  touch-action: pan-y !important;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  padding: 4px 2px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.categories-container::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  flex-shrink: 0 !important;
  min-width: max-content !important;
  height: 36px;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.category-pill.active {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 16px rgba(255, 255, 255, 0.18) !important;
  font-weight: 800;
}

/* Header Categories Button */
.header-categories-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.header-categories-btn:hover {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.badge-cyan {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  font-weight: 800;
}

/* All Categories Modal Deck */
.categories-modal-card,
.categories-modal-dialog {
  max-width: 980px !important;
  width: 92% !important;
  max-height: 85vh;
  padding: 28px !important;
  background: rgba(14, 16, 24, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(32px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(24px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.categories-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.cat-modal-header-left h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-modal-header-left h2 i {
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
}

.cat-modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.cat-modal-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 22, 38, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  min-width: 280px;
}

.cat-modal-search-box i {
  color: var(--accent-cyan);
  font-size: 13px;
}

.cat-modal-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  width: 100%;
}

.categories-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-height: 58vh;
  overflow-y: auto;
  padding: 4px 6px 12px 2px;
}

.cat-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 22, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  text-decoration: none;
}

.cat-card-item:hover {
  background: rgba(22, 34, 58, 0.95);
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.cat-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-card-arrow {
  color: var(--text-muted);
  font-size: 11px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cat-card-item:hover .cat-card-arrow {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

/* Main Container */
.main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 24px;
  flex: 1;
  width: 100%;
}

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

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: var(--accent-orange);
}

.results-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.view-btn {
  background: #141a27;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.view-btn.active {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}

/* Video Grid - 16:9 Aspect Ratio Cards */
.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Video Card */
.movie-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-card);
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}

.card-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #121724;
}

.card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .card-poster {
  transform: scale(1.05);
}

/* Duration Badge (Bottom-Right) */
.card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Views Badge (Top-Left) */
.card-views {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

/* Rating Badge (Top-Right) */
.card-badge-rating {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 14, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 3;
}

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

.overlay-btn {
  background: var(--accent-orange);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}

.overlay-btn:hover {
  transform: scale(1.1);
}

.card-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 12px;
  color: var(--text-muted);
}

.card-bookmark-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  transition: var(--transition);
}

.card-bookmark-btn:hover,
.card-bookmark-btn.active {
  color: var(--accent-gold);
}

/* Skeleton Loading */
.skeleton-card {
  background: #10141f;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}

.skeleton-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.04);
}

@keyframes skeletonShimmer {
  100% { transform: translateX(100%); }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}

.empty-state i {
  font-size: 50px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 22px;
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #141a27;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-indicator {
  font-size: 14px;
  color: var(--text-secondary);
}

.page-current {
  color: #fff;
  font-weight: 700;
}

/* Modals */
.modal-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.88);
  backdrop-filter: blur(14px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #0f131d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
}

.modal-close,
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.25s ease;
  font-size: 18px;
}

.modal-close:hover,
.modal-close-btn:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transform: rotate(90deg);
}

.modal-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 16px;
  color: var(--text-secondary);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Modal Video Player */
.modal-video-player {
  padding: 24px 24px 0 24px;
  background: #000;
}

.player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.cinema-native-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  outline: none;
  object-fit: contain;
  z-index: 2;
}

.player-top-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.player-stream-badge {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #10b981;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  pointer-events: auto;
  letter-spacing: 0.5px;
}

.live-indicator-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.player-quality-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: auto;
}

.quality-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.quality-pills {
  display: flex;
  gap: 5px;
}

.quality-pill-btn {
  background: #172033;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.quality-pill-btn:hover {
  color: #fff;
  border-color: var(--accent-orange);
}

.quality-pill-btn.active {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.player-buffering-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  z-index: 5;
  transition: opacity 0.2s ease;
}

.player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

/* Modal Info Panel */
.modal-info-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-meta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

.modal-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  background: #161c2b;
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-subtle);
}

.stat-pill.rating {
  color: var(--accent-gold);
}

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

/* Modal Direct Downloads Section */
.modal-downloads-section {
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.downloads-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.downloads-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.downloads-title i {
  color: var(--accent-orange);
}

.downloads-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.downloads-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.download-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dl-pill-group {
  display: inline-flex;
  align-items: center;
  background: #171f30;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.dl-pill-group:hover {
  border-color: var(--accent-orange);
  background: #1c263b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.dl-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}

.dl-btn-link:hover {
  color: #fff;
}

.dl-badge-res {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.dl-pill-1080p .dl-badge-res {
  color: #00f2fe;
}

.dl-pill-720p .dl-badge-res {
  color: #38bdf8;
}

.dl-pill-480p .dl-badge-res {
  color: #fbbf24;
}

.dl-pill-360p .dl-badge-res,
.dl-pill-240p .dl-badge-res {
  color: #94a3b8;
}

.dl-tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.dl-copy-btn {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 12px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-copy-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.downloads-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 12px;
  padding: 8px 0;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.dl-empty-state {
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dl-empty-state i {
  color: var(--accent-gold);
}

.modal-tags-box {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.tag-badge {
  background: #141a27;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

.tag-badge:hover {
  color: #fff;
  border-color: var(--accent-orange);
}

/* Watchlist Modal */
.watchlist-card {
  max-width: 800px;
  padding: 28px;
}

.watchlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.watchlist-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.watchlist-header h2 i {
  color: var(--accent-gold);
}

.watchlist-count-badge {
  background: #1a2234;
  color: var(--accent-gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-height: 60vh;
  overflow-y: auto;
}

.watchlist-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #141a27;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.watchlist-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.watchlist-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.watchlist-item-title {
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.watchlist-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.watchlist-remove-btn:hover {
  background: var(--accent-orange);
}

.watchlist-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.watchlist-empty i {
  font-size: 40px;
  margin-bottom: 12px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #161c2c;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

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

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 6px;
  max-width: 480px;
}

.footer-note {
  color: var(--text-muted);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-spotlight {
    min-height: 360px;
    padding: 40px 20px;
  }
  .hero-title {
    font-size: 26px;
  }
}

/* Cleaned up redundant legacy mobile rules */

/* Premium cinema refresh -------------------------------------------------- */
/* ==========================================================================
   PERMANENT REMOVAL: FLOATING ACTION BUTTON / DICE / FAB
   ========================================================================== */
#cyberFloatingFab,
.cyber-floating-fab-group,
.fab-btn,
.fab-shuffle,
.fab-top {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

/* ==========================================================================
   CONTENT PROTECTION & ANTI-SCRAPING SHIELD
   ========================================================================== */
body,
.video-card,
.story-avatar-wrap,
.video-grid,
.site-header,
.site-footer,
.player-container,
.watch-sidebar {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input,
textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

img,
video {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

:root {
  --bg-main: #050508;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.55);
  --accent-cyan: #FFFFFF;
  --accent-orange: #FFFFFF;
  --accent-orange-hover: #FFFFFF;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --shadow-card: 0 16px 38px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 24px 55px rgba(0, 0, 0, 0.7), 0 0 32px rgba(255, 255, 255, 0.15);
}

html { scroll-behavior: smooth; }
 :where(a, button, input, select, [tabindex]):focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 3px; }
body {
  background:
    radial-gradient(ellipse at 15% 15%, rgba(255, 255, 255, 0.03), transparent 30rem),
    radial-gradient(ellipse at 85% 25%, rgba(255, 255, 255, 0.02), transparent 28rem),
    #050508;
}

.site-header {
  background: rgba(8, 10, 16, 0.75);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px) saturate(145%);
}
.header-inner { width: 100%; max-width: none; min-height: 78px; padding: 12px clamp(16px, 3.2vw, 52px); }
.brand { gap: 13px; }
.brand-logo-cyber {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 0 24px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}
.logo-hexagon { color: #FFFFFF; font-size: 15px; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); }
.logo-4k-badge {
  position: absolute;
  right: -8px;
  bottom: -5px;
  padding: 1px 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.brand-name { letter-spacing: -0.035em; color: #FFFFFF; }
.brand-name .highlight-cyan, .brand-name .highlight { color: #FFFFFF; text-shadow: 0 0 14px rgba(255, 255, 255, 0.5); }
.fans-pill {
  margin-left: 5px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  vertical-align: 2px;
  backdrop-filter: blur(6px);
}
.brand-sub { color: #94a3b8; font-size: 9px; letter-spacing: 0.13em; }
.live-pulse-dot { box-shadow: 0 0 9px #FFFFFF; background: #FFFFFF; }

.search-box input {
  min-width: 0;
  min-height: 44px;
  padding-left: 46px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.search-box input:focus { border-color: rgba(255, 255, 255, 0.65); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15); }
.search-box { min-width: 0; }
.site-header:not(.watch-header) .search-box input { padding-right: 104px; }
.search-kbd-hint {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 26px;
  transform: translateY(-50%);
  pointer-events: none;
}
.search-kbd-hint kbd {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 5px;
  background: rgba(255,255,255,0.055);
  color: #aab4c1;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.18);
}
.search-icon { color: rgba(255, 255, 255, 0.7); }
.search-action-btn { background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.38); color: #FFFFFF; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 5px 18px rgba(0, 0, 0, 0.3); backdrop-filter: blur(12px); }
.action-btn { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
.action-btn:hover { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.action-btn i { color: #FFFFFF; }
.action-btn .badge { background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35); color: #FFFFFF; }

.library-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 15px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
}
.library-switch-option {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #aab3c2;
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.library-switch-option small { color: inherit; font-size: 9px; font-weight: 700; opacity: .72; }
.library-switch-option:hover { transform: translateY(-1px); color: #fff; background: rgba(255,255,255,.09); }
.library-switch-option.active#sectionBtnMovies,
.library-switch-option.active#libraryModeMovies,
.library-switch-option.active#sectionBtnAdult,
.library-switch-option.active#libraryModeAdult,
.library-switch-option.active#sectionBtnAnime,
.library-switch-option.active#sectionBtnHentai,
.library-switch-option.active#sectionBtnManga {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 0 18px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
}

.hero-spotlight {
  min-height: clamp(520px, 68vw, 740px);
  align-items: flex-end;
  padding: clamp(52px, 8vw, 112px) max(24px, calc((100vw - 1440px) / 2));
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #090b10;
}
.hero-spotlight::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.2;
  background-image: none;
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, black, transparent 76%);
}
.hero-backdrop {
  inset: -2%;
  width: 104%;
  height: 104%;
  background-size: cover;
  background-position: center 35%;
  filter: brightness(0.67) saturate(0.82);
  transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) scale(1.035);
  transition: transform 450ms cubic-bezier(.2,.75,.25,1), filter 500ms ease;
  will-change: transform;
}
.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7,8,12,0.82) 0%, rgba(7,8,12,0.54) 34%, rgba(7,8,12,0.08) 76%), linear-gradient(0deg, #07080c 0%, rgba(7,8,12,0.7) 12%, transparent 74%);
}
.hero-overlay { z-index: 0; background: radial-gradient(ellipse at 74% 35%, transparent 0, rgba(7,8,12,0.18) 54%, rgba(7,8,12,0.55) 100%); }
.hero-content { max-width: 780px; animation: hero-arrive 850ms cubic-bezier(.18,.75,.2,1) both; }
.hero-badge-row { gap: 9px; margin-bottom: 21px; }
.badge-featured { padding: 7px 11px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); color: #FFFFFF; letter-spacing: 0.13em; backdrop-filter: blur(12px); }
.badge-quality, .badge-rating, .badge-views { padding: 6px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(12px); color: #FFFFFF; }
.hero-title {
  max-width: 760px;
  margin-bottom: 17px;
  font-size: clamp(2.7rem, 6.2vw, 5.9rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
  text-wrap: balance;
  color: #FFFFFF !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}
.hero-desc { max-width: 570px; margin-bottom: 27px; color: rgba(240, 244, 249, 0.79); font-size: 15px; line-height: 1.7; }
.hero-actions { gap: 11px; }
.hero-actions .btn { min-height: 48px; padding: 0 21px; border-radius: 9px; }
.hero-actions .btn-primary { 
  background: rgba(255, 255, 255, 0.22); 
  border: 1px solid rgba(255, 255, 255, 0.55); 
  color: #FFFFFF; 
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5); 
  backdrop-filter: blur(16px);
}
.hero-actions .btn-primary:hover { 
  transform: translateY(-2px); 
  background: rgba(255, 255, 255, 0.35); 
  border-color: rgba(255, 255, 255, 0.85); 
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.3); 
}
.hero-actions .btn-secondary { border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); color: #FFFFFF; backdrop-filter: blur(12px); }
.hero-actions .btn-secondary:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.16); }

.categories-bar {
  top: 77px;
  padding: 12px clamp(16px, 3.2vw, 52px);
  border-bottom-color: rgba(255,255,255,0.08);
  background: rgba(8,10,15,0.86);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}
.categories-bar-top-row { width: 100%; max-width: none; margin-bottom: 10px; }
.channel-toggle-group { padding: 4px; border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.035); box-shadow: none; }
.channel-toggle-btn { min-height: 38px; padding: 7px 13px; color: #aab3c2; }
.channel-toggle-btn.active#btnModeHuman,
.channel-toggle-btn.active#btnModeAnime,
.channel-toggle-btn.active#btnModeManga { 
  border-color: rgba(255, 255, 255, 0.45); 
  background: rgba(255, 255, 255, 0.18); 
  color: #FFFFFF; 
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 0 15px rgba(255, 255, 255, 0.12); 
}
.channel-badge { background: rgba(255,255,255,0.08); color: #bdc7d5; }
.btn-all-categories { background: rgba(85,230,242,0.07); border-color: rgba(85,230,242,0.2); color: #9bf2f7; }
.btn-all-categories:hover { background: var(--accent-cyan); color: #071014; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.cat-nav-arrow { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.045); color: #a9eaf0; box-shadow: none; }
.category-pill { border-color: rgba(255,255,255,0.085); background: rgba(255,255,255,0.035); color: #9da7b6; }
.category-pill:hover { border-color: rgba(85,230,242,0.3); background: rgba(85,230,242,0.07); box-shadow: none; }
.category-pill.active { border-color: rgba(85,230,242,0.42); background: rgba(85,230,242,0.12); color: #9df6fb; box-shadow: none; }

.main-container { width: 100%; max-width: none; padding: clamp(30px, 4vw, 56px) clamp(16px, 3.2vw, 52px); }
.section-header { margin-bottom: 25px; }
.section-title { font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -0.04em; }
.section-title i { color: var(--accent-cyan); }
.results-meta { color: #8590a0; font-size: 12px; }
.movies-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 22px 18px; perspective: 1200px; }
.movie-card {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  --card-glow-x: 50%;
  --card-glow-y: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(25,30,39,0.94), rgba(12,14,20,0.98) 72%);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  transform: translate3d(0,0,0) rotateX(0) rotateY(0);
  transform-style: preserve-3d;
  animation: card-arrive 620ms cubic-bezier(.18,.75,.2,1) both;
  transition: transform 280ms cubic-bezier(.2,.72,.2,1), border-color 220ms ease, box-shadow 280ms ease;
}
.movie-card::before {
  position: absolute;
  z-index: 4;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(340px circle at var(--card-glow-x) var(--card-glow-y), rgba(85,230,242,0.13), transparent 65%);
  transition: opacity 250ms ease;
}
.movie-card:hover {
  z-index: 2;
  border-color: rgba(85,230,242,0.34);
  background: #11151d;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7);
  transform: translate3d(0,-8px,0) rotateX(var(--card-tilt-y)) rotateY(var(--card-tilt-x));
}
.movie-card:hover::before { opacity: 1; }
.card-poster-wrap { aspect-ratio: 16 / 10; background: #121722; }
.card-poster { transition: transform 650ms cubic-bezier(.2,.72,.2,1), filter 450ms ease; }
.card-preview-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  background: #090b10;
  transition: opacity 180ms ease;
}
.movie-card.is-video-preview .card-preview-video { opacity: 1; }
.movie-card.is-video-preview:hover .card-overlay { opacity: 0; }
.movie-card:hover .card-poster { transform: scale(1.075); filter: saturate(1.13) contrast(1.04); }
.card-overlay { background: linear-gradient(0deg, rgba(4,7,11,0.64), rgba(4,7,11,0.13)); backdrop-filter: blur(0); transition: opacity 230ms ease; }
.overlay-btn-cyber {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.overlay-btn-cyber:hover { transform: scale(1.1); background: rgba(255, 255, 255, 0.35); border-color: rgba(255, 255, 255, 0.9); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 255, 255, 0.35); }
.reticle-outer-ring { border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 0 20px rgba(255, 255, 255, 0.15); }
.card-badge-uhd, .card-duration, .card-views, .card-badge-rating { border: 1px solid rgba(255,255,255,0.22); border-radius: 6px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card-badge-uhd { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }
.card-badge-uhd.is-4k { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.45); }
.card-info { padding: 13px 14px 14px; }
.card-title { margin-bottom: 10px; color: #eff2f6; font-size: 13px; line-height: 1.5; }
.meta-tag-stream { color: rgba(255, 255, 255, 0.75); font-size: 10px; letter-spacing: 0.04em; }
.card-bookmark-btn { border: 1px solid transparent; border-radius: 7px; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.card-bookmark-btn:hover, .card-bookmark-btn.active { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.45); transform: translateY(-1px); }

.series-group { grid-column: 1 / -1; min-width: 0; padding: 19px; border: 1px solid rgba(255,255,255,0.1); border-radius: 15px; background: rgba(255, 255, 255, 0.035); backdrop-filter: blur(16px); }
.series-group-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.series-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 5px; color: rgba(255, 255, 255, 0.85); font-size: 9px; font-weight: 800; letter-spacing: 0.18em; }
.series-group-header h3 { color: #f1f4f8; font-size: clamp(16px, 2vw, 21px); font-weight: 750; letter-spacing: -0.03em; }
.series-episode-count { display: inline-flex; align-items: center; gap: 7px; color: #8b97a7; font-size: 11px; white-space: nowrap; }
.series-episode-count i { color: #FFFFFF; }
.series-episodes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.series-episodes-grid .movie-card { min-width: 0; }

.pagination-wrapper { padding: 18px; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; background: rgba(255,255,255,0.04); backdrop-filter: blur(14px); }
.page-btn { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: #FFFFFF; }
.page-btn:not(:disabled):hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.18); }
.page-current { color: #FFFFFF; }
.modal-overlay { background: rgba(2,4,8,0.78); backdrop-filter: blur(16px); }
.modal-card { padding: 24px !important; box-sizing: border-box !important; border: 1px solid rgba(255,255,255,0.22); border-radius: 18px; background: rgba(14, 16, 24, 0.92); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px); box-shadow: 0 35px 100px rgba(0,0,0,0.8), 0 0 50px rgba(255,255,255,0.08); }
.modal-close { border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #FFFFFF; }
.modal-close:hover { background: rgba(255,255,255,0.25); color: #FFFFFF; border-color: rgba(255,255,255,0.55); }
.site-footer { border-top-color: rgba(255,255,255,0.075); background: #08090d; }
.toast { border: 1px solid rgba(255,255,255,0.25); background: rgba(17,22,29,0.94); backdrop-filter: blur(18px); color: #FFFFFF; }
.cyber-ambient-glow { opacity: 0.6; pointer-events: none; }

/* Category dialog: reserve a dedicated corner for the close control. */
.categories-modal-card {
  width: min(980px, calc(100vw - 24px)) !important;
  max-height: min(88dvh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.categories-modal-card > .modal-close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  box-shadow: 0 8px 26px rgba(0,0,0,.46), 0 0 0 5px rgba(7,8,12,.58);
}
.categories-modal-card .categories-modal-header {
  min-width: 0;
  padding: 42px 52px 16px 0;
}
.categories-modal-card .cat-modal-header-left { min-width: 0; max-width: 100%; }
.categories-modal-card .cat-modal-header-left h2 { min-width: 0; line-height: 1.25; overflow-wrap: anywhere; }
.categories-modal-card .cat-modal-search-box { width: min(100%, 360px); min-width: 0; }
.categories-modal-card .cat-modal-search-box input { min-width: 0; }
.is-hidden { display: none !important; }

/* Short, distinct motion signatures for each interactive layer. */
.brand-logo-cyber { transition: transform 360ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease; }
.brand:hover .brand-logo-cyber { transform: perspective(180px) rotateY(-18deg) rotateX(7deg) translateY(-2px); box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.35), 0 0 30px rgba(255, 255, 255, 0.25); }
.library-switch-option { position: relative; overflow: hidden; isolation: isolate; }
.library-switch-option::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,.2) 48%, transparent 76%);
  transform: translateX(-120%);
}
.library-switch-option:hover::after { opacity: .9; animation: switch-glint 680ms cubic-bezier(.2,.7,.2,1) both; }
.search-box { transition: filter 220ms ease; }
.search-box:focus-within { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); }
.category-pill { 
  position: relative; 
  isolation: isolate; 
  overflow: hidden; 
  flex-shrink: 0 !important; 
  min-width: max-content !important; 
  white-space: nowrap !important;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 220ms ease; 
  animation: pill-arrive 420ms cubic-bezier(.16,1,.3,1) both; 
}
.category-pill::after {
  position: absolute;
  z-index: -1;
  top: -40%;
  left: -60%;
  width: 44%;
  height: 180%;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(143,246,250,.2), transparent);
  transform: skewX(-24deg);
}
.category-pill:hover { transform: translateY(-3px) scale(1.025); }
.category-pill:hover::after { opacity: 1; animation: pill-scan 560ms ease-out both; }
.cat-card-item { transform-origin: 50% 100%; transition: transform 240ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease; animation: category-card-in 430ms cubic-bezier(.16,1,.3,1) both; }
.cat-card-item:nth-child(3n + 2) { animation-delay: 45ms; }
.cat-card-item:nth-child(3n + 3) { animation-delay: 90ms; }
.cat-card-item:hover { transform: perspective(500px) translateY(-4px) rotateX(2deg); }
.cat-card-item:hover .cat-card-name { transform: translateX(3px); transition: transform 220ms ease; }
.movie-card:nth-child(4n + 2) { animation-delay: 55ms; }
.movie-card:nth-child(4n + 3) { animation-delay: 105ms; }
.movie-card:nth-child(4n + 4) { animation-delay: 155ms; }
.overlay-btn-cyber { position: relative; overflow: hidden; }
.overlay-btn-cyber::after { position: absolute; inset: -70%; content: ""; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; opacity: 0; transform: scale(.5); transition: transform 360ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease; }
.overlay-btn-cyber:hover::after { opacity: .8; transform: scale(1); }
.modal-card { animation: modal-cinema-in 430ms cubic-bezier(.16,1,.3,1) both; }
.categories-modal-card > .modal-close { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 220ms ease, transform 360ms cubic-bezier(.2,.8,.2,1); }
.categories-modal-card > .modal-close:hover { transform: rotate(90deg) scale(1.08); }
.ad-slot::after { position: absolute; inset: 0; content: ""; pointer-events: none; opacity: .48; background: linear-gradient(110deg, transparent 28%, rgba(98,230,238,.08) 50%, transparent 72%);  }

/* Adult content is opt-in for each browser session. */
body.age-gate-open { overflow: hidden; }
.age-gate-overlay { z-index: 1005; padding: 18px; background: rgba(2,4,8,.88); }
.age-gate-card {
  display: flex;
  width: min(100%, 480px);
  min-height: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: clamp(28px, 6vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(14, 16, 24, 0.94);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 35px 100px rgba(0,0,0,.85), 0 0 50px rgba(255, 255, 255, 0.08);
  text-align: center;
  isolation: isolate;
}
.age-gate-card > :not(.age-gate-orbit) { position: relative; z-index: 1; }
.age-gate-icon { display: grid; width: 72px; height: 72px; place-items: center; margin-bottom: 2px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 22px; background: rgba(255, 255, 255, 0.1); color: #FFFFFF; box-shadow: 0 0 36px rgba(255, 255, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.3); transform: rotate(-7deg); animation: age-icon-arrive 680ms cubic-bezier(.16,1,.3,1) both; }
.age-gate-icon i { font-size: 27px; color: #FFFFFF; }
.age-gate-icon span { position: absolute; right: -12px; bottom: -8px; padding: 3px 7px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 8px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); color: #FFFFFF; font-size: 10px; font-weight: 900; }
.age-gate-kicker { color: rgba(255, 255, 255, 0.9); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.age-gate-card h2 { color: #fff; font-size: clamp(28px, 7vw, 38px); font-weight: 850; letter-spacing: -.055em; }
.age-gate-copy { max-width: 355px; color: #adb5c2; font-size: 13px; line-height: 1.7; }
.age-gate-actions { display: grid; width: 100%; gap: 9px; margin-top: 9px; }
.age-gate-confirm, .age-gate-decline { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.age-gate-confirm { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.22); color: #FFFFFF; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4); backdrop-filter: blur(14px); }
.age-gate-confirm:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.35); border-color: rgba(255, 255, 255, 0.85); box-shadow: 0 13px 34px rgba(0, 0, 0, 0.6); }
.age-gate-decline { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #FFFFFF; }
.age-gate-decline:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.12); transform: translateY(-1px); }
.age-gate-footnote { display: inline-flex; align-items: center; gap: 7px; margin-top: 3px; color: #75808f; font-size: 10px; }
.age-gate-orbit { position: absolute; z-index: 0; width: 350px; height: 350px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; pointer-events: none; }
.age-gate-orbit::before, .age-gate-orbit::after { position: absolute; inset: 20px; content: ""; border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 50%; }
.age-gate-orbit-one { top: -248px; right: -178px; animation: age-orbit 24s linear infinite; }
.age-gate-orbit-two { bottom: -286px; left: -196px; width: 390px; height: 390px; animation: age-orbit 32s linear infinite reverse; }

@keyframes switch-glint { 0% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes pill-arrive { from { opacity: 0; transform: translate3d(0,8px,0) scale(.97); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes pill-scan { from { left: -60%; } to { left: 130%; } }
@keyframes category-card-in { from { opacity: 0; transform: translate3d(0,14px,0) rotateX(-5deg); } to { opacity: 1; transform: translate3d(0,0,0) rotateX(0); } }
@keyframes modal-cinema-in { from { opacity: 0; transform: perspective(900px) translate3d(0,20px,0) rotateX(2deg) scale(.985); } to { opacity: 1; transform: perspective(900px) translate3d(0,0,0) rotateX(0) scale(1); } }
@keyframes ad-slot-scan { 0%, 68% { transform: translateX(-100%); } 88%, 100% { transform: translateX(100%); } }
@keyframes age-icon-arrive { from { opacity: 0; transform: perspective(240px) rotateY(-40deg) rotateZ(-12deg) scale(.72); } to { opacity: 1; transform: perspective(240px) rotateY(0) rotateZ(-7deg) scale(1); } }
@keyframes age-orbit { to { transform: rotate(360deg); } }

@media (max-width: 650px) {
  .categories-modal-card { width: calc(100vw - 16px) !important; max-height: calc(100dvh - 16px); padding: 16px !important; }
  .categories-modal-card .categories-modal-header { align-items: stretch; gap: 12px; padding: 48px 42px 14px 0; }
  .categories-modal-card .cat-modal-header-left { width: 100%; }
  .categories-modal-card .cat-modal-header-left h2 { font-size: 17px; }
  .categories-modal-card .cat-modal-search-box { width: 100%; }
  .categories-modal-card .modal-channel-tabs { gap: 7px; }
  .categories-modal-card .modal-channel-tab { max-width: 100%; white-space: normal; }
  .categories-modal-card .categories-modal-grid { max-height: 46dvh; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
  .age-gate-card { min-height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
  .library-switch-option:hover::after, .category-pill, .category-pill:hover::after,
  .cat-card-item, .modal-card, .age-gate-icon, .age-gate-orbit,
  .ad-slot::after { animation: none !important; }
  .brand:hover .brand-logo-cyber, .category-pill:hover, .cat-card-item:hover,
  .age-gate-confirm:hover, .age-gate-decline:hover { transform: none !important; }
}

/* Reserved inventory slots keep future ad integrations from shifting content. */
.ad-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 970px);
  min-height: 100px;
  margin: 24px auto;
  overflow: hidden;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(255,255,255,0.025), rgba(85,230,242,0.025), rgba(255,255,255,0.025));
  color: #5f6a79;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ad-slot:empty::before { content: "Advertisement"; }
.ad-slot[data-size="sidebar"] { width: 100%; min-height: 250px; margin: 0 0 20px; }

@keyframes card-arrive {
  from { opacity: 0; transform: translate3d(0,18px,0) scale(.985); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes hero-arrive {
  from { opacity: 0; transform: translate3d(0,22px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}

@media (min-width: 1500px) {
  .movies-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-spotlight { min-height: 580px; padding: 64px 26px; }
  .hero-backdrop { background-position: 58% center; }
  .hero-overlay { background: linear-gradient(0deg, #07080c 0%, rgba(7,8,12,0.78) 28%, rgba(7,8,12,0.1) 100%); }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .brand { flex: 1 1 auto; }
  .search-box { order: 4; flex: 1 0 100%; max-width: none; }
  .header-actions { order: 3; }
  .categories-bar { top: 72px; }
  .movies-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
  .series-episodes-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
}
@media (max-width: 650px) {
  /* Master Mobile Header (Ultra-sleek 82px max height) */
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(7, 9, 15, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7) !important;
    padding: 7px 12px 8px 12px !important;
  }
  .header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: auto !important;
    padding: 0 !important;
    gap: 6px 8px !important;
    width: 100% !important;
  }
  .brand-aurora, .brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }
  .brand-hexagon-aurora {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
  }
  .brand-name-neo, .brand-name {
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
  }
  .brand-tag-neo, .brand-sub {
    display: none !important;
  }
  .library-switch {
    display: none !important;
  }
  .header-actions, .header-actions-neo {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
  }
  .header-actions-neo .theme-toggle,
  .header-actions .theme-toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
  }
  .header-actions-neo .theme-toggle span,
  .header-actions .theme-toggle span {
    display: none !important;
  }
  .header-actions-neo .header-categories-btn,
  .header-actions .header-categories-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #22D3EE !important;
  }
  .header-actions-neo .header-categories-btn span,
  .header-actions .header-categories-btn span {
    display: none !important;
  }
  .user-profile-badge {
    padding: 4px 10px !important;
    font-size: 11px !important;
    gap: 5px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
  }
  .user-avatar-mini {
    width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
    border-radius: 50% !important;
  }
  .user-tier-pill {
    font-size: 11px !important;
    font-weight: 800 !important;
  }
  .search-box-neo, .search-box {
    order: 10 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 36px !important;
    margin-top: 2px !important;
    padding: 0 12px 0 34px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }
  .search-box-neo input, .search-box input {
    font-size: 12px !important;
    height: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #FFFFFF !important;
  }
  .search-box-neo .fa-magnifying-glass, .search-box .fa-magnifying-glass {
    position: absolute !important;
    left: 12px !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
  }
  .search-kbd-hint {
    display: none !important;
  }

  /* Single-Row Mobile Categories Scroller (No more 3-row stacked clutter) */
  .categories-bar {
    position: sticky !important;
    top: 88px !important;
    z-index: 950 !important;
    background: rgba(7, 9, 15, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 6px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .cat-nav-arrow {
    display: none !important;
  }
  .btn-all-categories {
    display: none !important;
  }
  .categories-bar-top-row {
    display: flex !important;
    width: 100% !important;
    margin-bottom: 6px !important;
    padding: 0 !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .categories-bar-top-row::-webkit-scrollbar {
    display: none !important;
  }
  .tier-nav-group {
    width: 100% !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
  }
  .tier-nav-group::-webkit-scrollbar {
    display: none !important;
  }
  .channel-toggle-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    max-width: none !important;
    padding: 3px 6px !important;
    gap: 4px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .channel-toggle-group::-webkit-scrollbar {
    display: none !important;
  }
  .channel-toggle-btn {
    padding: 5px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    gap: 5px !important;
    white-space: nowrap !important;
    border-radius: 9999px !important;
    flex-shrink: 0 !important;
  }
  .categories-bar-inner {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding: 0 !important;
  }
  .categories-bar-inner::-webkit-scrollbar,
  .categories-container::-webkit-scrollbar {
    display: none !important;
  }
  .categories-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 1px 0 !important;
  }
  .category-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 5px 12px !important;
    font-size: 11px !important;
    height: 30px !important;
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
  }
  .category-pill.active {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.35), rgba(34, 211, 238, 0.35)) !important;
    border-color: #22D3EE !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  }

  /* Compact Hero Spotlight on Mobile */
  .hero-spotlight {
    min-height: 180px !important;
    max-height: 250px !important;
    padding: 16px !important;
    margin: 8px 12px 10px 12px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .hero-title {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }
  .hero-desc {
    display: none !important;
  }
  .hero-badge-row {
    gap: 5px !important;
    margin-bottom: 6px !important;
  }
  .badge-featured, .badge-quality, .badge-rating {
    font-size: 11px !important;
    padding: 3px 8px !important;
  }
  .badge-views {
    display: none !important;
  }
  .hero-actions {
    margin-top: 10px !important;
    gap: 8px !important;
  }
  .hero-actions .btn-aurora-primary,
  .hero-actions .btn-aurora-secondary {
    padding: 6px 12px !important;
    font-size: 11px !important;
    height: 32px !important;
  }

  /* Quick Tags Scroller (Duplicate clutter hidden on mobile) */
  .quick-tags-scroller {
    display: none !important;
  }

  /* Stories Carousel on Mobile (Instagram Style) */
  .stories-bar-section {
    padding: 6px 12px 10px 12px !important;
    margin: 0 !important;
    background: transparent !important;
  }
  .stories-bar-scroll {
    gap: 12px !important;
  }
  .story-avatar-wrap {
    width: 50px !important;
    height: 50px !important;
  }
  .story-ring {
    padding: 2px !important;
  }
  .story-user-name {
    font-size: 10px !important;
    margin-top: 3px !important;
  }

  /* Sort Bar (Sleek Horizontal Scroll) */
  .sort-filter-bar {
    padding: 4px 12px 10px 12px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
  }
  .sort-filter-bar::-webkit-scrollbar {
    display: none !important;
  }
  .sort-label {
    display: none !important;
  }
  .sort-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 5px 12px !important;
    font-size: 11px !important;
    border-radius: 14px !important;
    height: 28px !important;
  }

  /* 2-Column Clean Video Grid (Thumbnail Hero Focus) */
  .main-container {
    padding: 8px 10px 30px 10px !important;
  }
  .movies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 8px !important;
  }
  .series-group { padding: 10px; }
  .series-episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .movie-card {
    border-radius: 10px !important;
    overflow: hidden !important;
    background: rgba(12, 14, 22, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
  }
  .card-poster-wrap {
    aspect-ratio: 16 / 9 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 10px 10px 0 0 !important;
    background: #08090e !important;
  }
  .card-poster {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px 10px 0 0 !important;
  }
  .card-views,
  .card-badge-rating {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    background: rgba(10, 13, 20, 0.78) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    z-index: 5 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  .card-views {
    position: absolute !important;
    bottom: 5px !important;
    left: 5px !important;
    color: #E2E8F0 !important;
  }
  .card-views i {
    color: #38BDF8 !important;
    font-size: 8px !important;
  }
  .card-badge-rating {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    color: #FDE047 !important;
  }
  .card-badge-rating i {
    color: #EAB308 !important;
    font-size: 8px !important;
  }
  .card-badge-uhd {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    background: rgba(0, 0, 0, 0.78) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    z-index: 2 !important;
  }
  .card-duration {
    position: absolute !important;
    bottom: 5px !important;
    right: 5px !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    background: rgba(0, 0, 0, 0.82) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    z-index: 2 !important;
  }
  .card-info {
    padding: 6px 7px 7px 7px !important;
    background: transparent !important;
    border-top: none !important;
    min-height: auto !important;
  }
  .card-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    min-height: auto !important;
    max-height: 2.6em !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #F1F5F9 !important;
    margin: 0 !important;
  }
  .card-meta {
    display: flex !important;
    align-items: center !important;
    margin-top: 3px !important;
  }
  .meta-tag-stream {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 8.5px !important;
    color: #94A3B8 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    line-height: 1.3 !important;
  }
  .meta-tag-stream i {
    color: #10B981 !important;
    font-size: 7.5px !important;
  }
  .ad-slot { min-height: 80px; margin: 14px auto; }
}
@media (max-width: 370px) {
  .movies-grid { grid-template-columns: 1fr !important; }
  .series-episodes-grid { grid-template-columns: 1fr !important; }
}
@media (hover: none), (pointer: coarse) {
  .movie-card:hover { transform: none; box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
  .movie-card:hover .card-poster { transform: none; filter: none; }
  .movie-card:hover::before { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .hero-backdrop, .movie-card:hover { transform: none; }
}

/* ==========================================================================
   Manga & Webtoon Styling & Cyber Cards
   ========================================================================== */

.card-badge-uhd {
  position: absolute;
  top: 8px;
  left: 8px;
  bottom: auto;
  right: auto;
  height: auto;
  width: auto;
  background: rgba(0, 242, 254, 0.18);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  z-index: 5;
}

.card-badge-uhd.is-4k,
.card-badge-uhd.is-1080,
.card-badge-uhd.is-720,
.card-badge-uhd.is-manga,
.card-badge-uhd.is-bollywood,
.card-badge-uhd.is-bollyflix {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 12px rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Priority Resolution & Source Category Pills */
.category-pill.pill-4k,
.category-pill.pill-1080p,
.category-pill.pill-720p,
.category-pill.pill-jw-bollywood,
.category-pill.pill-jw-trending,
.category-pill.pill-jw-classics,
.category-pill.pill-bf-latest,
.category-pill.pill-bf-bollywood,
.category-pill.pill-bf-dualaudio,
.category-pill.pill-bf-south {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.category-pill.pill-4k:hover, .category-pill.pill-4k.active,
.category-pill.pill-1080p:hover, .category-pill.pill-1080p.active,
.category-pill.pill-720p:hover, .category-pill.pill-720p.active,
.category-pill.pill-jw-bollywood:hover, .category-pill.pill-jw-bollywood.active,
.category-pill.pill-jw-trending:hover, .category-pill.pill-jw-trending.active,
.category-pill.pill-jw-classics:hover, .category-pill.pill-jw-classics.active,
.category-pill.pill-bf-latest:hover, .category-pill.pill-bf-latest.active,
.category-pill.pill-bf-bollywood:hover, .category-pill.pill-bf-bollywood.active,
.category-pill.pill-bf-dualaudio:hover, .category-pill.pill-bf-dualaudio.active,
.category-pill.pill-bf-south:hover, .category-pill.pill-bf-south.active {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 0 18px rgba(255, 255, 255, 0.18);
}

.meta-tag-stream.is-download-tag {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
}

.movie-card.manga-card {
  border-color: rgba(255, 255, 255, 0.16);
}

.movie-card.manga-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
}

.card-poster-wrap.manga-poster-wrap {
  aspect-ratio: 3 / 4;
}

.card-duration.manga-chapter-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.reticle-outer-ring.manga-ring {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15);
}

.overlay-btn-cyber.manga-btn {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  backdrop-filter: blur(14px);
}

.meta-tag-stream.manga-tag {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.cyber-reticle-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reticle-outer-ring {
  position: absolute;
  width: 68px;
  height: 68px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: reticleSpin 12s linear infinite;
}

@keyframes reticleSpin {
  100% { transform: rotate(360deg); }
}

.overlay-btn-cyber {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.overlay-btn-cyber:hover {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.9);
}

.meta-tag-stream {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   SORT FILTER BAR & STORYBOARD HOVER SCRUBBING
   ========================================================================== */
.sort-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding: 4px 0 10px 0;
  scrollbar-width: none;
}

.sort-filter-bar::-webkit-scrollbar {
  display: none;
}

.sort-filter-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-right: 4px;
}

.sort-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sort-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.sort-btn.active {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Card 15-Frame Storyboard Scrubbing HUD */
.card-scrub-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}

.card-scrub-bar {
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transition: width 0.05s ease-out;
}

.card-scrub-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(14, 16, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

/* ==========================================================================
   AURORA+ NEO — Comprehensive Futuristic Design System & Modals
   ========================================================================== */

/* Ambient Cyber Aura */
.cyber-ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
}

/* Fixed Glass Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(8, 10, 16, 0.78);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 10, 16, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Brand Logo */
.brand-aurora {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.brand-hexagon-aurora {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-aurora:hover .brand-hexagon-aurora {
  transform: scale(1.08) rotate(5deg);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.4);
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name-neo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-tag-neo {
  font-size: 9px;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Nav Menu Desktop */
.nav-menu-desktop {
  display: none !important;
}

.nav-link-neo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
}

.nav-link-neo:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-link-neo.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.18);
}

.nav-link-neo.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Header Action Controls */
.header-actions-neo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Search Box Pure White Frosted Glass */
.search-box-neo {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  width: 260px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.search-box-neo:focus-within {
  width: 320px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.search-box-neo i {
  color: #FFFFFF;
  font-size: 14px;
  margin-right: 8px;
  opacity: 0.85;
}

.search-box-neo input {
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 13px;
  width: 100%;
  padding-right: 68px;
}

.search-box-neo input::placeholder {
  color: #94A3B8;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.search-box-neo .search-kbd-hint {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  gap: 3px;
  pointer-events: none;
}

/* Search Autocomplete & Quick Tags Popup */
.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 300px;
  max-height: 420px;
  overflow-y: auto;
  background: rgba(10, 14, 24, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  padding: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-auto-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94A3B8;
  padding: 6px 10px 4px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-auto-clear-recent {
  cursor: pointer;
  color: #F43F5E;
  font-size: 10px;
  transition: opacity 0.2s;
}
.search-auto-clear-recent:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.search-auto-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.search-auto-item:hover,
.search-auto-item.active {
  background: rgba(255, 255, 255, 0.12);
  color: #22D3EE;
  transform: translateX(4px);
}

.search-auto-item i {
  font-size: 12px;
  color: #22D3EE;
  opacity: 0.85;
}

.search-auto-badge {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.15);
  color: #22D3EE;
  font-weight: 700;
}

/* Quick Trending Tags Scroller */
.quick-tags-scroller {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden !important;
  touch-action: pan-y !important;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  padding: 8px 0 14px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.quick-tags-scroller::-webkit-scrollbar {
  display: none;
}

.quick-tags-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94A3B8;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.quick-tag-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #E2E8F0;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-tag-chip:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: rgba(34, 211, 238, 0.5);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.quick-tag-chip.active {
  background: #22D3EE;
  border-color: #22D3EE;
  color: #06080F;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* PWA Header Install Button */
.pwa-install-btn {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: #22D3EE;
  font-weight: 700;
  gap: 6px;
  transition: all 0.2s ease;
}
.pwa-install-btn:hover {
  background: linear-gradient(135deg, #0284C7, #2563EB);
  color: #06080F;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Profile Dropdown Deck */
.user-profile-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.user-profile-badge:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.user-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.user-tier-pill {
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

/* User Dropdown Menu */
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 1000;
  animation: fadeInDown 180ms ease forwards;
}

.user-dropdown-menu.show {
  display: flex;
}

.dropdown-item-neo {
  padding: 10px 16px;
  color: #E2E8F0;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
  text-decoration: none;
}

.dropdown-item-neo:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.dropdown-divider-neo {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

/* Dynamic Responsive Catalog Grid: Movies (Portrait 2:3) vs 18+ Videos (Landscape 16:10) */
.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)) !important;
  gap: 22px 18px !important;
  margin-bottom: 24px;
}

/* Movies Library Grid: 2:3 Portrait Posters */
.movies-grid.mode-movies,
body.library-movies .movies-grid {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
  gap: 24px 18px !important;
}

/* Adult Video Library Grid: 16:10 Cinematic Landscape Thumbnails */
.movies-grid.mode-adult,
body.library-adult .movies-grid {
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)) !important;
  gap: 22px 18px !important;
}

.movie-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 14px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 200ms cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1),
              background 200ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
  cursor: pointer;
  contain: content;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.02) !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 255, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.45) !important;
  z-index: 10;
}

/* Card Poster Wrappers: Dynamic by Content Type */
.card-poster-wrap {
  aspect-ratio: 16 / 10 !important;
  position: relative;
  overflow: hidden;
  background: #0d0d17 !important;
  width: 100%;
}

/* Portrait Movie Posters */
.card-poster-wrap.movie-poster-wrap,
.is-movie-card .card-poster-wrap,
.mode-movies .card-poster-wrap,
body.library-movies .card-poster-wrap {
  aspect-ratio: 2 / 3 !important;
}

/* Adult Video Thumbnails (Preserve 16:10 wide screen) */
.card-poster-wrap.adult-poster-wrap,
.is-adult-card .card-poster-wrap,
.mode-adult .card-poster-wrap,
body.library-adult .card-poster-wrap {
  aspect-ratio: 16 / 10 !important;
}

/* Manga & Webtoon Covers: 3:4 Vertical */
.card-poster-wrap.manga-poster-wrap,
.manga-card .card-poster-wrap {
  aspect-ratio: 3 / 4 !important;
}

.card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
  -webkit-filter: none !important;
  image-rendering: auto;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.movie-card:hover .card-poster {
  transform: scale(1.025);
  filter: none !important;
  -webkit-filter: none !important;
}

/* Completely Eliminate Pseudo-Element Glass Glow / Blur over Posters */
.movie-card::before,
.movie-card::after,
.card-overlay {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Card Quick-Actions permanently removed per user request */
.card-quick-actions,
.btn-quick-play,
.btn-quick-details {
  display: none !important;
}

.btn-quick-play {
  width: 100%;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn-quick-play:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.btn-quick-details {
  width: 100%;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}

.btn-quick-details:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: #FFFFFF !important;
}

/* Frosted Glass Badges: Translucent Capsules with Specular Edges */
.card-badge-uhd,
.card-duration,
.card-views,
.card-badge-rating,
.card-bookmark-btn {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-radius: 6px !important;
}

.card-duration {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  top: auto !important;
  left: auto !important;
  height: auto !important;
  width: auto !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
  z-index: 5 !important;
}

.card-views {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  top: auto !important;
  right: auto !important;
  height: auto !important;
  width: auto !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #E2E8F0 !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  padding: 3px 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
  z-index: 5 !important;
}

.card-badge-uhd {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  bottom: auto !important;
  right: auto !important;
  height: auto !important;
  width: auto !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  padding: 3px 8px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
  z-index: 5 !important;
}

.card-badge-uhd.is-4k {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

.card-badge-rating {
  position: absolute !important;
  top: 8px !important;
  right: 44px !important;
  bottom: auto !important;
  left: auto !important;
  height: auto !important;
  width: auto !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 3px 7px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  z-index: 5 !important;
}

.card-bookmark-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.card-bookmark-btn:hover,
.card-bookmark-btn.active {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  color: #fff !important;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
  transform: scale(1.1);
}

/* Card Metadata Info Bar below poster */
.card-info {
  padding: 12px 14px !important;
  background: rgba(12, 16, 26, 0.58) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #F8FAFC !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.35 !important;
  min-height: 2.7em;
  white-space: normal !important;
}

/* YouTube-Style Infinite Scroll Sentinel: Always in DOM layout */
.infinite-scroll-sentinel {
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-height: 85px;
  width: 100%;
  padding: 20px 0 36px;
  clear: both;
}

.infinite-loader-content {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.infinite-scroll-sentinel.is-loading .infinite-loader-content {
  opacity: 1;
  visibility: visible;
}

.cyber-pulse-ring {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.25);
  border-top-color: #FFFFFF;
  border-right-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: cyber-spin 0.75s linear infinite;
}

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

.infinite-loader-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Catalog End Badge */
.catalog-end-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px 20px 52px;
  width: 100%;
}

.catalog-end-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  background: rgba(15, 18, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}

.catalog-end-content .end-icon {
  color: #10B981;
  font-size: 15px;
}

/* Hide legacy manual pagination bar permanently */
.pagination-container {
  display: none !important;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}


.card-bookmark-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 16, 28, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 5;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.card-bookmark-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.card-bookmark-btn.active {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 0 16px rgba(255, 255, 255, 0.4);
}

/* Mobile Bottom Navigation Bar (PWA Native App Bar) */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(58px + env(safe-area-inset-bottom, 0px));
  background: rgba(8, 10, 16, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: none;
  justify-content: space-around;
  align-items: center;
  z-index: 1001;
  padding: 0 8px env(safe-area-inset-bottom, 0px) 8px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: none;
  padding: 6px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-item:active {
  transform: scale(0.9);
}

.mobile-nav-item i {
  font-size: 18px;
  transition: transform 180ms ease, filter 180ms ease;
}

.mobile-nav-item.active {
  color: #22D3EE;
}

.mobile-nav-item.active i {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.8));
}

/* General Cyber Modal Styles */
.aurora-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
  animation: modalFadeIn 200ms ease forwards;
}

.aurora-modal-card {
  position: relative;
  background: rgba(14, 16, 24, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  width: 100%;
  max-width: 680px;
  overflow: hidden;
  padding: 32px;
  animation: modalScaleUp 220ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.aurora-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition-fast);
}

.aurora-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: rotate(90deg);
}

/* Details Modal Specific */
.details-modal-hero {
  position: relative;
  height: 280px;
  margin: -32px -32px 24px -32px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.details-modal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #10101C 0%, rgba(16, 16, 28, 0.4) 60%, rgba(16, 16, 28, 0.8) 100%);
}

.details-hero-content {
  position: absolute;
  bottom: 24px;
  left: 32px;
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.details-poster-thumb {
  width: 110px;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.details-title-group h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.details-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.details-badge-pill {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.details-badge-pill.cyan {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.details-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-aurora-primary {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-decoration: none;
}

.btn-aurora-primary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

.btn-aurora-secondary {
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: var(--transition-fast);
}

.btn-aurora-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-aurora-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #22D3EE;
  color: #22D3EE;
}

/* Pricing Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.pricing-card-neo {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pricing-card-neo.featured {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.pricing-card-neo:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

.pricing-badge-popular {
  position: absolute;
  top: -10px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

.pricing-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.pricing-price small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features-list {
  list-style: none;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
  width: 100%;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features-list li i {
  color: #FFFFFF;
}

/* Dynamic View Switcher Container */
.view-container {
  display: none;
  width: 100%;
  min-height: 80vh;
  position: relative;
  z-index: 1;
}

.view-container.active-view {
  display: block !important;
}

/* 404 Cyber View */
.cyber-404-wrap {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.glitch-404-text {
  font-size: clamp(72px, 12vw, 130px);
  font-weight: 900;
  letter-spacing: -4px;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .nav-menu-desktop { display: none !important; }
  .mobile-bottom-nav { display: flex !important; }
  .pricing-cards-grid { grid-template-columns: 1fr; }
  .site-header { padding: 10px 14px; }
  .search-box-neo { width: 220px; }
  .search-box-neo:focus-within { width: 260px; }
  body { padding-bottom: 74px; }
}

@media (max-width: 600px) {
  .search-autocomplete-dropdown {
    min-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
  .movies-grid,
  .movies-grid.mode-movies,
  .movies-grid.mode-adult,
  body.library-adult .movies-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 8px !important;
  }
  .movie-card {
    border-radius: 10px !important;
  }
  .card-poster-wrap {
    aspect-ratio: 16 / 9 !important;
    border-radius: 10px 10px 0 0 !important;
  }
  .card-poster {
    border-radius: 10px 10px 0 0 !important;
  }
  .card-info {
    padding: 6px 7px 7px 7px !important;
    background: transparent !important;
    min-height: auto !important;
  }
  .card-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    min-height: auto !important;
    max-height: 2.6em !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #F1F5F9 !important;
    margin: 0 !important;
  }
  .card-views,
  .card-badge-rating {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    background: rgba(10, 13, 20, 0.78) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    z-index: 5 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  .card-views {
    position: absolute !important;
    bottom: 5px !important;
    left: 5px !important;
    color: #E2E8F0 !important;
  }
  .card-views i {
    color: #38BDF8 !important;
    font-size: 8px !important;
  }
  .card-badge-rating {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    color: #FDE047 !important;
  }
  .card-badge-rating i {
    color: #EAB308 !important;
    font-size: 8px !important;
  }
  .card-meta {
    display: flex !important;
    align-items: center !important;
    margin-top: 3px !important;
  }
  .meta-tag-stream {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 8.5px !important;
    color: #94A3B8 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    line-height: 1.3 !important;
  }
  .meta-tag-stream i {
    color: #10B981 !important;
    font-size: 7.5px !important;
  }
  .card-badge-uhd {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    font-size: 8.5px !important;
    padding: 2px 5px !important;
  }
  .card-duration {
    position: absolute !important;
    bottom: 5px !important;
    right: 5px !important;
    font-size: 8.5px !important;
    padding: 2px 5px !important;
  }
  .aurora-modal-card { padding: 18px; }
  .details-modal-hero { height: 180px; margin: -18px -18px 14px -18px; }
  .details-hero-content { left: 14px; right: 14px; bottom: 14px; }
  .details-poster-thumb { width: 70px; }
  .details-title-group h2 { font-size: 16px; }
}

/* Floating Mobile PWA Install Card */
.mobile-pwa-bar {
  position: fixed;
  bottom: 70px;
  left: 12px;
  right: 12px;
  background: rgba(10, 14, 26, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 9998;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  animation: fadeInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-pwa-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-pwa-info strong {
  display: block;
  font-size: 13px;
  color: #FFFFFF;
}

.mobile-pwa-info p {
  font-size: 13px;
  color: #94A3B8;
  margin: 0;
}

.mobile-pwa-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-pwa-install-now {
  background: linear-gradient(135deg, #0284C7, #2563EB);
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #06080F;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-pwa-dismiss {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 14px;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   HOMEPAGE REELS SHELF (YouTube Shorts Style)
   ========================================================================== */
.home-reels-shelf {
  margin: 18px 0 28px 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.reels-shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.reels-shelf-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.reels-shelf-badge {
  font-size: 10px;
  font-weight: 800;
  background: rgba(244, 63, 94, 0.2);
  color: #F43F5E;
  border: 1px solid rgba(244, 63, 94, 0.4);
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.btn-open-full-reels {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 6px 14px;
  color: #22D3EE;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-open-full-reels:hover {
  background: #22D3EE;
  color: #06080F;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.reels-shelf-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 211, 238, 0.3) transparent;
}
.reels-shelf-scroll::-webkit-scrollbar {
  height: 4px;
}
.reels-shelf-scroll::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.3);
  border-radius: 4px;
}

.mini-reel-card {
  flex: 0 0 160px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #000;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.mini-reel-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #F43F5E;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
}

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

.mini-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}

.mini-reel-title {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-reel-views {
  font-size: 10px;
  color: #22D3EE;
  font-weight: 700;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mini-reel-play-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 11px;
}

/* ==========================================================================
   4K REELS & QUICK BITES (TikTok / Shorts Vertical Snap Feed)
   ========================================================================== */
body.reels-mode {
  overflow: hidden !important;
  padding-bottom: 0 !important;
}

body.reels-mode .site-header,
body.reels-mode .categories-bar,
body.reels-mode .sub-nav,
body.reels-mode .network-data-saver-pill,
body.reels-mode .mobile-pwa-bar,
body.reels-mode .site-footer {
  display: none !important;
}

body.reels-mode .mobile-bottom-nav {
  z-index: 1001 !important;
  background: rgba(8, 10, 16, 0.88) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.reels-stage-wrap {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #000000;
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.reels-header-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(5, 7, 12, 0.88) 0%, rgba(5, 7, 12, 0.4) 65%, transparent 100%);
  z-index: 50;
  pointer-events: auto;
}

.reels-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 8px 16px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.reels-back-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

.reels-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.reels-hud-sound-btn {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.reels-hud-sound-btn:hover {
  background: rgba(34, 211, 238, 0.3);
  border-color: #22D3EE;
  color: #22D3EE;
  transform: scale(1.08);
}

.reels-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.reels-close-btn:hover {
  background: rgba(244, 63, 94, 0.8);
  border-color: #F43F5E;
}

/* Desktop Floating Navigation Arrows (TikTok / Insta style) */
.reels-desktop-nav {
  position: absolute;
  right: calc(50% - min(50vw, calc(100vh * 9 / 32)) - 75px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 60;
}
@media (max-width: 800px) {
  .reels-desktop-nav {
    display: none !important;
  }
}
.reels-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(20, 24, 38, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.reels-nav-btn:hover {
  background: rgba(34, 211, 238, 0.35);
  border-color: #22D3EE;
  color: #22D3EE;
  transform: scale(1.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.reels-viewport-container {
  flex: 1;
  width: 100%;
  max-width: min(100vw, calc(100vh * (9 / 16)));
  margin: 0 auto;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  background: #000000;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.reels-viewport-container::-webkit-scrollbar {
  display: none;
}

.reel-card {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  user-select: none;
}

/* Ambient Glowing Background (Eliminates dead letterbox black bars) */
.reel-ambient-backdrop {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center center;
  filter: blur(50px) brightness(0.38) saturate(160%);
  transform: scale(1.18);
  pointer-events: none;
  z-index: 1;
}

.reel-ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 25%, rgba(5, 7, 12, 0.85) 100%),
              linear-gradient(to bottom, rgba(5, 7, 12, 0.75) 0%, transparent 22%, transparent 68%, rgba(5, 7, 12, 0.96) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Center 1920x1080 (16:9) Middle Video Stage */
.reel-middle-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 65dvh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 10;
  margin: auto 0;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Full 1920x1080 resolution uncropped */
  object-position: center center;
  pointer-events: auto;
  cursor: pointer;
  background: #000000;
  display: block;
}

.reel-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000000;
  display: block;
  pointer-events: auto;
}

/* Duration Pill on top-right of 1920x1080 middle stage */
.reel-duration-pill {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 15;
  pointer-events: none;
}

/* Loading Spinner on Middle Stage */
.reel-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #22D3EE;
  font-size: 28px;
  z-index: 20;
  pointer-events: none;
  text-shadow: none;
}
.reel-loading-spinner span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

/* Double-tap Floating Heart Animation (Instagram Style) */
.reel-heart-pop {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 85px;
  color: #F43F5E;
  pointer-events: none;
  z-index: 35;
  filter: drop-shadow(0 0 30px rgba(244, 63, 94, 0.95));
  animation: reelHeartPop 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes reelHeartPop {
  0% { transform: translate(-50%, -50%) scale(0) rotate(-18deg); opacity: 0; }
  35% { transform: translate(-50%, -50%) scale(1.35) rotate(0deg); opacity: 1; }
  65% { transform: translate(-50%, -50%) scale(1.15) rotate(5deg); opacity: 0.95; }
  100% { transform: translate(-50%, -50%) scale(1.5) translateY(-50px); opacity: 0; }
}

/* Single-tap Play/Pause Indicator Ripple */
.reel-play-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #FFFFFF;
  pointer-events: none;
  z-index: 30;
  animation: reelRippleFade 0.6s ease forwards;
}

@keyframes reelRippleFade {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  40% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

/* Bottom Progress Scrubber Bar */
.reel-progress-bar {
  position: absolute;
  bottom: 64px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 30;
  pointer-events: none;
}

.reel-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F43F5E, #22D3EE);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: width 0.1s linear;
}

.reel-hud-overlay {
  position: absolute;
  bottom: 74px;
  left: 14px;
  right: 76px;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 25;
}

.reel-info-box {
  pointer-events: auto;
  max-width: 100%;
}

.reel-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.reel-badge-4k {
  background: linear-gradient(135deg, #22D3EE, #0284C7);
  color: #06080F;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.reel-badge-source {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
}

.reel-badge-duration {
  background: rgba(244, 63, 94, 0.25);
  border: 1px solid rgba(244, 63, 94, 0.5);
  color: #F43F5E;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.reel-title {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-watch-btn {
  pointer-events: auto;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #22D3EE, #0284C7);
  color: #06080F;
  border: none;
  border-radius: 20px;
  padding: 7px 15px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
}
.reel-watch-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Floating Action Sidebar on Reel (Instagram Style) */
.reel-action-bar {
  position: absolute;
  right: 12px;
  bottom: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  z-index: 25;
}

.reel-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #FFFFFF;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: transform 0.15s ease;
}
.reel-action-item:active {
  transform: scale(0.9);
}

.reel-action-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 24, 38, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #FFFFFF;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.reel-action-item:hover .reel-action-icon-circle {
  transform: scale(1.1);
  background: rgba(34, 211, 238, 0.3);
  border-color: #22D3EE;
}
.reel-action-item.active .reel-action-icon-circle {
  color: #F43F5E;
  background: rgba(244, 63, 94, 0.25);
  border-color: #F43F5E;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.reel-action-item span {
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

/* ==========================================================================
   TOP PORNSTARS & MODELS DIRECTORY
   ========================================================================== */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 10px 0 60px 0;
}

.model-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.model-avatar-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
}

.model-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.model-flag {
  position: absolute;
  bottom: 0;
  right: 4px;
  font-size: 18px;
}

.model-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  color: #FBBF24;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 4px;
}

.model-name {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.model-meta {
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.model-btn-stream {
  margin-top: 12px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #FBBF24;
  transition: all 0.2s;
}
.model-card:hover .model-btn-stream {
  background: #FBBF24;
  color: #06080F;
  border-color: #FBBF24;
}

/* ==========================================================================
   MOBILE NATIVE APP EXPERIENCE: FUNCTIONAL CALCULATOR DISGUISE
   ========================================================================== */
.calc-disguise-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  background: #202124;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 16px;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  user-select: none;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 12px 10px;
  color: #9AA0A6;
  font-size: 13px;
  font-weight: 500;
}

.calc-screen {
  background: #202124;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  word-break: break-all;
}

.calc-history {
  font-size: 14px;
  color: #9AA0A6;
  min-height: 18px;
  margin-bottom: 4px;
}

.calc-display {
  font-size: 38px;
  font-weight: 400;
  color: #E8EAED;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.calc-btn {
  height: 60px;
  border-radius: 50px;
  border: none;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s;
}
.calc-btn:active {
  transform: scale(0.95);
  filter: brightness(1.25);
}

/* Number Buttons */
.calc-btn.num {
  background: #3C4043;
  color: #E8EAED;
}
.calc-btn.num:hover {
  background: #4C5055;
}

/* Function Buttons (AC, +/-, %) */
.calc-btn.fn {
  background: #475569;
  color: #f8fafc;
  font-size: 18px;
}
.calc-btn.fn:hover {
  background: #334155;
}

/* Operator Buttons (+, -, *, /) */
.calc-btn.op {
  background: #3b82f6;
  color: #ffffff;
  font-size: 22px;
}
.calc-btn.op:hover {
  background: #2563eb;
}

/* Equals Button */
.calc-btn.eq {
  background: #1d4ed8;
  color: #ffffff;
  font-size: 22px;
}
.calc-btn.eq:hover {
  background: #1e40af;
}

/* Secret Unlock Pill */
.calc-secret-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: #94a3b8;
  cursor: pointer;
}
.calc-secret-hint:hover {
  color: #e2e8f0;
}

/* ==========================================================================
   MOBILE NATIVE APP EXPERIENCE: PRIVACY PIN LOCK SCREEN
   ========================================================================== */
.pin-lock-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.98);
  backdrop-filter: blur(35px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pin-lock-card {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pin-lock-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #22D3EE;
  margin-bottom: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.pin-lock-title {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pin-lock-subtitle {
  color: #94A3B8;
  font-size: 13px;
  margin-bottom: 24px;
}

.pin-dots-row {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: all 0.2s ease;
}

.pin-dot.filled {
  background: #22D3EE;
  border-color: #22D3EE;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: scale(1.15);
}

.pin-keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.pin-key {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pin-key:active {
  background: rgba(34, 211, 238, 0.25);
  border-color: #22D3EE;
  transform: scale(0.92);
}

/* ==========================================================================
   IN-APP FLOATING MINI-PLAYER (Picture-in-Picture)
   ========================================================================== */
.in-app-mini-player {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 280px;
  background: rgba(14, 18, 28, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  z-index: 950;
  overflow: hidden;
  animation: miniPlayerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

@keyframes miniPlayerSlideIn {
  from { transform: translateY(40px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.mini-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-player-title {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.mini-player-actions {
  display: flex;
  gap: 8px;
}

.mini-btn {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 13px;
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s;
}
.mini-btn:hover {
  color: #22D3EE;
}

.mini-player-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.mini-player-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   MOBILE 100DVH & SMART NETWORK HUD
   ========================================================================== */
@supports (height: 100dvh) {
  .reels-stage-wrap,
  .reels-viewport-container,
  .reel-card,
  .pin-lock-overlay {
    height: 100dvh !important;
  }
}

.network-data-saver-pill {
  position: fixed;
  top: 72px;
  right: 16px;
  background: rgba(14, 18, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  color: #22D3EE;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 800;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  animation: fadeInOutShort 4s forwards;
}

@keyframes fadeInOutShort {
  0% { opacity: 0; transform: translateY(-8px); }
  15% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

/* ==========================================================================
   INSTAGRAM-STYLE TOP STORIES CAROUSEL & 9:16 VIEWER
   ========================================================================== */
.stories-bar-section {
  width: 100%;
  padding: 12px 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
}

.stories-bar-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden !important;
  touch-action: pan-y !important;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scroll-snap-type: x proximity;
  padding: 4px 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stories-bar-scroll::-webkit-scrollbar {
  display: none;
}

.story-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  background: none;
  border: none;
  padding: 0;
}

.story-ring-item:hover,
.story-ring-item:focus-visible {
  transform: translateY(-2px) scale(1.04);
}

.story-avatar-wrap {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #E11D48, #BE123C);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.25s;
}

.story-ring-item.viewed .story-avatar-wrap {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.story-avatar-wrap.pulse-glow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@keyframes storyRingGlow {
  0% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
  100% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6); }
}

.story-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0B0E17;
  display: block;
}

.story-badge-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22D3EE, #3B82F6);
  border: 2px solid #0B0E17;
  color: #000;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-ring-label {
  font-size: 11px;
  font-weight: 600;
  color: #E2E8F0;
  max-width: 72px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* Fullscreen 9:16 Story Viewer Modal */
.story-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.story-viewer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.story-viewer-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(100vw, calc(100vh * (9 / 16)));
  height: 100%;
  max-height: 100dvh;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  box-sizing: border-box;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

.story-progress-segments {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  z-index: 30;
}

.story-segment-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.story-segment-fill {
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 2px;
}

.story-header {
  position: absolute;
  top: 24px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
}

.story-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #22D3EE;
}

.story-author-text {
  display: flex;
  flex-direction: column;
}

.story-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
}

.story-author-time {
  font-size: 11px;
  color: #94A3B8;
}

.story-header-actions {
  display: flex;
  gap: 8px;
}

.story-header-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.story-media-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-caption-overlay {
  position: absolute;
  bottom: 30px;
  left: 16px;
  right: 16px;
  z-index: 25;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.95));
  padding: 24px 16px 16px 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-caption-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
  line-height: 1.3;
}

.story-caption-desc {
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.4;
}

.story-watch-full-btn {
  background: #E11D48;
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s;
}

.story-watch-full-btn:hover {
  transform: scale(1.03);
}

/* Invisible Left and Right Tap Zones */
.story-tap-zone {
  position: absolute;
  top: 60px;
  bottom: 120px;
  width: 40%;
  z-index: 20;
  cursor: pointer;
}

.story-tap-left {
  left: 0;
}

.story-tap-right {
  right: 0;
}

/* =========================================================================
   FLOATING CYBER SPEED DIAL FAB (PERMANENTLY DELETED)
   ========================================================================= */
.cyber-floating-fab-group,
.cyber-floating-fab-group.visible,
.fab-btn,
.fab-shuffle,
.fab-top {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* ==========================================================================
   ANIMATED SEX GIF LOGO STYLING
   ========================================================================== */
.brand-logo-gif-wrap {
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.brand-logo-gif {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  display: block !important;
}
.brand-logo-fallback {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ==========================================================================
   ZERO-OVERLAP REELS STAGE (INSTAGRAM FEEL)
   ========================================================================== */
body.reels-mode,
body.reels-mode html {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
}
body.reels-mode .site-header,
body.reels-mode #siteHeader,
body.reels-mode .categories-bar,
body.reels-mode #categoriesBar,
body.reels-mode .sub-nav,
body.reels-mode #subNav,
body.reels-mode .quick-tags-bar,
body.reels-mode #quickTagsBar,
body.reels-mode .stories-bar-section,
body.reels-mode #storiesBarSection,
body.reels-mode .network-data-saver-pill,
body.reels-mode .mobile-pwa-bar,
body.reels-mode .site-footer,
body.reels-mode .cyber-floating-fab-group {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.reels-mode .reels-stage-wrap {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 99999 !important;
  background: #000000 !important;
}

/* ==========================================================================
   MOBILE CINEMA PERFECTION (MAX-WIDTH: 650PX)
   Clean 16:9 Thumbnails, Zero Poster Clutter, Compact Titles, Single Filter Row
   ========================================================================== */
/* ==========================================================================
   YOUTUBE-STYLE CARDS & DESKTOP / MOBILE ARCHITECTURE
   ========================================================================== */
.pwa-install-btn,
.mobile-pwa-bar,
#pwaInstallBtn,
#mobilePwaBar,
#btnPwaInstallMobile {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

.yt-card-info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 12px 14px 12px;
  background: transparent;
  width: 100%;
}
.yt-channel-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e11d48, #6366f1);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}
.yt-card-text {
  flex: 1;
  min-width: 0;
}
.yt-card-subline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
  line-height: 1.3;
}
.yt-channel-name {
  font-weight: 500;
  color: #cbd5e1;
}
.yt-dot {
  color: #64748b;
  font-size: 10px;
}
.yt-views {
  color: #94a3b8;
}
.yt-free-badge {
  color: #4ade80 !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(34, 197, 94, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* ==========================================================================
   YOUTUBE MOBILE EXPERIENCE (Max Width 650px)
   1-Column Cinematic Feed, 16:9 Big Thumbnails, YouTube Chips, 5-Tab Bar
   ========================================================================== */
@media (max-width: 650px) {
  /* YouTube Mobile Full-Width Single-Column Feed */
  .movies-grid,
  .movies-grid.mode-movies,
  .movies-grid.mode-adult,
  body.library-adult .movies-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 8px 12px 90px 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  /* YouTube Mobile Video Card */
  .movie-card {
    border-radius: 12px !important;
    overflow: hidden !important;
    background: rgba(15, 18, 26, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    transition: transform 0.14s ease !important;
  }
  .movie-card:active {
    transform: scale(0.985) !important;
  }

  /* YouTube 16:9 Thumbnail */
  .card-poster-wrap {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px 12px 0 0 !important;
    background: #05070e !important;
  }
  .card-poster-wrap.manga-poster-wrap,
  .manga-card .card-poster-wrap {
    aspect-ratio: 3 / 4 !important;
  }
  .card-poster {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px 12px 0 0 !important;
  }

  /* Disable distracting desktop hover overlays */
  .card-quick-actions,
  .btn-quick-play,
  .btn-quick-details,
  .card-overlay,
  .card-bookmark-btn {
    display: none !important;
  }

  /* YouTube Duration Pill in Bottom Right */
  .card-duration {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    top: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.88) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
    z-index: 5 !important;
    border: none !important;
  }

  /* YouTube 4K Quality Badge in Top Left */
  .card-badge-uhd {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    bottom: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    background: rgba(2, 132, 199, 0.92) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    z-index: 5 !important;
    border: none !important;
  }

  /* Rating and Views Stickers on Thumbnail */
  .card-badge-rating {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.82) !important;
    color: #fde047 !important;
    z-index: 5 !important;
    border: none !important;
  }
  .card-views {
    display: none !important; /* Displayed inside YouTube details line below */
  }

  /* YouTube Style Details Below Thumbnail */
  .yt-card-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px 10px 14px 10px !important;
    background: transparent !important;
  }
  .yt-channel-avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    font-size: 12px !important;
  }
  .card-title {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.38 !important;
    color: #f8fafc !important;
    margin: 0 0 5px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 2.8em !important;
    word-break: break-word !important;
  }
  .yt-card-subline {
    font-size: 12px !important;
    color: #94a3b8 !important;
    gap: 6px !important;
  }

  /* YouTube Category Chips Row on Mobile */
  .quick-tags-scroller,
  .categories-bar,
  .sub-nav {
    display: flex !important;
    align-items: center !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 8px 12px !important;
    gap: 8px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    background: rgba(10, 12, 18, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .quick-tags-scroller::-webkit-scrollbar,
  .categories-bar::-webkit-scrollbar,
  .sub-nav::-webkit-scrollbar {
    display: none !important;
  }
  .quick-tag-chip,
  .category-pill,
  .sub-nav-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    flex-shrink: 0 !important;
  }
  .quick-tag-chip:active,
  .category-pill.active,
  .sub-nav-item.active {
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 700 !important;
  }
  .quick-tag-chip:active i,
  .category-pill.active i,
  .sub-nav-item.active i {
    color: #0f172a !important;
  }

  /* YouTube 5-Tab Bottom Mobile Navigation Bar */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 56px !important;
    background: rgba(10, 12, 18, 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;
    z-index: 99999 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 4px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6) !important;
  }
  .mobile-nav-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    padding: 6px 0 !important;
    cursor: pointer !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
  }
  .mobile-nav-item i {
    font-size: 18px !important;
    transition: transform 0.15s ease !important;
  }
  .mobile-nav-item.active {
    color: #ffffff !important;
    font-weight: 700 !important;
  }
  .mobile-nav-item.active i {
    color: #ffffff !important;
    transform: scale(1.1) !important;
  }

  /* Results Header: Slim Bar on Mobile */
  .results-header {
    padding: 6px 12px 10px 12px !important;
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .results-count {
    font-size: 12px !important;
    color: #94A3B8 !important;
  }
  .sort-group {
    display: flex !important;
    gap: 6px !important;
  }
  .sort-btn {
    padding: 4px 10px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
  }
}



/* =========================================================================
   YOUTUBE AUTHENTIC DESIGN SYSTEM & RESPONSIVE LAYOUT ENGINE (100% LOCAL)
   ========================================================================= */

:root {
  --yt-canvas: #0F0F0F;
  --yt-header-bg: #0F0F0F;
  --yt-sidebar-bg: #0F0F0F;
  --yt-sidebar-width: 240px;
  --yt-sidebar-collapsed-width: 72px;
  --yt-header-height: 56px;
  --yt-border-color: rgba(255, 255, 255, 0.1);
  --yt-border-subtle: rgba(255, 255, 255, 0.08);
  --yt-text-primary: #F1F1F1;
  --yt-text-secondary: #AAAAAA;
  --yt-text-muted: #a1a1aa;
  --yt-red: #FF0000;
  --yt-search-bg: #121212;
  --yt-search-btn-bg: #222222;
  --yt-search-border: #303030;
  --yt-chip-bg: rgba(255, 255, 255, 0.1);
  --yt-chip-active-bg: #FFFFFF;
  --yt-chip-active-text: #0F0F0F;
}

body.aurora-body {
  background-color: #0F0F0F !important;
  color: #F1F1F1 !important;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
  overflow-x: hidden !important;
}

/* ==========================================
   1. YOUTUBE HEADER (56px Fixed/Sticky)
   ========================================== */
header.yt-header.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 56px !important;
  max-height: 56px !important;
  min-height: 56px !important;
  background: #0F0F0F !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
  z-index: 1000 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.yt-header-left {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
}

.yt-icon-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  color: #F1F1F1 !important;
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
  padding: 0 !important;
}

.yt-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

.yt-brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  user-select: none !important;
}

.yt-logo-badge {
  width: 30px !important;
  height: 22px !important;
  background: #FF0000 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.yt-brand-text {
  display: flex !important;
  align-items: baseline !important;
  gap: 1px !important;
}

.yt-brand-title {
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  color: #FFFFFF !important;
}

.yt-brand-ext {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #AAAAAA !important;
}

.yt-brand-pill {
  font-size: 11px !important;
  font-weight: 700 !important;
  background: rgba(34, 197, 94, 0.18) !important;
  border: 1px solid rgba(34, 197, 94, 0.45) !important;
  color: #4ADE80 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  margin-left: 6px !important;
  letter-spacing: 0.5px !important;
}

/* YouTube Centered Pill Search Form */
.yt-header-center {
  flex: 1 !important;
  max-width: 640px !important;
  margin: 0 24px !important;
  display: flex !important;
  justify-content: center !important;
  position: relative !important;
}

.yt-search-box {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  height: 40px !important;
  position: relative !important;
}

.yt-search-input-wrap {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  height: 100% !important;
  padding: 4px 16px !important;
  background: #121212 !important;
  border: 1px solid #303030 !important;
  border-right: none !important;
  border-radius: 40px 0 0 40px !important;
  position: relative !important;
  transition: border-color 0.15s ease !important;
}

.yt-search-input-wrap:focus-within {
  border-color: #1c62b9 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4) !important;
}

.yt-search-input {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #F1F1F1 !important;
  font-size: 15px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.yt-search-input::placeholder {
  color: #a1a1aa !important;
}

.yt-search-clear {
  background: transparent !important;
  border: none !important;
  color: #AAAAAA !important;
  font-size: 14px !important;
  cursor: pointer !important;
  padding: 0 12px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.yt-search-clear:hover {
  color: #FFFFFF !important;
}

.yt-search-btn {
  width: 64px !important;
  height: 100% !important;
  background: #222222 !important;
  border: 1px solid #303030 !important;
  border-radius: 0 40px 40px 0 !important;
  color: #F1F1F1 !important;
  font-size: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background 0.15s ease !important;
  box-sizing: border-box !important;
}

.yt-search-btn:hover {
  background: #272727 !important;
}

.yt-search-autocomplete {
  position: absolute !important;
  top: 44px !important;
  left: 0 !important;
  right: 0 !important;
  background: #212121 !important;
  border: 1px solid #303030 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  z-index: 1500 !important;
  overflow: hidden !important;
}

/* Header Right Actions */
.yt-header-right {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
}

.yt-header-action {
  position: relative !important;
}

.yt-user-profile-anchor {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 10px 4px 4px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  cursor: pointer !important;
  position: relative !important;
  user-select: none !important;
  transition: background 0.15s ease !important;
}

.yt-user-profile-anchor:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.yt-user-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #10B981, #059669) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.yt-user-free-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #4ADE80 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.yt-user-arrow {
  font-size: 9px !important;
  color: #AAAAAA !important;
}

.yt-dropdown-menu {
  position: absolute !important;
  top: 48px !important;
  right: 0 !important;
  width: 260px !important;
  background: #282828 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  padding: 8px 0 !important;
  z-index: 2000 !important;
  display: none;
}

.yt-dropdown-menu.show {
  display: block !important;
}

.yt-dropdown-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.yt-dropdown-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #10B981 !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.yt-dropdown-user-info {
  display: flex !important;
  flex-direction: column !important;
}

.yt-dropdown-username {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
}

.yt-dropdown-status {
  font-size: 11px !important;
  color: #4ADE80 !important;
  font-weight: 600 !important;
}

/* ==========================================
   2. YOUTUBE APP LAYOUT & SIDEBAR
   ========================================== */
.yt-app-layout {
  display: flex !important;
  width: 100% !important;
  min-height: calc(100vh - 56px) !important;
  position: relative !important;
  background: #0F0F0F !important;
}

.yt-sidebar {
  position: fixed !important;
  top: 56px !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 240px !important;
  background: #0F0F0F !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 995 !important;
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease !important;
  box-sizing: border-box !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255,255,255,0.2) transparent !important;
}

.yt-sidebar-scroll {
  padding: 12px 0 32px !important;
}

.yt-sidebar-section {
  padding: 0 12px !important;
}

.yt-sidebar-heading {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #AAAAAA !important;
  padding: 10px 12px 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
}

.yt-sidebar-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  height: 40px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  color: #F1F1F1 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: background 0.15s ease !important;
}

.yt-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.yt-sidebar-item.active {
  background: rgba(255, 255, 255, 0.15) !important;
  font-weight: 600 !important;
}

.yt-sidebar-item i {
  width: 22px !important;
  font-size: 16px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.yt-sidebar-divider {
  height: 1px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  margin: 10px 0 !important;
}

.yt-sidebar-footer {
  padding: 16px 20px !important;
  font-size: 13px !important;
  color: #a1a1aa !important;
  line-height: 1.5 !important;
}

.yt-sidebar-footer-links {
  display: flex !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
  flex-wrap: wrap !important;
}

.yt-sidebar-footer-links a {
  color: #AAAAAA !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.yt-sidebar-footer-links a:hover {
  color: #FFFFFF !important;
}

@media (min-width: 901px) {
/* Collapsed Mini Rail on Desktop */
body.yt-sidebar-collapsed .yt-sidebar {
  width: 72px !important;
}

body.yt-sidebar-collapsed .yt-sidebar-heading,
body.yt-sidebar-collapsed .yt-sidebar-divider,
body.yt-sidebar-collapsed .yt-sidebar-footer {
  display: none !important;
}

body.yt-sidebar-collapsed .yt-sidebar-section {
  padding: 0 4px !important;
}

body.yt-sidebar-collapsed .yt-sidebar-item {
  flex-direction: column !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 72px !important;
  padding: 8px 0 !important;
  border-radius: 8px !important;
}

body.yt-sidebar-collapsed .yt-sidebar-item i {
  font-size: 18px !important;
}

body.yt-sidebar-collapsed .yt-sidebar-label {
  font-size: 11px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 64px !important;
  text-align: center !important;
}

body.yt-sidebar-collapsed .yt-main-viewport {
  margin-left: 72px !important;
  width: calc(100% - 72px) !important;
}

}

/* Main Content Viewport */
.yt-main-viewport {
  margin-left: 240px !important;
  min-width: 0 !important;
  width: calc(100% - 240px) !important;
  min-height: calc(100vh - 56px) !important;
  background: #0F0F0F !important;
  transition: margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

/* ==========================================
   3. YOUTUBE STICKY TOPIC CHIPS BAR
   ========================================== */
.yt-chips-bar {
  position: sticky !important;
  top: 56px !important;
  z-index: 900 !important;
  background: #0F0F0F !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 16px !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

.yt-chips-arrow {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  color: #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background 0.15s ease !important;
}

.yt-chips-arrow:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.yt-chips-container {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  flex: 1 !important;
  padding: 4px 0 !important;
}

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

.yt-chip {
  height: 32px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #F1F1F1 !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  user-select: none !important;
}

.yt-chip:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.yt-chip.active {
  background: #FFFFFF !important;
  color: #0F0F0F !important;
  font-weight: 600 !important;
}

/* ==========================================
   4. YOUTUBE 16:9 VIDEO CARDS & GRID
   ========================================== */
.movies-grid,
.movies-grid.mode-adult {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 24px 16px !important;
  padding: 16px 20px 80px !important;
  max-width: 1920px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  background: #0F0F0F !important;
}

.movie-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  outline: none !important;
}

.card-poster-wrap,
.card-poster-wrap.adult-poster-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #202020 !important;
}

.card-poster {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}

.movie-card:hover .card-poster {
  transform: scale(1.03) !important;
}

.card-duration {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  background: rgba(0, 0, 0, 0.88) !important;
  color: #FFFFFF !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
  line-height: 1 !important;
  letter-spacing: 0.2px !important;
  z-index: 5 !important;
}

.card-badge-uhd {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(74, 222, 128, 0.5) !important;
  color: #4ADE80 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.5px !important;
  z-index: 5 !important;
}

.card-badge-rating,
.card-views {
  display: none !important;
}

.yt-card-info {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 12px 2px 0 !important;
}

.yt-channel-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #272727 !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  margin-top: 2px !important;
}

.yt-card-text {
  flex: 1 !important;
  min-width: 0 !important;
}

.card-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #F1F1F1 !important;
  line-height: 1.4 !important;
  margin: 0 0 4px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.yt-card-subline {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px 6px !important;
  font-size: 12px !important;
  color: #AAAAAA !important;
}

.yt-channel-name {
  color: #AAAAAA !important;
  font-weight: 500 !important;
}

.yt-dot {
  color: #a1a1aa !important;
}

.yt-views {
  color: #AAAAAA !important;
}

.yt-free-badge {
  color: #4ADE80 !important;
  font-weight: 600 !important;
  background: rgba(34, 197, 94, 0.12) !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  font-size: 11px !important;
}

/* Clean up legacy cluttered bars */
.categories-bar,
.quick-tags-scroller {
  display: none !important;
}

.section-header {
  padding: 16px 20px 8px !important;
}

.section-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #F1F1F1 !important;
}

.results-meta {
  font-size: 13px !important;
  color: #AAAAAA !important;
}

/* ==========================================
   5. MOBILE RESPONSIVENESS & BOTTOM NAV
   ========================================== */
.yt-mobile-bottom-nav {
  display: none !important;
}

@media (max-width: 900px) {
  .yt-sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 260px !important;
    z-index: 2200 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.8) !important;
  }

  body.yt-drawer-open .yt-sidebar {
    transform: translateX(0) !important;
  }

  .yt-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2150;
    display: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body.yt-drawer-open .yt-drawer-backdrop {
    display: block !important;
  }

  .yt-main-viewport {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .yt-chips-bar {
    top: 56px !important;
    padding: 0 12px !important;
  }

  .yt-chips-arrow {
    display: none !important;
  }
}

@media (max-width: 650px) {
  header.yt-header.site-header {
    height: 52px !important;
    max-height: 52px !important;
    min-height: 52px !important;
    padding: 0 12px !important;
  }

  .yt-header-center {
    display: none !important;
  }

  header.yt-header.mobile-search-active .yt-header-left,
  header.yt-header.mobile-search-active .yt-header-right {
    display: none !important;
  }

  header.yt-header.mobile-search-active .yt-header-center {
    display: flex !important;
    margin: 0 !important;
    max-width: 100% !important;
    flex: 1 !important;
  }

  .yt-chips-bar {
    top: 52px !important;
    height: 48px !important;
    padding: 0 10px !important;
  }

  .movies-grid,
  .movies-grid.mode-adult {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 8px 0 80px !important;
  }

  .card-poster-wrap,
  .card-poster-wrap.adult-poster-wrap {
    border-radius: 0 !important;
  }

  .yt-card-info {
    padding: 10px 14px 0 !important;
  }

  .hero-spotlight {
    display: none !important;
  }

  .sort-filter-bar {
    display: none !important;
  }

  .yt-mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 50px !important;
    background: #0F0F0F !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 2000 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    box-sizing: border-box !important;
  }

  .yt-bottom-tab {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: #AAAAAA !important;
    font-size: 11px !important;
    gap: 4px !important;
    cursor: pointer !important;
    flex: 1 !important;
    padding: 6px 0 !important;
    user-select: none !important;
  }

  .yt-bottom-tab i {
    font-size: 16px !important;
  }

  .yt-bottom-tab.active {
    color: #FFFFFF !important;
    font-weight: 600 !important;
  }
}

.yt-chips-bar.all-filters-open {
  height: auto !important;
  flex-wrap: wrap !important;
  padding-block: 8px !important;
}

.yt-chips-bar.all-filters-open .yt-chips-arrow,
.yt-chips-bar .yt-chip[hidden] {
  display: none !important;
}

.yt-chips-bar.all-filters-open .yt-chips-container {
  flex: 0 0 100% !important;
  flex-wrap: wrap !important;
  max-height: min(42vh, 350px);
  align-content: start;
  overflow-y: auto;
  scrollbar-width: thin !important;
  order: 1;
}

.yt-all-filters {
  flex-shrink: 0;
}

@media (max-width: 640px) and (pointer: coarse) {
  .yt-chips-bar .yt-chips-arrow {
    display: none !important;
  }
}

