/* ==========================================================================
   NETFLIX-STYLE COMPONENTS - FLIXWATCH
   Design Language: Netflix UI 2024
   Palette: #E50914 (red), #141414 (bg), #000 (black), #fff (white)
   ========================================================================== */

/* ==========================================================================
   NETFLIX DESIGN TOKENS (local fallbacks)
   ========================================================================== */
:root {
  --nf-red:        #E50914;
  --nf-red-hover:  #F40612;
  --nf-red-dark:   #B20710;
  --nf-black:      #000000;
  --nf-bg:         #141414;
  --nf-surface:    #1a1a1a;
  --nf-surface2:   #222222;
  --nf-border:     #333333;
  --nf-white:      #FFFFFF;
  --nf-text:       #E5E5E5;
  --nf-text-dim:   #B3B3B3;
  --nf-text-muted: #808080;
  --nf-green:      #46D369;
  --nf-yellow:     #FFBE0B;
  --nf-trans-fast: 200ms ease;
  --nf-trans-norm: 350ms ease;
}

/* ==========================================================================
   1. SITE HEADER — Netflix fixed nav
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  height: 68px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, transparent 100%);
  transition: background var(--nf-trans-norm);
}

body.scrolled .site-header,
.site-header.scrolled {
  background: #000000;
}

.site-logo,
.site-header .logo {
  font-family: 'Arial Black', 'Impact', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--nf-red);
  letter-spacing: -0.02em;
  text-decoration: none;
  user-select: none;
}

.site-nav,
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a,
.header-nav a,
.nav-link {
  color: var(--nf-text);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--nf-trans-fast);
}

.site-nav a:hover,
.header-nav a:hover,
.nav-link:hover {
  color: var(--nf-text-dim);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   2. SEARCH — Netflix icon + modal
   ========================================================================== */

.search-trigger-btn {
  background: none;
  border: none;
  color: var(--nf-text);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--nf-trans-fast);
}

.search-trigger-btn:hover {
  color: var(--nf-white);
}

/* Country Selector */
.country-selector-wrap {
  position: relative;
  display: inline-block;
}

.country-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--nf-white);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--nf-trans-fast);
  white-space: nowrap;
}

.country-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--nf-red);
}

.country-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95);
  min-width: 170px;
  z-index: 2100;
  display: none !important;
  flex-direction: column;
  overflow: hidden;
  padding: 4px 0;
}

.country-dropdown.open {
  display: flex !important;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  width: 100%;
  font-size: 0.85rem;
  color: var(--nf-text);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all var(--nf-trans-fast);
}

.country-option:hover,
.country-option.selected {
  background: #282828;
  color: var(--nf-red);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--nf-text);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--nf-trans-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--nf-red);
  color: var(--nf-white);
  background: rgba(255, 255, 255, 0.18);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--nf-white);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0;
  transition: all var(--nf-trans-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--nf-red);
}

#search-modal,
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 20px 16px;
}

#search-modal.open,
.search-modal.open,
#search-modal.active,
.search-modal.active {
  display: flex !important;
}

.search-dialog {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85);
  width: 100%;
  max-width: 650px;
  overflow: hidden;
  animation: modalSlide 180ms ease-out;
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--nf-border);
  padding: 14px 20px;
  gap: 14px;
}

.search-input,
#search-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.15rem;
  color: var(--nf-white);
  font-family: inherit;
  outline: none;
}

.search-input::placeholder,
#search-input::placeholder {
  color: var(--nf-text-muted);
}

.search-close-btn {
  background: none;
  border: none;
  color: var(--nf-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
}
.search-close-btn:hover {
  color: var(--nf-white);
}

.search-results-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px 0;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: var(--nf-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--nf-trans-fast);
}

.search-item:hover {
  background: var(--nf-surface2);
}

.search-item-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.search-item-meta {
  font-size: 0.75rem;
  color: var(--nf-text-dim);
}

/* ==========================================================================
   3. HERO / BANNER — Netflix full-bleed
   ========================================================================== */

.hero-banner,
.movie-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}

/* Left-to-right gradient + bottom fade */
.hero-banner::before,
.movie-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 50%, transparent 100%),
    linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4%;
  max-width: 640px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--nf-white);
  line-height: 1.1;
  margin: 0 0 12px 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-description {
  font-size: 1rem;
  color: var(--nf-text);
  line-height: 1.55;
  margin: 0 0 20px 0;
  max-width: 480px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.hero-genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-genre-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nf-text-dim);
  border: 1px solid var(--nf-text-muted);
  border-radius: 2px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   4. BUTTONS — Netflix primary / secondary
   ========================================================================== */

.btn-nf-primary,
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nf-white);
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--nf-trans-fast), color var(--nf-trans-fast);
  white-space: nowrap;
}

.btn-nf-primary:hover,
.btn-play:hover {
  background: rgba(255,255,255,0.75);
  color: #000;
}

.btn-nf-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nf-red);
  color: var(--nf-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--nf-trans-fast);
  white-space: nowrap;
}

.btn-nf-red:hover {
  background: var(--nf-red-hover);
  color: var(--nf-white);
}

.btn-nf-secondary,
.btn-more-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.25);
  color: var(--nf-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--nf-trans-fast);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.btn-nf-secondary:hover,
.btn-more-info:hover {
  background: rgba(255,255,255,0.15);
  color: var(--nf-white);
}

/* ==========================================================================
   5. ROW / CAROUSEL SECTION — Netflix horizontal rows
   ========================================================================== */

.movie-row,
.content-row {
  margin: 0 0 3vw 0;
  padding: 0 4%;
  position: relative;
}

.row-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.row-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nf-white);
  letter-spacing: 0.01em;
}

.row-see-all {
  font-size: 0.85rem;
  color: var(--nf-red);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--nf-trans-fast);
}

.row-see-all:hover {
  color: var(--nf-text);
}

.row-cards {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.row-cards::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   6. MOVIE GRID — Netflix tile grid layout
   ========================================================================== */

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px;
  margin: 8px 0 32px 0;
}

/* ==========================================================================
   7. MOVIE CARD — Netflix thumbnail with hover panel
   ========================================================================== */

.movie-card {
  position: relative;
  border-radius: 4px;
  overflow: visible;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 160px;
  transition: transform var(--nf-trans-fast), z-index 0s;
  cursor: pointer;
  z-index: 1;
}

.movie-card:hover {
  transform: scale(1.05) translateY(-4px);
  z-index: 10;
}

/* Poster wrapper */
.card-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--nf-surface);
}

.card-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  border: none;
  transition: opacity var(--nf-trans-fast);
}

/* Dark overlay on poster */
.card-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--nf-trans-fast);
  border-radius: 4px;
}

.movie-card:hover .card-poster-wrap::after {
  opacity: 1;
}

/* Platform badge — top-right, hidden until hover */
.card-stream-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 3px;
  z-index: 3;
  opacity: 0;
  transition: opacity var(--nf-trans-fast);
}

.movie-card:hover .card-stream-badge {
  opacity: 1;
}

/* Card info — hidden by default, shown on hover */
.movie-card-info {
  position: absolute;
  bottom: -90px;
  left: 0;
  right: 0;
  background: var(--nf-surface);
  border-radius: 0 0 4px 4px;
  padding: 10px 10px 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--nf-trans-fast);
  z-index: 9;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
}

.movie-card:hover .movie-card-info {
  opacity: 1;
  pointer-events: auto;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nf-white);
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 0.7rem;
  color: var(--nf-text-dim);
  margin: 0;
}

/* typographic poster fallback */
.typographic-poster {
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #111 0%, #2a1a1a 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: 4px;
}

.poster-year {
  font-size: 0.7rem;
  color: var(--nf-red);
  font-weight: 700;
  font-family: monospace;
}

.poster-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nf-white);
  line-height: 1.2;
}

.poster-badge {
  font-size: 0.6rem;
  text-transform: uppercase;
  background: rgba(0,0,0,0.6);
  color: var(--nf-text-muted);
  padding: 2px 6px;
  border-radius: 2px;
  align-self: flex-start;
}

/* ==========================================================================
   8. OFFER BADGES — Netflix solid pill colors
   ========================================================================== */

.offer-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  border: none;
  white-space: nowrap;
}

.badge-sub {
  background: var(--nf-green);
  color: #000000;
  border: none;
}

.badge-rent {
  background: var(--nf-yellow);
  color: #000000;
  border: none;
}

.badge-buy {
  background: #4A90D9;
  color: #ffffff;
  border: none;
}

.badge-free {
  background: #FFFFFF;
  color: #000000;
  border: none;
}

.badge-theatrical {
  background: var(--nf-red);
  color: #ffffff;
  border: none;
}

/* ==========================================================================
   9. THE SLATE (Clapperboard Header Strip)
   ========================================================================== */

.slate-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: none;
  border-left: 3px solid var(--nf-red);
  border-radius: 0 2px 2px 0;
  padding: 8px 14px;
  margin-bottom: 24px;
  font-family: monospace;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.slate-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slate-item:not(:last-child)::after {
  content: "/";
  color: var(--nf-border);
  margin-left: 6px;
}

.slate-tag {
  color: var(--nf-red);
  font-weight: 700;
  text-transform: uppercase;
}

.slate-val {
  color: var(--nf-text);
  font-weight: 500;
}

/* ==========================================================================
   10. THE TICKET (Where to Watch Module)
   ========================================================================== */

.ticket-wrapper {
  margin: 32px 0 40px 0;
  position: relative;
}

.ticket-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-header-title {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nf-red);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticket-country-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.pill-country-btn {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  color: var(--nf-text-dim);
  padding: 3px 10px;
  border-radius: 2px;
  font-family: monospace;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all var(--nf-trans-fast);
}

.pill-country-btn:hover,
.pill-country-btn.active {
  background: var(--nf-red);
  color: #fff;
  border-color: var(--nf-red);
  font-weight: 700;
}

/* Ticket Stub */
.ticket-stub {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.ticket-stub::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 219px;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--nf-border) 0px,
    var(--nf-border) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 5;
}

.ticket-stamp-col {
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.stamp-box {
  border: 1px solid var(--nf-green);
  background: rgba(70,211,105,0.08);
  border-radius: 3px;
  padding: 10px 12px;
  text-align: center;
  margin-bottom: 16px;
}

.stamp-box.upcoming {
  border-color: var(--nf-red);
  background: rgba(229,9,20,0.08);
}

.stamp-status {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nf-green);
  display: block;
}

.stamp-box.upcoming .stamp-status {
  color: var(--nf-red);
}

.stamp-country {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nf-white);
  margin: 4px 0 2px 0;
}

.stamp-date {
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--nf-text-muted);
}

.stamp-verdict-text {
  font-size: 0.85rem;
  color: var(--nf-text);
  line-height: 1.4;
  margin-bottom: 12px;
  font-weight: 500;
}

.ticket-meta-footer {
  margin-top: auto;
  font-family: monospace;
  font-size: 0.68rem;
  color: var(--nf-text-muted);
}

.ticket-meta-footer a {
  color: var(--nf-text-dim);
  text-decoration: underline;
}

/* Right Ledger Column */
.ticket-ledger-col {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ledger-empty {
  color: var(--nf-text-muted);
  font-style: italic;
  font-size: 0.9rem;
  padding: 16px 0;
}

.ledger-row {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--nf-bg);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  gap: 12px;
  transition: border-color var(--nf-trans-fast);
}

.ledger-row:hover {
  border-color: #555;
}

.provider-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nf-white);
  min-width: 130px;
}

.dotted-leader {
  flex: 1;
  border-bottom: 1px dotted var(--nf-border);
  margin: 0 4px;
}

.ledger-price {
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--nf-text-dim);
}

.ledger-action-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nf-white);
  background: var(--nf-red);
  padding: 6px 14px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: background var(--nf-trans-fast);
  border: none;
}

.ledger-action-btn:hover {
  background: var(--nf-red-hover);
  color: var(--nf-white);
  text-decoration: none;
}

/* ==========================================================================
   11. TRAILER PANEL
   ========================================================================== */

.trailer-panel {
  margin: 32px 0;
  background: #000;
  border: none;
  border-radius: 4px;
  overflow: hidden;
}

.trailer-facade-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trailer-backdrop-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity var(--nf-trans-norm);
}

.trailer-facade-container:hover .trailer-backdrop-img {
  opacity: 0.8;
}

.trailer-play-button {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  background: var(--nf-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
  transition: transform var(--nf-trans-fast), background var(--nf-trans-fast);
}

.trailer-facade-container:hover .trailer-play-button {
  transform: scale(1.1);
  background: var(--nf-red-hover);
}

.trailer-caption-bar {
  padding: 10px 16px;
  font-size: 0.73rem;
  color: var(--nf-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nf-surface);
  border-top: 1px solid var(--nf-border);
}

.trailer-caption-bar a {
  color: var(--nf-red);
  text-decoration: none;
}

.trailer-caption-bar a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   12. MOVIE PROFILE LAYOUT & FACTS CARD
   ========================================================================== */

.movie-page-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}

.movie-main-col {
  min-width: 0;
}

.movie-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.facts-card {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 4px;
  padding: 20px;
}

.facts-card h3 {
  font-family: monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nf-red);
  margin-top: 0;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--nf-border);
  padding-bottom: 8px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.fact-label {
  color: var(--nf-text-muted);
  font-family: monospace;
  font-size: 0.75rem;
}

.fact-val {
  font-weight: 600;
  color: var(--nf-text);
  text-align: right;
  max-width: 65%;
}

/* Sidebar poster */
.sidebar-poster-box {
  border-radius: 4px;
  overflow: hidden;
  border: none;
  margin-bottom: 16px;
}

.sidebar-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

/* Cast Grid */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.cast-chip {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  padding: 8px 12px;
  border-radius: 3px;
  font-size: 0.85rem;
  transition: border-color var(--nf-trans-fast);
}

.cast-chip:hover {
  border-color: #555;
}

.cast-actor {
  font-weight: 700;
  color: var(--nf-white);
  display: block;
}

.cast-role {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--nf-text-muted);
  display: block;
}

/* ==========================================================================
   13. WATCH ORDER TIMELINE
   ========================================================================== */

.order-tabs-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  color: var(--nf-text-dim);
  padding: 8px 18px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--nf-trans-fast);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--nf-red);
  color: #fff;
  border-color: var(--nf-red);
}

.timeline-track {
  position: relative;
  padding-left: 48px;
  margin: 24px 0;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 19px;
  width: 2px;
  background: var(--nf-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  padding: 16px;
  transition: border-color var(--nf-trans-fast);
}

.timeline-item:hover {
  border-color: var(--nf-red);
}

.frame-marker {
  position: absolute;
  left: -48px;
  top: 14px;
  width: 36px;
  height: 26px;
  background: #000;
  border: 2px solid var(--nf-red);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--nf-red);
  z-index: 2;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nf-white);
}

.timeline-year {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--nf-text-muted);
}

.timeline-note {
  font-size: 0.85rem;
  color: var(--nf-text-dim);
  margin-bottom: 0;
}

/* ==========================================================================
   14. SPOILER CURTAIN
   ========================================================================== */

.spoiler-curtain-box {
  border: 1px solid var(--nf-red);
  border-left: 3px solid var(--nf-red);
  background: rgba(229,9,20,0.06);
  border-radius: 3px;
  padding: 16px;
  margin: 24px 0;
}

.spoiler-curtain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nf-red);
}

.spoiler-toggle-btn {
  background: var(--nf-red);
  color: #fff;
  padding: 5px 14px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background var(--nf-trans-fast);
}

.spoiler-toggle-btn:hover {
  background: var(--nf-red-hover);
}

/* ==========================================================================
   15. CATALOG FILTER BAR
   ========================================================================== */

.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 28px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nf-border);
}

.catalog-filter-btn {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  color: var(--nf-text-dim);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--nf-trans-fast);
}

.catalog-filter-btn:hover {
  border-color: var(--nf-text-dim);
  color: var(--nf-white);
}

.catalog-filter-btn.active {
  background: var(--nf-white);
  color: #000;
  border-color: var(--nf-white);
  font-weight: 700;
}

/* ==========================================================================
   16. RESERVED AD SLOTS
   ========================================================================== */

.ad-slot-container {
  min-height: 250px;
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ad-label {
  font-family: monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--nf-text-muted);
  position: absolute;
  top: 8px;
  right: 12px;
}

/* ==========================================================================
   17. FAQ SECTION — clean with thin red left border
   ========================================================================== */

.faq-section {
  margin: 32px 0;
}

.faq-item {
  background: transparent;
  border: none;
  border-left: 3px solid var(--nf-red);
  border-radius: 0;
  margin-bottom: 20px;
  overflow: hidden;
  padding-left: 16px;
}

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nf-white);
  padding: 0 0 6px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: transparent;
}

.faq-q:hover {
  color: var(--nf-text-dim);
}

.faq-a {
  padding: 0 0 8px 0;
  font-size: 0.92rem;
  color: var(--nf-text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   18. SOURCES CARD
   ========================================================================== */

.sources-card {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  padding: 16px;
  margin: 32px 0;
  font-size: 0.78rem;
  font-family: monospace;
}

.sources-card h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.sources-card ul {
  list-style: none;
  padding: 0;
}

.sources-card li {
  margin-bottom: 4px;
  color: var(--nf-text-dim);
}

.sources-card a {
  color: var(--nf-red);
  text-decoration: none;
}

.sources-card a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   19. SEO CONTENT COMPONENTS
   ========================================================================== */

.direct-answer-box {
  background: var(--nf-surface);
  border: none;
  border-left: 4px solid var(--nf-red);
  border-radius: 0 3px 3px 0;
  padding: 16px 20px;
  margin: 18px 0 24px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nf-text);
}

.direct-answer-box strong {
  color: var(--nf-red);
}

.watch-table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px 0;
  border-radius: 3px;
  border: 1px solid var(--nf-border);
}

.watch-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  background: var(--nf-surface);
}

.watch-table th {
  background: rgba(229,9,20,0.08);
  color: var(--nf-red);
  padding: 12px 14px;
  font-family: monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--nf-border);
}

.watch-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--nf-border);
  color: var(--nf-text-dim);
}

.watch-table tr:last-child td {
  border-bottom: none;
}

.watch-table tr:hover td {
  background: rgba(255,255,255,0.02);
  color: var(--nf-white);
}

.download-guide-box {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  padding: 20px 24px;
  margin: 28px 0;
}

.download-guide-box h3 {
  margin-top: 0;
  color: var(--nf-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-steps-list {
  padding-left: 20px;
  margin: 14px 0 16px 0;
  line-height: 1.7;
  color: var(--nf-text-dim);
}

.download-steps-list li {
  margin-bottom: 8px;
}

.download-note {
  font-size: 0.82rem;
  color: var(--nf-text-muted);
  border-top: 1px solid var(--nf-border);
  padding-top: 12px;
  margin-top: 14px;
}

.audio-matrix-box {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  padding: 18px 22px;
  margin: 24px 0;
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.audio-chip {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  padding: 10px 14px;
}

.audio-chip-title {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--nf-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.audio-chip-val {
  font-size: 0.95rem;
  color: var(--nf-white);
  font-weight: 600;
}

.timeline-card {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  padding: 18px 22px;
  margin: 24px 0;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.timeline-col {
  border-left: 2px solid var(--nf-red);
  padding-left: 12px;
}

.timeline-label {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--nf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nf-white);
  margin-top: 2px;
}

/* ==========================================================================
   20. MOVIES LIKE / SIMILAR GRID
   ========================================================================== */

.movies-like-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 6px;
  margin-top: 16px;
}

.movie-like-card {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 4px;
  padding: 0;
  transition: transform var(--nf-trans-fast), border-color var(--nf-trans-fast);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.movie-like-card:hover {
  border-color: #555;
  transform: scale(1.03);
}

.movie-like-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nf-white);
  margin-bottom: 4px;
  padding: 8px 10px 2px;
}

.movie-like-meta {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--nf-text-muted);
  padding: 0 10px 10px;
}

/* ==========================================================================
   21. CLUSTER CARDS — Netflix tile style
   ========================================================================== */

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  margin: 20px 0 28px 0;
}

.cluster-card {
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 4px;
  padding: 16px;
  text-decoration: none;
  transition: transform var(--nf-trans-fast), border-color var(--nf-trans-fast), background var(--nf-trans-fast);
  display: flex;
  flex-direction: column;
}

.cluster-card:hover {
  border-color: #555;
  transform: scale(1.02);
  background: rgba(255,255,255,0.04);
}

.cluster-card-tag {
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nf-red);
  margin-bottom: 6px;
}

.cluster-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nf-white);
  margin: 0 0 6px 0;
}

.cluster-card-desc {
  font-size: 0.82rem;
  color: var(--nf-text-dim);
  line-height: 1.5;
  margin: 0;
}

.cluster-card-arrow {
  margin-top: auto;
  padding-top: 10px;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--nf-red);
}

.cluster-sibling-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding: 12px 16px;
  background: var(--nf-surface);
  border: 1px solid var(--nf-border);
  border-radius: 3px;
  align-items: center;
}

.cluster-sibling-label {
  font-family: monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--nf-text-muted);
  margin-right: 6px;
  letter-spacing: 0.06em;
}

.cluster-sibling-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nf-text);
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--nf-border);
  text-decoration: none;
  transition: all var(--nf-trans-fast);
}

.cluster-sibling-link:hover {
  border-color: var(--nf-red);
  color: var(--nf-red);
}

/* ==========================================================================
   22. RUMOUR BADGES
   ========================================================================== */

.rumour-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
}

.rumour-confirmed {
  background: var(--nf-green);
  color: #000;
}

.rumour-unconfirmed {
  background: var(--nf-yellow);
  color: #000;
}

.rumour-debunked {
  background: var(--nf-red);
  color: #fff;
}

/* ==========================================================================
   23. CLUSTER CONTENT SECTION
   ========================================================================== */

.cluster-content-section {
  margin: 24px 0;
  line-height: 1.7;
}

.cluster-content-section h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--nf-white);
}

.cluster-content-section h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--nf-white);
}

.cluster-content-section p {
  color: var(--nf-text-dim);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.cluster-content-section ul,
.cluster-content-section ol {
  color: var(--nf-text-dim);
  line-height: 1.7;
  padding-left: 22px;
  margin-bottom: 20px;
}

.cluster-content-section li {
  margin-bottom: 8px;
}

/* ==========================================================================
   24. FOOTER — Netflix 4-column dark footer
   ========================================================================== */

.site-footer,
footer {
  background: #141414;
  border-top: 1px solid var(--nf-border);
  padding: 48px 4% 32px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-link {
  font-size: 13px;
  color: var(--nf-text-muted);
  text-decoration: none;
  transition: color var(--nf-trans-fast);
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--nf-white);
}

.footer-bottom {
  border-top: 1px solid var(--nf-border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: var(--nf-text-muted);
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--nf-red);
  text-decoration: none;
}

/* ==========================================================================
   25. NETFLIX HOVER INFO PANEL (movie card overlay)
   ========================================================================== */

.card-hover-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--nf-surface2);
  border-radius: 0 0 4px 4px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.8);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--nf-trans-fast);
}

.movie-card:hover .card-hover-panel {
  opacity: 1;
  pointer-events: auto;
}

.hover-panel-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nf-white);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hover-panel-meta {
  font-size: 0.72rem;
  color: var(--nf-text-dim);
  margin-bottom: 8px;
}

.hover-panel-match {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nf-green);
  margin-bottom: 6px;
}

.hover-panel-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.hover-genre-pill {
  font-size: 0.65rem;
  color: var(--nf-text-muted);
  border: 1px solid var(--nf-border);
  border-radius: 2px;
  padding: 2px 6px;
}

.hover-panel-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hover-btn-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nf-white);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--nf-trans-fast);
}

.hover-btn-play:hover {
  background: rgba(255,255,255,0.75);
}

.hover-btn-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: var(--nf-white);
  border: 2px solid var(--nf-text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--nf-trans-fast);
}

.hover-btn-more:hover {
  border-color: var(--nf-white);
}

/* ==========================================================================
   26. NETFLIX ROW SECTION HEADER (standalone reusable)
   ========================================================================== */

.section-header-nf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  padding: 0 4%;
}

.section-title-nf {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nf-white);
}

.section-see-all-nf {
  font-size: 0.82rem;
  color: var(--nf-red);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--nf-trans-fast);
}

.section-see-all-nf:hover {
  color: var(--nf-text);
}

/* ==========================================================================
   27. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none !important;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 6% 24px 6%;
    border-bottom: 2px solid var(--nf-red);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95);
    z-index: 1500;
    gap: 0;
  }

  .site-nav.mobile-open,
  .site-nav.open {
    display: flex !important;
  }

  .site-nav a {
    font-size: 1.05rem;
    font-weight: 600;
    color: #E5E5E5;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
  }

  .site-nav a:hover,
  .site-nav a.active {
    color: var(--nf-red);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
  }

  .movie-page-grid {
    grid-template-columns: 1fr;
  }
  .hero-banner,
  .movie-hero {
    height: 65vh;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 0 5%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .movie-row,
  .content-row {
    padding: 0 5%;
  }
  .hero-content {
    padding: 0 5%;
  }
  .hero-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .ticket-stub {
    grid-template-columns: 1fr;
  }

  .ticket-stub::before {
    display: none;
  }

  .ticket-stamp-col {
    border-right: none;
    border-bottom: 1px dashed var(--nf-border);
    padding: 16px;
  }

  .ticket-ledger-col {
    padding: 16px;
  }

  .provider-name {
    min-width: 80px;
    font-size: 0.82rem;
  }

  .ledger-price {
    display: none;
  }

  .timeline-track {
    padding-left: 36px;
  }

  .frame-marker {
    left: -36px;
    width: 28px;
    height: 22px;
    font-size: 0.62rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .movie-card {
    width: 130px;
  }

  .cluster-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   20. NETFLIX UI COMPONENT EXTENSIONS (Hero, Rows, Cards, Carousels)
   ========================================================================== */

/* Netflix Header */
.netflix-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.netflix-header-left {
  display: flex;
  align-items: center;
  gap: 32px;
}
.netflix-logo {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: #E50914 !important;
  text-decoration: none;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
}
.netflix-logo:hover {
  color: #F40612 !important;
  text-decoration: none;
}
.netflix-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Netflix Hero / Billboard */
.netflix-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: -68px;
  padding-top: 68px;
  height: 85vh;
  min-height: 560px;
  max-height: 800px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.netflix-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.netflix-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}
.netflix-hero-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #E50914;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.netflix-hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  margin: 0 0 14px 0;
  max-width: 800px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
}
.netflix-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #B3B3B3;
  flex-wrap: wrap;
}
.netflix-match {
  color: #46D369;
  font-weight: 800;
}
.netflix-cert {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1px 6px;
  font-size: 0.75rem;
  border-radius: 2px;
  color: #FFFFFF;
}
.netflix-hero-desc {
  font-size: 1.1rem;
  color: #FFFFFF;
  line-height: 1.5;
  max-width: 620px;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.netflix-hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.netflix-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.netflix-btn-primary {
  background: #FFFFFF;
  color: #000000 !important;
}
.netflix-btn-primary:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #000000 !important;
  text-decoration: none;
  transform: scale(1.03);
}
.netflix-btn-secondary {
  background: rgba(109, 109, 110, 0.7);
  color: #FFFFFF !important;
  backdrop-filter: blur(8px);
}
.netflix-btn-secondary:hover {
  background: rgba(109, 109, 110, 0.45);
  color: #FFFFFF !important;
  text-decoration: none;
  transform: scale(1.03);
}
.netflix-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-radius: 6px;
  max-width: 540px;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
}
.netflix-search-trigger:hover {
  border-color: #E50914;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.35);
}
.netflix-search-trigger .search-placeholder {
  color: #B3B3B3;
  font-size: 0.95rem;
}

/* Netflix Rows & Carousels */
.netflix-row {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 36px auto;
  padding: 0 4%;
  position: relative;
}
.netflix-row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.netflix-row-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #E5E5E5;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.netflix-see-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: #E50914;
  text-decoration: none;
  transition: color 0.15s ease;
}
.netflix-see-all:hover {
  color: #F40612;
  text-decoration: underline;
}
.netflix-cards-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 14px 4px 20px 4px;
  -webkit-overflow-scrolling: touch;
}
.netflix-cards-row::-webkit-scrollbar {
  display: none;
}

/* Netflix Movie Card */
.netflix-card {
  flex: 0 0 200px;
  width: 200px;
  scroll-snap-align: start;
  text-decoration: none;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #181818;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.1, 1), box-shadow 0.25s ease;
}
.netflix-card:hover {
  transform: scale(1.08) translateY(-4px);
  z-index: 10;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
  text-decoration: none;
}
.netflix-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.netflix-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.netflix-card:hover .netflix-card-img {
  transform: scale(1.04);
}
.netflix-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #222, #111);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.netflix-card-placeholder-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
}
.netflix-card-placeholder-year {
  color: #E50914;
  font-size: 0.75rem;
  font-weight: 800;
}
.netflix-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.netflix-card:hover .netflix-card-overlay {
  opacity: 1;
}
.netflix-card-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.netflix-card-play,
.netflix-card-add,
.netflix-card-thumb-down {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.75rem;
}
.netflix-card-play {
  background: #fff;
  color: #000;
  border: none;
}
.netflix-card-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  margin-bottom: 4px;
}
.netflix-card-match {
  color: #46D369;
  font-weight: 800;
}
.netflix-card-runtime {
  color: #B3B3B3;
}
.netflix-card-cert {
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0 3px;
  border-radius: 2px;
  color: #FFFFFF;
  font-size: 0.65rem;
}
.netflix-card-title-hover {
  font-weight: 700;
  font-size: 0.85rem;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.netflix-card-genre {
  font-size: 0.7rem;
  color: #808080;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.netflix-card-label {
  padding: 6px 8px;
  background: #141414;
}
.netflix-card-stream-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #E50914;
  text-transform: uppercase;
}

/* Netflix Verified Today Items */
.netflix-verified-today-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.netflix-verified-item {
  background: #1a1a1a;
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid #E50914;
}
.netflix-verified-item:hover {
  background: #242424;
  transform: translateY(-2px);
  text-decoration: none;
}
.netflix-verified-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
}
.netflix-verified-platform {
  color: #B3B3B3;
  font-size: 0.8rem;
}

/* Netflix Franchise & Endings Cards */
.netflix-franchise-card,
.netflix-endings-card {
  flex: 0 0 280px;
  width: 280px;
  background: #1a1a1a;
  padding: 16px;
  border-radius: 4px;
  text-decoration: none;
}
.netflix-franchise-tag,
.netflix-endings-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #E50914;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}
.netflix-franchise-title,
.netflix-endings-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  line-height: 1.25;
}
.netflix-franchise-tagline,
.netflix-endings-desc {
  font-size: 0.82rem;
  color: #B3B3B3;
  line-height: 1.4;
  margin-bottom: 12px;
}
.netflix-franchise-count,
.netflix-endings-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #E50914;
}
