/* Cineora interface polish: clean cards, menus, controls and player feedback. */

/* Background maintenance stays operational without entering the customer UI. */
.header-sync-status-pill,
.header-sync-now-btn,
#syncModal,
.cinema-spec-dock .spec-chip:first-child,
.cinema-spec-dock .spec-chip.stream-mode,
.cinema-spec-dock .spec-source-line {
  display: none !important;
}

/* One quiet interaction language replaces the old double spotlight borders. */
.spotlight-card::before,
.spotlight-card::after,
.btn-shiny::after,
.movie-card::before,
.movie-card::after,
.game-card::before,
.game-card::after {
  content: none !important;
  display: none !important;
}

.movie-card,
.game-card,
.cinema-film {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.085) !important;
  background: linear-gradient(165deg, rgba(24,31,46,.98), rgba(9,14,24,.98) 72%) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.28) !important;
}

.movie-card,
.game-card {
  border-radius: 18px !important;
  transition: transform .48s cubic-bezier(.16,1,.3,1), border-color .35s ease, box-shadow .48s ease !important;
}

.movie-card:hover,
.game-card:hover {
  z-index: 6;
  transform: translateY(-8px) scale(1.012) !important;
  border-color: rgba(255,255,255,.22) !important;
  box-shadow: 0 24px 46px rgba(0,0,0,.55), 0 8px 28px rgba(229,9,20,.09) !important;
}

.movie-card .card-poster-wrap,
.game-card .card-poster-wrap {
  overflow: hidden;
  border-radius: 17px 17px 10px 10px !important;
  background: #0c111b;
}

.movie-card .card-poster-wrap {
  padding-top: 145% !important;
}

.game-card .card-poster-wrap {
  aspect-ratio: 16 / 11 !important;
  padding-top: 0 !important;
}

.card-poster-wrap::before { display: none !important; }
.card-poster-wrap::after {
  background: linear-gradient(180deg, transparent 44%, rgba(6,10,17,.12) 65%, rgba(6,10,17,.9) 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025) !important;
}

.card-poster {
  transition: transform .72s cubic-bezier(.16,1,.3,1), filter .45s ease !important;
}

.movie-card:hover .card-poster,
.game-card:hover .card-poster {
  transform: scale(1.045) !important;
  filter: saturate(1.06) contrast(1.03) !important;
}

.card-badges {
  top: 10px !important;
  left: 10px !important;
  right: 10px !important;
  gap: 6px !important;
}

.badge-quality,
.badge-audio,
.game-platform-badge,
.game-repack-badge {
  padding: 5px 8px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 8px !important;
  background: rgba(6,11,19,.76) !important;
  color: #f6f8fc !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.2) !important;
  backdrop-filter: blur(14px) saturate(130%);
  font-size: 8px !important;
  letter-spacing: .06em;
}

.badge-quality.fhd {
  color: #fff !important;
  border-color: rgba(255,87,107,.55) !important;
  background: rgba(208,12,38,.82) !important;
}

.card-overlay {
  padding: 16px !important;
  background: linear-gradient(0deg, rgba(5,8,14,.99), rgba(5,8,14,.72) 42%, transparent 78%) !important;
}

.card-overlay h4 { font-size: .88rem !important; letter-spacing: -.015em; }
.card-overlay p { color: #9ca9bd !important; }

.card-info,
.game-card-info {
  padding: 13px 14px 14px !important;
  background: linear-gradient(180deg, rgba(20,27,41,.98), rgba(10,15,25,.98));
}

.card-title,
.game-card-title {
  color: #f3f6fb !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: -.012em;
}

.card-meta,
.game-card-meta {
  color: #78869d !important;
  font-size: 9px !important;
}

.card-size {
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  color: #aeb9ca !important;
  background: rgba(255,255,255,.035);
}

.game-download-cta {
  margin-top: 10px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.045) !important;
  color: #c9d2e1 !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease !important;
}

.game-card:hover .game-download-cta {
  border-color: rgba(255,76,98,.35) !important;
  background: rgba(229,9,20,.13) !important;
  color: #fff !important;
}

.cinema-film {
  border-radius: 14px !important;
  transition: transform .36s cubic-bezier(.16,1,.3,1), border-color .3s ease, background .3s ease !important;
}

.cinema-film:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255,255,255,.2) !important;
}

.cinema-film.active {
  border-color: rgba(255,64,88,.72) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.28) !important;
}

/* Buttons: a single polished surface and a restrained top highlight. */
:is(.cinema-hdr-btn,.c-btn,.action-btn-sm,.action-play-btn,.btn,.chip,.section-view-all,.anime-view-all,.rail-scroll-btn,.cinema-action,.cinema-control,.season-tab-btn,.sync-btn,.size-btn) {
  position: relative;
  border: 1px solid rgba(255,255,255,.1) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 7px 18px rgba(0,0,0,.16) !important;
  transition: transform .28s cubic-bezier(.16,1,.3,1), background .25s ease, border-color .25s ease, color .25s ease, box-shadow .28s ease !important;
}

:is(.cinema-hdr-btn,.c-btn,.action-btn-sm,.action-play-btn,.btn,.chip,.section-view-all,.anime-view-all,.rail-scroll-btn,.cinema-action,.cinema-control,.season-tab-btn,.sync-btn,.size-btn)::before,
:is(.cinema-hdr-btn,.c-btn,.action-btn-sm,.action-play-btn,.btn,.chip,.section-view-all,.anime-view-all,.rail-scroll-btn,.cinema-action,.cinema-control,.season-tab-btn,.sync-btn,.size-btn)::after {
  display: none !important;
}

:is(.cinema-hdr-btn,.c-btn,.action-btn-sm,.action-play-btn,.btn,.chip,.section-view-all,.anime-view-all,.cinema-action,.cinema-control,.season-tab-btn,.sync-btn,.size-btn):hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255,255,255,.24) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 10px 24px rgba(0,0,0,.28) !important;
}

.action-play-btn,
.cinema-action-primary,
.download-highlight,
.btn-primary {
  border-color: rgba(255,82,103,.42) !important;
  background: linear-gradient(135deg, #ff304a, #cf071f) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.19), 0 10px 24px rgba(207,7,31,.22) !important;
}

/* Native discovery menus and player popovers share the same calm glass surface. */
.custom-select {
  position: relative;
}

.custom-select select {
  appearance: none;
  min-width: 148px !important;
  height: 40px !important;
  padding: 0 38px 0 14px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 12px !important;
  outline: none;
  color: #d2dae7 !important;
  background: linear-gradient(180deg, rgba(26,33,48,.94), rgba(11,16,27,.94)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.18) !important;
}

.custom-select select:hover,
.custom-select select:focus {
  border-color: rgba(255,255,255,.23) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 10px 24px rgba(0,0,0,.25) !important;
}

.custom-select::after {
  content: '⌄';
  position: absolute;
  right: 13px;
  top: 50%;
  color: #8795aa;
  font-size: 14px;
  pointer-events: none;
  transform: translateY(-58%);
}

.dropdown-panel {
  padding: 8px !important;
  gap: 4px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 16px !important;
  background: linear-gradient(160deg, rgba(23,29,42,.985), rgba(7,11,19,.985)) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.055) !important;
  backdrop-filter: blur(26px) saturate(135%) !important;
  transform-origin: bottom right;
}

.dropdown-panel.active { animation: cineora-menu-in .24s cubic-bezier(.16,1,.3,1) both !important; }

@keyframes cineora-menu-in {
  from { opacity: 0; transform: translateY(9px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.dropdown-header {
  padding: 8px 10px 6px !important;
  color: #818fa5 !important;
  font-size: 9px !important;
  letter-spacing: .14em !important;
}

.dropdown-item,
.dropdown-upload-btn {
  min-height: 38px;
  padding: 8px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: #b9c4d5 !important;
  background: transparent !important;
  transition: transform .24s cubic-bezier(.16,1,.3,1), background .22s ease, color .22s ease, border-color .22s ease !important;
}

.dropdown-item:hover,
.dropdown-upload-btn:hover {
  transform: translateX(3px) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.075) !important;
  background: rgba(255,255,255,.055) !important;
}

.dropdown-item.active {
  color: #fff !important;
  border-color: rgba(255,73,95,.26) !important;
  background: linear-gradient(90deg, rgba(229,9,20,.18), rgba(229,9,20,.035)) !important;
  box-shadow: inset 3px 0 #f22d47 !important;
}

.dropdown-note {
  border: 0 !important;
  background: rgba(255,255,255,.025) !important;
  color: #718097 !important;
}

/* One feedback surface at a time: compact center chip, compact edge seek chips. */
.player-hud-pill {
  top: 18px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 12px !important;
  background: rgba(8,12,20,.88) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.44) !important;
}

.center-feedback-overlay { align-items: center !important; }

.feedback-bubble {
  width: auto !important;
  height: auto !important;
  min-width: 58px;
  padding: 8px 12px 8px 8px !important;
  flex-direction: row !important;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 15px !important;
  color: #fff;
  background: rgba(7,11,18,.86) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.5) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  transform: translateY(8px) scale(.96) !important;
}

.feedback-bubble.active { transform: translateY(0) scale(1) !important; }

.bloom-core {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px;
  border: 1px solid rgba(255,71,93,.36) !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, #f22d47, #b90720) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 8px 20px rgba(190,5,31,.22) !important;
  font-size: 16px !important;
  animation: none !important;
}

.feedback-bubble > span {
  margin: 0 !important;
  max-width: 180px;
  color: #dbe3ee;
  font-size: 11px !important;
  font-weight: 650 !important;
  white-space: nowrap;
}

.seek-ripple {
  top: 50% !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px !important;
  background: rgba(7,11,18,.84) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
}

.seek-ripple.seek-left { left: 22px !important; }
.seek-ripple.seek-right { right: 22px !important; }
.seek-ripple.active { animation: cineora-seek .55s cubic-bezier(.16,1,.3,1) forwards !important; }

.ripple-content {
  min-width: 58px;
  padding: 10px 12px;
  flex-direction: row !important;
  gap: 6px !important;
  color: #fff;
  font-size: 14px !important;
}

.ripple-content span { font-size: 10px !important; }

@keyframes cineora-seek {
  0% { opacity: 0; transform: translateY(-50%) scale(.92); }
  20% { opacity: 1; transform: translateY(-50%) scale(1); }
  78% { opacity: 1; transform: translateY(-50%) scale(1); }
  100% { opacity: 0; transform: translateY(-50%) scale(.98); }
}

/* Series is part of the player, with a visible scrollable episode library. */
.series-section {
  margin: 0 !important;
  padding: 20px 22px 24px !important;
  border-top: 1px solid rgba(255,255,255,.075) !important;
  background: linear-gradient(180deg, #0d131f, #090e17) !important;
}

.series-header { margin-bottom: 14px !important; }
.series-header h4 { color: #f2f5fa !important; letter-spacing: -.015em; }
.series-season-status { color: #7f8da3 !important; }
.series-season-bar { gap: 7px !important; margin-bottom: 14px !important; }
.episodes-grid {
  max-height: 340px !important;
  padding-right: 6px;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.16) transparent;
}

.episode-row {
  margin-bottom: 7px !important;
  border: 1px solid rgba(255,255,255,.065) !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.025) !important;
  transition: transform .26s cubic-bezier(.16,1,.3,1), background .22s ease, border-color .22s ease !important;
}

.episode-row:hover {
  transform: translateX(3px) !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.045) !important;
}

.episode-row.active {
  border-color: rgba(255,67,91,.36) !important;
  background: linear-gradient(90deg, rgba(229,9,20,.12), rgba(255,255,255,.025)) !important;
}

@media (max-width: 760px) {
  .movie-card:hover,
  .game-card:hover { transform: translateY(-4px) !important; }
  .dropdown-panel { max-width: min(310px, calc(100vw - 28px)) !important; }
  .seek-ripple.seek-left { left: 12px !important; }
  .seek-ripple.seek-right { right: 12px !important; }
  .series-section { padding: 16px 14px 20px !important; }
  .episodes-grid { max-height: 300px !important; }
  .cinema-modal-header {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  .cinema-modal-header .modal-title-group { min-width: 0; width: 100%; }
  .cinema-modal-header .modal-title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cinema-modal-header .live-stream-tag { display: none !important; }
  .cinema-modal-header .modal-header-actions {
    width: 100%;
    display: flex !important;
    gap: 6px !important;
    overflow: visible !important;
  }
  .cinema-modal-header .cinema-hdr-btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
  }
  .cinema-modal-header .cinema-hdr-btn span { display: none !important; }
  .cinema-modal-header .modal-header-actions > .cinema-hdr-btn:nth-child(2),
  .cinema-modal-header .modal-header-actions > .cinema-hdr-btn:nth-child(3) { display: none !important; }
  .cinema-modal-header .download-highlight {
    width: auto !important;
    min-width: 104px !important;
    padding: 0 13px !important;
    flex: 1;
  }
  .cinema-modal-header .download-highlight span { display: inline !important; }
  .cinema-modal-header .modal-close-btn { flex: 0 0 38px; width: 38px; height: 38px; }
}

/* Readable type scale across discovery, cards, navigation and the player. */
.pill .pill-label,
.pill .pill-label-hover { font-size: 14px; }
.header-search-pill input,
.search-box input { font-size: 14px; }
.mobile-menu-link,
.mobile-nav-btn { font-size: 14px; }

.cinema-edition { font-size: 12px; }
.cinema-edition > span,
.cinema-live,
.cinema-kicker,
.cinema-kicker b,
.cinema-meta .cinema-quality,
.cinema-benefits,
.cinema-reel-title > span,
.cinema-counter,
.cinema-film-index,
.cinema-footer p,
.cinema-footer a { font-size: 11px; }
.cinema-meta { font-size: 13px; }
.cinema-description { font-size: 15px; line-height: 1.65; }
.cinema-action { font-size: 14px; }
.cinema-poster-quality,
.cinema-poster-caption small,
.cinema-wing span,
.cinema-vault-label { font-size: 10px; }
.cinema-poster-caption strong { font-size: 19px; }
.cinema-reel-title h2 { font-size: 18px; }
.cinema-film-name { font-size: 14px; }
.cinema-film-copy { min-height: 64px; }

.discovery-dock-copy span { font-size: 11px; }
.discovery-dock-copy strong { font-size: 14px; }
.chip { min-height: 39px; font-size: 13px; }
.custom-select select { font-size: 13px !important; }
.section-eyebrow { font-size: 11px; letter-spacing: .11em; }
.section-subtitle { font-size: 13px; line-height: 1.4; }
.section-view-all,
.anime-view-all { min-height: 40px; font-size: 13px; }
.badge-quality,
.badge-audio,
.game-platform-badge,
.game-repack-badge { font-size: 10px !important; }
.card-info,
.game-card-info { min-height: 78px; gap: 7px; }
.card-title,
.game-card-title { font-size: 15px !important; line-height: 1.3; }
.card-meta,
.game-card-meta { font-size: 12px !important; line-height: 1.35; }
.card-size { padding: 4px 6px; }
.game-download-cta,
.action-play-btn { font-size: 12px; }
.card-overlay h4 { font-size: 16px !important; }
.card-overlay p { font-size: 12px !important; }
.section-count,
.sub-pill { font-size: 12px; }

.footer-brand p { font-size: 13px; line-height: 1.65; }
.footer-live,
.footer-column-heading h4,
.footer-links a,
.stat-pill strong,
.footer-bottom { font-size: 12px; }
.footer-live small,
.stat-pill small,
.footer-column-heading > span,
.footer-links a > span { font-size: 11px; }
.footer-links a { min-height: 40px; }
.stat-pill { min-height: 74px; }

.live-stream-tag,
.modal-badge { font-size: 11px; }
.modal-title { font-size: 19px; }
.cinema-hdr-btn,
.dropdown-item,
.dropdown-upload-btn { font-size: 13px; }
.dropdown-header { font-size: 11px !important; }
.dropdown-note,
.track-codec-pill { font-size: 11px; }
.series-season-status,
.season-tab-btn,
.ep-meta-row,
.ep-chip { font-size: 12px; }
.ep-title-text { font-size: 16px; }
.ep-now-playing-pill { font-size: 11px; }
.feedback-bubble > span { font-size: 13px !important; }

/* Keep the rail controls inside the carousel at the same vertical level. */
.rail-wrapper > .rail-scroll-btn {
  position: absolute !important;
  top: 42%;
  z-index: 25;
  width: 42px;
  height: 58px;
  transform: translateY(-50%);
}
.rail-wrapper > .rail-scroll-btn.left { left: 6px; right: auto; }
.rail-wrapper > .rail-scroll-btn.right { right: 6px; left: auto; }
.rail-wrapper > .rail-scroll-btn:hover {
  transform: translateY(-50%) scale(1.04) !important;
}
.rail-wrapper > .rail-scroll-btn:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid #8ae4f0;
  outline-offset: 3px;
}

/* Paused playback has one clear center action, without a second bloom ring. */
.center-play-trigger {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(10,16,27,.83);
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
}
.center-play-ring { display: none; }
.center-play-trigger i { font-size: 29px; }
.center-play-trigger:hover {
  background: #df1832;
  box-shadow: 0 16px 42px rgba(0,0,0,.48), 0 8px 24px rgba(229,9,20,.24);
}

@media (max-width: 760px) {
  .cinema-edition,
  .cinema-live,
  .cinema-kicker,
  .cinema-kicker b,
  .cinema-meta .cinema-quality,
  .cinema-benefits,
  .cinema-film-index,
  .cinema-footer p,
  .cinema-footer a { font-size: 11px; }
  .cinema-meta { font-size: 12px; }
  .cinema-description { font-size: 14px; }
  .cinema-action { font-size: 13px; }
  .cinema-reel-title h2 { font-size: 15px; }
  .cinema-film-name { font-size: 13px; }
  .chip { min-height: 38px; font-size: 12px; }
  .section-title,
  .anime-header .section-title { font-size: 21px; }
  .section-eyebrow { font-size: 10px; }
  .section-subtitle { font-size: 12px; }
  .section-view-all,
  .anime-view-all {
    width: 40px;
    min-width: 40px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }
  .section-view-all span,
  .anime-view-all span { display: none; }
  .section-view-all i,
  .anime-view-all i { margin: 0; font-size: 15px; }
  .card-title,
  .game-card-title { font-size: 14px !important; }
  .card-meta,
  .game-card-meta { font-size: 11px !important; }
  .rail-carousel,
  .anime-carousel { grid-auto-columns: 162px; }
  .rail-wrapper > .rail-scroll-btn { display: none !important; }
  .center-play-trigger { display: none !important; }
  .modal-title { font-size: 17px; }
  .ep-title-text { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .dropdown-panel.active,
  .seek-ripple.active { animation: none !important; }
}

/* Premium dropdown system: discovery filters and cinema controls. */
.filters-container {
  position: relative;
  overflow: visible !important;
}

.filters-container:has(.premium-select.open) { z-index: 80; }
.filters-right { align-items: center; }

.custom-select.premium-select {
  position: relative;
  min-width: 184px;
  isolation: isolate;
}

.custom-select.premium-select > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-select.premium-select::after { display: none !important; }

.premium-select-trigger {
  position: relative;
  width: 100%;
  height: 38px;
  padding: 0 14px 0 6px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 3px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.24s ease, background 0.24s ease, box-shadow 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-select-trigger::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -38%;
  width: 34%;
  height: 220%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: rotate(18deg);
  transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-select-trigger:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 8px 22px rgba(0, 0, 0, 0.32);
}

.premium-select-trigger:hover::before { left: 112%; }

.premium-select.open .premium-select-trigger {
  transform: translateY(-1px);
  border-color: rgba(255, 60, 85, 0.5);
  background: linear-gradient(145deg, rgba(38, 22, 30, 0.95), rgba(16, 18, 28, 0.95));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 0 0 3px rgba(229, 9, 20, 0.14), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.premium-select-trigger:focus-visible,
.premium-select-option:focus-visible {
  outline: 2px solid #8ae4f0;
  outline-offset: 3px;
}

.premium-select-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 60, 85, 0.28);
  border-radius: 50%;
  color: #ff4763;
  background: radial-gradient(circle at 35% 35%, rgba(255, 55, 80, 0.22), rgba(229, 9, 20, 0.07));
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.25);
}

.premium-select-icon i { font-size: 14px; }
.premium-select-value {
  min-width: 0;
  overflow: hidden;
  color: #dbe2ed;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-select-chevron {
  justify-self: end;
  color: #8290a5;
  font-size: 13px;
  transition: color .22s ease, transform .3s cubic-bezier(.16,1,.3,1);
}

.premium-select.open .premium-select-chevron {
  color: #ff6377;
  transform: rotate(180deg);
}

.premium-select-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 200;
  width: max(100%, 218px);
  padding: 7px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background:
    radial-gradient(circle at 88% 0, rgba(255,45,70,.12), transparent 42%),
    linear-gradient(155deg, rgba(26,33,47,.985), rgba(7,11,19,.99));
  box-shadow: 0 26px 70px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.065);
  backdrop-filter: blur(28px) saturate(140%);
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease, transform .28s cubic-bezier(.16,1,.3,1);
}

.premium-select-menu::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,77,99,.8), transparent);
}

.premium-select.open .premium-select-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.premium-select-option {
  position: relative;
  width: 100%;
  min-height: 42px;
  padding: 0 11px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #aab5c7;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  opacity: 0;
  transform: translateY(-4px);
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .2s cubic-bezier(.16,1,.3,1);
}

.premium-select.open .premium-select-option {
  animation: premium-option-in .32s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--option-order, 0) * 26ms + 45ms);
}

.premium-select-option:nth-child(1) { --option-order: 1; }
.premium-select-option:nth-child(2) { --option-order: 2; }
.premium-select-option:nth-child(3) { --option-order: 3; }
.premium-select-option:nth-child(4) { --option-order: 4; }
.premium-select-option:nth-child(5) { --option-order: 5; }
.premium-select-option:nth-child(6) { --option-order: 6; }

.premium-select-option:hover,
.premium-select-option:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.075);
  background: rgba(255,255,255,.055);
  transform: translateX(3px);
}

.premium-select-option i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 7px;
  color: transparent;
  font-size: 13px;
  background: transparent;
  transition: color .18s ease, background .18s ease, transform .22s cubic-bezier(.16,1,.3,1);
}

.premium-select-option.selected {
  color: #fff;
  border-color: rgba(255,73,95,.2);
  background: linear-gradient(90deg, rgba(229,9,20,.17), rgba(229,9,20,.025));
}

.premium-select-option.selected i {
  color: #fff;
  background: linear-gradient(135deg, #ff4058, #cf071f);
  box-shadow: 0 5px 14px rgba(229,9,20,.24);
  transform: scale(1);
}

@keyframes premium-option-in {
  to { opacity: 1; transform: none; }
}

/* Cinema popovers use the same material with richer item feedback. */
.dropdown-wrapper { isolation: isolate; }
.dropdown-wrapper:has(.dropdown-panel.active) { z-index: 130; }
.dropdown-wrapper:has(.dropdown-panel.active) > .c-btn {
  color: #fff !important;
  border-color: rgba(255,79,101,.4) !important;
  background: linear-gradient(145deg, rgba(67,28,41,.95), rgba(22,24,34,.98)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.11), 0 0 0 3px rgba(229,9,20,.08), 0 10px 25px rgba(0,0,0,.36) !important;
}

.dropdown-panel {
  display: flex !important;
  bottom: 56px !important;
  min-width: 238px !important;
  padding: 9px !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.965);
  overflow: hidden;
  border-color: rgba(255,255,255,.12) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 92% 0, rgba(255,47,72,.115), transparent 42%),
    linear-gradient(155deg, rgba(25,32,46,.99), rgba(7,11,19,.995)) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,.68), inset 0 1px rgba(255,255,255,.065) !important;
  transition: opacity .2s ease, visibility .2s ease, transform .3s cubic-bezier(.16,1,.3,1) !important;
}

.dropdown-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,78,101,.82), transparent);
}

.dropdown-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  animation: none !important;
}

#audioTrackPanel { min-width: 330px !important; }
#subtitlesPanel { min-width: 276px !important; }
#speedPanel { min-width: 224px !important; }
#aspectPanel { min-width: 238px !important; }

.dropdown-panel.active > *,
.dropdown-panel.active .dropdown-list > * {
  animation: player-menu-item-in .34s cubic-bezier(.16,1,.3,1) both;
}
.dropdown-panel.active > :nth-child(2),
.dropdown-panel.active .dropdown-list > :nth-child(2) { animation-delay: 35ms; }
.dropdown-panel.active > :nth-child(3),
.dropdown-panel.active .dropdown-list > :nth-child(3) { animation-delay: 65ms; }
.dropdown-panel.active > :nth-child(4),
.dropdown-panel.active .dropdown-list > :nth-child(4) { animation-delay: 95ms; }
.dropdown-panel.active > :nth-child(5),
.dropdown-panel.active .dropdown-list > :nth-child(5) { animation-delay: 125ms; }
.dropdown-panel.active > :nth-child(6),
.dropdown-panel.active .dropdown-list > :nth-child(6) { animation-delay: 155ms; }

@keyframes player-menu-item-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.dropdown-header {
  min-height: 34px;
  padding: 5px 9px 8px !important;
  color: #97a5ba !important;
  font-size: 10px !important;
  letter-spacing: .12em !important;
}

.dropdown-header i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,80,102,.18);
  border-radius: 8px;
  color: #ff6378;
  background: rgba(229,9,20,.09);
  font-size: 13px;
}

.dropdown-section-title {
  padding: 7px 10px 5px !important;
  color: #7d8ba1 !important;
  font-size: 10px !important;
  letter-spacing: .11em !important;
}

.dropdown-list { gap: 4px !important; }

.dropdown-item,
.dropdown-upload-btn {
  position: relative;
  min-height: 42px !important;
  padding: 9px 11px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}

.dropdown-item:hover,
.dropdown-upload-btn:hover {
  transform: translateX(3px) !important;
  border-color: rgba(255,255,255,.095) !important;
  background: linear-gradient(90deg, rgba(255,255,255,.072), rgba(255,255,255,.025)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.035) !important;
}

.dropdown-item.active {
  border-color: rgba(255,75,98,.24) !important;
  background: linear-gradient(90deg, rgba(229,9,20,.19), rgba(229,9,20,.025)) !important;
  box-shadow: inset 3px 0 #f43b53, inset 0 1px rgba(255,255,255,.035) !important;
}

#speedPanel .dropdown-item::after,
#aspectPanel .dropdown-item::after,
#subOffBtn::after {
  content: '\2713';
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 7px;
  color: transparent;
  background: transparent;
  font-size: 12px;
  transition: color .18s ease, background .18s ease, transform .2s ease;
}

#speedPanel .dropdown-item.active::after,
#aspectPanel .dropdown-item.active::after,
#subOffBtn.active::after {
  color: #fff;
  background: linear-gradient(135deg, #ff4058, #cf071f);
  box-shadow: 0 5px 14px rgba(229,9,20,.24);
}

.track-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #ff6378 !important;
  background: rgba(229,9,20,.09);
}

.track-codec-pill {
  padding: 3px 6px !important;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px !important;
  color: #9ba8ba !important;
  background: rgba(255,255,255,.055) !important;
}

.dropdown-upload-btn {
  border-style: solid !important;
  border-color: rgba(77,190,255,.2) !important;
  color: #75cfff !important;
  background: rgba(56,189,248,.065) !important;
}

.dropdown-upload-btn i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(56,189,248,.11);
}

.dropdown-divider {
  margin: 7px 5px !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent) !important;
}

.sync-controls,
.sub-size-row {
  padding: 4px 8px 8px !important;
  gap: 7px !important;
}

.sync-btn,
.size-btn {
  min-height: 34px;
  border-radius: 9px !important;
  border-color: rgba(255,255,255,.09) !important;
  color: #aeb9ca !important;
  background: rgba(255,255,255,.045) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

.sync-btn:hover,
.size-btn:hover {
  color: #fff !important;
  background: rgba(255,255,255,.085) !important;
}

.size-btn.active {
  color: #fff !important;
  border-color: rgba(255,73,95,.28) !important;
  background: linear-gradient(135deg, rgba(255,54,79,.9), rgba(194,7,30,.9)) !important;
  box-shadow: 0 7px 17px rgba(229,9,20,.2) !important;
}

.sync-offset-label {
  min-width: 52px !important;
  color: #81d8ff !important;
  font-size: 12px !important;
}

.dropdown-note {
  margin: 6px 2px 1px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(255,255,255,.05) !important;
  border-radius: 9px !important;
  color: #78869a !important;
  background: rgba(255,255,255,.025) !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

@media (max-width: 760px) {
  .filters-container:has(.premium-select.open) { z-index: 120; }
  .custom-select.premium-select { min-width: 0; flex: 1; }
  .premium-select-trigger { height: 44px; }
  .premium-select-menu {
    right: auto;
    left: 0;
    width: max(100%, 206px);
  }
  .filters-right .premium-select:last-child .premium-select-menu {
    right: 0;
    left: auto;
  }
  .dropdown-panel {
    right: 0 !important;
    max-width: min(320px, calc(100vw - 22px)) !important;
  }
  #audioTrackPanel { min-width: min(320px, calc(100vw - 22px)) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .premium-select-trigger,
  .premium-select-trigger::before,
  .premium-select-menu,
  .premium-select-option,
  .premium-select.open .premium-select-option,
  .dropdown-panel,
  .dropdown-panel.active > *,
  .dropdown-panel.active .dropdown-list > * {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   CINEORA CINEMATIC HERO — Masterpiece Redesign
   Unified, immersive entertainment stage with atmospheric depth
   ========================================================================== */

/* Ensure hero is strictly hidden when not on home page (all catalog views, category pages, search, watchlist) */
body.is-catalog-view .cinema-hero,
.cinema-hero[style*="display: none"],
.cinema-hero[hidden],
#heroSection[style*="display: none"] {
  display: none !important;
}

.cinema-hero {
  position: relative !important;
  isolation: isolate !important;
  display: flex;
  flex-direction: column !important;
  width: var(--content-shell, calc(100% - 64px)) !important;
  max-width: 1580px !important;
  margin: 88px auto 36px !important;
  padding: 24px 32px 18px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(229, 9, 20, 0.1), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(30, 45, 75, 0.25), transparent 50%),
    linear-gradient(135deg, rgba(16, 21, 34, 0.88) 0%, rgba(9, 13, 22, 0.94) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    0 32px 80px -16px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 0 50px -10px rgba(229, 9, 20, 0.1) !important;
  backdrop-filter: blur(32px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(180%) !important;
  overflow: hidden !important;
}

/* Atmospheric Full-Bleed Backdrop */
.cinema-art {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.cinema-art-image {
  position: absolute !important;
  inset: -20px !important;
  background-size: cover !important;
  background-position: center right !important;
  opacity: 0.35 !important;
  filter: saturate(1.25) contrast(1.1) blur(10px) !important;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cinema-art::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(9, 13, 22, 0.96) 0%, rgba(9, 13, 22, 0.82) 42%, rgba(9, 13, 22, 0.35) 75%, rgba(9, 13, 22, 0.15) 100%),
    linear-gradient(0deg, rgba(9, 13, 22, 0.98) 0%, rgba(9, 13, 22, 0.6) 28%, transparent 65%),
    linear-gradient(180deg, rgba(9, 13, 22, 0.7) 0%, transparent 22%) !important;
}

/* Masthead */
.cinema-masthead {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  padding-bottom: 8px !important;
  position: relative !important;
  z-index: 3 !important;
}

.cinema-edition {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #f1f5f9 !important;
}

.cinema-edition > i {
  color: #ff3350 !important;
  font-size: 17px !important;
  filter: drop-shadow(0 0 8px rgba(255, 51, 80, 0.6)) !important;
}

.cinema-edition > span {
  margin-left: 8px !important;
  padding-left: 14px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
  font-size: 11px !important;
  letter-spacing: 0.02em !important;
  color: #94a3b8 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

.cinema-live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  border-radius: 9999px !important;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  padding: 5px 12px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  backdrop-filter: blur(8px) !important;
}

.cinema-live > span {
  width: 6px !important;
  height: 6px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: pulseDot 2s infinite !important;
}

/* Cinema Stage: Unified 2-Column Showcase */
.cinema-stage {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr) !important;
  align-items: center !important;
  gap: clamp(32px, 4.5vw, 64px) !important;
  min-height: 460px !important;
  padding: 24px 8px 28px !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Narrative Column — Seamless & Clean */
.cinema-copy {
  position: relative !important;
  z-index: 3 !important;
  max-width: 680px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.cinema-copy::before,
.cinema-copy::after {
  display: none !important;
}

.cinema-kicker {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
}

.cinema-kicker b {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.35), rgba(255, 45, 70, 0.2)) !important;
  border: 1px solid rgba(255, 80, 105, 0.45) !important;
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.25) !important;
  border-radius: 9999px !important;
  padding: 4px 12px !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
}

.cinema-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(38px, 4.4vw, 66px) !important;
  font-weight: 850 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 16px !important;
  color: #ffffff !important;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.75) !important;
  text-wrap: balance !important;
}

.cinema-title.is-long {
  font-size: clamp(30px, 3.4vw, 50px) !important;
}

.cinema-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #cbd5e1 !important;
  margin-bottom: 16px !important;
}

.cinema-meta > span:empty { display: none !important; }
.cinema-meta > span + span::before {
  content: '·' !important;
  margin-right: 8px !important;
  color: #64748b !important;
  font-weight: 700 !important;
}

.cinema-meta .cinema-quality {
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.15) !important;
}
.cinema-meta .cinema-quality::before { display: none !important; }

.cinema-description {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  line-height: 1.75 !important;
  max-width: 520px !important;
  margin-bottom: 24px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Actions Deck */
.cinema-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.cinema-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  backdrop-filter: blur(12px) !important;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.22s ease,
              border-color 0.22s ease,
              box-shadow 0.26s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cinema-action:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  color: #ffffff !important;
}

.cinema-action:active {
  transform: scale(0.96) !important;
}

.cinema-action-primary {
  background: linear-gradient(135deg, #e50914 0%, #b80510 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 120, 140, 0.55) !important;
  box-shadow:
    0 8px 26px rgba(229, 9, 20, 0.45),
    0 0 16px rgba(255, 45, 70, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  padding: 0 26px !important;
}

.cinema-action-primary:hover {
  background: linear-gradient(135deg, #ff1e2d 0%, #cc0616 100%) !important;
  box-shadow:
    0 12px 34px rgba(229, 9, 20, 0.55),
    0 0 24px rgba(255, 45, 70, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.cinema-action-primary > i:first-child {
  font-size: 17px !important;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.cinema-action-save {
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  font-size: 19px !important;
  border-radius: 50% !important;
  flex: 0 0 auto !important;
}

.cinema-action-save[aria-pressed='true'] {
  color: #ff4763 !important;
  border-color: rgba(255, 60, 85, 0.5) !important;
  background: rgba(229, 9, 20, 0.15) !important;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.3) !important;
}

.cinema-benefits {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 20px !important;
  font-size: 11px !important;
  color: #94a3b8 !important;
}

.cinema-benefits span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.cinema-benefits i {
  color: #cbd5e1 !important;
  font-size: 14px !important;
}

.cinema-benefits span:first-child i {
  color: #ff4d6d !important;
}

/* Artwork Gallery — Majestic 3D Poster Showcase & Centerpiece */
.cinema-gallery {
  position: relative !important;
  width: 100% !important;
  height: 460px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  perspective: 1400px !important;
  transform-style: preserve-3d !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Atmospheric Spotlight Beam */
.cinema-spotlight-beam {
  position: absolute !important;
  top: -50px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 480px !important;
  height: 520px !important;
  background: conic-gradient(from 180deg at 50% 0%, transparent 40%, rgba(255, 45, 70, 0.08) 47%, rgba(255, 140, 160, 0.16) 50%, rgba(255, 45, 70, 0.08) 53%, transparent 60%) !important;
  filter: blur(28px) !important;
  pointer-events: none !important;
  z-index: 1 !important;
  opacity: 0.8 !important;
  animation: beamPulse 6s ease-in-out infinite alternate !important;
}

@keyframes beamPulse {
  0% { opacity: 0.6; transform: translateX(-50%) scaleX(0.92); }
  100% { opacity: 0.95; transform: translateX(-50%) scaleX(1.08); }
}

/* Multi-layer Ambient Backdrops */
.cinema-gallery::before {
  content: '' !important;
  position: absolute !important;
  width: 450px !important;
  height: 450px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.28) 0%, rgba(255, 45, 70, 0.12) 36%, rgba(251, 191, 36, 0.04) 55%, transparent 75%) !important;
  filter: blur(34px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  animation: vault-breathe 5s ease-in-out infinite !important;
}

.cinema-gallery::after {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 6px !important;
  width: 360px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 45%, transparent 75%) !important;
  filter: blur(14px) !important;
  transform: translateX(-50%) rotateX(70deg) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Precision Aperture Orbit Rings */
.cinema-orbit {
  position: absolute !important;
  z-index: 1 !important;
  width: 420px !important;
  height: 420px !important;
  border: 1px dashed rgba(255, 255, 255, 0.09) !important;
  border-radius: 50% !important;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.03) 0 1deg, transparent 1deg 15deg) !important;
  -webkit-mask: radial-gradient(circle, transparent 0 55%, #000 56% 57%, transparent 58% 74%, #000 75% 76%, transparent 77%) !important;
  mask: radial-gradient(circle, transparent 0 55%, #000 56% 57%, transparent 58% 74%, #000 75% 76%, transparent 77%) !important;
  animation: vault-spin 55s linear infinite !important;
  opacity: 0.55 !important;
  pointer-events: none !important;
}

/* Ghost Number Watermark */
.cinema-ghost-number {
  position: absolute !important;
  z-index: 1 !important;
  right: -15px !important;
  top: -32px !important;
  font-family: var(--font-heading) !important;
  font-size: 170px !important;
  font-weight: 900 !important;
  letter-spacing: -0.09em !important;
  line-height: 1 !important;
  color: transparent !important;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.055) !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* Luxury Curator Seal */
.cinema-vault-label {
  position: absolute !important;
  z-index: 4 !important;
  top: 14px !important;
  right: 20px !important;
  left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 6px 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  background: rgba(11, 15, 25, 0.72) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  pointer-events: none !important;
}

.vault-seal-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  color: #ff4763 !important;
  background: rgba(229, 9, 20, 0.16) !important;
  font-size: 13px !important;
}

.vault-seal-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.1 !important;
}

.vault-seal-text b {
  font-size: 8.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
}

.vault-seal-text span {
  font-size: 7.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  color: #ff526d !important;
  text-transform: uppercase !important;
}

/* Center Floating Masterpiece Poster Card */
.cinema-poster-shell {
  position: relative !important;
  z-index: 6 !important;
  width: 264px !important;
  height: 382px !important;
  padding: 5px !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.05) 35%, rgba(229, 9, 20, 0.35) 100%) !important;
  box-shadow:
    0 36px 95px -12px rgba(0, 0, 0, 0.94),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 55px -8px rgba(229, 9, 20, 0.38) !important;
  transform: translateZ(52px) rotateX(1deg) !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease !important;
}

.cinema-poster-shell:hover {
  transform: translateY(-9px) translateZ(72px) rotateX(0deg) !important;
  box-shadow:
    0 46px 110px -10px rgba(0, 0, 0, 0.98),
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 75px 0px rgba(229, 9, 20, 0.52) !important;
}

.poster-aura-bloom {
  position: absolute !important;
  inset: -12px !important;
  border-radius: 34px !important;
  background: radial-gradient(circle at 50% 65%, rgba(229, 9, 20, 0.32) 0%, transparent 68%) !important;
  filter: blur(18px) !important;
  pointer-events: none !important;
  z-index: -1 !important;
  opacity: 0.75 !important;
  transition: opacity 0.4s ease !important;
}

.cinema-poster-shell:hover .poster-aura-bloom {
  opacity: 1 !important;
}

.cinema-poster {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 19px !important;
  overflow: hidden !important;
  background: #0c101c !important;
  border: none !important;
  cursor: pointer !important;
  display: block !important;
  text-align: left !important;
  padding: 0 !important;
}

.cinema-poster-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
}

.cinema-poster-shell:hover .cinema-poster-image {
  transform: scale(1.045) !important;
  filter: saturate(1.1) contrast(1.04) !important;
}

.poster-glass-glare {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 60%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* Poster Top Bar Badges */
.poster-top-bar {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: 12px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  z-index: 4 !important;
}

.poster-top-bar .cinema-poster-quality {
  position: static !important;
  top: auto !important;
  left: auto !important;
  flex: 0 0 auto !important;
}

.poster-top-bar .poster-live-tag {
  position: static !important;
  flex: 0 0 auto !important;
}

.cinema-poster-quality {
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.07em !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  background: rgba(7, 11, 20, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  text-transform: uppercase !important;
}

.poster-live-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #4ade80 !important;
  background: rgba(7, 11, 20, 0.78) !important;
  border: 1px solid rgba(74, 222, 128, 0.3) !important;
  padding: 3.5px 9px !important;
  border-radius: 9999px !important;
  backdrop-filter: blur(12px) !important;
}

.poster-live-tag .live-dot {
  width: 5px !important;
  height: 5px !important;
  background: #4ade80 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #4ade80 !important;
  animation: pulseLive 2s infinite !important;
}

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

/* Poster Bottom Narrative Vignette */
.cinema-poster-caption {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  padding: 70px 16px 16px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px !important;
  background: linear-gradient(0deg, rgba(6, 9, 16, 0.98) 0%, rgba(6, 9, 16, 0.82) 40%, rgba(6, 9, 16, 0.35) 75%, transparent 100%) !important;
  z-index: 3 !important;
}

.caption-details {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.caption-eyebrow {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 5px !important;
}

.eyebrow-line {
  width: 10px !important;
  height: 2px !important;
  background: #ff2a44 !important;
  border-radius: 2px !important;
}

.caption-eyebrow small {
  color: #ff526d !important;
  font-size: 8px !important;
  font-weight: 750 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.caption-details strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  line-height: 1.22 !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

/* The Jewel Play Button */
.cinema-poster-play {
  position: relative !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.play-pulse-ring {
  position: absolute !important;
  inset: -5px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 45, 70, 0.4) !important;
  animation: jewelPulse 3s cubic-bezier(0.25, 1, 0.5, 1) infinite !important;
  pointer-events: none !important;
}

.play-pulse-ring.ring-2 {
  inset: -11px !important;
  border-color: rgba(255, 45, 70, 0.2) !important;
  animation-delay: 1.5s !important;
}

@keyframes jewelPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

.play-gem {
  position: relative !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff1e38 0%, #d8001a 50%, #900010 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow:
    0 8px 24px rgba(229, 9, 20, 0.55),
    0 0 16px rgba(255, 45, 70, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.55) !important;
  font-size: 19px !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              background 0.3s ease !important;
}

.play-gem i {
  margin-left: 2px !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) !important;
  transition: transform 0.3s ease !important;
}

.cinema-poster-shell:hover .play-gem {
  transform: scale(1.12) !important;
  background: linear-gradient(135deg, #ff334b 0%, #e6001d 50%, #a80013 100%) !important;
  box-shadow:
    0 12px 32px rgba(229, 9, 20, 0.7),
    0 0 26px rgba(255, 45, 70, 0.5),
    inset 0 1px 3px rgba(255, 255, 255, 0.7) !important;
}

.cinema-poster-shell:hover .play-gem i {
  transform: scale(1.08) translateX(1px) !important;
}

.cinema-poster:active .play-gem {
  transform: scale(0.92) !important;
}

/* Flanking 3D Supporting Wings */
.cinema-wing {
  position: absolute !important;
  z-index: 5 !important;
  pointer-events: auto !important;
  width: 144px !important;
  height: 224px !important;
  top: 118px !important;
  padding: 0 !important;
  background: #0d121f !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 17px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75) !important;
  filter: brightness(0.55) contrast(1.15) saturate(0.7) !important;
  cursor: pointer !important;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.45s ease,
              opacity 0.4s ease !important;
}

.cinema-wing-left {
  left: calc(50% - 248px) !important;
  transform: translateZ(16px) rotateY(22deg) rotateZ(-4deg) !important;
}

.cinema-wing-right {
  right: calc(50% - 248px) !important;
  transform: translateZ(16px) rotateY(-22deg) rotateZ(4deg) !important;
}

.wing-inner {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.wing-inner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.wing-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(0deg, rgba(7, 11, 20, 0.85) 0%, transparent 60%) !important;
}

.wing-badge {
  position: absolute !important;
  bottom: 8px !important;
  display: flex !important;
  gap: 5px !important;
  align-items: center !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  background: rgba(8, 12, 22, 0.88) !important;
  backdrop-filter: blur(10px) !important;
  font-size: 8px !important;
  font-weight: 750 !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  white-space: nowrap !important;
}

.cinema-wing-left .wing-badge {
  left: 8px !important;
  right: auto !important;
}

.cinema-wing-right .wing-badge {
  right: 8px !important;
  left: auto !important;
}

.wing-badge i {
  font-size: 11px !important;
  color: #ff526d !important;
}

.cinema-wing:hover {
  filter: brightness(1) contrast(1.05) saturate(1.1) !important;
  z-index: 9 !important;
  border-color: rgba(255, 80, 105, 0.6) !important;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.88), 0 0 30px rgba(229, 9, 20, 0.4) !important;
}

.cinema-wing-left:hover {
  transform: translate3d(-10px, -18px, 68px) rotateY(0deg) scale(1.08) !important;
}

.cinema-wing-right:hover {
  transform: translate3d(10px, -18px, 68px) rotateY(0deg) scale(1.08) !important;
}

/* Trust & Quality Monogram Note */
.cinema-gallery-note {
  position: absolute !important;
  z-index: 3 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  pointer-events: none !important;
}

.cinema-gallery-line {
  flex: 0 0 30px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent) !important;
}

.note-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  background: rgba(11, 16, 26, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
}

.note-pill i {
  color: #ff526d !important;
  font-size: 11px !important;
}

/* Carousel Section — Up Next Reel */
.cinema-reel {
  padding: 20px 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
  z-index: 2 !important;
}

.cinema-reel-heading {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 14px !important;
}

.cinema-reel-title h2 {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--font-heading) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
}

.cinema-reel-title h2 > span {
  width: 3px !important;
  height: 15px !important;
  border-radius: 3px !important;
  background: #ff2a44 !important;
  box-shadow: 0 0 10px #ff2a44 !important;
}

.cinema-reel-title > span {
  font-size: 11px !important;
  color: #7888a2 !important;
}

.cinema-reel-controls {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.cinema-counter {
  font-size: 11px !important;
  color: #7888a2 !important;
  margin-right: 8px !important;
  font-variant-numeric: tabular-nums !important;
}

.cinema-counter b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.cinema-control {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
}

.cinema-control:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
}

.cinema-reel-track {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  scroll-snap-type: x mandatory !important;
  padding: 4px 2px 14px !important;
}

.cinema-reel-track::-webkit-scrollbar { display: none !important; }

.cinema-film {
  position: relative !important;
  flex: 0 0 calc((100% - 60px) / 6) !important;
  min-width: 154px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  text-align: left !important;
  color: #e2e8f0 !important;
  overflow: hidden !important;
  background: rgba(18, 24, 38, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  scroll-snap-align: start !important;
  cursor: pointer !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.24s ease,
              box-shadow 0.28s ease !important;
}

.cinema-film:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4) !important;
}

.cinema-film.active {
  border-color: rgba(255, 60, 85, 0.65) !important;
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2), 0 12px 30px rgba(0, 0, 0, 0.5) !important;
  background: rgba(28, 20, 28, 0.75) !important;
}

.cinema-film-art {
  display: block !important;
  width: 100% !important;
  height: 96px !important;
  background: #111726 !important;
  overflow: hidden !important;
}

.cinema-film-art img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 25% !important;
  opacity: 0.75 !important;
  transition: opacity 0.3s, transform 0.4s ease !important;
}

.cinema-film.active img,
.cinema-film:hover img {
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

.cinema-film-copy {
  display: block !important;
  position: relative !important;
  padding: 10px 12px 12px !important;
}

.cinema-film-index {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #7888a2 !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 4px !important;
}

.cinema-film.active .cinema-film-index {
  color: #ff526d !important;
}

.cinema-film-name {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #e2e8f0 !important;
}

.cinema-film.active::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 2.5px !important;
  width: 100% !important;
  background: linear-gradient(90deg, #ff2a44, #ff6078) !important;
  box-shadow: 0 0 8px #ff2a44 !important;
}

.cinema-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 4px 0 16px !important;
  position: relative !important;
  z-index: 2 !important;
}

.cinema-footer p {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #64748b !important;
  font-size: 9.5px !important;
}

.cinema-footer a {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #94a3b8 !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.cinema-footer a:hover {
  color: #ffffff !important;
}

/* Slide Transition Animations — Silky-Smooth 60fps GPU Composited (No Blur / No Flash) */
.cinema-hero .cinema-copy,
.cinema-hero .cinema-poster-shell,
.cinema-hero .cinema-poster-image {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.cinema-hero.is-changing .cinema-copy {
  animation: heroStorySmooth 0.32s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
.cinema-hero.is-changing .cinema-poster-shell {
  animation: heroPosterSmooth 0.32s cubic-bezier(0.22, 1, 0.36, 1) both !important;
  filter: none !important;
}

@keyframes heroStorySmooth {
  0%   { opacity: 0.35; transform: translate3d(0, 8px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes heroPosterSmooth {
  0%   { opacity: 0.4; transform: translate3d(0, 4px, 0) scale(0.985); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* Responsive Master Breakpoints */
@media (max-width: 1100px) {
  .cinema-hero {
    margin: 80px 18px 24px !important;
    width: calc(100% - 36px) !important;
    padding: 20px 22px 14px !important;
  }
  .cinema-stage {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
    gap: 24px !important;
    min-height: 420px !important;
    padding: 18px 0 24px !important;
  }
  .cinema-gallery {
    transform: scale(0.9) !important;
  }
  .cinema-wing-left { left: calc(50% - 210px) !important; }
  .cinema-wing-right { right: calc(50% - 210px) !important; }
  .cinema-film { flex-basis: calc((100% - 36px) / 4) !important; }
}

@media (max-width: 768px) {
  .cinema-hero {
    margin: 74px 12px 20px !important;
    width: calc(100% - 24px) !important;
    padding: 18px 16px 14px !important;
    border-radius: 22px !important;
  }
  .cinema-masthead {
    padding-bottom: 4px !important;
  }
  .cinema-edition > span { display: none !important; }
  .cinema-stage {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 20px !important;
    padding: 6px 0 20px !important;
    min-height: 0 !important;
  }
  .cinema-copy {
    width: 100% !important;
    max-width: none !important;
  }
  .cinema-title {
    font-size: clamp(32px, 7.5vw, 48px) !important;
    margin-bottom: 14px !important;
  }
  .cinema-gallery {
    height: 360px !important;
    transform: none !important;
    margin: 0 0 10px !important;
  }
  .cinema-vault-label {
    display: none !important;
  }
  .cinema-poster-shell {
    width: 236px !important;
    height: 340px !important;
    transform: translateZ(36px) !important;
  }
  .cinema-spotlight-beam {
    width: 320px !important;
    height: 360px !important;
    top: -20px !important;
  }
  .cinema-poster-play {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
  }
  .play-gem {
    width: 44px !important;
    height: 44px !important;
    font-size: 17px !important;
  }
  .cinema-poster-caption {
    padding: 50px 14px 14px !important;
  }
  .caption-details strong {
    font-size: 15px !important;
  }
  .cinema-wing {
    width: 128px !important;
    height: 198px !important;
    top: 78px !important;
  }
  .cinema-wing-left { left: calc(50% - 194px) !important; }
  .cinema-wing-right { right: calc(50% - 194px) !important; }
  .cinema-gallery-note { display: none !important; }
  .cinema-ghost-number { font-size: 120px !important; top: -15px !important; opacity: 0.04 !important; }
  .cinema-actions {
    display: flex !important;
    width: 100% !important;
  }
  .cinema-action-primary {
    flex: 1 1 auto !important;
  }
  .cinema-film {
    flex: 0 0 156px !important;
  }
}

@media (max-width: 480px) {
  .cinema-actions {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .cinema-action-primary {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: center !important;
    min-height: 46px !important;
  }
  .cinema-action:not(.cinema-action-primary):not(.cinema-action-save) {
    grid-column: 1 / 2 !important;
    min-height: 42px !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .cinema-action-save {
    grid-column: 2 / 3 !important;
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }
  .cinema-benefits {
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 14px !important;
  }
  .cinema-benefits span {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }
}

@media (max-width: 430px) {
  .cinema-hero {
    margin: 70px 8px 24px !important;
    width: calc(100% - 16px) !important;
    padding: 14px 14px 16px !important;
    border-radius: 20px !important;
  }
  .cinema-gallery {
    height: 330px !important;
    transform: none !important;
    margin: 0 0 6px !important;
  }
  .cinema-poster-shell {
    width: 216px !important;
    height: 310px !important;
    transform: translateZ(28px) !important;
  }
  .cinema-spotlight-beam {
    width: 280px !important;
    height: 320px !important;
    top: -15px !important;
  }
  .cinema-poster-play {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
  }
  .play-gem {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
  .cinema-poster-caption {
    padding: 45px 12px 12px !important;
  }
  .caption-details strong {
    font-size: 13.5px !important;
  }
  .cinema-wing {
    width: 112px !important;
    height: 172px !important;
    top: 72px !important;
  }
  .cinema-wing-left { left: calc(50% - 164px) !important; }
  .cinema-wing-right { right: calc(50% - 164px) !important; }
  .cinema-title {
    font-size: 30px !important;
  }
  .cinema-action {
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 12px !important;
  }
  .cinema-action-save {
    width: 44px !important;
    height: 44px !important;
  }
  .cinema-counter { display: none !important; }
}

@media (max-width: 360px) {
  .cinema-hero {
    margin: 66px 6px 20px !important;
    width: calc(100% - 12px) !important;
    padding: 12px 10px 14px !important;
  }
  .cinema-gallery {
    height: 290px !important;
    transform: none !important;
    margin: 0 0 4px !important;
  }
  .cinema-poster-shell {
    width: 195px !important;
    height: 280px !important;
    transform: translateZ(20px) !important;
  }
  .cinema-wing {
    width: 98px !important;
    height: 152px !important;
    top: 66px !important;
  }
  .cinema-wing-left { left: calc(50% - 142px) !important; }
  .cinema-wing-right { right: calc(50% - 142px) !important; }
  .cinema-title {
    font-size: 26px !important;
  }
  .cinema-kicker {
    font-size: 8.5px !important;
    gap: 6px !important;
  }
  .cinema-meta {
    font-size: 11px !important;
    gap: 6px !important;
  }
}

/* ==========================================================================
   CINEORA HORIZON GLASS DOCK — Masterpiece Redesign
   Ultra-sleek floating glass capsule with ambient border sweep
   ========================================================================== */
.filters-container {
  position: relative !important;
  width: var(--content-shell) !important;
  max-width: 1580px !important;
  margin: 0 auto 48px !important;
  padding: 8px 12px 8px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.72) 0%, rgba(9, 13, 22, 0.85) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 0 45px -10px rgba(229, 9, 20, 0.12) !important;
  backdrop-filter: blur(36px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(36px) saturate(190%) !important;
  overflow: visible !important;
  z-index: 40;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.is-catalog-view .filters-container {
  margin: 0 auto 28px !important;
}

/* Ambient Travelling Border Shimmer / Beam */
.filters-container::before {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 9999px !important;
  padding: 1px !important;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 43, 70, 0.15) 15%, 
    rgba(255, 75, 100, 0.85) 45%, 
    rgba(255, 180, 195, 1) 50%, 
    rgba(255, 75, 100, 0.85) 55%, 
    rgba(255, 43, 70, 0.15) 85%, 
    transparent 100%
  ) !important;
  background-size: 250% 100% !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  pointer-events: none !important;
  animation: dockBeamSweep 7s linear infinite !important;
  opacity: 0.65;
  transition: opacity 0.4s ease;
  width: auto !important;
}

.filters-container:hover {
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 28px 70px -10px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 55px -5px rgba(229, 9, 20, 0.2) !important;
}

.filters-container:hover::before {
  opacity: 1;
  animation-duration: 4.5s !important;
}

@keyframes dockBeamSweep {
  0% { background-position: -150% 0; }
  100% { background-position: 150% 0; }
}

/* Discover Beacon & Branding */
.discovery-dock-brand {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 2px 4px 2px 2px !important;
  flex-shrink: 0 !important;
}

.discovery-beacon-orb {
  position: relative !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 35% 35%, rgba(255, 55, 80, 0.28), rgba(229, 9, 20, 0.08)) !important;
  border: 1px solid rgba(255, 75, 100, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  flex-shrink: 0 !important;
}

.discovery-beacon-orb i {
  color: #ff385c !important;
  font-size: 19px !important;
  filter: drop-shadow(0 0 8px rgba(255, 56, 92, 0.7)) !important;
  animation: compassSlowTurn 24s linear infinite !important;
}

.beacon-pulse-ring {
  position: absolute !important;
  inset: -3px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 56, 92, 0.55) !important;
  animation: beaconPulse 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite !important;
  pointer-events: none !important;
}

@keyframes beaconPulse {
  0% { transform: scale(0.92); opacity: 0.85; }
  60% { transform: scale(1.42); opacity: 0; }
  100% { transform: scale(0.92); opacity: 0; }
}

@keyframes compassSlowTurn {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.discovery-dock-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.discovery-tag {
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  background: linear-gradient(135deg, #ff6b82 0%, #ff2d55 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(255, 45, 70, 0.25)) !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.discovery-title {
  color: #f1f5f9 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.dock-divider {
  width: 1px !important;
  height: 24px !important;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16) 20%, rgba(255, 255, 255, 0.16) 80%, transparent) !important;
  flex-shrink: 0 !important;
  margin: 0 2px !important;
}

/* Category Scroll Container & Glowing Glass Chips */
.categories-scroll {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 2px 8px !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%) !important;
}

.categories-scroll::-webkit-scrollbar {
  display: none !important;
}

.chip {
  position: relative !important;
  flex: 0 0 auto !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-radius: 9999px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  color: #9aa8bc !important;
  background: rgba(255, 255, 255, 0.038) !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  user-select: none !important;
  overflow: visible !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.22s ease,
              background 0.24s ease,
              border-color 0.24s ease,
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.chip i {
  font-size: 14px !important;
  color: #8391a5;
  transition: color 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.chip:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.chip:hover i {
  color: #ff5269;
  transform: scale(1.1);
}

.chip:active {
  transform: scale(0.96) translateY(0) !important;
}

/* Active Glowing Jewel Chip */
.chip.active {
  color: #ffffff !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #e50914 0%, #b80510 100%) !important;
  border-color: rgba(255, 120, 140, 0.55) !important;
  box-shadow:
    0 6px 20px rgba(229, 9, 20, 0.45),
    0 0 12px rgba(255, 45, 70, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

.chip.active i {
  color: #ffffff !important;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

/* Clean active indicator dot */
.chip.active::before {
  content: '' !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 0 6px #ffffff, 0 0 10px #ff7b8c !important;
  display: inline-block !important;
  margin-right: -2px !important;
  animation: pulseDot 2s ease-in-out infinite !important;
}

.chip.active::after {
  display: none !important;
}

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

/* Sub-Filter Pills (Catalog & Grid Browse Views) */
.sub-filter-pills:not(:empty) {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 22px !important;
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.72) 0%, rgba(9, 13, 22, 0.82) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

.sub-filter-pills::-webkit-scrollbar {
  display: none !important;
}

.sub-pill {
  position: relative !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #94a3b8 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.26s !important;
}

.sub-pill:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

.sub-pill.active {
  color: #ffffff !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #e50914 0%, #b80510 100%) !important;
  border-color: rgba(255, 120, 140, 0.55) !important;
  box-shadow: 0 5px 18px rgba(229, 9, 20, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.sub-pill.purple.active {
  color: #ffffff !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
  border-color: rgba(196, 181, 253, 0.55) !important;
  box-shadow: 0 5px 18px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}
@keyframes filter-signal { 50% { opacity: .48; transform: scaleY(.72); } }

/* A larger, action-first card for games and software. */
#rail-games .rail-carousel,
#rail-software .rail-carousel { grid-auto-columns: clamp(260px, 20vw, 308px) !important; }
.grid-section[data-view="games"] .movies-grid,
.grid-section[data-view="software"] .movies-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important; }

.game-card {
  min-height: 300px;
  border-radius: 21px !important;
  border-color: rgba(136,105,255,.22) !important;
  background: linear-gradient(160deg, rgba(27,27,48,.98), rgba(9,14,24,.99)) !important;
}
.game-card.is-software { border-color: rgba(48,190,220,.2) !important; }
.game-card .card-poster-wrap { aspect-ratio: 16 / 9 !important; border-radius: 20px 20px 12px 12px !important; }
.game-card .card-poster-wrap::after { background: linear-gradient(180deg, transparent 34%, rgba(7,10,18,.16) 62%, rgba(7,10,18,.95)) !important; }
.game-kind-mark {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 11px;
  color: #fff;
  background: rgba(8,12,21,.74);
  box-shadow: 0 10px 25px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .3s;
}
.game-card:hover .game-kind-mark { transform: translateY(-4px) rotate(-5deg); background: rgba(122,88,246,.8); }
.game-card.is-software:hover .game-kind-mark { background: rgba(17,145,177,.85); }
.game-card-info { min-height: 132px !important; padding: 15px !important; gap: 10px !important; }
.game-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.game-card-heading > div { min-width: 0; }
.game-card-eyebrow { display: block; margin-bottom: 4px; color: #8f9db4; font-size: 9px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.game-card-title { font-size: 15px !important; line-height: 1.25; }
.game-card-open { color: #65748b; transition: color .25s, transform .3s cubic-bezier(.16,1,.3,1); }
.game-card:hover .game-card-open { color: #fff; transform: translate(2px,-2px); }
.game-card-meta { justify-content: flex-start !important; gap: 8px !important; font-size: 11px !important; }
.game-card-meta span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; background: rgba(255,255,255,.025); }
.game-card-actions { display: grid; grid-template-columns: minmax(0,1fr) 43px; gap: 8px; margin-top: auto; }
.game-download-cta {
  min-height: 48px;
  margin: 0 !important;
  padding: 6px 10px 6px 7px !important;
  justify-content: flex-start !important;
  border-color: rgba(144,111,255,.25) !important;
  border-radius: 12px !important;
  color: #e8e3ff !important;
  background: linear-gradient(135deg, rgba(126,88,242,.18), rgba(255,255,255,.035)) !important;
  text-decoration: none;
}
.is-software .game-download-cta { border-color: rgba(44,186,217,.22) !important; background: linear-gradient(135deg, rgba(25,158,188,.16), rgba(255,255,255,.035)) !important; }
.game-download-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #fff; background: linear-gradient(145deg, #8f67ff, #6441d2); box-shadow: 0 7px 18px rgba(108,70,219,.32); }
.is-software .game-download-icon { background: linear-gradient(145deg, #29bbd8, #137eaa); box-shadow: 0 7px 18px rgba(19,126,170,.3); }
.game-download-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: flex-start; line-height: 1.08; }
.game-download-copy small { margin-bottom: 3px; color: #8996aa; font-size: 8px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.game-download-copy strong { max-width: 100%; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.game-download-cta > i:last-child { color: #8996aa; }
.game-details-btn { border: 1px solid rgba(255,255,255,.09); border-radius: 12px; color: #aab5c6; background: rgba(255,255,255,.04); cursor: pointer; font-size: 18px; }
.game-details-btn:hover { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* Load more styles are consolidated in the Smart Load More section below. */

/* Episode full-box progress fill: whole card fills green proportionally to watch time */
.episode-row {
  position: relative !important;
  overflow: hidden !important;
  padding: 10px 14px !important;
  z-index: 1 !important;
}

.episode-row::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: var(--episode-progress, 0%) !important;
  max-width: 100% !important;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.30) 100%) !important;
  border-right: 2.5px solid rgba(52, 211, 153, 0.9) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.episode-row.is-complete::before {
  width: 100% !important;
  background: rgba(16, 185, 129, 0.22) !important;
  border-right: none !important;
}

.episode-row .ep-left-wrap,
.episode-row .ep-right-actions {
  position: relative !important;
  z-index: 2 !important;
}

.ep-now-playing-pill,
.ep-watch-progress {
  display: none !important;
}

/* Track names remain readable beside the codec details. */
#audioTrackPanel { min-width: 350px; }
.track-item-content { min-width: 0; flex: 1; }
.track-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 3px; }
.track-title-text { max-width: 100%; overflow: hidden; color: #eef2f8; font-size: 12px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.track-copy small { color: #75849b; font-size: 9px; font-weight: 600; letter-spacing: .03em; }
.dropdown-item.active .track-copy small { color: #c68a96; }

/* Mobile player control deck: every essential option stays on-screen. */
@media (max-width: 760px) {

  .filters-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 12px 14px !important;
    border-radius: 24px !important;
    gap: 12px !important;
  }
  .filters-container::before {
    border-radius: 24px !important;
  }
  .discovery-dock-brand {
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .dock-divider { display: none !important; }
  .categories-scroll { order: 2 !important; padding: 2px 0 !important; }
  .filters-right {
    order: 3 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .custom-select.premium-select { min-width: 0 !important; width: 100% !important; }
  .sub-filter-pills:not(:empty) {
    border-radius: 20px !important;
    margin-bottom: 18px !important;
    padding: 6px 10px !important;
  }

  #rail-games .rail-carousel,
  #rail-software .rail-carousel { grid-auto-columns: min(82vw, 276px) !important; }
  .grid-section[data-view="games"] .movies-grid,
  .grid-section[data-view="software"] .movies-grid { grid-template-columns: 1fr !important; }
  .game-card { min-height: 0; }



  .cinema-controls {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    padding: 6px 8px 8px !important;
    border-radius: 15px !important;
    background: rgba(7,11,19,.96) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.1) !important;
  }
  .cinema-player-wrapper {
    height: 304px !important;
    min-height: 304px !important;
    aspect-ratio: auto !important;
    align-items: flex-start !important;
  }
  .cinema-player-wrapper video {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
  .cinema-controls.hidden {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  .cinema-controls:has(.dropdown-panel.active) { z-index: 60 !important; }
  .scrub-container { height: 24px !important; }
  .controls-row { display: grid !important; grid-template-columns: 1fr !important; gap: 6px !important; padding: 0 !important; }
  .controls-left { width: 100%; display: grid !important; grid-template-columns: 40px 36px 36px 40px minmax(0,1fr); gap: 4px !important; }
  .controls-right { width: 100%; display: grid !important; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 4px !important; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.07); }
  .controls-right > .dropdown-wrapper { width: 100%; min-width: 0; }
  .controls-left .c-btn,
  .controls-right .c-btn { width: 100% !important; height: 36px !important; border-radius: 9px !important; background: rgba(255,255,255,.075) !important; color: #dbe3ef !important; }
  .time-display { min-width: 0 !important; justify-content: flex-end; padding: 0 5px !important; font-size: 10px !important; white-space: nowrap; }
  .volume-slider-box { display: none !important; }
  #ctrlPipBtn,
  #ctrlTheaterBtn,
  #ctrlHelpBtn { display: none !important; }
  .controls-right .c-btn-badge { max-width: 42px; overflow: hidden; font-size: 6px !important; text-overflow: ellipsis; white-space: nowrap; }
  #audioTrackPanel { left: 0 !important; right: auto !important; min-width: min(320px, calc(100vw - 32px)) !important; }
  #subtitlesPanel { left: -48px !important; right: auto !important; }
  #speedPanel { left: -96px !important; right: auto !important; }
  #aspectPanel { left: auto !important; right: 0 !important; }
  .dropdown-panel { bottom: 44px !important; max-height: 238px !important; overflow-y: auto !important; overscroll-behavior: contain; }
  #audioTrackPanel .dropdown-list,
  #audioPassthroughSection { flex: 0 0 auto !important; }
  #audioTrackPanel .dropdown-list { max-height: none !important; overflow: visible !important; }
  .track-title-text { font-size: 11px; }
}

@media (max-width: 390px) {
  .cinema-copy { padding: 22px 18px !important; }
  .cinema-gallery { height: 320px !important; }
  .cinema-poster-shell { width: 196px !important; height: 280px !important; }
  .cinema-title { font-size: 34px !important; }
  .cinema-actions { gap: 7px !important; }
  .cinema-action { padding: 0 11px !important; }
  .load-more-arrow { display: none; }
  .controls-left { grid-template-columns: 38px 34px 34px 38px minmax(0,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-copy::before,
  .cinema-gallery::before,
  .cinema-poster-shell,
  .filters-container::before { animation: none !important; }
}

/* Compact catalog collection selector. */
.grid-section > .section-header {
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
}

.catalog-header-tools {
  position: relative;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sub-filter-pills:not(:empty) {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.smart-filter { position: relative; min-width: 222px; }
.smart-filter-trigger {
  width: 100%;
  height: 48px;
  padding: 0 11px 0 8px;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  color: #e5eaf2;
  background: linear-gradient(145deg, rgba(29,37,53,.96), rgba(10,15,25,.97));
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 12px 28px rgba(0,0,0,.25);
  cursor: pointer;
  text-align: left;
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .22s, box-shadow .25s, background .22s;
}
.smart-filter-trigger:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); box-shadow: inset 0 1px rgba(255,255,255,.09), 0 16px 32px rgba(0,0,0,.32); }
.smart-filter.open .smart-filter-trigger { border-color: rgba(255,70,94,.4); background: linear-gradient(145deg, rgba(48,30,42,.98), rgba(12,16,26,.98)); box-shadow: 0 0 0 3px rgba(229,9,20,.08), 0 16px 36px rgba(0,0,0,.38); }
.smart-filter-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,84,106,.18); border-radius: 10px; color: #ff6177; background: rgba(229,9,20,.09); }
.smart-filter-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.smart-filter-copy small { color: #74839a; font-size: 8px; font-weight: 750; letter-spacing: .11em; line-height: 1; text-transform: uppercase; }
.smart-filter-copy strong { overflow: hidden; color: #edf1f7; font-size: 12px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.smart-filter-chevron { justify-self: end; color: #7c8ba2; transition: transform .28s cubic-bezier(.16,1,.3,1), color .22s; }
.smart-filter.open .smart-filter-chevron { color: #ff6278; transform: rotate(180deg); }
.smart-filter-menu {
  position: absolute;
  z-index: 200;
  top: calc(100% + 9px);
  right: 0;
  width: 270px;
  max-height: 330px;
  padding: 8px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: radial-gradient(circle at 90% 0, rgba(255,48,74,.12), transparent 38%), linear-gradient(155deg, rgba(25,32,46,.995), rgba(7,11,19,.995));
  box-shadow: 0 28px 70px rgba(0,0,0,.65), inset 0 1px rgba(255,255,255,.065);
  transform: translateY(8px) scale(.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .18s, visibility .18s, transform .28s cubic-bezier(.16,1,.3,1);
  scrollbar-width: thin;
}
.smart-filter.open .smart-filter-menu { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.smart-filter-option {
  width: 100%;
  min-height: 43px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #9ba8bb;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  transition: transform .22s cubic-bezier(.16,1,.3,1), color .18s, background .18s, border-color .18s;
}
.smart-filter-option > span { display: flex; align-items: center; gap: 9px; }
.smart-filter-option > span i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #8291a8; background: rgba(255,255,255,.035); }
.smart-filter-option > i { opacity: 0; color: #ff667b; }
.smart-filter-option:hover { transform: translateX(3px); color: #fff; background: rgba(255,255,255,.055); }
.smart-filter-option.active { color: #fff; border-color: rgba(255,72,96,.2); background: linear-gradient(90deg, rgba(229,9,20,.16), rgba(229,9,20,.025)); }
.smart-filter-option.active > span i { color: #fff; background: linear-gradient(145deg,#ff4059,#cc071f); }
.smart-filter-option.active > i { opacity: 1; }

/* Home shelves: a composed editorial header rather than loose labels. */
.rails-container .rail-section { padding-top: 38px; }
.rails-container .section-header {
  min-height: 94px;
  margin-bottom: 18px !important;
  padding: 14px 16px 14px 12px;
  display: grid !important;
  grid-template-columns: 54px minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 15px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 19px;
  background: radial-gradient(circle at 4% 35%, color-mix(in srgb, var(--shelf-accent) 11%, transparent), transparent 24%), linear-gradient(120deg, rgba(19,26,39,.82), rgba(8,13,22,.72));
  box-shadow: inset 0 1px rgba(255,255,255,.045), 0 18px 38px rgba(0,0,0,.16);
}
.rails-container .section-header::after {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: var(--shelf-accent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--shelf-accent) 58%, transparent);
}
.rails-container .shelf-number {
  width: 45px;
  height: 45px;
  align-self: center !important;
  border: 1px solid color-mix(in srgb, var(--shelf-accent) 26%, rgba(255,255,255,.05));
  border-radius: 14px;
  color: color-mix(in srgb, var(--shelf-accent) 70%, #aab5c5) !important;
  background: color-mix(in srgb, var(--shelf-accent) 8%, rgba(255,255,255,.025));
  font-size: 16px !important;
  letter-spacing: 0 !important;
}
.rails-container .section-title-wrap { min-width: 0; gap: 4px !important; }
.rails-container .section-eyebrow { font-size: 9px !important; }
.rails-container .section-title { font-size: clamp(20px,1.55vw,27px) !important; }
.rails-container .section-subtitle { margin: 0 !important; font-size: 11px !important; }
.rails-container .section-view-all { height: 42px; border-radius: 12px !important; background: rgba(255,255,255,.04) !important; }

/* Fast, controlled rail movement with clear edge states. */
.rail-carousel,
.anime-carousel {
  scroll-behavior: auto !important;
  scroll-snap-type: x proximity !important;
  overscroll-behavior-inline: contain;
  will-change: scroll-position;
}
.rail-carousel > *,
.anime-carousel > * { scroll-snap-align: start; }
.rail-scroll-btn {
  opacity: .88 !important;
  top: 50% !important;
  width: 44px !important;
  height: 74px !important;
  border-radius: 14px !important;
  background: rgba(7,12,21,.9) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.08) !important;
  transition: opacity .2s, transform .25s cubic-bezier(.16,1,.3,1), background .2s, border-color .2s !important;
}
.rail-scroll-btn.left { left: 8px !important; }
.rail-scroll-btn.right { right: 8px !important; }
.rail-scroll-btn:hover,
.rail-scroll-btn.is-scrolling { opacity: 1 !important; transform: translateY(-50%) scale(1.06) !important; border-color: color-mix(in srgb, var(--shelf-accent) 65%, transparent) !important; background: color-mix(in srgb, var(--shelf-accent) 78%, #101725) !important; }
.rail-scroll-btn:disabled { opacity: 0 !important; pointer-events: none; transform: translateY(-50%) scale(.88) !important; }

@media (max-width: 760px) {
  .grid-section > .section-header { display: flex !important; align-items: stretch !important; }
  .catalog-header-tools { width: 100%; justify-content: space-between; }
  .smart-filter { flex: 1; min-width: 0; }
  .smart-filter-menu { left: 0; right: auto; width: min(290px, calc(100vw - 44px)); }
  .catalog-header-tools .section-count { flex: 0 0 auto; }
  .rails-container .section-header { min-height: 0; grid-template-columns: 42px minmax(0,1fr) !important; padding: 12px !important; border-radius: 16px; }
  .rails-container .shelf-number { width: 38px; height: 38px; border-radius: 11px; font-size: 13px !important; }
  .rails-container .section-view-all { grid-column: 2; justify-self: start; height: 34px; }
  .rails-container .section-subtitle span { display: none; }
  .rail-scroll-btn { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .smart-filter-trigger,
  .smart-filter-menu,
  .smart-filter-option { transition-duration: .01ms !important; }
}

/* ==========================================================================
   OFFICIAL CINEORA BRAND LOGO — LUXURY 3D MICRO-INTERACTIONS
   ========================================================================== */
.brand-logo-wrapper,
.footer-logo-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  perspective: 700px;
  transform-style: preserve-3d;
  flex-shrink: 0;
}

/* Ambient Pulsing Halo Glow */
.brand-logo-halo {
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, rgba(229, 9, 20, 0.85) 0%, rgba(255, 45, 65, 0.4) 45%, transparent 75%);
  filter: blur(10px);
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.footer-halo {
  inset: -8px;
  border-radius: 18px;
  filter: blur(12px);
}

.brand-logo-link:hover .brand-logo-halo,
.footer-brand-lockup:hover .footer-halo {
  opacity: 1;
  transform: scale(1.3);
  filter: blur(14px);
  animation: logoHaloBreath 2.4s ease-in-out infinite alternate;
}

@keyframes logoHaloBreath {
  0% { transform: scale(1.2); opacity: 0.85; filter: blur(12px); }
  100% { transform: scale(1.42); opacity: 1; filter: blur(16px); }
}

/* Base Logo Badge Container */
.brand-logo-badge {
  width: 38px !important;
  height: 38px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 11px !important;
  overflow: hidden !important;
  clip-path: none !important;
  background: #080c16 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 4px 18px -2px rgba(229, 9, 20, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  flex-shrink: 0 !important;
  transform-origin: 50% 50% !important;
  transform-style: preserve-3d !important;
  will-change: transform, box-shadow !important;
  z-index: 1 !important;
  transition: border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.brand-logo-badge i,
.footer-logo-badge i {
  display: none !important;
}

.brand-logo-asset,
.footer-logo-asset {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 10px !important;
  pointer-events: none !important;
  transform-origin: 50% 50% !important;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease !important;
}

/* Glass Specular Sheen Sweep Flare */
.brand-logo-shine {
  position: absolute !important;
  top: -60% !important;
  left: -140% !important;
  width: 70% !important;
  height: 220% !important;
  background: linear-gradient(
    108deg,
    transparent 15%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 120, 140, 0.55) 65%,
    transparent 85%
  ) !important;
  transform: rotate(26deg) !important;
  pointer-events: none !important;
  opacity: 0 !important;
  z-index: 4 !important;
}

/* Neon Perimeter Highlight Ring */
.brand-logo-ring {
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  border: 1px solid transparent !important;
  box-shadow: inset 0 0 0 rgba(255, 45, 65, 0) !important;
  pointer-events: none !important;
  z-index: 5 !important;
  transition: all 0.35s ease !important;
}

/* Hover States & Keyframes */
.brand-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.68rem !important;
  text-decoration: none !important;
}

.brand-logo-link:hover .brand-logo-badge {
  border-color: rgba(255, 55, 75, 0.75) !important;
  box-shadow:
    0 10px 30px -4px rgba(229, 9, 20, 0.85),
    0 0 22px rgba(255, 32, 46, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

.brand-logo-link:hover .brand-logo-shine,
.footer-brand-lockup:hover .brand-logo-shine {
  opacity: 1 !important;
  animation: logoSpecularGlare 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.brand-logo-link:hover .brand-logo-ring,
.footer-brand-lockup:hover .brand-logo-ring {
  border-color: rgba(255, 75, 95, 0.9) !important;
  box-shadow: inset 0 0 12px rgba(229, 9, 20, 0.5) !important;
}

.brand-logo-link:hover .brand-logo-asset {
  transform: scale(1.06) !important;
  filter: brightness(1.1) contrast(1.06) !important;
}

/* Shimmer flare keyframe animation */
@keyframes logoSpecularGlare {
  0% {
    left: -140%;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    left: 175%;
    opacity: 0;
  }
}

/* Brand Name Text Glow on hover */
.brand-logo-link:hover .brand-name {
  text-shadow: 0 0 22px rgba(229, 9, 20, 0.55);
}

.brand-logo-link:hover .brand-name span {
  animation: shinyLogoSweep 2s linear infinite;
  filter: drop-shadow(0 0 10px rgba(255, 45, 65, 0.7));
}

/* Footer brand logo */
.footer-logo-badge {
  width: 44px !important;
  height: 44px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 13px !important;
  overflow: hidden !important;
  background: #080c16 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow:
    0 8px 24px rgba(229, 9, 20, 0.4),
    0 2px 10px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  transform-origin: 50% 50% !important;
  transform-style: preserve-3d !important;
  will-change: transform, box-shadow !important;
  z-index: 1 !important;
  transition: border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.footer-brand-lockup {
  cursor: pointer;
}

.footer-brand-lockup:hover .footer-logo-badge {
  border-color: rgba(255, 55, 75, 0.75) !important;
  box-shadow:
    0 12px 34px rgba(229, 9, 20, 0.8),
    0 0 24px rgba(255, 32, 46, 0.55) !important;
}

.footer-brand-lockup:hover .footer-logo-asset {
  transform: scale(1.06) !important;
  filter: brightness(1.1) contrast(1.06) !important;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .brand-logo-badge {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
  }
}

@media (max-width: 480px) {
  .brand-logo-badge {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }
}

/* ========================================================================== 
   SCULPTED EDITORIAL SHELVES + CINEMA APERTURE HERO
   ========================================================================== */

/* A lighter editorial divider replaces the boxed shelf banner. */
.rails-container .rail-section { padding-top: 48px; }
.rails-container .section-header {
  position: relative !important;
  min-height: 82px !important;
  margin-bottom: 22px !important;
  padding: 10px 0 17px 72px !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: end !important;
  gap: 24px !important;
  overflow: visible !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.085) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.rails-container .section-header::before {
  content: '';
  position: absolute;
  left: 72px;
  bottom: -1px;
  width: clamp(96px, 12vw, 190px);
  height: 1px;
  background: linear-gradient(90deg, var(--shelf-accent), transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--shelf-accent) 30%, transparent);
}
.rails-container .section-header::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 10px !important;
  bottom: auto !important;
  width: 44px !important;
  height: 1px !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, transparent, var(--shelf-accent)) !important;
  box-shadow: none !important;
}
.rails-container .shelf-number {
  position: absolute !important;
  left: 8px !important;
  bottom: 13px !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: transparent !important;
  background: transparent !important;
  font-family: var(--font-heading) !important;
  font-size: 42px !important;
  font-weight: 850 !important;
  line-height: .86 !important;
  letter-spacing: -.08em !important;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--shelf-accent) 45%, rgba(255,255,255,.08));
  opacity: .72;
}
.rails-container .section-title-wrap { gap: 5px !important; }
.rails-container .section-eyebrow {
  color: color-mix(in srgb, var(--shelf-accent) 72%, #b4bdca) !important;
  font-size: 9px !important;
  letter-spacing: .16em !important;
}
.rails-container .section-title {
  max-width: 760px;
  font-size: clamp(21px,1.7vw,29px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}
.rails-container .section-subtitle { font-size: 11px !important; }
.rails-container .section-subtitle span { padding-left: 12px; }
.rails-container .section-view-all {
  min-width: 0 !important;
  height: 36px !important;
  padding: 0 2px 0 14px !important;
  gap: 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #aeb8c8 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.rails-container .section-view-all::before,
.rails-container .section-view-all::after { display: none !important; }
.rails-container .section-view-all i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: var(--shelf-accent);
  background: rgba(255,255,255,.035);
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .25s, color .25s;
}
.rails-container .section-view-all:hover { color: #fff !important; transform: translateX(3px); }
.rails-container .section-view-all:hover i {
  color: #fff;
  background: var(--shelf-accent);
  transform: rotate(45deg);
}

/* The right side of the hero becomes a cinema aperture, with round previews. */
.cinema-gallery {
  height: 480px !important;
  perspective: none !important;
  transform-style: flat !important;
  isolation: isolate !important;
}
.cinema-gallery::before {
  width: 430px !important;
  height: 430px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 46%, rgba(255,255,255,.035) 46.3% 46.8%, transparent 47.1% 61%, rgba(255,71,95,.12) 61.3% 61.8%, transparent 62.1%),
    conic-gradient(from 20deg, transparent, rgba(255,255,255,.045), transparent 16%, transparent 43%, rgba(255,56,82,.11), transparent 58%) !important;
  filter: none !important;
  opacity: .9 !important;
  animation: apertureFloat 12s ease-in-out infinite alternate !important;
}
.cinema-gallery::after {
  bottom: 25px !important;
  width: 310px !important;
  height: 42px !important;
  background: radial-gradient(ellipse, rgba(239,24,54,.24), rgba(0,0,0,.66) 48%, transparent 72%) !important;
  filter: blur(15px) !important;
  transform: translateX(-50%) !important;
}
.cinema-spotlight-beam {
  top: 18px !important;
  right: -4% !important;
  left: auto !important;
  width: 440px !important;
  height: 390px !important;
  clip-path: polygon(100% 0, 18% 44%, 100% 100%);
  background: linear-gradient(150deg, rgba(110,193,255,.08), rgba(255,48,77,.09) 45%, transparent 78%) !important;
  filter: blur(18px) !important;
  opacity: .75 !important;
  transform: rotate(-4deg) !important;
  animation: projectorSweep 8s ease-in-out infinite alternate !important;
}
.cinema-spotlight-beam::after {
  content: '';
  position: absolute;
  inset: 16% 10%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.12) 48%, transparent 65%);
  filter: blur(12px);
  animation: beamShimmer 5.5s ease-in-out infinite alternate;
}
.cinema-orbit {
  width: 440px !important;
  height: 286px !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 50% !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  opacity: .58 !important;
  transform: rotate(-9deg);
  animation: apertureOrbit 18s linear infinite !important;
}
.cinema-orbit::before,
.cinema-orbit::after {
  content: '';
  position: absolute;
  inset: 27px;
  border: 1px dashed rgba(255,255,255,.055);
  border-radius: 50%;
}
.cinema-orbit::after { inset: 66px; border-style: solid; border-color: rgba(255,65,91,.12); }
.cinema-orbit span { width: 6px !important; height: 6px !important; }
.cinema-orbit span:nth-child(1) { left: 35px !important; top: 78px !important; }
.cinema-orbit span:nth-child(2) { right: 28px !important; top: 190px !important; }
.cinema-orbit span:nth-child(3) { left: 218px !important; bottom: -3px !important; }
.cinema-ghost-number {
  right: 3% !important;
  top: 18px !important;
  font-size: 154px !important;
  -webkit-text-stroke: 1px rgba(255,255,255,.045) !important;
}
.cinema-vault-label {
  top: 86px !important;
  right: auto !important;
  left: calc(50% - 260px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
.cinema-vault-label::after {
  content: '';
  width: 52px;
  height: 1px;
  margin-left: 3px;
  background: linear-gradient(90deg, rgba(255,81,105,.65), transparent);
}
.vault-seal-icon {
  width: 30px !important;
  height: 30px !important;
  border: 1px solid rgba(255,93,116,.28) !important;
  background: rgba(255,46,74,.08) !important;
}
.cinema-poster-shell {
  width: 272px !important;
  height: 400px !important;
  padding: 0 !important;
  border-radius: 146px 146px 34px 34px !important;
  background: transparent !important;
  box-shadow: 0 38px 82px -14px rgba(0,0,0,.92), 0 0 55px rgba(235,20,50,.16) !important;
  transform: translateY(-2px) !important;
  transition: transform .65s cubic-bezier(.16,1,.3,1), filter .5s, box-shadow .55s !important;
}
.cinema-poster-shell::before {
  content: '' !important;
  position: absolute !important;
  inset: -10px !important;
  z-index: -1 !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 156px 156px 44px 44px !important;
  background: linear-gradient(160deg, rgba(255,255,255,.055), transparent 42%, rgba(255,48,76,.07)) !important;
  clip-path: none !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025) !important;
}
.cinema-poster-shell::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 72px;
  height: 4px;
  border-radius: 50%;
  background: #ff3453;
  box-shadow: 0 0 20px #ff2446, -92px 0 0 -1px rgba(255,255,255,.08), 92px 0 0 -1px rgba(255,255,255,.08);
  transform: translateX(-50%);
}
.cinema-poster-shell:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 50px 100px -16px rgba(0,0,0,.96), 0 0 70px rgba(235,20,50,.25) !important;
}
.poster-aura-bloom {
  inset: -26px !important;
  border-radius: 50% 50% 28% 28% !important;
  background: radial-gradient(circle at 50% 44%, rgba(255,64,91,.2), transparent 63%) !important;
}
.cinema-poster {
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 140px 140px 29px 29px !important;
  box-shadow: inset 0 0 0 5px rgba(5,8,15,.72) !important;
}
.poster-glass-glare {
  background: linear-gradient(118deg, rgba(255,255,255,.18), transparent 20% 67%, rgba(255,61,88,.09)) !important;
}
.poster-top-bar { top: 23px !important; left: 24px !important; right: 24px !important; }
.cinema-poster-caption { padding: 88px 17px 17px !important; }
.cinema-wing {
  top: auto !important;
  bottom: 44px !important;
  width: 82px !important;
  height: 82px !important;
  border: 3px solid rgba(9,14,24,.94) !important;
  border-radius: 50% !important;
  filter: brightness(.66) saturate(.72) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 18px 38px rgba(0,0,0,.66) !important;
  overflow: visible !important;
}
.cinema-wing-left {
  left: calc(50% - 202px) !important;
  transform: none !important;
}
.cinema-wing-right {
  right: calc(50% - 202px) !important;
  transform: none !important;
}
.wing-inner { border-radius: 50%; overflow: hidden; }
.wing-inner img { border-radius: 50%; transform: scale(1.08); }
.wing-overlay { border-radius: 50%; background: linear-gradient(0deg, rgba(6,10,18,.66), transparent 68%) !important; }
.wing-badge,
.cinema-wing-left .wing-badge,
.cinema-wing-right .wing-badge {
  left: 50% !important;
  right: auto !important;
  bottom: -27px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #8e9aab !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  transform: translateX(-50%);
}
.cinema-wing:hover,
.cinema-wing-left:hover,
.cinema-wing-right:hover {
  z-index: 9 !important;
  filter: brightness(1.03) saturate(1.04) !important;
  border-color: rgba(255,73,101,.84) !important;
  box-shadow: 0 0 0 5px rgba(255,45,75,.08), 0 22px 42px rgba(0,0,0,.75) !important;
  transform: translateY(-10px) scale(1.08) !important;
}
.cinema-wing:hover .wing-inner img { transform: scale(1.18); }
.cinema-gallery-note { bottom: -1px !important; }
.note-pill {
  padding: 0 10px !important;
  border: 0 !important;
  color: #66748a !important;
  background: transparent !important;
  backdrop-filter: none !important;
  letter-spacing: .17em !important;
}
.cinema-gallery-line { flex-basis: 44px !important; }

@keyframes apertureFloat {
  0% { transform: translate3d(-5px,-3px,0) rotate(-2deg); }
  100% { transform: translate3d(7px,5px,0) rotate(2deg); }
}
@keyframes apertureOrbit { to { transform: rotate(351deg); } }
@keyframes projectorSweep {
  0% { clip-path: polygon(100% 0, 22% 45%, 100% 96%); }
  100% { clip-path: polygon(100% 5%, 12% 43%, 100% 100%); }
}
@keyframes beamShimmer {
  0% { opacity: .22; transform: translateX(-16%) skewX(-8deg); }
  100% { opacity: .72; transform: translateX(18%) skewX(6deg); }
}

@media (max-width: 760px) {
  .rails-container .rail-section { padding-top: 36px; }
  .rails-container .section-header {
    min-height: 78px !important;
    padding: 8px 0 14px 54px !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 8px !important;
  }
  .rails-container .section-header::before { left: 54px; }
  .rails-container .section-header::after { width: 32px !important; }
  .rails-container .shelf-number { left: 3px !important; bottom: 16px !important; font-size: 31px !important; }
  .rails-container .section-title { font-size: 19px !important; }
  .rails-container .section-subtitle { font-size: 9px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rails-container .section-view-all { grid-column: auto !important; grid-row: 1; align-self: center; justify-self: end; padding-left: 5px !important; }
  .rails-container .section-view-all span { display: none; }
  .rails-container .section-view-all i { width: 30px; height: 30px; }

  .cinema-gallery { height: 342px !important; margin: -5px 0 -5px !important; transform: none !important; }
  .cinema-gallery::before { width: 306px !important; height: 306px !important; }
  .cinema-gallery::after { bottom: 22px !important; width: 226px !important; }
  .cinema-spotlight-beam { right: -24% !important; width: 340px !important; height: 300px !important; }
  .cinema-orbit { width: 320px !important; height: 214px !important; }
  .cinema-ghost-number { top: 12px !important; right: 1% !important; font-size: 104px !important; }
  .cinema-vault-label { display: none !important; }
  .cinema-poster-shell { width: 202px !important; height: 298px !important; border-radius: 108px 108px 25px 25px !important; }
  .cinema-poster-shell::before { border-radius: 118px 118px 34px 34px !important; }
  .cinema-poster { border-radius: 104px 104px 21px 21px !important; }
  .poster-top-bar { top: 18px !important; left: 17px !important; right: 17px !important; }
  .poster-live-tag { display: none !important; }
  .cinema-poster-caption { padding: 64px 13px 13px !important; }
  .caption-eyebrow small { font-size: 6.5px !important; }
  .caption-details strong { font-size: 13px !important; }
  .cinema-poster-play { width: 42px !important; height: 42px !important; flex-basis: 42px !important; }
  .play-gem { width: 40px !important; height: 40px !important; }
  .cinema-wing { bottom: 35px !important; width: 62px !important; height: 62px !important; }
  .cinema-wing-left { left: calc(50% - 151px) !important; }
  .cinema-wing-right { right: calc(50% - 151px) !important; }
  .cinema-gallery-note { display: none !important; }
}

@media (max-width: 390px) {
  .cinema-gallery { height: 316px !important; }
  .cinema-poster-shell { width: 188px !important; height: 278px !important; }
  .cinema-wing-left { left: calc(50% - 137px) !important; }
  .cinema-wing-right { right: calc(50% - 137px) !important; }
  .cinema-vault-label { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-gallery::before,
  .cinema-orbit,
  .cinema-spotlight-beam,
  .cinema-spotlight-beam::after { animation: none !important; }
}

.catalog-loading-state {
  grid-column: 1 / -1;
  min-height: 18rem;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .85rem;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: .01em;
}

.catalog-loading-state i {
  color: var(--accent-red);
  font-size: 1.65rem;
}

/* ==========================================================================
   1. HERO APERTURE & POSTER UI/UX FIX (IMAGE 1)
   ========================================================================== */
.cinema-poster-shell {
  width: 280px !important;
  height: 415px !important;
  padding: 0 !important;
  border-radius: 20px !important;
  background: transparent !important;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.9), 0 0 45px rgba(229, 9, 20, 0.18) !important;
  transform: translateY(-2px) !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease !important;
}

.cinema-poster-shell::before {
  content: '' !important;
  position: absolute !important;
  inset: -8px !important;
  z-index: -1 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 26px !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 45%, rgba(229, 9, 20, 0.07)) !important;
  clip-path: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
}

.cinema-poster-shell::after {
  display: none !important;
}

.cinema-poster-shell:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 40px 85px -10px rgba(0, 0, 0, 0.95), 0 0 65px rgba(229, 9, 20, 0.3) !important;
}

.cinema-poster {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

.cinema-poster-image {
  border-radius: 18px !important;
  object-fit: cover !important;
}

/* Fix overlapping badges on movie title */
.poster-top-bar {
  top: 12px !important;
  left: 12px !important;
  right: 12px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 6 !important;
}

.cinema-poster-quality {
  position: static !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  background: rgba(8, 12, 22, 0.82) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.poster-live-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  background: rgba(8, 12, 22, 0.82) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.poster-live-tag .live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
}

/* Remove clashing vault label and line */
.cinema-vault-label {
  display: none !important;
}

.cinema-orbit {
  opacity: 0.22 !important;
}

/* Modern clean preview wings (cards instead of cut-off circles) */
.cinema-wing {
  width: 92px !important;
  height: 138px !important;
  border-radius: 12px !important;
  bottom: 28px !important;
  top: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7) !important;
  opacity: 0.6 !important;
  filter: brightness(0.65) saturate(0.8) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}

.cinema-wing:hover {
  opacity: 1 !important;
  filter: brightness(1) saturate(1) !important;
  transform: translateY(-8px) scale(1.05) !important;
  z-index: 10 !important;
}

.cinema-wing-left {
  left: calc(50% - 235px) !important;
  transform: rotate(-3deg) !important;
}

.cinema-wing-right {
  right: calc(50% - 235px) !important;
  transform: rotate(3deg) !important;
}

.wing-inner, .wing-inner img {
  border-radius: 11px !important;
  transform: none !important;
}

/* ==========================================================================
   2. REMOVE MARKED LINE & BOTTOM DIVIDER FROM SHELF (IMAGE 2)
   ========================================================================== */
.rails-container .section-header::after {
  display: none !important; /* Removes the marked floating red line in green box */
}

.rails-container .section-header::before {
  display: none !important; /* Removes the bottom red gradient divider */
}

.rails-container .section-header {
  border-bottom: none !important; /* Removes the bottom divider line */
  padding-top: 10px !important;
}

/* ==========================================================================
   3. REMOVE FOOTER ("NICHER OITA DORKAR NAI" - IMAGE 3)
   ========================================================================== */
.site-footer {
  display: none !important; /* Completely hides the unwanted footer section */
}

/* Minimal subtle bottom margin for clean spacing after catalog */
.movies-grid-section {
  padding-bottom: 60px !important;
}

/* ==========================================================================
   4. RECREATED: FULL COMPLETE EXPLORE COLLECTION BUTTON (IMAGE 5)
   ========================================================================== */
.rails-container .section-view-all {
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 38px !important;
  padding: 0 12px 0 16px !important;
  background: linear-gradient(135deg, rgba(25, 32, 48, 0.88), rgba(13, 17, 26, 0.94)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  color: #cbd5e1 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Animated shimmer sweep */
.rails-container .section-view-all .view-all-shimmer {
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transform: skewX(-20deg) !important;
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
}

.rails-container .section-view-all .view-all-label {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
}

.rails-container .section-view-all .view-all-arrow-chip {
  width: 26px !important;
  height: 26px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
}

.rails-container .section-view-all .view-all-arrow-chip i {
  font-size: 13px !important;
  color: #38bdf8 !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease !important;
}

/* Ultra-Satisfying Hover State */
.rails-container .section-view-all:hover {
  transform: translateY(-2px) scale(1.02) !important;
  background: linear-gradient(135deg, rgba(34, 46, 70, 0.95), rgba(18, 25, 40, 0.98)) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.28), 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.rails-container .section-view-all:hover .view-all-shimmer {
  left: 140% !important;
}

.rails-container .section-view-all:hover .view-all-label {
  color: #fff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
}

.rails-container .section-view-all:hover .view-all-arrow-chip {
  background: #38bdf8 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.65) !important;
}

.rails-container .section-view-all:hover .view-all-arrow-chip i {
  color: #070e1b !important;
  transform: translate(1.5px, -1.5px) scale(1.15) !important;
}

.rails-container .section-view-all:active {
  transform: translateY(0) scale(0.97) !important;
}

/* ==========================================================================
   5. LOAD MORE BUTTON: FRESH, ULTRA-SATISFYING HOVER EFFECT (IMAGE 4)
   ========================================================================= */
.load-more-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 36px 0 24px !important;
}

/* ==========================================================================
   6. VIDEO PLAYER MODAL 3 BUTTONS: NEW VIBRANT HOVER EFFECTS (IMAGE 4)
   ========================================================================== */
.cinema-modal-header .btn-player-download,
.cinema-modal-header .btn-player-vlc,
.cinema-modal-header .btn-player-potplayer {
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 15px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
  gap: 7px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Download button - Radiant Ruby Sheen with Bouncing Arrow */
.cinema-modal-header .btn-player-download {
  background: linear-gradient(135deg, #e50914 0%, #b80811 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(229, 9, 20, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.cinema-modal-header .btn-player-download i {
  font-size: 15px !important;
  color: #fff !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.cinema-modal-header .btn-player-download:hover {
  background: linear-gradient(135deg, #ff1a26 0%, #cc0a14 100%) !important;
  box-shadow: 0 0 22px rgba(229, 9, 20, 0.7), 0 8px 24px rgba(229, 9, 20, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-2.5px) scale(1.03) !important;
  color: #fff !important;
}

.cinema-modal-header .btn-player-download:hover i {
  transform: translateY(2px) scale(1.15) !important;
}

/* VLC button - Warm Amber Aura with TV Micro-Tilt */
.cinema-modal-header .btn-player-vlc {
  background: linear-gradient(145deg, rgba(28, 34, 48, 0.9), rgba(16, 21, 30, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.cinema-modal-header .btn-player-vlc i {
  font-size: 15px !important;
  color: #f97316 !important;
  filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.4)) !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.cinema-modal-header .btn-player-vlc:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(30, 22, 16, 0.96)) !important;
  border-color: #f97316 !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.45), 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2.5px) scale(1.03) !important;
}

.cinema-modal-header .btn-player-vlc:hover i {
  transform: scale(1.22) rotate(-5deg) !important;
  filter: drop-shadow(0 0 8px #f97316) !important;
}

/* PotPlayer button - Neon Cyan Aura with Film Micro-Tilt */
.cinema-modal-header .btn-player-potplayer {
  background: linear-gradient(145deg, rgba(28, 34, 48, 0.9), rgba(16, 21, 30, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.cinema-modal-header .btn-player-potplayer i {
  font-size: 15px !important;
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.4)) !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.cinema-modal-header .btn-player-potplayer:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(16, 26, 38, 0.96)) !important;
  border-color: #38bdf8 !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45), 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2.5px) scale(1.03) !important;
}

.cinema-modal-header .btn-player-potplayer:hover i {
  transform: scale(1.22) rotate(5deg) !important;
  filter: drop-shadow(0 0 8px #38bdf8) !important;
}

.cinema-modal-header .btn-player-download:active,
.cinema-modal-header .btn-player-vlc:active,
.cinema-modal-header .btn-player-potplayer:active {
  transform: translateY(0) scale(0.97) !important;
}

/* ==========================================================================
   1. MINIMAL, SATISFYING & ULTRA-CLEAN CINEMA LOADER
   ========================================================================== */

.player-loader {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.35rem !important;
  background: radial-gradient(circle at center, rgba(14, 18, 28, 0.94) 0%, rgba(6, 8, 14, 0.98) 100%) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  z-index: 45 !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
  user-select: none !important;
}

.player-loader.hidden {
  opacity: 0 !important;
  transform: scale(1.03) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.cinema-minimal-spinner {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.minimal-spinner-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.minimal-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #e50914;
  border-right-color: #ff3848;
  filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.75));
  animation: minimalSpin 0.92s cubic-bezier(0.5, 0.15, 0.25, 1) infinite;
}

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

.minimal-spinner-core {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), rgba(18, 24, 36, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.minimal-play-icon {
  font-size: 1.15rem;
  color: #ffffff;
  margin-left: 2px;
  animation: minimalHeartbeat 1.8s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

@keyframes minimalHeartbeat {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 8px rgba(229, 9, 20, 0.7)); }
}

.minimal-loader-label {
  display: flex;
  align-items: center;
  gap: 3px;
}

.minimal-loader-label .loader-text {
  font-family: var(--font-display, 'Outfit', -apple-system, sans-serif) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #cbd5e1 !important;
}

.minimal-dots span {
  color: #e50914;
  font-weight: 800;
  font-size: 1.1rem;
  animation: dotPulse 1.4s infinite;
  opacity: 0;
}

.minimal-dots span:nth-child(1) { animation-delay: 0s; }
.minimal-dots span:nth-child(2) { animation-delay: 0.25s; }
.minimal-dots span:nth-child(3) { animation-delay: 0.5s; }

@keyframes dotPulse {
  0%, 20% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* ==========================================================================
   2. SHELF HEADER NUMBER GAP FIX & MATCHING PROPORTIONS (IMAGE 1)
   ========================================================================== */
.rails-container .section-header {
  position: relative !important;
  padding: 8px 0 14px 84px !important;
  min-height: 74px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.rails-container .shelf-number {
  position: absolute !important;
  left: 4px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-heading, var(--font-display)) !important;
  font-size: 60px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -0.06em !important;
  color: rgba(255, 255, 255, 0.05) !important;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--shelf-accent, #e50914) 65%, rgba(255, 255, 255, 0.25)) !important;
  opacity: 0.85 !important;
  pointer-events: none !important;
  user-select: none !important;
}

.rails-container .section-title-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 3px !important;
}

/* ==========================================================================
   3. CLEAN & UNBROKEN EXPLORE COLLECTION BUTTON (IMAGE 2)
   ========================================================================== */
.rails-container .section-view-all {
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 38px !important;
  padding: 0 14px 0 18px !important;
  background: linear-gradient(135deg, rgba(28, 36, 52, 0.9), rgba(15, 20, 32, 0.96)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  color: #e2e8f0 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
}

.rails-container .section-view-all .view-all-label {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}

.rails-container .section-view-all .view-all-arrow-chip {
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(56, 189, 248, 0.16) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Reset conflicting nested styles on icon */
.rails-container .section-view-all i,
.rails-container .section-view-all .view-all-arrow-chip i {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 13px !important;
  color: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.rails-container .section-view-all:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: rgba(56, 189, 248, 0.55) !important;
  background: linear-gradient(135deg, rgba(34, 46, 70, 0.95), rgba(18, 25, 40, 0.98)) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3), 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.rails-container .section-view-all:hover .view-all-label {
  color: #ffffff !important;
}

.rails-container .section-view-all:hover .view-all-arrow-chip {
  background: #38bdf8 !important;
  border-color: #38bdf8 !important;
  color: #070e1b !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7) !important;
}

.rails-container .section-view-all:hover .view-all-arrow-chip i {
  transform: translate(1px, -1px) scale(1.1) !important;
  background: transparent !important;
  color: #070e1b !important;
}

.rails-container .section-view-all:active {
  transform: translateY(0) scale(0.97) !important;
}

/* ==========================================================================
   4. ULTRA-SMOOTH, NON-LAGGY RAIL HORIZONTAL SWIPING
   ========================================================================== */
.rail-carousel,
.anime-carousel {
  scroll-behavior: smooth !important;
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-inline: contain !important;
  will-change: scroll-position;
  cursor: grab;
}

.rail-carousel.is-dragging,
.anime-carousel.is-dragging {
  cursor: grabbing !important;
  user-select: none !important;
  scroll-behavior: auto !important;
}

.rail-carousel > *,
.anime-carousel > * {
  scroll-snap-align: none !important;
}

/* ==========================================================================
   5. 7 CARDS PER ROW & SMART SIZING
   ========================================================================== */
@media (min-width: 1360px) {
  .movies-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (min-width: 1080px) and (max-width: 1359px) {
  .movies-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (min-width: 768px) and (max-width: 1079px) {
  .movies-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

/* Smartly proportioned shelf rail cards */
.rail-carousel,
.anime-carousel {
  grid-auto-columns: clamp(195px, 13.5vw, 235px) !important;
  gap: 16px !important;
}

/* ==========================================================================
   6. ELEVATED, BUTTERY CARD HOVER TRANSITIONS
   ========================================================================== */
.movie-card,
.game-card {
  position: relative;
  border-radius: 18px !important;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease !important;
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.movie-card:hover,
.game-card:hover {
  z-index: 6;
  transform: translateY(-8px) scale(1.025) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.75), 0 0 25px rgba(229, 9, 20, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.movie-card .card-poster,
.game-card .card-poster {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.38s ease !important;
  will-change: transform;
}

.movie-card:hover .card-poster,
.game-card:hover .card-poster {
  transform: scale(1.065) !important;
  filter: saturate(1.1) brightness(1.04) contrast(1.04) !important;
}

/* ==========================================================================
   7. LOAD MORE BUTTON (CLEAN NORMAL BASIC BUTTON)
   ========================================================================== */
.load-more-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 36px 0 48px 0 !important;
  width: 100% !important;
  min-height: auto !important;
}

.btn-load-more {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 10px 24px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: none !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
  user-select: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-load-more::before,
.btn-load-more::after {
  display: none !important;
}

.btn-load-more:hover {
  background: rgba(229, 9, 20, 0.16) !important;
  border-color: rgba(229, 9, 20, 0.45) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.25) !important;
  transform: translateY(-2px) !important;
}

.btn-load-more:active {
  transform: translateY(0) scale(0.98) !important;
}

.btn-load-more i {
  font-size: 16px !important;
  color: #ff3b47 !important;
  line-height: 1 !important;
  display: inline-block !important;
  transition: transform 0.2s ease !important;
}

.btn-load-more:hover i:not(.spin) {
  transform: translateY(1px) !important;
}

.btn-load-more .load-main-text {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.btn-load-more .load-badge-text {
  font-size: 11.5px !important;
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-load-more.loading {
  pointer-events: none !important;
  opacity: 0.75 !important;
}

.btn-load-more.loading i {
  animation: spin 1s linear infinite !important;
}

/* ==========================================================================
   8. REMOVE RED-MARKED HERO BADGES & READY-TO-PLAY
   ========================================================================== */
#heroSyncStatus,
.cinema-live,
.poster-live-tag,
.live-stream-tag {
  display: none !important;
}

/* ==========================================================================
   9. CLEAN & INTUITIVE VIDEO PLAYER SEEK BUTTONS (REWIND & FORWARD)
   ========================================================================== */
.skip-btn {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1.5px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  position: relative !important;
}

.skip-btn i {
  font-size: 14px !important;
  line-height: 1 !important;
  color: #d1d5db !important;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease !important;
  pointer-events: none !important;
}

.skip-btn .skip-tag {
  font-family: var(--font-display, 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  line-height: 1 !important;
  color: #94a3b8 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  pointer-events: none !important;
}

.skip-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

.skip-btn#ctrlRewindBtn:hover i {
  color: #ffffff !important;
  transform: translateX(-2.5px) !important;
}

.skip-btn#ctrlForwardBtn:hover i {
  color: #ffffff !important;
  transform: translateX(2.5px) !important;
}

.skip-btn:hover .skip-tag {
  color: #ff3b47 !important;
}

.skip-btn:active {
  transform: scale(0.93) !important;
}

/* ==========================================================================
   10. WEB SERIES CARD POLISH & EMPTY SIZE ELIMINATION
   ========================================================================== */
.card-size:empty {
  display: none !important;
}

.card-meta {
  gap: 4px !important;
}

.card-size.card-series-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 2px 5.5px !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.22) !important;
  border-radius: 5px !important;
  font-size: 8px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.card-size.card-series-badge i {
  font-size: 9.5px !important;
  line-height: 1 !important;
  color: #38bdf8 !important;
  transition: transform 0.2s ease !important;
}

.movie-card:hover .card-size.card-series-badge {
  background: rgba(56, 189, 248, 0.16) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  color: #7dd3fc !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25) !important;
}

.movie-card:hover .card-size.card-series-badge i {
  transform: scale(1.15) !important;
}


