/* Simple Truth X — Netflix-style videos page */
:root {
  --nf-bg: #141414;
  --nf-red: #e50914;
  --nf-red-hover: #f40612;
  --nf-white: #ffffff;
  --nf-muted: #808080;
  --nf-muted-dark: #4d4d4d;
  --nf-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --nv-nav-h: 68px;
}

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

html.nv-root {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.nv-body {
  margin: 0;
  min-height: 100vh;
  background: var(--nf-bg);
  color: var(--nf-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--nf-white);
}

/* —— Nav —— */
.nv-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nv-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 48px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  transition: background 0.35s var(--nf-ease), box-shadow 0.35s var(--nf-ease);
}

.nv-nav--solid {
  background: var(--nf-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.nv-nav__brand {
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--nf-red);
  flex-shrink: 0;
}

.nv-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nv-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: #e5e5e5;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s var(--nf-ease);
}

.nv-nav__links a:hover {
  color: var(--nf-white);
}

.nv-nav__links a.nv-active {
  color: var(--nf-white);
  font-weight: 600;
}

.nv-nav__links a.nv-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--nf-red);
  border-radius: 1px;
}

.nv-nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nv-nav__icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--nf-white);
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--nf-ease), background 0.2s;
}

.nv-nav__icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nv-nav__icon-btn svg {
  width: 22px;
  height: 22px;
}

.nv-nav__bell-wrap {
  position: relative;
}

.nv-nav__bell-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--nf-red);
  border-radius: 50%;
  border: 2px solid #141414;
}

.nv-nav__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  min-height: 36px;
  background: var(--nf-red);
  color: var(--nf-white) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s var(--nf-ease), transform 0.2s;
}

.nv-nav__login:hover {
  background: var(--nf-red-hover);
}

.nv-nav__search-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: clamp(16px, 3vw, 48px);
  width: min(320px, calc(100vw - 32px));
  padding: 10px 14px;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--nf-ease), transform 0.3s var(--nf-ease), visibility 0.3s;
}

.nv-nav__search-pop.nv-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nv-nav__search-pop input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--nf-white);
  font-size: 14px;
}

.nv-nav__search-pop input::placeholder {
  color: var(--nf-muted);
}

@media (max-width: 900px) {
  .nv-nav__links {
    position: static;
    transform: none;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nv-nav {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--nv-nav-h);
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* —— Hero —— */
.nv-hero {
  position: relative;
  min-height: 70vh;
  width: 100%;
  padding-top: var(--nv-nav-h);
  display: flex;
  flex-direction: column;
}

.nv-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #000;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.nv-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      90deg,
      rgba(20, 20, 20, 0.97) 0%,
      rgba(20, 20, 20, 0.75) 35%,
      rgba(20, 20, 20, 0.35) 55%,
      rgba(20, 20, 20, 0.2) 100%
    ),
    linear-gradient(180deg, transparent 40%, rgba(20, 20, 20, 0.95) 100%);
  pointer-events: none;
}

.nv-hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(300px, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
  align-items: center;
  padding: clamp(20px, 4vh, 48px) clamp(16px, 3vw, 48px) clamp(16px, 3vh, 32px);
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

.nv-hero__rail {
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 16px);
  padding: clamp(16px, 2vh, 24px) clamp(14px, 1.8vw, 22px);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.nv-hero__left {
  max-width: 640px;
  padding-right: clamp(8px, 2vw, 24px);
}

.nv-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.nv-hero__n-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  background: var(--nf-red);
  color: var(--nf-white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nv-hero__eyebrow-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nf-white);
}

.nv-hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}

.nv-hero__title-pre {
  color: var(--nf-white);
}

.nv-hero__title-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.08em 0.28em 0.12em;
  background: var(--nf-red);
  color: var(--nf-white);
  font-size: 0.92em;
  line-height: 1;
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.35);
}

.nv-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 18px;
  font-size: 15px;
  color: #d0d0d0;
}

.nv-hero__meta-badge {
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.nv-hero__meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nf-red);
  flex-shrink: 0;
}

.nv-hero__desc {
  margin: 0 0 24px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.55;
  color: #fff;
  text-shadow:
    0 0 2px #000,
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 2px 14px rgba(0, 0, 0, 0.75),
    0 4px 28px rgba(0, 0, 0, 0.55);
  max-width: 540px;
}

.nv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--nf-ease), background 0.3s var(--nf-ease), box-shadow 0.3s;
}

.nv-btn--play {
  background: var(--nf-red);
  color: var(--nf-white);
}

.nv-btn--play:hover {
  background: var(--nf-red-hover);
  transform: scale(1.02);
}

.nv-btn--play svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.nv-btn--info {
  background: var(--nf-white);
  color: #141414;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.nv-btn--info:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.5);
}

/* Playlist rail + scrubber */
.nv-playlist-col {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 220px;
}

.nv-playlist {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: clamp(120px, 14vw, 160px);
}

.nv-playlist__btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px 10px 0;
  border: none;
  background: transparent;
  color: var(--nf-muted);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s var(--nf-ease), transform 0.3s var(--nf-ease);
}

.nv-playlist__btn:hover {
  color: #b3b3b3;
}

.nv-playlist__btn.nv-active {
  color: var(--nf-white);
  font-weight: 700;
}

.nv-scrubber {
  position: relative;
  width: 4px;
  margin-left: 8px;
  margin-right: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  align-self: stretch;
  min-height: 180px;
}

.nv-scrubber__fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  background: var(--nf-red);
  border-radius: 2px;
  transition: height 0.35s var(--nf-ease);
}

.nv-scrubber__knob {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  background: var(--nf-white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: top 0.35s var(--nf-ease);
}

/* Episode / video cards column */
.nv-cards-col {
  width: clamp(240px, 28vw, 360px);
  max-height: min(52vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.nv-cards-col::-webkit-scrollbar {
  width: 6px;
}
.nv-cards-col::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

.nv-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.3s var(--nf-ease);
}

.nv-cards.nv-fade {
  opacity: 0.35;
}

.nv-card {
  background: rgba(20, 20, 20, 0.6);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--nf-ease), box-shadow 0.3s var(--nf-ease);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nv-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.nv-card__thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.nv-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nv-card__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 14px;
  background: rgba(10, 10, 10, 0.85);
}

.nv-card__ep-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #e8e8e8;
  flex: 1;
  min-width: 0;
}

.nv-card__ep-num {
  font-weight: 800;
  color: var(--nf-white);
  margin-right: 4px;
}

.nv-card__dur {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: #b3b3b3;
  white-space: nowrap;
}

.nv-card__play-ov {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s var(--nf-ease);
}

.nv-card:hover .nv-card__play-ov {
  opacity: 1;
}

.nv-card__play-ov span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--nf-white);
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nv-card__play-ov span svg {
  width: 22px;
  height: 22px;
  margin-left: 4px;
  fill: var(--nf-red);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Bottom tabs (inside hero bottom) */
.nv-hero__tabs-wrap {
  position: relative;
  z-index: 4;
  padding: 0 clamp(16px, 3vw, 48px) 20px;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

.nv-hero__tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0;
}

.nv-hero__tab {
  padding: 12px 0 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--nf-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.3s var(--nf-ease);
}

.nv-hero__tab:hover {
  color: #b3b3b3;
}

.nv-hero__tab.nv-active {
  color: var(--nf-white);
  font-weight: 600;
}

.nv-hero__tab.nv-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--nf-red);
  border-radius: 2px 2px 0 0;
}

/* Tab panels */
.nv-panels {
  padding: 32px clamp(16px, 3vw, 48px) 80px;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

.nv-panel {
  display: none;
  animation: nvFadeIn 0.35s var(--nf-ease);
}

.nv-panel.nv-active {
  display: block;
}

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

.nv-panel__prose {
  max-width: 820px;
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.65;
}

.nv-panel__prose p {
  margin: 0 0 1em;
}

.nv-panel__prose a {
  color: var(--nf-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Full video grid */
.nv-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.nv-video-grid .nv-card {
  max-width: none;
}

.nv-video-grid .nv-card:hover {
  transform: scale(1.05);
}

.nv-grid-section-title {
  grid-column: 1 / -1;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--nf-white);
}

.nv-grid-section-title:first-child {
  margin-top: 0;
}

/* —— Modal —— */
.nv-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--nf-ease), visibility 0.35s;
}

.nv-modal.nv-open {
  opacity: 1;
  visibility: visible;
}

.nv-modal__inner {
  position: relative;
  width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  outline: none;
}

.nv-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--nf-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}

.nv-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}

.nv-modal__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

.nv-modal__player-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nv-modal__embed-fallback {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
}

.nv-modal__embed-fallback.nv-hidden {
  display: none;
}

.nv-modal__embed-fallback-msg {
  margin: 0;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.nv-modal__embed-fallback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 4px;
  background: #e50914;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}

.nv-modal__embed-fallback-btn:hover {
  background: #f40612;
  transform: scale(1.02);
}

.nv-modal__player-slot iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: auto;
}

.nv-modal__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.35s var(--nf-ease);
}

.nv-modal__controls.nv-hidden {
  opacity: 0;
  pointer-events: none;
}

.nv-modal__progress-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.nv-modal__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--nf-red);
  border-radius: 3px;
  pointer-events: none;
  transition: width 0.08s linear;
}

.nv-modal__controls-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nv-modal__ctrl-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--nf-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 4px;
  transition: background 0.2s;
}

.nv-modal__ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nv-modal__ctrl-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.nv-modal__time {
  font-size: 14px;
  font-weight: 500;
  color: #e0e0e0;
  font-variant-numeric: tabular-nums;
  min-width: 100px;
}

.nv-modal__volume {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nv-modal__volume input[type='range'] {
  width: 80px;
  accent-color: var(--nf-red);
}

.nv-modal__spacer {
  flex: 1;
}

.nv-modal__open-youtube {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 8px 4px;
  transition: color 0.2s;
}

.nv-modal__open-youtube:hover {
  color: #fff;
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 960px) {
  .nv-hero__content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .nv-hero__rail {
    flex-direction: column;
    width: 100%;
    padding: 14px;
  }

  .nv-playlist-col {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .nv-playlist {
    flex-direction: row;
    flex-wrap: nowrap;
    min-width: min-content;
    gap: 8px;
  }

  .nv-playlist__btn {
    white-space: nowrap;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
  }

  .nv-playlist__btn.nv-active {
    border-color: var(--nf-red);
    background: rgba(229, 9, 20, 0.15);
  }

  .nv-scrubber {
    display: none;
  }

  .nv-cards-col {
    width: 100%;
    max-height: none;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .nv-cards {
    flex-direction: row;
    gap: 12px;
  }

  .nv-cards .nv-card {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .nv-nav {
    flex-wrap: wrap;
  }

  .nv-nav__brand {
    order: 1;
  }

  .nv-nav__actions {
    order: 2;
    margin-left: auto;
  }

  .nv-nav__links {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nv-nav__links::-webkit-scrollbar {
    display: none;
  }

  .nv-nav__links a {
    white-space: nowrap;
    font-size: 13px;
  }

  .nv-modal__close {
    top: -40px;
  }

  .nv-modal__volume input[type='range'] {
    width: 60px;
  }
}

/* ========== Single viewport + horizontal categories + row (videos page) ========== */
body.nv-body.nv-page-lock {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --nv-hero-overlap: clamp(96px, 15vh, 200px);
}

/* index.html header + full-height videos column */
body.page.nv-page-lock .container-page.nv-videos-root {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  /* visible: overflow:hidden clipped position:fixed .menu-full-overlay (same as main .container-page fix) */
  overflow: visible;
  width: 100%;
}

body.nv-page-lock .nv-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding-top: 0;
}

body.nv-page-lock .nv-hero {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: visible;
  padding-top: 0;
  width: 100%;
  position: relative;
}

/* Full-viewport hero layer; tiles overlap the bottom (Netflix-style) */
body.nv-page-lock .nv-hero__pane {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* YouTube hero: sharp streaming frame, cover crop (no bitmap stretch) */
body.nv-page-lock .nv-hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

body.nv-page-lock .nv-hero__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  max-width: none;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Lighter scrim — keeps photo sharp, only shapes contrast for text */
body.nv-page-lock .nv-hero__pane .nv-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.38) 42%,
      rgba(0, 0, 0, 0.12) 62%,
      transparent 85%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 28%, transparent 58%, rgba(15, 15, 15, 0.65) 100%);
  pointer-events: none;
}

/* Netflix-style: copy sits center-left, above overlapping row */
body.nv-page-lock .nv-hero__content--single {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  padding: clamp(88px, 11vh, 130px) clamp(16px, 3vw, 48px)
    calc(var(--nv-hero-overlap) + clamp(20px, 3vh, 36px));
  box-sizing: border-box;
  pointer-events: none;
}

body.nv-page-lock .nv-hero__content--single .nv-hero__left {
  pointer-events: auto;
}

body.nv-page-lock .nv-hero__left {
  max-width: min(640px, 100%);
}

body.nv-page-lock .nv-hero__title {
  font-size: clamp(1.75rem, 4.2vw, 3.1rem);
  margin-bottom: 8px;
}

body.nv-page-lock .nv-hero__meta {
  margin-bottom: 8px;
  font-size: 14px;
}

body.nv-page-lock .nv-hero__desc {
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  font-size: clamp(13px, 1.4vw, 15px);
  color: #fff;
  text-shadow:
    0 0 2px #000,
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 2px 14px rgba(0, 0, 0, 0.75),
    0 4px 28px rgba(0, 0, 0, 0.55);
}

body.nv-page-lock .nv-hero__eyebrow {
  margin-bottom: 8px;
}

body.nv-page-lock .nv-browse {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
  margin-top: calc(-1 * var(--nv-hero-overlap));
  padding: 0 0 6px;
  background: transparent;
  border: none;
}

/* Category strip + scroll hints (arrows + edge fades when overflow) */
body.nv-page-lock .nv-category-wrap {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  text-align: center;
}

body.nv-page-lock .nv-category-wrap--scrollable .nv-category-scroll {
  padding-left: 40px;
  padding-right: 40px;
}

body.nv-page-lock .nv-category-fade {
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 36px;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  opacity: 1;
  transition: opacity 0.25s var(--nf-ease);
}

body.nv-page-lock .nv-category-fade--left {
  left: 1px;
  border-radius: 13px 0 0 13px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
}

body.nv-page-lock .nv-category-fade--right {
  right: 1px;
  border-radius: 0 13px 13px 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
}

body.nv-page-lock .nv-category-fade--off {
  opacity: 0;
}

body.nv-page-lock .nv-category-wrap:not(.nv-category-wrap--scrollable) .nv-category-fade,
body.nv-page-lock .nv-category-wrap:not(.nv-category-wrap--scrollable) .nv-category-arrow {
  display: none;
}

body.nv-page-lock .nv-category-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.75);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

body.nv-page-lock .nv-category-arrow:hover:not(:disabled) {
  background: rgba(40, 40, 40, 0.9);
  border-color: rgba(255, 255, 255, 0.55);
}

body.nv-page-lock .nv-category-arrow:disabled {
  opacity: 0.22;
  cursor: default;
  pointer-events: none;
}

body.nv-page-lock .nv-category-arrow--prev {
  left: 8px;
}

body.nv-page-lock .nv-category-arrow--next {
  right: 8px;
}

/* Tight glass pill: only as wide as tabs (desktop); full-width scroll on phone */
body.nv-page-lock .nv-category-scroll {
  flex-shrink: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  touch-action: pan-x;
  margin: 0;
  padding: 2px 14px 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-width: 0;
  vertical-align: top;
  box-sizing: border-box;
}

body.nv-page-lock .nv-category-scroll::-webkit-scrollbar {
  height: 4px;
}

body.nv-page-lock .nv-category-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

body.nv-page-lock .nv-category-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(14px, 2.4vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0 6px 0;
  width: max-content;
  min-width: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

body.nv-page-lock .nv-category-list li {
  flex-shrink: 0;
}

body.nv-page-lock .nv-category-list .nv-playlist__btn {
  display: block;
  padding: 8px 2px 10px;
  margin: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: clamp(11px, 1.65vw, 13px);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  text-align: left;
  width: auto;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.3s var(--nf-ease);
}

body.nv-page-lock .nv-category-list .nv-playlist__btn:hover {
  color: #fff;
}

body.nv-page-lock .nv-category-list .nv-playlist__btn.nv-active {
  color: var(--nf-white);
  font-weight: 700;
}

body.nv-page-lock .nv-category-list .nv-playlist__btn.nv-active::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  height: 3px;
  background: var(--nf-red);
  border-radius: 2px;
}

body.nv-page-lock .nv-row-track {
  flex: 0 0 auto;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 10px 0 12px;
}

body.nv-page-lock .nv-row-track::-webkit-scrollbar {
  height: 6px;
}

body.nv-page-lock .nv-row-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 3px;
}

body.nv-page-lock .nv-row-cards--netflix {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 6px;
  width: max-content;
  padding: 4px clamp(16px, 3vw, 48px) 4px;
  margin: 0;
  scroll-snap-type: x proximity;
}

body.nv-page-lock .nv-row-cards--netflix.nv-fade {
  opacity: 0.45;
}

/* Kill global .nv-card hover scale — expansion is on .nv-card__shell */
body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix {
  flex: 0 0 auto;
  width: min(268px, 54vw);
  max-width: 320px;
  scroll-snap-align: start;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  transition: z-index 0s linear 0.2s;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:hover,
body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:focus-within {
  z-index: 18;
  transition-delay: 0s;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:hover {
  transform: none;
  box-shadow: none;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:focus-visible .nv-card__shell {
  box-shadow: 0 0 0 2px #fff, 0 8px 24px rgba(0, 0, 0, 0.5);
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__shell {
  border-radius: 6px;
  overflow: hidden;
  background: #181818;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transform-origin: 50% 100%;
  transition: transform 0.28s var(--nf-ease), box-shadow 0.28s var(--nf-ease);
}

@media (hover: hover) and (pointer: fine) {
  body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:hover .nv-card__shell,
  body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:focus-within .nv-card__shell {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:hover .nv-card__shell,
  body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:focus-within .nv-card__shell {
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  }
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: #0a0a0a;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__play-ov {
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--nf-ease);
}

@media (hover: hover) and (pointer: fine) {
  body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:hover .nv-card__play-ov,
  body.nv-page-lock .nv-row-cards--netflix .nv-card--netflix:focus-within .nv-card__play-ov {
    opacity: 1;
  }
}

/* White circle + red play — matches Netflix tile hover */
body.nv-page-lock .nv-row-cards--netflix .nv-card__play-ov span {
  width: 48px;
  height: 48px;
  border: none;
  background: var(--nf-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__play-ov span svg {
  width: 22px;
  height: 22px;
  margin-left: 4px;
  fill: var(--nf-red);
  filter: none;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__dock {
  background: #181818;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__dock-default {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px 12px;
  min-height: 50px;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__dock-line {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #e8e8e8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__dock-line .nv-card__ep-num {
  font-weight: 800;
  color: var(--nf-white);
  margin-right: 4px;
}

body.nv-page-lock .nv-row-cards--netflix .nv-card__dur {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #b3b3b3;
  white-space: nowrap;
}

/* Edge-to-edge player: fills viewport; browser fullscreen uses same surface */
body.nv-page-lock .nv-modal.nv-open {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: #000;
}

body.nv-page-lock .nv-modal.nv-open .nv-modal__inner {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: flex;
  flex-direction: column;
}

body.nv-page-lock .nv-modal.nv-open .nv-modal__close {
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 20;
}

body.nv-page-lock .nv-modal.nv-open .nv-modal__stage {
  flex: 1;
  min-height: 0;
  height: auto;
  aspect-ratio: unset;
  border-radius: 0;
  box-shadow: none;
}

body.nv-page-lock .nv-modal:fullscreen,
body.nv-page-lock .nv-modal:-webkit-full-screen {
  background: #000;
}

/* main.css .dark-first hides logo (brightness 0) + dark hamburger — videos page sits on dark video */
body.page.nv-page-lock.dark-first .header .header__builder .logo-image img {
  filter: none !important;
  max-height: 44px;
  width: auto;
  max-width: min(150px, 50vw);
  object-fit: contain;
}

body.page.nv-page-lock.dark-first .menu-btn span:before,
body.page.nv-page-lock.dark-first .menu-btn span:after {
  background-color: #eb6165 !important;
}

body.page.nv-page-lock.dark-first .menu-btn.active span:before,
body.page.nv-page-lock.dark-first .menu-btn.active span:after {
  background-color: #eb6165 !important;
}

@media screen and (max-width: 768px) {
  /* Readable “spotlight” behind centered copy */
  body.nv-page-lock .nv-hero__pane .nv-hero__overlay {
    background: radial-gradient(
        ellipse 120% 70% at 50% 42%,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.2) 70%
      ),
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 22%, transparent 52%, rgba(12, 12, 12, 0.88) 100%);
    pointer-events: none;
  }

  body.nv-page-lock {
    --nv-hero-overlap: clamp(56px, 12vh, 112px);
  }

  /* Hero stack: centered like Netflix mobile */
  body.nv-page-lock .nv-hero__content--single {
    justify-content: center;
    align-items: center;
    padding: clamp(56px, 15vw, 88px) 18px calc(var(--nv-hero-overlap) + 16px);
  }

  body.nv-page-lock .nv-hero__left {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 6px;
  }

  body.nv-page-lock .nv-hero__eyebrow {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  body.nv-page-lock .nv-hero__title {
    justify-content: center;
    font-size: clamp(1.35rem, 6.8vw, 2.15rem);
    margin-bottom: 10px;
  }

  body.nv-page-lock .nv-hero__meta {
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }

  body.nv-page-lock .nv-hero__desc {
    -webkit-line-clamp: 4;
    font-size: 14px;
    line-height: 1.5;
    max-width: 34em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    text-align: center;
    color: #fff;
    text-shadow:
      0 0 2px #000,
      0 1px 3px rgba(0, 0, 0, 0.95),
      0 2px 14px rgba(0, 0, 0, 0.75),
      0 4px 28px rgba(0, 0, 0, 0.55);
  }

  body.nv-page-lock .nv-hero__actions {
    justify-content: center;
    width: 100%;
  }

  body.nv-page-lock .nv-browse {
    padding-top: 4px;
  }

  /* Category strip: full-width wrap; glass on inner scroll */
  body.nv-page-lock .nv-category-wrap {
    width: calc(100% - 24px);
    max-width: none;
    margin-left: 12px;
    margin-right: 12px;
    text-align: left;
  }

  body.nv-page-lock .nv-category-scroll {
    display: block;
    width: 100%;
    padding: 10px 14px 8px;
    border-radius: 16px;
    background: rgba(6, 6, 6, 0.82);
    backdrop-filter: blur(22px) saturate(1.45);
    -webkit-backdrop-filter: blur(22px) saturate(1.45);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.5),
      0 10px 36px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  body.nv-page-lock .nv-category-wrap--scrollable .nv-category-scroll {
    padding-left: 46px;
    padding-right: 46px;
  }

  body.nv-page-lock .nv-category-fade--left {
    border-radius: 15px 0 0 15px;
  }

  body.nv-page-lock .nv-category-fade--right {
    border-radius: 0 15px 15px 0;
  }

  body.nv-page-lock .nv-category-arrow {
    width: 36px;
    height: 36px;
  }

  body.nv-page-lock .nv-category-arrow--prev {
    left: 10px;
  }

  body.nv-page-lock .nv-category-arrow--next {
    right: 10px;
  }

  body.nv-page-lock .nv-category-list {
    gap: 16px;
    padding: 0 8px 2px;
  }

  body.nv-page-lock .nv-category-list .nv-playlist__btn {
    min-height: 44px;
    padding: 10px 4px 12px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.92);
  }

  body.nv-page-lock .nv-category-list .nv-playlist__btn.nv-active {
    color: #fff;
  }

  body.nv-page-lock .nv-category-list .nv-playlist__btn.nv-active::after {
    height: 4px;
    bottom: 4px;
    left: -4px;
    right: -4px;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.45);
  }

  body.page.nv-page-lock .header {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.nv-page-lock .nv-row-cards--netflix {
    padding-left: 10px;
    padding-right: 10px;
  }

  body.nv-page-lock .nv-modal.nv-open .nv-modal__close {
    top: max(8px, env(safe-area-inset-top, 0px));
    right: max(8px, env(safe-area-inset-right, 0px));
  }
}

@media screen and (max-width: 480px) {
  body.nv-page-lock .nv-category-list {
    gap: 12px;
    padding: 0 6px 2px;
  }

  body.nv-page-lock .nv-category-list .nv-playlist__btn {
    font-size: 10.5px;
    letter-spacing: 0.085em;
    padding: 10px 2px 12px;
    min-height: 44px;
  }

  body.nv-page-lock .nv-hero__title {
    font-size: clamp(1.2rem, 7.2vw, 1.85rem);
  }
}
