/* ==========================================================================
   Vexorio - Design System & Main Stylesheet (Movie & Series Streaming)
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

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

/* ---------- Layout Shell ---------- */
.vex-shell {
  display: grid;
  grid-template-columns: 68px 1fr;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

.vex-main-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

/* ---------- Left Rail Navigation (Slim Icon Rail) ---------- */
.vex-rail {
  background: var(--bg-elev);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 30;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.vex-rail::-webkit-scrollbar {
  display: none;
}

.rail-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 12px;
  margin-bottom: 12px;
  min-height: 40px;
}

.vex-rail .burger-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-dim);
  cursor: pointer;
  flex-shrink: 0;
  border: none;
  background: transparent;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.vex-rail .burger-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transform: scale(1.05);
}

.rail-menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 4px;
}

.rail-icon-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-faint);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.rail-icon-link .rail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rail-icon-link svg {
  width: 20px;
  height: 20px;
}

.rail-label {
  display: none;
}

.rail-icon-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.rail-icon-link.active {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Tooltip on rail hover in collapsed state */
.rail-icon-link[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.rail-icon-link:hover[data-tooltip]::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* Light Theme Overrides for Rail Navigation */
[data-theme="light"] .rail-icon-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0f172a;
}

[data-theme="light"] .rail-icon-link.active {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0284c7;
}

.rail-spacer {
  flex: 1;
}

/* ---------- Header Navigation ---------- */
header.vex-top-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 24px;
  min-height: 82px;
  background: rgba(14, 18, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] header.vex-top-header {
  background: rgba(255, 255, 255, 0.96);
}

.vex-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.2px;
  flex-shrink: 0;
  user-select: none;
  text-decoration: none;
}

.vex-brand .custom-brand-logo {
  display: block;
  height: 80px;
  max-height: 95px;
  max-width: 480px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.vex-brand:hover .custom-brand-logo {
  transform: scale(1.02);
}

.vex-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 45, 106, 0.35);
  transition: transform var(--transition-fast);
}

.vex-brand:hover .brand-mark {
  transform: scale(1.05) rotate(-3deg);
}

.vex-brand .brand-mark svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.vex-brand .brand-title {
  color: var(--text);
}

.vex-brand .brand-accent {
  color: var(--accent);
}

/* Header Search Form */
/* Header Search Container & Bar */
.vex-search-container {
  position: relative;
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
  z-index: 100;
}

.vex-search-bar {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  gap: 8px;
  height: 38px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-normal);
}

.vex-search-bar:focus-within,
.vex-search-container.is-active .vex-search-bar {
  border-color: #e5a93c;
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.2);
}

.vex-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13.5px;
}

.vex-search-bar input::placeholder {
  color: var(--text-faint);
}

.vex-search-bar .mic-btn {
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.vex-search-bar .mic-btn:hover,
.vex-search-bar .mic-btn.listening {
  color: #e5a93c;
  transform: scale(1.1);
}

.vex-search-bar .search-submit-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: #e5a93c !important;
  color: #241402 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(229, 169, 60, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.vex-search-bar .search-submit-btn:hover {
  background: #f0b446 !important;
  color: #1a0e01 !important;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.5);
}

.vex-search-bar .search-submit-btn svg {
  width: 13px;
  height: 13px;
  stroke: #241402;
}

/* ==========================================================================
   Live Search Autocomplete & Instant Dropdown Suggestions
   ========================================================================== */

.vex-search-dropdown {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  background: #0b1120;
  border: 1px solid #1e293b;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 9999;
  overflow: hidden;
  animation: vexFadeSlideDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.vex-search-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.vex-search-heading {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.1px;
}

.vex-search-heading .header-icon {
  font-size: 13px;
}

.vex-search-hint {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
}

.vex-search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px 8px;
  scrollbar-width: thin;
  scrollbar-color: #334155 #0b1120;
}

.vex-search-results-list::-webkit-scrollbar {
  width: 6px;
}

.vex-search-results-list::-webkit-scrollbar-track {
  background: transparent;
}

.vex-search-results-list::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

.vex-search-results-list::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

.vex-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  margin-bottom: 2px;
}

.vex-search-item:hover,
.vex-search-item.is-selected {
  background: #151e34;
  border-color: rgba(56, 189, 248, 0.15);
  text-decoration: none !important;
}

.vex-search-thumb {
  width: 36px;
  height: 50px;
  border-radius: 5px;
  flex-shrink: 0;
  object-fit: cover;
  background: #1e293b;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vex-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vex-search-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
}

.vex-search-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vex-search-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.vex-search-item:hover .vex-search-title,
.vex-search-item.is-selected .vex-search-title {
  color: #38bdf8;
  text-decoration: none !important;
}

.vex-search-meta {
  font-size: 11px;
  font-weight: 500;
  color: #818cf8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.vex-search-arrow {
  color: #64748b;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
  display: flex;
  align-items: center;
  padding-left: 6px;
}

.vex-search-arrow svg {
  width: 13px;
  height: 13px;
}

.vex-search-item:hover .vex-search-arrow,
.vex-search-item.is-selected .vex-search-arrow {
  transform: translateX(3px);
  color: #38bdf8;
}

.vex-search-dropdown-footer {
  padding: 8px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}

.vex-search-view-all-link {
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: color 0.15s ease, gap 0.15s ease;
}

.vex-search-view-all-link:hover {
  color: #7dd3fc;
  gap: 9px;
  text-decoration: none !important;
}

.vex-search-empty,
.vex-search-loading {
  padding: 24px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 12.5px;
}

.vex-search-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: vexSpin 0.7s linear infinite;
  margin-bottom: 6px;
}

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

/* Light Mode Overrides for Search Dropdown */
[data-theme="light"] .vex-search-dropdown {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .vex-search-dropdown-header {
  border-bottom-color: #f1f5f9;
  background: #f8fafc;
}

[data-theme="light"] .vex-search-heading {
  color: #0f172a;
}

[data-theme="light"] .vex-search-hint {
  color: #64748b;
}

[data-theme="light"] .vex-search-item:hover,
[data-theme="light"] .vex-search-item.is-selected {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

[data-theme="light"] .vex-search-title {
  color: #0f172a;
}

[data-theme="light"] .vex-search-item:hover .vex-search-title,
[data-theme="light"] .vex-search-item.is-selected .vex-search-title {
  color: #0284c7;
}

[data-theme="light"] .vex-search-meta {
  color: #6366f1;
}

[data-theme="light"] .vex-search-arrow {
  color: #94a3b8;
}

[data-theme="light"] .vex-search-dropdown-footer {
  border-top-color: #f1f5f9;
  background: #f8fafc;
}

[data-theme="light"] .vex-search-results-list {
  scrollbar-color: #cbd5e1 #ffffff;
}

[data-theme="light"] .vex-search-results-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
}

/* Header Top Actions */
.vex-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.action-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.action-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.action-icon-btn svg {
  width: 17px;
  height: 17px;
}

.lang-selector {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.lang-selector:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-signup,
.btn-request-movie {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e5a93c !important;
  color: #241402 !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full, 9999px) !important;
  text-decoration: none;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(229, 169, 60, 0.35);
  transition: transform var(--transition-fast, 0.18s ease), box-shadow var(--transition-fast, 0.18s ease), filter var(--transition-fast, 0.18s ease);
}

.btn-signup:hover,
.btn-request-movie:hover {
  background: #f0b446 !important;
  color: #1a0e01 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 169, 60, 0.55);
}

.btn-signup:active,
.btn-request-movie:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(229, 169, 60, 0.3);
}

.btn-signup svg,
.btn-request-movie svg,
.btn-ticket-icon {
  width: 16px;
  height: 16px;
  stroke: #241402 !important;
  color: #241402 !important;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text);
  cursor: pointer;
}

/* ---------- Category Pills Bar ---------- */
.vex-pillbar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--bg);
  z-index: 10;
  padding: 12px 28px 6px;
  gap: 8px;
}

.pill-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  user-select: none;
}

.pill-nav-btn svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
}

.pill-nav-btn:hover {
  background: #e5a93c;
  border-color: #e5a93c;
  color: #241402;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.4);
}

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

.pill-nav-btn.is-hidden {
  display: none !important;
}

.vex-pillbar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.vex-pillbar::-webkit-scrollbar {
  display: none;
}

.vex-pillbar.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}

.vex-pill {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.vex-pill:hover {
  color: var(--text);
  border-color: #e5a93c;
  transform: translateY(-1px);
}

.vex-pill.active {
  background: #e5a93c !important;
  color: #241402 !important;
  border-color: transparent !important;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(229, 169, 60, 0.35);
}

.vex-pill.active:hover {
  background: #f0b446 !important;
  color: #1a0e01 !important;
  box-shadow: 0 5px 16px rgba(229, 169, 60, 0.5);
  transform: translateY(-1px);
}

/* ---------- Section Headings & Dynamic Headers ---------- */
.vex-section {
  padding: 28px 28px 14px;
  width: 100%;
}

.vex-home-section {
  margin-bottom: 40px;
  padding: 18px 28px 38px;
  position: relative;
}

.vex-home-section:first-of-type,
.vex-section:first-of-type {
  padding-top: 26px;
  margin-top: 10px;
}

.vex-home-section:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .vex-home-section:not(:last-child) {
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

.vex-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 14px;
}

.vex-section-title-wrap {
  display: flex;
  align-items: center;
}

.vex-section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0;
  color: var(--text, #ffffff);
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  line-height: 1.25;
}

.vex-section-icon,
.vex-section-icon-badge {
  font-size: 23px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 2px;
}

/* Show More / View All Button (Borderless, Uppercase, White in Dark Mode, Black in Light Mode) */
.vex-section-more-btn,
.vex-view-all-link {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
}

.vex-section-more-btn svg,
.vex-view-all-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.18s ease;
}

.vex-section-more-btn:hover,
.vex-view-all-link:hover {
  opacity: 0.8;
  transform: translateX(2px);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.vex-section-more-btn:hover svg,
.vex-view-all-link:hover svg {
  transform: translateX(3px);
}

/* Light Mode Overrides for Section Header & Show More */
[data-theme="light"] .vex-section-title {
  color: #000000;
}

[data-theme="light"] .vex-section-more-btn,
[data-theme="light"] .vex-view-all-link {
  color: #000000 !important;
}

/* ==========================================================================
   Movie / Series Poster Cards & Grid (Standard Movie Poster Size)
   ========================================================================== */

.vex-video-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  width: 100%;
}

/* Movie Card Container */
.vex-movie-card {
  display: flex;
  flex-direction: column;
  background: #0d1222;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  width: 100%;
  max-width: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vex-movie-card:hover {
  transform: translateY(-4px);
  border-color: #3b476d;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

/* Poster Box (approx 2:2.8 ratio) */
.movie-poster-box {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 2.78;
  overflow: hidden;
  background: #141a2c;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* Poster Placeholder typography */
.poster-placeholder-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}

.ph-main-label {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  line-height: 1.3;
}

/* Top-Right Quality Badge */
.badge-quality {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #09224b;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  z-index: 3;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Play Overlay */
.poster-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 26, 0.35);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 2;
}

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

.poster-play-overlay svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vex-movie-card:hover .poster-play-overlay svg {
  transform: scale(1.1);
}

/* Views & Rating Counter on Poster */
.badge-views {
  position: absolute;
  bottom: 26px;
  right: 6px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(3px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.badge-views svg {
  width: 11px;
  height: 11px;
  stroke: #ffffff;
}

/* Yellow / Gold Rating Badge */
.badge-views.is-rating {
  color: #fbbf24;
  background: rgba(11, 15, 25, 0.88);
  border: 1px solid rgba(251, 191, 36, 0.45);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 8px rgba(251, 191, 36, 0.25);
}

.badge-views.is-rating svg {
  stroke: #fbbf24;
  fill: #fbbf24;
  width: 11px;
  height: 11px;
}

.badge-views.is-rating .rating-val {
  color: #fbbf24;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.badge-views .rating-star,
.rating-star {
  color: #fbbf24;
  font-size: 11px;
  margin-left: 2px;
  text-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
}

/* Bottom Badges Row (Audio & Genre) */
.poster-bottom-badges {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  width: 100%;
}

.badge-audio {
  background: #00a82d;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 6px;
  text-transform: uppercase;
  letter-spacing: 0.15px;
  border-top-right-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.badge-genre {
  background: #e50914;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Movie Card Bottom Meta Area */
.movie-card-body {
  padding: 8px 9px 11px;
  background: #080c16;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.movie-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.movie-duration {
  font-size: 11px;
  color: #9499ad;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  letter-spacing: 0.15px;
}

.movie-duration svg {
  width: 11px;
  height: 11px;
  stroke: #9499ad;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.badge-ep {
  border: 1px solid #00d285;
  color: #ffffff;
  background: rgba(0, 210, 133, 0.08);
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.15px;
}

.movie-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #38bdf8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.movie-card-title a {
  color: #38bdf8;
  text-decoration: none !important;
  transition: color 0.15s ease;
  text-transform: uppercase;
}

.movie-card-title a:hover,
.movie-card-title a:focus,
.movie-card-title a:active,
.vex-movie-card:hover .movie-card-title,
.vex-movie-card:hover .movie-card-title a {
  color: #7dd3fc;
  text-decoration: none !important;
}

/* ---------- Numbered Pagination for Categories & Archives ---------- */
.navigation.pagination,
.vex-pagination-wrap {
  margin: 36px 0 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.navigation.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.navigation.pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #0d1222;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-decoration: none !important;
  transition: all 0.18s ease;
  user-select: none;
}

.navigation.pagination .page-numbers:hover {
  background: rgba(255, 45, 106, 0.18);
  border-color: #ff2d6a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 45, 106, 0.25);
}

.navigation.pagination .page-numbers.current {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 45, 106, 0.4);
  transform: none;
}

.navigation.pagination .page-numbers.dots {
  background: transparent;
  border: none;
  color: var(--text-faint);
  min-width: 24px;
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  gap: 6px;
  padding: 0 16px;
  font-weight: 700;
}

.navigation.pagination .page-numbers svg {
  display: inline-block;
  vertical-align: middle;
}

[data-theme="light"] .navigation.pagination .page-numbers {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .navigation.pagination .page-numbers.current {
  background: var(--accent-gradient);
  color: #ffffff;
}

/* ---------- End Note & Footer ---------- */
.vex-end-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 13px;
  padding: 40px 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vex-end-note::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--border);
  border-radius: var(--radius-full);
}

/* ---------- Mobile Bottom Navigation Bar ---------- */
.vex-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: rgba(14, 18, 32, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  z-index: 40;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
}

[data-theme="light"] .vex-mobile-nav {
  background: rgba(255, 255, 255, 0.95);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-faint);
  font-size: 10.5px;
  font-weight: 600;
  flex: 1;
  height: 100%;
  transition: color var(--transition-fast);
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-item.active {
  color: var(--accent);
}

/* ---------- Universal Slideout Drawer Navigation (Opens OVER Website) ---------- */
.vex-mobile-drawer {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vex-mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-pane {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--bg-elev, #0b0f19);
  border-right: 1px solid var(--border, rgba(255,255,255,0.08));
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
  z-index: 1001;
}

.vex-mobile-drawer.is-open .drawer-pane {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 16px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
  margin-bottom: 14px;
}

.drawer-header .vex-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text, #ffffff);
  text-decoration: none;
}

.drawer-header .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-gradient-purple, linear-gradient(135deg, #e50914, #ff2d6a));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 45, 106, 0.35);
}

.drawer-header .brand-mark svg {
  width: 13px;
  height: 13px;
  fill: #ffffff;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md, 8px);
  color: var(--text-dim, #94a3b8);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text, #ffffff);
  transform: scale(1.05);
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-dim, #94a3b8);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.drawer-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.drawer-item:hover {
  color: var(--text, #ffffff);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.drawer-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.drawer-item.active svg {
  color: #38bdf8;
}

/* Light Theme for Drawer */
[data-theme="light"] .drawer-pane {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .drawer-header {
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .drawer-header .vex-brand {
  color: #0f172a;
}

[data-theme="light"] .drawer-close-btn {
  color: #64748b;
}

[data-theme="light"] .drawer-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .drawer-item {
  color: #475569;
}

[data-theme="light"] .drawer-item:hover {
  background: #f8fafc;
  color: #0f172a;
}

[data-theme="light"] .drawer-item.active {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .drawer-item.active svg {
  color: #0284c7;
}

/* ---------- Gradient Placeholders ---------- */
.g1 {
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.g2 {
  background: linear-gradient(135deg, #2a1b2d, #141124);
}

.g3 {
  background: linear-gradient(135deg, #102a24, #0b1a20);
}

.g4 {
  background: linear-gradient(135deg, #2d2415, #1c150c);
}

.g5 {
  background: linear-gradient(135deg, #2d1419, #170b10);
}

.g6 {
  background: linear-gradient(135deg, #182236, #0e1624);
}

.g7 {
  background: linear-gradient(135deg, #231934, #120b1f);
}

.g8 {
  background: linear-gradient(135deg, #1d2b1f, #0d170f);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Full Screen & Large Desktop (>= 1360px) -> Exactly 7 Cards filling full screen width */
@media (min-width: 1360px) {
  .vex-video-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
  }

  .vex-movie-card {
    max-width: 100%;
  }
}

/* Standard Desktop / Laptop (1150px - 1359px) -> 6 Columns */
@media (min-width: 1150px) and (max-width: 1359px) {
  .vex-video-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
  }

  .vex-movie-card {
    max-width: 100%;
  }
}

/* Laptop & Tablet Landscape (960px - 1149px) -> 5 Columns */
@media (min-width: 960px) and (max-width: 1149px) {
  .vex-video-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  .vex-movie-card {
    max-width: 100%;
  }

  header.vex-top-header {
    padding: 12px 20px;
    gap: 14px;
  }

  .vex-pillbar {
    padding: 12px 20px 4px;
  }

  .vex-section {
    padding: 20px 20px 6px;
  }
}

/* Tablet Portrait (768px - 959px) -> 4 Columns */
@media (min-width: 768px) and (max-width: 959px) {
  .vex-video-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .vex-movie-card {
    max-width: 100%;
  }

  header.vex-top-header {
    padding: 12px 20px;
    gap: 14px;
  }

  .vex-pillbar {
    padding: 12px 20px 4px;
  }

  .vex-section {
    padding: 20px 20px 6px;
  }
}

/* Phablets / Large Phones (520px - 767px) -> 3 Columns */
@media (min-width: 520px) and (max-width: 767px) {
  .vex-video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .vex-movie-card {
    max-width: 100%;
  }
}

/* Mobile & Portrait Tablet (< 768px) */
@media (max-width: 768px) {
  .vex-shell {
    grid-template-columns: 1fr;
  }

  .vex-rail {
    display: none;
  }

  .vex-mobile-nav {
    display: flex;
  }

  .vex-mobile-drawer {
    display: block;
  }

  /* Hide 3-line top menu button (already in bottom nav) */
  .mobile-menu-toggle {
    display: none !important;
  }

  /* Hide top header Request Movie button on mobile (accessible via mobile menu drawer) */
  .vex-top-actions {
    display: none !important;
  }

  .vex-header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .vex-search-container {
    max-width: 100%;
    flex: 1;
    margin: 0;
  }

  header.vex-top-header {
    padding: 10px 14px;
    gap: 12px;
  }

  .lang-selector {
    display: none;
  }

  .vex-main-content {
    padding-bottom: 60px;
  }
}

/* Mobile Drawer Request Movie Button Styling */
.btn-drawer-request-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  background: #e5a93c !important;
  color: #241402 !important;
  border: none !important;
  border-radius: 9999px !important;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-drawer-request-action:hover {
  background: #f0b446 !important;
  color: #1a0e01 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(229, 169, 60, 0.55);
}

.btn-drawer-request-action svg {
  stroke: #241402 !important;
  color: #241402 !important;
  width: 16px;
  height: 16px;
}

/* Mobile Phones (< 520px) -> 2 Columns */
@media (max-width: 519px) {
  .vex-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .vex-movie-card {
    max-width: 100%;
  }

  header.vex-top-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .vex-brand .brand-title {
    display: none;
  }

  .vex-brand .custom-brand-logo {
    height: 52px;
    max-height: 58px;
    max-width: 220px;
  }

  .vex-search-bar {
    padding: 6px 6px 6px 12px;
  }

  .vex-search-bar input {
    font-size: 13px;
  }

  .vex-search-bar .mic-btn {
    display: none;
  }

  .vex-search-bar .search-submit-btn {
    width: 28px;
    height: 28px;
  }

  .vex-pillbar {
    padding: 10px 14px 2px;
    gap: 8px;
  }

  .vex-pill {
    padding: 6px 14px;
    font-size: 12.5px;
  }

  .vex-section {
    padding: 14px 14px 4px;
  }
}

/* ==========================================================================
   Single Movie Watch Page (Exact Match to movie-watch-page.html)
   ========================================================================== */

/* Full-width shell on single watch page: Hide rail sidebar, enable burger menu */
body.single .vex-shell,
body.single-movie .vex-shell,
body.single-post .vex-shell {
  grid-template-columns: 1fr !important;
}

body.single .vex-rail,
body.single-movie .vex-rail,
body.single-post .vex-rail {
  display: none !important;
}

body.single .mobile-menu-toggle,
body.single-movie .mobile-menu-toggle,
body.single-post .mobile-menu-toggle {
  display: flex !important;
}

body.single .vex-mobile-drawer,
body.single-movie .vex-mobile-drawer,
body.single-post .vex-mobile-drawer {
  display: block;
}

/* Font family assignments */
.layout h1,
.layout h2,
.layout h3,
.tab,
.btn-play-label,
.info-name,
.follow-btn,
.signup {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Layout - Fluid, stretch left & right without empty gaps */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 24px;
  padding: 20px 24px 50px;
  max-width: 100%;
  width: 100%;
  margin: 0;
  align-items: start;
  box-sizing: border-box;
}

@media (min-width: 1600px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 402px;
    padding: 24px 32px 60px;
    gap: 24px;
  }
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 16px 16px 40px;
    gap: 24px;
  }
}

.main {
  min-width: 0;
  width: 100%;
}


/* Player - Full 16:9 YouTube Proportions */
.player-shell {
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  border: 1px solid var(--line, #e6e3ed);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.player-shell video,
.player-shell iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

.player-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 5;
  pointer-events: none;
}

/* Watchdog Status Countdown Pill */
.player-watchdog-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 169, 60, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 10px rgba(229, 169, 60, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.player-watchdog-pill strong {
  color: #e5a93c;
  font-weight: 700;
}

.watchdog-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5a93c;
  box-shadow: 0 0 8px #e5a93c;
  animation: watchdogBlink 1.2s infinite ease-in-out;
}

@keyframes watchdogBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

/* Player Stream Unreachable / Error Overlay */
.player-error-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(12px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: vexFadeIn 0.3s ease;
}

.player-error-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  background: #0f172a;
  border: 1.5px solid rgba(229, 169, 60, 0.4);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 169, 60, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.player-error-icon {
  font-size: 38px;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(229, 169, 60, 0.5));
  margin-bottom: 2px;
}

.player-error-title {
  font-size: 19px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.01em;
}

.player-error-msg {
  font-size: 13.5px;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0 0 8px;
}

.player-error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.player-overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.player-overlay-btn.btn-report {
  background: linear-gradient(135deg, #e5a93c 0%, #f59e0b 100%);
  color: #241402;
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.4);
}

.player-overlay-btn.btn-report:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 169, 60, 0.6);
}

.player-overlay-btn.btn-retry {
  background: #1e293b;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.player-overlay-btn.btn-retry:hover {
  background: #334155;
  color: #fff;
  border-color: rgba(229, 169, 60, 0.5);
}

/* ---------- Streaming Servers Card & Switcher (17 Servers) ---------- */
.vex-servers-card {
  margin-top: 14px;
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vex-servers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
}

.vex-servers-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text, #ffffff);
}

.vex-servers-title .pulse-icon {
  color: #fbbf24;
  font-size: 14px;
}

.vex-servers-title .active-server-name {
  color: #38bdf8;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 12px;
}

.servers-note {
  font-size: 11.5px;
  color: var(--text-muted, #94a3b8);
}

.vex-servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 7px;
}

.server-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-dim, #cbd5e1);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.server-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.server-btn.is-active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.12));
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.server-btn .server-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
}

.server-btn .server-name-txt {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-btn .server-tag-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1.5px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted, #94a3b8);
  letter-spacing: 0.2px;
}

.server-btn.is-active .server-tag-badge {
  background: #38bdf8;
  color: #0f172a;
}

/* Light Mode Overrides for Servers Card */
[data-theme="light"] .vex-servers-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .vex-servers-header {
  border-bottom-color: #f1f5f9;
}

[data-theme="light"] .vex-servers-title {
  color: #0f172a;
}

[data-theme="light"] .server-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

[data-theme="light"] .server-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .server-btn.is-active {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0369a1;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .server-btn.is-active .server-tag-badge {
  background: #0284c7;
  color: #ffffff;
}

/* Title row */
.title-row {
  padding-top: 18px;
}

.title-row h1 {
  font-size: 24px;
  margin: 0 0 10px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text, #1c1a24);
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2, #9b97a8);
  font-size: 13px;
  flex-wrap: wrap;
}

.dot::before {
  content: "•";
  margin-right: 14px;
  color: var(--muted-2, #9b97a8);
}

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

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface, #f5f4f8);
  border: 1px solid var(--line, #e6e3ed);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #1c1a24);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.action-btn:hover {
  border-color: var(--pink, #ff3d81);
  transform: translateY(-1px);
}

.action-btn.liked {
  color: var(--pink, #ff3d81);
  border-color: rgba(255, 61, 129, 0.4);
}

.action-btn.liked svg {
  fill: var(--pink, #ff3d81);
}

.action-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Movie Description Card */
.info-card {
  display: block;
  background: var(--surface, #f5f4f8);
  border: 1px solid var(--line, #e6e3ed);
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 20px;
}

.info-card-clean .synopsis {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text, #1c1a24);
}

.info-card-clean .synopsis p {
  margin: 0 0 12px;
}

.info-card-clean .synopsis p:last-child {
  margin-bottom: 0;
}

.info-card-clean .synopsis b,
.info-card-clean .synopsis strong {
  color: var(--text, #1c1a24);
  font-weight: 700;
}


/* Comments */
.action-btn-report:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.action-btn-report:hover svg {
  stroke: #ef4444;
}

/* User Ratings & Reviews Section */
.reviews-section {
  margin-top: 32px;
}

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

.reviews-head h3 {
  font-size: 17px;
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text, #1c1a24);
}

.reviews-avg-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted-2, #9b97a8);
}

.reviews-avg-badge .star-icon {
  font-size: 14px;
}

.reviews-avg-badge .avg-score {
  font-weight: 800;
  color: #f59e0b;
  font-size: 15px;
}

.reviews-avg-badge .out-of {
  font-size: 12px;
  color: var(--muted-2, #9b97a8);
}

.reviews-avg-badge .dot-sep {
  opacity: 0.5;
}

.reviews-avg-badge .total-reviews {
  font-weight: 600;
  color: var(--text, #1c1a24);
}

.sort-toggle {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted-2, #9b97a8);
}

.sort-toggle span {
  cursor: pointer;
  transition: color 0.15s ease;
}

.sort-toggle .active {
  color: var(--text, #1c1a24);
  font-weight: 700;
}

/* Rating Input Card & Star Picker */
.rating-box-wrap {
  margin-bottom: 26px;
}

.rating-input-card {
  background: var(--surface, #f5f4f8);
  border: 1px solid var(--line, #e6e3ed);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rating-input-card:focus-within {
  border-color: rgba(255, 61, 129, 0.4);
}

.rating-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line, #e6e3ed);
  padding-bottom: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.rating-stars-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rating-prompt {
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #1c1a24);
}

.star-rating-picker {
  display: inline-flex;
  gap: 3px;
  user-select: none;
}

.star-rating-picker .star-item {
  font-size: 21px;
  color: #d1d5db;
  cursor: pointer;
  line-height: 1;
  transition: color 0.12s ease, transform 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.star-rating-picker .star-item:hover {
  transform: scale(1.25);
}

.star-rating-picker .star-item.active,
.star-rating-picker .star-item.hover-active {
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.rating-selected-score {
  font-size: 13px;
  font-weight: 700;
  color: #f59e0b;
  margin-left: auto;
}

/* Comment Input Area */
.rating-input-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.rating-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rating-input-container {
  flex: 1;
  min-width: 0;
}

.vex-comment-textarea {
  width: 100%;
  background: var(--bg, #ffffff);
  border: 1px solid var(--line, #e6e3ed);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text, #1c1a24);
  outline: none;
  resize: vertical;
  min-height: 52px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vex-comment-textarea:focus {
  border-color: var(--pink, #ff3d81);
  box-shadow: 0 0 0 3px rgba(255, 61, 129, 0.15);
}

.vex-comment-textarea.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Validation Notice */
.comment-error-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
  animation: vexShake 0.3s ease-in-out;
}

@keyframes vexShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-4px);
  }

  40%,
  80% {
    transform: translateX(4px);
  }
}

/* Bottom Actions Row */
.rating-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.comment-rules-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-2, #9b97a8);
  background: rgba(0, 0, 0, 0.03);
  padding: 5px 10px;
  border-radius: 6px;
}

.comment-rules-badge svg {
  stroke: var(--muted-2, #9b97a8);
  opacity: 0.8;
}

.rating-submit-btn {
  background: var(--grad, linear-gradient(135deg, #8b5cf6, #ff3d81));
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 4px 14px rgba(255, 61, 129, 0.25);
}

.rating-submit-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Reviews List Items */
.review-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line, #e6e3ed);
  animation: vexFadeIn 0.3s ease-out;
}

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

.review-item .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-size: 14px;
}

.review-body {
  flex: 1;
  min-width: 0;
}

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

.review-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text, #1c1a24);
}

.review-star-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.review-time {
  font-size: 11.5px;
  color: var(--muted-2, #9b97a8);
  margin-left: auto;
  font-weight: 400;
}

.review-text {
  font-size: 13.5px;
  color: var(--text, #1c1a24);
  margin: 6px 0 0;
  line-height: 1.55;
}

/* Movie Description Synopsis Card */
.info-card-clean {
  position: relative;
  flex-direction: column !important;
  align-items: stretch !important;
}

.synopsis {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text, #1c1a24);
  transition: all 0.25s ease;
}

.synopsis p {
  margin: 0 0 8px;
}

.synopsis p:last-child {
  margin-bottom: 0;
}

.btn-synopsis-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--pink, #ff2d6a);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0 2px;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  transition: opacity 0.15s ease;
}

.btn-synopsis-toggle:hover {
  opacity: 0.85;
}

.btn-synopsis-toggle .synopsis-toggle-icon {
  font-size: 9px;
  transition: transform 0.2s ease;
}

/* Reviews Collapsible Elements */
.mobile-comments-toggle-btn {
  display: none;
}

.reviews-collapsible-body {
  width: 100%;
}

/* Sidebar */
.sidebar h3 {
  font-size: 15px;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--muted, #6b6779);
  text-transform: none;
  letter-spacing: -0.2px;
}

.rec-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  padding: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.rec-item:hover {
  transform: translateX(4px);
  background: var(--surface, #f5f4f8);
  border-color: var(--line, #e6e3ed);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.rec-thumb {
  width: 120px;
  aspect-ratio: 3/4;
  border-radius: 9px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--surface-2, #1a1e2e);
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.rec-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 9px;
  transition: transform 0.25s ease;
}

.rec-item:hover .rec-thumb img {
  transform: scale(1.05);
}

.rec-thumb .dur {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rec-info {
  min-width: 0;
  flex: 1;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.rec-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text, #1c1a24);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.rec-item:hover .rec-title {
  color: var(--pink, #ff2d6a);
}

.rec-channel {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-2, #9b97a8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rec-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted-2, #9b97a8);
  flex-wrap: wrap;
}

.rec-meta-row .dot-sep {
  opacity: 0.5;
  font-size: 9px;
}

.rec-rating {
  color: #f59e0b;
  font-weight: 600;
}

.rec-views {
  font-size: 11.5px;
  color: var(--muted-2, #9b97a8);
}

/* Gradient Thumb Variants */
.g1 {
  background: linear-gradient(135deg, #ff3d81, #8b5cf6);
}

.g2 {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.g3 {
  background: linear-gradient(135deg, #06b6d4, #6366f1);
}

.g4 {
  background: linear-gradient(135deg, #84cc16, #0ea5e9);
}

.g5 {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.g6 {
  background: linear-gradient(135deg, #f43f5e, #f97316);
}

.g7 {
  background: linear-gradient(135deg, #10b981, #3b82f6);
}

.g8 {
  background: linear-gradient(135deg, #eab308, #dc2626);
}

/* Toast */
.vex-watch-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface, #141b2d);
  color: var(--text, #ffffff);
  border: 1px solid var(--pink, #ff3d81);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  z-index: 999999;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.vex-watch-toast.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Guest Comment Name Modal */
.vex-comment-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.vex-comment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  animation: vexFadeIn 0.2s ease-out;
}

.vex-comment-modal-card {
  position: relative;
  background: var(--surface, #141b2d);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: var(--text, #ffffff);
  animation: vexPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  z-index: 2;
}

@keyframes vexFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes vexPopIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }

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

.vex-comment-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
}

.vex-comment-modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--grad, linear-gradient(135deg, #8b5cf6, #ff3d81));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.vex-comment-modal-header h4 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #ffffff);
}

.vex-comment-modal-header p {
  margin: 0;
  font-size: 13px;
  color: var(--muted-2, #9b97a8);
}

.vex-modal-close-btn {
  background: none;
  border: none;
  color: var(--muted-2, #9b97a8);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.vex-modal-close-btn:hover {
  color: var(--text, #ffffff);
}

/* Movie Report Preview inside Modal */
.vex-report-movie-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg, #0a0e17);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.vex-report-movie-preview img {
  width: 44px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.vex-report-movie-meta {
  min-width: 0;
}

.report-movie-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.report-movie-sub {
  font-size: 12px;
  color: var(--muted-2, #9b97a8);
}

.vex-modal-field {
  margin-bottom: 16px;
}

.vex-modal-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text, #ffffff);
}

.vex-modal-field input,
.vex-modal-field select,
.vex-modal-field textarea,
.vex-select-input,
.vex-textarea-input,
.vex-text-input {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg, #0a0e17);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.15));
  border-radius: 10px;
  color: var(--text, #ffffff);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vex-modal-field select option {
  background: #141b2d;
  color: #ffffff;
}

.vex-modal-field textarea {
  resize: vertical;
  min-height: 75px;
}

.vex-modal-field input:focus,
.vex-modal-field select:focus,
.vex-modal-field textarea:focus,
.vex-select-input:focus,
.vex-textarea-input:focus,
.vex-text-input:focus {
  border-color: var(--pink, #ff3d81);
  box-shadow: 0 0 0 3px rgba(255, 61, 129, 0.2);
}

.vex-modal-preview {
  background: var(--bg, #0a0e17);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.4;
}

.vex-modal-preview .preview-label {
  font-weight: 600;
  color: var(--pink, #ff3d81);
  flex-shrink: 0;
}

.vex-modal-preview .preview-text {
  color: var(--muted-2, #9b97a8);
  word-break: break-word;
}

.vex-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.vex-btn-secondary {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.18));
  color: var(--text, #ffffff);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.vex-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text, #ffffff);
}

.vex-btn-primary {
  padding: 9px 22px;
  background: var(--grad, linear-gradient(135deg, #8b5cf6, #ff3d81));
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.vex-btn-primary:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .rec-thumb {
    width: 110px;
    aspect-ratio: 3/4;
  }
}

@media (max-width: 768px) {
  /* Description Truncation (>100 characters) on Mobile */
  .synopsis.has-truncation.is-collapsed {
    max-height: 50px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  }

  .synopsis.has-truncation.is-expanded {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .btn-synopsis-toggle.is-visible {
    display: inline-flex;
  }

  /* Collapsible Rating & Comments Section on Mobile */
  .reviews-section {
    border: 1px solid var(--line, #e6e3ed);
    border-radius: 14px;
    padding: 14px 16px;
    background: var(--surface, #f5f4f8);
    margin-top: 20px;
    transition: all 0.25s ease;
  }

  .reviews-head {
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .reviews-head-left h3 {
    font-size: 15px;
    margin: 0;
  }

  .reviews-head-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .reviews-head-right .sort-toggle {
    display: none;
  }

  .mobile-comments-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 45, 106, 0.12);
    border: 1px solid rgba(255, 45, 106, 0.3);
    color: var(--pink, #ff2d6a);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-comments-toggle-btn .toggle-icon {
    font-size: 9px;
    transition: transform 0.25s ease;
  }

  .reviews-collapsible-body {
    display: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line, #e6e3ed);
  }

  .reviews-section.is-mobile-expanded .reviews-collapsible-body {
    display: block;
    animation: vexFadeIn 0.25s ease;
  }

  .reviews-section.is-mobile-expanded .mobile-comments-toggle-btn {
    background: var(--pink, #ff2d6a);
    color: #ffffff;
    border-color: transparent;
  }

  .reviews-section.is-mobile-expanded .mobile-comments-toggle-btn .toggle-icon {
    transform: rotate(180deg);
  }

  .reviews-section.is-mobile-expanded .reviews-head-right .sort-toggle {
    display: flex;
  }
}

@media (max-width: 520px) {
  .rec-thumb {
    width: 96px;
    aspect-ratio: 3/4;
  }

  .rec-title {
    font-size: 13px;
  }

  .title-row h1 {
    font-size: 19px;
  }

  .info-card {
    flex-direction: column;
  }

  .follow-btn {
    align-self: flex-start;
  }

  .meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Vexorio Movie Request Modal & Explorer System
   ========================================================================== */

.vex-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vex-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.vex-modal-dialog {
  background: var(--surface-card, #141b2d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(229, 169, 60, 0.18);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.vex-modal-overlay.is-active .vex-modal-dialog {
  transform: translateY(0) scale(1);
}

/* Modal Header */
.vex-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.vex-modal-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vex-modal-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(229, 169, 60, 0.15);
  border: 1px solid rgba(229, 169, 60, 0.35);
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.vex-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.vex-modal-subtitle {
  font-size: 12px;
  color: #94a3b8;
  margin: 3px 0 0 0;
  line-height: 1.35;
}

.vex-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.vex-modal-close:hover {
  background: rgba(229, 169, 60, 0.2);
  border-color: rgba(229, 169, 60, 0.45);
  color: #e5a93c;
  transform: rotate(90deg);
}

/* Modal Tabs */
.vex-modal-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vex-modal-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vex-modal-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.vex-modal-tab-btn.active {
  background: #e5a93c !important;
  border-color: transparent !important;
  color: #241402 !important;
  box-shadow: 0 2px 10px rgba(229, 169, 60, 0.35);
}

.vex-modal-tab-btn.active svg {
  stroke: #241402 !important;
  color: #241402 !important;
}

/* Modal Body */
.vex-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  max-height: calc(90vh - 150px);
}

.vex-modal-tab-pane {
  display: none;
}

.vex-modal-tab-pane.active {
  display: block;
  animation: vexFadeIn 0.2s ease;
}

/* Search Bar in Modal */
.vex-req-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.vex-req-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.vex-req-search-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
}

.vex-req-input {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 11px 40px 11px 42px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vex-req-input:focus {
  border-color: #e5a93c;
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.2);
}

.vex-req-clear-btn {
  position: absolute;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vex-req-search-btn {
  background: #e5a93c !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: #241402 !important;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(229, 169, 60, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.vex-req-search-btn:hover {
  background: #f0b446 !important;
  color: #1a0e01 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(229, 169, 60, 0.55);
}

.vex-req-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 2px;
}

.vex-req-info-text {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Results Grid */
.vex-req-results-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.vex-req-results-grid::-webkit-scrollbar {
  width: 6px;
}

.vex-req-results-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

/* Movie Card in Modal */
.vex-req-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.vex-req-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.vex-req-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.vex-req-poster {
  width: 48px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.vex-req-details {
  min-width: 0;
}

.vex-req-movie-title {
  font-weight: 700;
  font-size: 14px;
  color: #f8fafc;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.vex-req-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  flex-wrap: wrap;
}

.vex-req-rating-badge {
  color: #f59e0b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

.vex-req-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

/* Badges & Buttons */
.vex-req-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1;
}

.vex-req-badge.badge-available {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.vex-req-badge.badge-demand {
  background: rgba(229, 169, 60, 0.15);
  border: 1px solid rgba(229, 169, 60, 0.35);
  color: #e5a93c;
}

.vex-req-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.18s ease;
}

.vex-req-action-btn.btn-watch-now {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.vex-req-action-btn.btn-watch-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.vex-req-action-btn.btn-do-request {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #e5a93c !important;
  color: #241402 !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 9999px !important;
  border: none !important;
  box-shadow: 0 3px 10px rgba(229, 169, 60, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vex-req-action-btn.btn-do-request:hover {
  background: #f0b446 !important;
  color: #1a0e01 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(229, 169, 60, 0.55);
}

.vex-req-action-btn.btn-do-request svg {
  stroke: #241402 !important;
  color: #241402 !important;
  width: 14px;
  height: 14px;
}

.vex-req-action-btn.btn-is-requested {
  background: rgba(229, 169, 60, 0.15) !important;
  color: #e5a93c !important;
  border: 1px solid rgba(229, 169, 60, 0.35) !important;
  cursor: default;
  box-shadow: none;
}

/* Custom Request Form */
.vex-custom-req-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vex-form-row {
  display: flex;
  gap: 14px;
}

.vex-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vex-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.vex-form-group label .required {
  color: #e5a93c;
}

.vex-form-control {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vex-form-control:focus {
  border-color: #e5a93c;
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.2);
}

.vex-form-control::placeholder {
  color: #64748b;
}

/* Security Notice */
.vex-req-security-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

.vex-req-security-notice svg {
  color: #e5a93c;
  flex-shrink: 0;
  margin-top: 1px;
}

.vex-req-security-notice strong {
  color: #e2e8f0;
}

.vex-form-error-alert {
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  color: #f87171;
  font-size: 13px;
  font-weight: 500;
}

.vex-btn-submit-req {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #e5a93c !important;
  color: #241402 !important;
  border: none !important;
  border-radius: 9999px !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(229, 169, 60, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.vex-btn-submit-req:hover {
  background: #f0b446 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 169, 60, 0.55);
}

.vex-btn-submit-req svg {
  stroke: #241402 !important;
  color: #241402 !important;
}

.vex-btn-submit-req:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Toast Notifications */
.vex-req-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1e293b;
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(229, 169, 60, 0.15);
  z-index: 100000;
  animation: vexSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 360px;
}

.vex-toast-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.vex-toast-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.vex-toast-desc {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

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

.vex-req-loading-state {
  text-align: center;
  padding: 40px 20px;
  color: #94a3b8;
  font-size: 13px;
}

.vex-req-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(229, 169, 60, 0.2);
  border-top-color: #e5a93c;
  border-radius: 50%;
  animation: vexSpin 0.75s infinite linear;
  margin: 0 auto 10px auto;
}

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

/* Mobile Responsiveness for Request Modal */
@media (max-width: 640px) {
  .vex-modal-overlay {
    padding: 10px;
  }

  .vex-modal-dialog {
    max-height: 94vh;
    border-radius: 16px;
  }

  .vex-modal-header {
    padding: 14px 18px;
  }

  .vex-modal-title {
    font-size: 16px;
  }

  .vex-modal-tabs {
    padding: 10px 16px;
  }

  .vex-modal-tab-btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .vex-modal-body {
    padding: 16px;
  }

  .vex-form-row {
    flex-direction: column;
    gap: 12px;
  }

  .vex-form-group[style*="max-width"] {
    max-width: 100% !important;
  }

  .vex-req-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .vex-req-card-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .vex-req-toast {
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

/* ==========================================================================
   Vexorio - Monetization & Ads System Styling
   ========================================================================== */

/* 1. Native Movie Card Ad Styling */
.vex-movie-card.vex-ad-card {
  cursor: pointer;
  position: relative;
}

.vex-movie-card.vex-ad-card .badge-ad {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(229, 169, 60, 0.9);
  color: #241402;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

/* 2. Banner Ads System */
.vex-banner-ad-container {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.vex-banner-ad-container.slot-recommended_above {
  margin-bottom: 22px;
}

.vex-banner-ad-link {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--bg-card, #0f172a);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vex-banner-ad-link:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 169, 60, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(229, 169, 60, 0.15);
}

.vex-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 11px;
}

.vex-banner-ad-code {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--bg-card, #0f172a);
  padding: 8px;
  min-height: 90px;
}

.vex-banner-ad-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  color: #94a3b8;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 2;
}

/* 3. Player Click-to-Play Ad Interceptor Overlay */
.player-ad-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.player-ad-overlay:hover {
  background: rgba(0, 0, 0, 0.25);
}

.player-ad-play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e5a93c;
  color: #241402;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(229, 169, 60, 0.6), 0 0 0 10px rgba(229, 169, 60, 0.2);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
  pointer-events: none;
}

.player-ad-play-btn svg {
  margin-left: 3px;
  fill: #241402;
}

.player-ad-overlay:hover .player-ad-play-btn {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(229, 169, 60, 0.85), 0 0 0 16px rgba(229, 169, 60, 0.25);
}

/* Light Mode Overrides for Banner & Ads */
[data-theme="light"] .vex-banner-ad-link,
[data-theme="light"] .vex-banner-ad-code {
  background: #f8fafc;
  border-color: #e2e8f0;
}

/* ==========================================================================
   Movie Not Found Component & Missing Search Request UI
   ========================================================================== */
.vex-search-not-found-card {
  text-align: center;
  padding: 56px 24px;
  background: radial-gradient(circle at top, rgba(229, 169, 60, 0.08) 0%, rgba(20, 20, 20, 0.6) 70%);
  border: 1px solid rgba(229, 169, 60, 0.2);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  max-width: 680px;
  margin: 10px auto 40px auto;
  position: relative;
  overflow: hidden;
}

.vex-search-not-found-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e5a93c, transparent);
}

.vex-snf-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid rgba(229, 169, 60, 0.3);
  color: #e5a93c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(229, 169, 60, 0.2);
  animation: pulse-amber-glow 2.5s infinite ease-in-out;
}

@keyframes pulse-amber-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(229, 169, 60, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 35px rgba(229, 169, 60, 0.4);
    transform: scale(1.05);
  }
}

.vex-snf-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.vex-snf-query {
  color: #e5a93c;
  font-style: italic;
  text-shadow: 0 0 12px rgba(229, 169, 60, 0.4);
}

.vex-snf-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 26px auto;
}

.vex-snf-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-request-missing-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #e5a93c 0%, #f59e0b 100%);
  color: #241402;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(229, 169, 60, 0.45);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}

.btn-request-missing-action:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(229, 169, 60, 0.65);
}

.btn-request-missing-action:active {
  transform: translateY(0) scale(0.98);
}

.btn-request-missing-action .btn-ticket-icon {
  stroke: #241402;
}

/* Light Theme Overrides for Not Found Card */
[data-theme="light"] .vex-search-not-found-card {
  background: #ffffff;
  border-color: rgba(229, 169, 60, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .vex-snf-title {
  color: #0f172a;
}

[data-theme="light"] .vex-snf-desc {
  color: #64748b;
}