@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* CineVault — Netflix-style dark theme (black + red). */
:root {
  --bg: #000000;
  --surface: #141414;
  --surface-2: #141414;
  --border: rgba(229,9,20,.18);
  --text: #FFFFFF;
  --muted: #B3B3B3;
  --accent: #E50914;
  --accent-ink: #ffffff;
  --accent-2: #F6121D;
  --radius: 8px;
  --maxw: 1280px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Archivo", "Inter", -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); line-height: 1.55; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
main { min-height: 60vh; }

/* ============ header (Collider-style) ============ */
/* ---- topbar: main site header ---- */
.topbar { background: #000000; border-bottom: 1px solid #2A2A2A; position: relative; z-index: 100; }
.topbar-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 20px; min-width: 0; }
.topbar-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex: none; }
.topbar-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
.topbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.topbar-play { width: 20px; height: 20px; border: 2px solid #E50914; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex: none; }
.topbar-play svg { width: 9px; height: 9px; fill: #E50914; }
.logo-mark { width: 20px; height: 20px; flex: none; }
.topbar-word { color: #fff; font-weight: 900; font-size: 13px; letter-spacing: 1px; }
.topbar-word em { font-style: normal; color: #E50914; }
.topbar-nav { display: flex; align-items: center; gap: 1px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.tb-item { position: relative; display: flex; align-items: center; flex: none; }
.tb-item > a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 7px; white-space: nowrap; }
.tb-item > a:hover { color: #E50914; }
.tb-chev { background: none; border: none; cursor: pointer; padding: 10px 4px 10px 0; display: flex; }
.tb-chev svg { width: 14px; height: 14px; stroke: #E50914; stroke-width: 3; fill: none; stroke-linecap: round; }
.tb-sub { display: none; position: absolute; top: 100%; left: 0; background: #0A1F1A; border: 1px solid #2a2a2a; border-radius: 10px; min-width: 190px; padding: 6px; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.55); }
.tb-item:last-child .tb-sub { left: auto; right: 0; }
.tb-item.open .tb-sub { display: block; }
.tb-sub a { display: block; color: #cfe0d8; text-decoration: none; font-size: 14px; padding: 9px 12px; border-radius: 7px; }
.tb-sub a:hover { background: #123329; color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.topbar-searchbox { display: flex; align-items: center; gap: 8px; background: #141414; border: 1px solid #2a4a40; border-radius: 10px; padding: 9px 14px; width: 220px; max-width: 220px; min-width: 0; flex: 0 1 220px; }
.topbar-searchbox:focus-within { border-color: #E50914; }
.topbar-searchbox svg { width: 18px; height: 18px; color: #808080; flex: none; }
.topbar-searchbox input { background: none; border: none; outline: none; color: #fff; font-size: 14px; width: 100%; font-family: inherit; }
.topbar-searchbox input::placeholder { color: #7d948a; }
.topbar-watchlist { display: flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.topbar-watchlist svg { width: 22px; height: 22px; }
.topbar-watchlist:hover { color: #E50914; }
.topbar-login { display: flex; align-items: center; gap: 8px; background: transparent; border: 1.5px solid #E50914; color: #fff; font-weight: 700; font-size: 13px; padding: 9px 14px; border-radius: 10px; cursor: pointer; white-space: nowrap; font-family: inherit; flex: none; }
.topbar-login span { white-space: nowrap; }
.topbar-login svg { width: 18px; height: 18px; }
.topbar-login:hover { background: rgba(229,9,20,.12); }
@media (max-width: 1100px) {
  .topbar-searchbox { width: 180px; }
  .topbar-watchlist span { display: none; }
}
@media (max-width: 900px) {
  .topbar-nav { display: none; }
  .topbar-searchbox { display: none; }
  .topbar-burger { display: block; }
  .topbar-inner { gap: 12px; padding: 10px 14px; }
}
/* ============ header (Collider-style) ============ */
.logo-word { font-size: 1.4rem; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.logo-word em { font-style: normal; color: var(--accent); }
/* ---- legacy header (old pages: main-nav) — styled to match new topbar ---- */
.site-header { background: #000000; border-bottom: 1px solid #123329; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 12px; padding: 12px 20px; max-width: 1400px; margin: 0 auto; }
.nav-toggle { display: none; }
.main-nav { display: flex; align-items: center; gap: 1px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.nav-item { position: relative; display: flex; align-items: center; flex: none; }
.nav-item > a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 7px; white-space: nowrap; }
.nav-item > a:hover { color: #E50914; }
.sub-toggle { background: none; border: none; cursor: pointer; padding: 10px 4px 10px 0; color: #E50914; font-size: 16px; font-weight: 700; line-height: 1; }
.submenu { display: none; position: absolute; top: 100%; left: 0; background: #0A1F1A; border: 1px solid #2a2a2a; border-radius: 10px; min-width: 190px; padding: 6px; z-index: 200; box-shadow: 0 10px 30px rgba(0,0,0,.55); }
.nav-item.has-sub:hover .submenu, .nav-item.has-sub:focus-within .submenu { display: block; }
.submenu a { display: block; color: #cfe0d8; text-decoration: none; font-size: 14px; padding: 9px 12px; border-radius: 7px; white-space: nowrap; }
.submenu a:hover { background: #123329; color: #fff; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.logo .logo-mark { width: 20px; height: 20px; }
.logo-word { font-size: 13px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.logo-word em { font-style: normal; color: #E50914; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 0 .9rem; height: 60px;
  display: flex; align-items: center; white-space: nowrap;
}
.nav-item > a:hover { color: var(--accent); }
.nav-item > a.nav-accent { color: var(--accent); }
.nav-item > a.nav-accent:hover { color: #fff; }
.sub-toggle {
  background: none; border: 0; color: var(--accent); font-size: 1.1rem; font-weight: 700;
  cursor: pointer; padding: 0 .4rem 0 0; line-height: 1;
}
.submenu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #111; border: 1px solid var(--border); border-top: 3px solid var(--accent);
  box-shadow: 0 12px 32px rgba(0,0,0,.6); z-index: 70;
}
.nav-item.open .submenu { display: block; }
.submenu a {
  display: block; padding: .7rem 1.1rem; color: #333; font-size: .88rem; font-weight: 600;
  border-bottom: 1px solid #1e1e22;
}
.submenu a:hover { color: var(--accent); background: #18181b; }
.submenu a:last-child { border-bottom: 0; }
.header-actions { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.header-search-btn { color: #fff; display: flex; padding: .4rem; }
.header-search-btn:hover { color: var(--accent); }
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .logo { margin-right: 0; }
  .header-actions { margin-left: auto; }
}

/* ============ drawer (mobile menu, like Collider) ============ */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6);
}
.drawer-scrim[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: min(340px, 88vw); background: #101012; border-right: 1px solid var(--border);
  overflow-y: auto; padding: 1rem 1.4rem 2rem;
  transform: translateX(-100%); transition: transform .25s ease;
}
.drawer.open { transform: translateX(0); }
.drawer[hidden] { display: block; visibility: hidden; }
.drawer.open[hidden] { visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.drawer-close {
  background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1;
  cursor: pointer; padding: .2rem .4rem;
}
.drawer-close:hover { color: var(--accent); }
.drawer-nav { display: grid; }
.drawer-item { border-bottom: 1px solid #1e1e22; }
.drawer-item > a {
  display: block; padding: .9rem 0; color: #fff; font-weight: 800;
  font-size: 1.02rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.drawer-item > a.nav-accent { color: var(--accent); }
.drawer-item.has-sub { display: flex; flex-wrap: wrap; align-items: center; }
.drawer-item.has-sub > a { flex: 1; }
.drawer-item .sub-toggle { font-size: 1.4rem; padding: .7rem .2rem; }
.drawer-item .submenu {
  position: static; display: none; flex-basis: 100%;
  background: none; border: 0; box-shadow: none; min-width: 0;
}
.drawer-item.open .submenu { display: block; }
.drawer-item .submenu a {
  padding: .55rem 0 .55rem 1rem; font-size: .92rem; font-weight: 600;
  text-transform: none; letter-spacing: 0; border-bottom: 0; color: #c9c9ce;
}

/* ============ buttons ============ */
.btn {
  display: inline-block; padding: .6rem 1.3rem; border-radius: 4px;
  font-weight: 800; font-size: .85rem; letter-spacing: .8px; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-ghost { background: transparent; color: #fff; border-color: #3a3a40; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-watchlist {
  width: 100%; margin-top: .5rem; background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: 4px; padding: .5rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; cursor: pointer;
}
.btn-watchlist:hover { border-color: var(--accent); color: var(--accent); }
.btn-watchlist.saved { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip {
  display: inline-block; padding: .35rem .9rem; margin: 0 .4rem .4rem 0;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px;
  color: var(--text); font-size: .85rem; font-weight: 600;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip-row { margin-bottom: 1.5rem; }

/* ============ hero ============ */
.hero { position: relative; overflow: hidden; background: #000; }
.hero-track { position: relative; }
.hero-slide { position: relative; min-height: 68vh; display: flex; align-items: flex-end; }
.hero-slide[hidden] { display: none; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 55%, var(--bg) 100%); }
.hero-text { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 3rem 1rem 3.5rem; width: 100%; }
.hero-kicker {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: 2.5px;
  color: #000; background: var(--accent); text-transform: uppercase;
  padding: .3rem .8rem; margin-bottom: .8rem;
}
.hero-text h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); margin: 0 0 .4rem; text-transform: none; }
.hero-tagline { color: var(--accent); font-style: italic; margin: 0 0 .5rem; }
.hero-overview { color: #e5e5e5; max-width: 640px; }
.hero-actions { display: flex; gap: .7rem; margin-top: 1.2rem; flex-wrap: wrap; }
.hero-arrow {
  position: absolute; top: 42%; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.6); border: 1px solid #3a3a40; color: #fff;
  font-size: 1.2rem; cursor: pointer;
}
.hero-arrow.prev { left: .8rem; } .hero-arrow.next { right: .8rem; }
.hero-arrow:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.hero-dots { position: absolute; bottom: 1rem; left: 0; right: 0; display: flex; gap: .5rem; justify-content: center; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #5a6378; cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--accent); }

/* ============ sections & rails (Collider-style) ============ */
.home-rails, .list-page, .search-page, .static-page, .watchlist-page,
.person-detail, .movie-detail .detail-body, .browse-strip {
  max-width: var(--maxw); margin: 0 auto; padding: 1.5rem 1rem;
}
.rail { margin-bottom: 2.6rem; }
.rail-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1rem; border-bottom: 2px solid var(--border); padding-bottom: .6rem;
}
.rail-head h2 {
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: 1.5px; margin: 0;
  border-left: 4px solid var(--accent); padding-left: .7rem;
}
.rail-desc { color: var(--muted); font-size: .9rem; margin: 0 0 .8rem; }
.view-all {
  white-space: nowrap; font-size: .78rem; font-weight: 800; letter-spacing: 1.5px;
  color: var(--accent); text-transform: uppercase;
}
.view-all:hover { color: #fff; }
.rail-track {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .8rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail-track .movie-card { flex: 0 0 150px; scroll-snap-align: start; }
@media (min-width: 700px) { .rail-track .movie-card { flex-basis: 176px; } }

/* ============ cards (Collider-style article cards) ============ */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1150px) { .card-grid { grid-template-columns: repeat(6, 1fr); } }
.movie-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.movie-card:hover { transform: translateY(-3px); border-color: #3d3d44; }
.poster-wrap { position: relative; display: block; aspect-ratio: 2/3; background: var(--surface-2); }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; }
.poster-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface-2), #0d0d10); padding: 1rem;
  text-align: center; color: var(--muted);
}
.play-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.72);
  border: 1.5px solid rgba(255,255,255,.9); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s;
}
.poster-wrap:hover .play-overlay { opacity: 1; }
.card-kicker {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: .3rem;
}
.card-body { padding: .7rem .8rem .9rem; }
.rating-badge {
  display: inline-flex; align-items: center; gap: .25rem; font-weight: 800; font-size: .82rem;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: .15rem .5rem;
}
.rating-badge .star { color: var(--accent); }
.rating-badge.big { font-size: 1.05rem; padding: .3rem .8rem; }
.card-title { font-size: .95rem; margin: .35rem 0 .15rem; font-weight: 800; line-height: 1.3; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-excerpt {
  color: var(--muted); font-size: .85rem; margin: .3rem 0 0; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { color: var(--muted); font-size: .78rem; margin: .3rem 0 0; }
.person-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.people-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .people-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .people-grid { grid-template-columns: repeat(6, 1fr); } }
.people-grid .person-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.people-grid .person-card h3 { font-size: 0.9rem; margin: 0.5rem 0.7rem 0; color: #fff; }
.people-grid .person-dept { display: block; font-size: 0.75rem; color: #808080; margin: 0.2rem 0.7rem 0.7rem; }

/* article-style wide cards (news / trailers hub) */
.article-grid { display: grid; gap: 1.4rem; }
@media (min-width: 700px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-3px); border-color: #3d3d44; }
.article-thumb { display: block; aspect-ratio: 16/9; background: var(--surface-2); position: relative; overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: .9rem 1rem 1.1rem; }
.article-title { font-size: 1.08rem; font-weight: 800; line-height: 1.35; margin: .3rem 0 .4rem; }
.article-title a { color: var(--text); }
.article-title a:hover { color: var(--accent); }
.article-excerpt {
  color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-meta { color: var(--muted); font-size: .78rem; margin-top: .6rem; }

/* ============ detail page ============ */
.detail-hero { position: relative; background: #000; }
.detail-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; max-width: var(--maxw); margin: 0 auto;
  padding: .8rem 1rem; position: sticky; top: 60px; z-index: 30;
  background: rgba(11,11,13,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.detail-tabs a {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: .78rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 4px;
}
.detail-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.cast-avatar { aspect-ratio: 2/3; display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.cast-avatar span {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.7rem; font-weight: 800; color: #0b0d12;
  background: linear-gradient(135deg, var(--accent), #d99a2b); box-shadow: 0 4px 14px rgba(212,175,55,.3);
}
.score-card {
  display: inline-flex; align-items: center; gap: .9rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; padding: .7rem 1.1rem;
}
.score-card .score-num { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.score-card .score-num small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.score-card .score-meta { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.score-card .score-meta strong { color: var(--text); display: block; font-size: .82rem; }
.detail-backdrop { width: 100%; max-height: 52vh; object-fit: cover; opacity: .55; }
.detail-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--bg) 98%); }
.detail-top {
  position: relative; max-width: var(--maxw); margin: -9rem auto 0; padding: 0 1rem;
  display: grid; gap: 1.2rem;
}
@media (min-width: 760px) { .detail-top { grid-template-columns: 220px 1fr; } }
.detail-poster img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; max-width: 220px; }
.detail-facts h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.tagline { color: var(--accent); font-style: italic; }
.facts-line { display: flex; gap: .8rem; align-items: center; color: var(--muted); flex-wrap: wrap; }
.cert { border: 1px solid var(--border); border-radius: 4px; padding: .05rem .4rem; font-size: .78rem; }
.genre-line { margin: .6rem 0; }
.rating-row { display: flex; align-items: center; gap: .8rem; margin: .6rem 0; flex-wrap: wrap; }
.vote-count { color: var(--muted); font-size: .85rem; }
.imdb-link { font-size: .85rem; font-weight: 700; color: var(--accent); }
.overview { max-width: 720px; color: #e5e5e5; }
.detail-actions { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }
.detail-section { margin-top: 2.4rem; }
.detail-section h2 {
  font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1.5px;
  border-left: 4px solid var(--accent); padding-left: .7rem; margin-bottom: 1rem;
}
.cast-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 600px) { .cast-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cast-grid { grid-template-columns: repeat(6, 1fr); } }
.cast-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cast-card img { aspect-ratio: 2/3; object-fit: cover; width: 100%; }
.cast-card h3 { font-size: .9rem; margin: .5rem .6rem 0; }
.cast-card h3 a { color: var(--text); }
.character { color: var(--muted); font-size: .8rem; margin: .1rem .6rem .7rem; }
.crew-list { display: grid; gap: .5rem; }
.crew-row { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.crew-row dt { color: var(--muted); font-weight: 600; }
.crew-row dd { margin: 0; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table th { color: var(--muted); font-weight: 600; width: 180px; }
.ratings-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.rating-big { font-size: 2rem; display: flex; align-items: baseline; gap: .4rem; }
.rating-big .star { color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { border-radius: 8px; border: 1px solid var(--border); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-list { list-style: none; padding: 0; display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .8rem; }
.linklike {
  background: none; border: 1px solid var(--border); color: var(--accent); border-radius: 4px;
  padding: .4rem .9rem; cursor: pointer; font-size: .85rem; font-weight: 700;
}
details { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: .8rem 1rem; margin-bottom: .6rem; }
summary { cursor: pointer; font-weight: 700; }

/* ============ person page ============ */
.person-top { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .person-top { grid-template-columns: 220px 1fr; } }
.person-photo img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; max-width: 220px; }
.kicker {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: 2px;
  color: #000; background: var(--accent); text-transform: uppercase;
  padding: .25rem .7rem; margin-bottom: .6rem;
}
.bio { max-width: 720px; color: #e5e5e5; }
.filmography { list-style: none; padding: 0; }
.filmography li { padding: .55rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; }
.film-meta { color: var(--muted); font-size: .85rem; white-space: nowrap; }

/* ============ list / search / static ============ */
.page-head { margin-bottom: 1.2rem; }
.page-head h1 { text-transform: uppercase; letter-spacing: 1px; }
.page-sub { color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2rem 0 1rem; color: var(--muted); }
.empty { color: var(--muted); padding: 2rem 0; }
.search-form { display: grid; gap: .8rem; margin-bottom: 1.2rem; }
.search-form input[type="search"] {
  padding: .7rem 1rem; border-radius: 4px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1rem; width: 100%;
}
.filters { display: flex; gap: .8rem; flex-wrap: wrap; align-items: end; }
.filters label { display: grid; gap: .25rem; font-size: .8rem; color: var(--muted); }
.filters select {
  padding: .5rem .7rem; border-radius: 4px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
}
/* Custom dropdown (replaces native select UI on the search page) */
.cselect { position: relative; }
.cselect-native {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cselect-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  min-width: 7.5rem; padding: .55rem .7rem; border-radius: 6px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-size: .9rem; cursor: pointer;
}
.cselect-btn:hover, .cselect-btn[aria-expanded="true"] { border-color: var(--accent); }
.cselect-btn svg { flex-shrink: 0; opacity: .7; }
.cselect-menu {
  display: none; position: absolute; z-index: 60; top: calc(100% + 6px); left: 0;
  min-width: 100%; max-width: 16rem; max-height: 16rem; overflow-y: auto;
  background: #141414; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,.55); padding: .3rem;
}
.cselect-menu.open { display: block; }
.cselect-opt {
  display: block; width: 100%; text-align: left; padding: .5rem .7rem;
  border: 0; border-radius: 5px; background: transparent; color: var(--text);
  font-size: .88rem; cursor: pointer; white-space: nowrap;
}
.cselect-opt:hover { background: rgba(229,9,20,.15); }
.cselect-opt.selected { background: var(--accent); color: #fff; font-weight: 700; }
.search-status { color: var(--muted); }
.static-page { max-width: 820px; }
.prose p { margin: 0 0 1em; color: #e5e5e5; }
.prose h2 { margin-top: 1.6em; font-size: 1.2rem; }

/* ============ footer ============ */
.site-footer { border-top: 3px solid var(--accent); margin-top: 3rem; background: #000; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1rem; display: grid; gap: 1.4rem; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 420px; }
.footer-sections { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-sections a { color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.footer-sections a:hover { color: var(--accent); }
.footer-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: .9rem; }
.tmdb-attr { display: flex; align-items: center; gap: .8rem; }
.tmdb-attr img { height: 34px; }
.tmdb-attr p { color: var(--muted); font-size: .8rem; margin: 0; }
.copyright { color: var(--muted); font-size: .8rem; }
.copyright a { color: var(--muted); }

/* ============ trailer modal / toast ============ */
.trailer-modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.trailer-modal[hidden] { display: none; }
.trailer-box { position: relative; width: min(900px, 100%); }
.trailer-frame { position: relative; padding-bottom: 56.25%; height: 0; }
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-close {
  position: absolute; top: -2.4rem; right: 0; background: none; border: 0;
  color: #fff; font-size: 2rem; cursor: pointer;
}
.toast {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 120;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: .8rem 1.2rem; border-radius: 8px; max-width: min(92vw, 480px); font-size: .9rem;
}
.user-chip { display: flex; align-items: center; gap: .5rem; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}

/* ============ auth modal ============ */
#cv-auth-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.cv-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.cv-modal {
  position: relative; width: min(94vw, 400px); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 12px; padding: 1.6rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.cv-modal-close {
  position: absolute; top: .6rem; right: .8rem; background: none; border: 0;
  color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.cv-modal-title { margin: 0 0 .3rem; font-size: 1.25rem; }
.cv-modal-sub { color: var(--muted); font-size: .88rem; margin: 0 0 1rem; }
.cv-field { display: block; margin-bottom: .9rem; }
.cv-field span { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .3rem; }
.cv-field input {
  width: 100%; padding: .65rem .8rem; border-radius: 8px; font-size: 1rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  box-sizing: border-box;
}
.cv-field input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.cv-modal-err {
  background: rgba(220,60,60,.12); border: 1px solid rgba(220,60,60,.4); color: #ff9d9d;
  padding: .6rem .8rem; border-radius: 8px; font-size: .88rem; margin-bottom: .9rem;
}
.cv-modal-actions { display: flex; gap: .7rem; }
.cv-modal-actions .btn { flex: 1; }

/* ============ search results ============ */
.result-list { display: grid; gap: .9rem; }
.result-row {
  display: flex; gap: 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem;
}
.result-poster { flex: 0 0 96px; align-self: flex-start; }
.result-poster img { border-radius: 4px; width: 100%; height: auto; }
.poster-fallback-sm { aspect-ratio: 2/3; border-radius: 4px; font-size: .8rem; }
.result-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.result-title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.result-title a { color: var(--text); }
.result-meta { color: var(--muted); font-size: .85rem; margin: 0; }
.result-overview {
  color: var(--muted); font-size: .9rem; margin: .25rem 0 .35rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rating-src { font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .4px; }
.btn-sm { padding: .35rem .85rem; font-size: .85rem; }
@media (min-width: 700px) {
  .result-poster { flex-basis: 128px; }
  .result-row { padding: 1rem; }
}

/* ============ ranked lists ============ */
.ranked-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ranked-row {
  display: flex; align-items: center; gap: 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: .6rem .9rem;
}
.rank-num {
  flex: 0 0 2.4rem; text-align: center; font-size: 1.35rem; font-weight: 800;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.ranked-poster { flex: 0 0 56px; align-self: center; }
.ranked-poster img { border-radius: 4px; width: 100%; height: auto; }
.ranked-info { flex: 1; min-width: 0; }
.ranked-title { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.ranked-title a { color: var(--text); }
.ranked-meta { color: var(--muted); font-size: .85rem; margin: .15rem 0 0; }
@media (min-width: 700px) {
  .ranked-poster { flex-basis: 72px; }
  .ranked-title { font-size: 1.12rem; }
}
.ranked-strip { margin: 0 0 2.2rem; }

/* ============ search tabs ============ */
.type-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin: .2rem 0 .4rem; }
.type-tab {
  padding: .45rem 1rem; border-radius: 4px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: .85rem; font-weight: 700;
  cursor: pointer;
}
.type-tab:hover { border-color: var(--accent); color: var(--accent); }
.type-tab.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.search-hint { color: var(--muted); font-size: .85rem; margin: -.4rem 0 1rem; }
.type-badge {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent);
  border-radius: 4px; padding: .1rem .45rem; margin-bottom: .35rem;
}

/* ============ seasons & episodes ============ */
.season-list { display: grid; gap: .9rem; }
.season-row {
  display: flex; gap: 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: .8rem;
  color: var(--text);
}
.season-row:hover { border-color: var(--accent); }
.season-row img { width: 96px; border-radius: 4px; flex-shrink: 0; }
.season-row .poster-fallback-sm { width: 96px; flex-shrink: 0; }
.season-info { min-width: 0; }
.season-info h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.season-overview { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }
.episode-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.episode-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: .7rem 1rem;
}
.episode-row a { color: var(--text); font-weight: 600; }
.episode-row a:hover { color: var(--accent); }
.episode-row strong { color: var(--accent); margin-right: .4rem; }

/* ============ studio marks ============ */
.studio-mark {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 35%, #1b1b1f 0%, var(--surface-2) 55%, #0b0b0d 100%);
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.studio-mark span {
  position: relative; font-size: 2.6rem; font-weight: 800; color: var(--accent);
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,12,.6);
}
.rail-track .studio-card { flex: 0 0 138px; scroll-snap-align: start; }
.studio-card { text-align: center; transition: transform .25s ease, border-color .25s ease; }
.studio-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.studio-card .card-title {
  font-size: .85rem; line-height: 1.25; padding: .65rem .5rem 0; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.studio-card .card-title a { color: var(--text); }
.studio-card:hover .card-title a { color: var(--accent); }
.studio-card .card-meta { font-size: .75rem; color: var(--muted); padding: .25rem .5rem .9rem; margin: 0; }
.studio-mark-lg { aspect-ratio: auto; min-height: 220px; border: 1px solid var(--border); border-radius: var(--radius); }
.company-logo { object-fit: contain; background: #fff; padding: 1rem; }
.person-photo-wide img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; max-width: 480px; }

/* ============ rankings index ============ */
.rankings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.ranking-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.ranking-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.ranking-card-icon {
  flex: 0 0 auto; width: 2.75rem; height: 2.75rem; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; color: #0d0d0f;
  background: radial-gradient(circle at 30% 30%, #ffe9a8, var(--accent) 70%); border-radius: 50%;
}
.ranking-card-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.ranking-card-title { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.ranking-card:hover .ranking-card-title { color: var(--accent); }
.ranking-card-desc { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.ranking-card-arrow { margin-left: auto; color: var(--accent); font-size: 1.25rem; flex: 0 0 auto; }

/* ============ news teaser ============ */
.news-teaser { margin-bottom: 2.6rem; }
.np-section-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--border); padding-bottom: .6rem; margin-bottom: 1rem;
}
.np-section-head h2 {
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: 1.5px; margin: 0;
  border-left: 4px solid var(--accent); padding-left: .7rem;
}

/* ============ Collider-style homepage ============ */
.cl-hero-wrap { display: grid; grid-template-columns: 2.2fr 1fr; gap: 1.75rem; margin-bottom: 2.5rem; }
.cl-hero-feature { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: #141414; min-height: 400px; }
.cl-hero-feature img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.cl-hero-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 4rem 1.8rem 1.8rem; background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 50%, transparent 100%); }
.cl-hero-text h1 { font-size: 1.35rem; margin: 0; color: #fff; font-weight: 800; line-height: 1.3; letter-spacing: -0.2px; }
.cl-hero-text p { color: #B3B3B3; margin: .5rem 0 0; font-size: 1.05rem; }
.cl-hero-cards { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; }
.cl-hero-card { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #141414; aspect-ratio: 16/8; min-height: 150px; }
.cl-hero-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cl-hero-card h3 { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 3rem 1.4rem 1.4rem; font-size: 1.3rem; font-weight: 800; line-height: 1.3; letter-spacing: -0.2px; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 50%, transparent 100%); }

.cl-latest-side { background: #141414; border: 1px solid rgba(229,9,20,.18); border-radius: 12px; padding: 1.4rem; align-self: start; }
.cl-latest-side h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 1rem; border-bottom: 2px solid var(--accent); padding-bottom: .5rem; }
.cl-latest-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.cl-latest-side li a { display: flex; gap: .8rem; text-decoration: none; }
.cl-latest-side li img { width: 110px; height: 62px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.cl-latest-side h3 { font-size: .95rem; margin: .2rem 0 0; color: var(--text); line-height: 1.4; }
.cl-time { font-size: .75rem; color: var(--muted); }
.cl-more { display: block; text-align: right; margin-top: 1rem; font-size: .85rem; color: var(--accent); font-weight: 600; }

.cl-section { margin-bottom: 3rem; }
.cl-section-head a:hover { color: #F6121D; }
.cl-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cl-section-head h2 { font-size: 1.2rem; margin: 0; }
.cl-section-head a { font-size: .85rem; color: var(--accent); font-weight: 600; }
.cl-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cl-big-card { display: block; border-radius: 16px; overflow: hidden; background: #141414; text-decoration: none; position: relative; aspect-ratio: 16/10; margin-bottom: 1rem; }
.cl-big-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cl-big-card h3 { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 3rem 1.2rem 1rem; font-size: 1.1rem; font-weight: 800; line-height: 1.3; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.6) 50%, transparent 100%); }
.cl-big-card .cl-byline { position: absolute; bottom: 0.6rem; left: 1.2rem; right: 1.2rem; color: #ddd; font-size: 0.8rem; z-index: 2; }
.cl-big-card h3 { padding-bottom: 2.2rem; }

.cl-shorts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.cl-short { position: relative; display: block; border-radius: 6px; overflow: hidden; background: #141414; text-decoration: none; }
.cl-short img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.cl-play { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); font-size: 2rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.cl-short h4 { font-size: .78rem; padding: .5rem; margin: 0; color: var(--text); line-height: 1.3; }

.cl-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.cl-list li a { display: flex; justify-content: space-between; align-items: center; background: #f5f5f5; border-radius: 6px; padding: .9rem 1rem; text-decoration: none; }
.cl-list h3 { font-size: .92rem; margin: 0; color: var(--text); }
.cl-list span { color: var(--accent); font-weight: 700; white-space: nowrap; }

.cl-feed .cl-tabs { display: flex; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.cl-tabs button { background: #141414; border: 1px solid rgba(229,9,20,.3); color: #B3B3B3; padding: .45rem 1rem; border-radius: 20px; font-size: .8rem; font-weight: 600; cursor: pointer; text-transform: uppercase; }
.cl-tabs button.active { background: var(--accent); color: #0d0d0f; border-color: var(--accent); }
.cl-feed-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.cl-feed-list li a { display: flex; gap: 1.2rem; text-decoration: none; }
.cl-feed-list img { width: 140px; aspect-ratio: 2/3; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.cl-feed-list h3 { font-size: 1.05rem; margin: 0 0 .4rem; color: var(--text); }
.cl-feed-list p { font-size: .88rem; color: var(--muted); margin: 0 0 .4rem; line-height: 1.45; }
.cl-meta { font-size: .8rem; color: var(--muted); }
.cl-see-more { display: block; text-align: center; background: #E50914; border-radius: 6px; padding: .9rem; margin-top: 1.5rem; color: var(--text); font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; }

@media (max-width: 900px) {
  .cl-hero-wrap { grid-template-columns: 1fr; }
  .cl-hero-feature { min-height: 300px; }
  .cl-hero-card { min-height: 130px; }
  .cl-cards-3 { grid-template-columns: 1fr; }
  .cl-shorts { grid-template-columns: repeat(2, 1fr); }
  .cl-duo { grid-template-columns: 1fr; }
  .cl-feed-list img { width: 100px; }
}

/* Date badges on featured cards */
.cl-big-card { position: relative; }
.cl-date-badge { position: absolute; top: .8rem; left: .8rem; background: rgba(0,0,0,.7); color: #fff; font-size: .75rem; padding: .3rem .6rem; border-radius: 4px; }

/* Shorts metadata */
.cl-short-wrap h4 { font-size: .82rem; margin: .5rem 0 .2rem; line-height: 1.35; }
.cl-short-wrap h4 a { color: var(--text); text-decoration: none; }
.cl-short-meta { font-size: .75rem; color: var(--muted); }

/* Review/profile cards with authors */
.cl-review-cards, .cl-profile-cards { display: flex; flex-direction: column; gap: 1rem; }
.cl-review-card, .cl-profile-card { display: flex; gap: 1rem; background: #141414; border: 1px solid rgba(229,9,20,.18); border-radius: 8px; overflow: hidden; text-decoration: none; }
.cl-review-card img, .cl-profile-card img { width: 110px; aspect-ratio: 2/3; object-fit: cover; flex: 0 0 auto; }
.cl-review-card div, .cl-profile-card { padding: .8rem; }
.cl-review-card:hover, .cl-profile-card:hover { border-color: #E50914; }
.cl-review-card h3, .cl-profile-card h3 { font-size: .92rem; margin: 0 0 .4rem; color: var(--text); }
.cl-byline { font-size: .78rem; color: var(--muted); }

/* Feed + What to Watch sidebar */
.cl-feed-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.cl-watch-side { align-self: start; }
.cl-watch-side h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 1rem; }
.cl-watch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.cl-watch-card { display: block; border-radius: 10px; overflow: hidden; text-decoration: none; position: relative; }
.cl-watch-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.cl-watch-card:hover img { transform: scale(1.05); }
.cl-watch-card img { transition: transform 0.3s ease; }
.cl-watch-rating { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,0.75); color: #ffd700; font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; }

@media (max-width: 900px) {
  .cl-feed-wrap { grid-template-columns: 1fr; }
}

/* ---- Collider mobile-style Latest feed ---- */
.cl-feed-item { display: flex; gap: 1rem; text-decoration: none; align-items: flex-start; }
.cl-feed-item img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.cl-feed-text { flex: 1; min-width: 0; }
.cl-feed-time { font-size: 0.8rem; color: #888; display: block; margin-bottom: 0.3rem; }
.cl-feed-text h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0 0 0.4rem; color: #1a1a1a; }
.cl-feed-meta { font-size: 0.82rem; color: #777; }
.cl-feed-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.cl-feed-list li { margin: 0; }

/* ---- Pill filter tabs (Collider style) ---- */
.cl-tabs { display: flex; gap: 0.6rem; margin: 1rem 0 1.4rem; overflow-x: auto; padding-bottom: 0.3rem; scrollbar-width: none; }
.cl-tabs::-webkit-scrollbar { display: none; }
.cl-tabs button { background: #141414; color: #B3B3B3; border: none; padding: 0.6rem 1.1rem; border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; flex: 0 0 auto; transition: all 0.2s; }
.cl-tabs button:hover { background: rgba(229,9,20,.15); color: #FFFFFF; }
.cl-tabs button.active { background: #E50914; color: #fff; }

/* ---- Big SEE MORE button ---- */
.cl-see-more { display: block; text-align: center; background: #E50914; color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; padding: 1.1rem; border-radius: 12px; margin: 2rem auto; max-width: 420px; text-decoration: none; border: 1px solid #333; }
.cl-see-more:hover { background: #F6121D; }

/* ---- Profiles carousel arrows ---- */
.cl-profile-nav { display: flex; gap: 0.6rem; }
.cl-profile-nav button { background: #141414; color: #F6121D; border: none; width: 44px; height: 44px; border-radius: 10px; font-size: 1.2rem; cursor: pointer; }
.cl-profile-nav button:hover { background: #2e2e30; }

/* Back button on detail pages */
.cv-back-btn { position: fixed; top: auto; bottom: 24px; left: 16px; z-index: 9999; display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(26,26,26,0.92); color: #fff; border: 1px solid #444; padding: 0.6rem 1.1rem; border-radius: 30px; font-size: 0.85rem; font-weight: 600; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.cv-back-btn:hover { background: #2e2e30; }

/* Collider-style end section */
.cl-end-section { text-align: center; padding: 3rem 1rem 2rem; background: #000000; }
.cl-see-more-btn { display: inline-block; background: #E50914; color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: 1px; padding: .7rem 2rem; border-radius: 10px; text-decoration: none; margin-bottom: 1.8rem; }
.cl-see-more-btn:hover { background: #F6121D; }
.cl-end-logo .logo-word { font-size: 1.6rem; font-weight: 900; color: #FFFFFF; }
.cl-end-logo .logo-word em { font-style: normal; color: #F6121D; }

/* Collider-style typography */
h1, h2, h3, h4, h5, h6,
.cl-hero-text h1, .cl-hero-card h3, .cl-big-card h3, .cl-watch-card h3,
.cl-section-head h2, .news-kicker, .logo-word {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cl-hero-text h1 { font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.8rem); }
.cl-section-head h2 { font-weight: 900; text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.02em; }

/* Shorts: horizontal scroll vertical cards */
.cl-shorts-section { margin-bottom: 2.5rem; }
.cl-shorts-scroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.cl-shorts-scroll::-webkit-scrollbar { height: 6px; }
.cl-shorts-scroll::-webkit-scrollbar-thumb { background: #E50914; border-radius: 3px; }
.cl-shorts-card { flex: 0 0 160px; scroll-snap-align: start; position: relative; border-radius: 12px; overflow: hidden; text-decoration: none; background: #141414; aspect-ratio: 9/16; }
.cl-shorts-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-shorts-card:hover img { transform: scale(1.05); }
.cl-shorts-card img { transition: transform 0.3s ease; }
.cl-shorts-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: rgba(22, 163, 106, 0.9); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.cl-shorts-card h4 { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 1.5rem 0.6rem 0.6rem; font-size: 0.75rem; font-weight: 700; color: #fff; line-height: 1.3; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); }
@media (max-width: 640px) { .cl-shorts-card { flex: 0 0 130px; } }

/* Reviews: Collider-style horizontal cards */
.cl-reviews-list { display: flex; flex-direction: column; gap: 1rem; background: #000000; border-radius: 16px; padding: 1.25rem; }
.cl-review-row { display: flex; background: #141414; border-radius: 12px; overflow: hidden; text-decoration: none; border: 1px solid rgba(229,9,20,.18); }
.cl-review-row img { width: 140px; min-width: 140px; aspect-ratio: 4/3; object-fit: cover; }
.cl-review-row-body { padding: 0.9rem 1rem; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.cl-review-date { font-size: 0.75rem; color: #B3B3B3; margin-bottom: 0.3rem; }
.cl-review-row-body h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 800; line-height: 1.3; color: #FFFFFF; }
.cl-review-author { font-size: 0.8rem; color: #B3B3B3; font-weight: 600; }
.cl-review-row:hover { border-color: #E50914; }
@media (max-width: 640px) { .cl-review-row img { width: 110px; min-width: 110px; } }

/* Profiles: Collider-style carousel */
.cl-profiles-carousel { position: relative; }
.cl-profiles-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; scrollbar-width: none; }
.cl-profiles-track::-webkit-scrollbar { display: none; }
.cl-profile-slide { flex: 0 0 200px; scroll-snap-align: start; position: relative; border-radius: 12px; overflow: hidden; text-decoration: none; aspect-ratio: 3/4; background: #141414; }
.cl-profile-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.cl-profile-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 1rem 1rem; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); }
.cl-profile-overlay h3 { margin: 0; color: #fff; font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.cl-profile-nav { display: flex; gap: 0.6rem; margin-top: 0.8rem; justify-content: flex-end; }
.cl-profile-nav button { background: #141414; color: #F6121D; border: none; width: 48px; height: 48px; border-radius: 10px; font-size: 1.3rem; cursor: pointer; }
.cl-profile-nav button:hover { background: #E50914; color: #fff; }
@media (max-width: 640px) { .cl-profile-slide { flex: 0 0 160px; } }

/* ============ ANIMATIONS: ticker, auto-scroll rails, image effects ============ */

/* ---- latest ticker ---- */
.trend-ticker { display: flex; align-items: stretch; background: #000000; border-top: 1px solid #2A2A2A;
  border-bottom: 1px solid #2A2A2A; overflow: hidden; }
.ticker-label { background: #E50914; color: #000000; font-weight: 900; font-size: 0.8rem; letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px; padding: 0 1.1rem; flex: none; z-index: 2; white-space: nowrap; border-radius: 8px; margin: 8px 0 8px 12px; }
.ticker-label svg { width: 15px; height: 15px; }
.ticker-track { overflow-x: auto; flex: 1; min-width: 0; display: flex; align-items: center; gap: 0; scrollbar-width: none; -ms-overflow-style: none; padding: 0 8px; }
.ticker-track::-webkit-scrollbar { display: none; }
.ticker-item { color: #ddd; font-size: 0.9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-right: 1px solid #2a2a2a; flex: none; }
.ticker-item:hover { color: #E50914; }
.ticker-item:last-child { border-right: none; }
.tdot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.td-0 { background: #E50914; } .td-1 { background: #ff4d4d; } .td-2 { background: #ffcc00; } .td-3 { background: #3aa0ff; }
.ticker-btns { display: flex; align-items: center; gap: 8px; padding: 0 14px; flex: none; }
.ticker-btns button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #2a4a40; background: transparent;
  color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ticker-btns button:hover { border-color: #E50914; color: #E50914; }
@media (max-width: 600px) {
  .ticker-label { font-size: 0.68rem; padding: 0 0.7rem; }
  .ticker-item { font-size: 0.8rem; padding: 10px 14px; }
}

/* ---- image entrance animation (fade+rise on scroll) ---- */
@keyframes card-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.anim-in { animation: card-rise 0.6s ease-out both; }

/* ---- image hover zoom (all cards) ---- */
.cl-hero-feature img, .cl-hero-card img, .np-card-img img, .nb-thumb img,
.cl-card img, .cl-shorts-card img, .more-featured img, .more-row img,
.poster-card img, .cast-card img {
  transition: transform 0.4s ease;
}
a:hover > img, .cl-hero-feature:hover img, .cl-hero-card:hover img, .np-card:hover .np-card-img img,
.nb-row:hover .nb-thumb img, .more-row:hover img, .more-featured:hover img { transform: scale(1.06); }
.np-card-img, .nb-thumb, .cl-hero-feature, .cl-hero-card { overflow: hidden; border-radius: 8px; }

/* ---- auto-scrolling rails ---- */
.auto-rail { display: flex; gap: 1rem; overflow: hidden; position: relative; }
.auto-rail-inner { display: flex; gap: 1rem; animation: rail-scroll 45s linear infinite; flex: none; }
.auto-rail:hover .auto-rail-inner { animation-play-state: paused; }
@keyframes rail-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (max-width: 600px) {
  .ticker-label { font-size: 0.65rem; padding: 0 0.7rem; }
  .ticker-item { font-size: 0.8rem; }
  .ticker-inner { animation-duration: 30s; }
}

/* ============ WHERE TO WATCH (Collider-style) ============ */
.watch-section { background: #111; border: 1px solid #222; border-radius: 12px; padding: 1.3rem; margin-bottom: 1.5rem; }
.watch-section h2 { color: #fff; margin: 0 0 0.3rem; font-size: 1.25rem; }
.watch-note { color: #888; font-size: 0.82rem; margin: 0 0 1rem; }
.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.8rem; }
.provider-card { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 10px; padding: 0.8rem 0.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem; text-align: center; transition: border-color .2s; }
.provider-card:hover { border-color: #E50914; }
.provider-card img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.provider-name { color: #eee; font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.provider-kind { color: #F6121D; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
@media (max-width: 600px) { .provider-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ WATCHMODE "WHERE TO WATCH" link groups ============ */
.wm-groups { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.1rem; }
.wm-label { color: #F6121D; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 0.5rem; }
.wm-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wm-link { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; padding: 0.5rem 0.9rem;
  color: #eee; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: border-color .2s; }
a.wm-link:hover { border-color: #E50914; color: #fff; }
.wm-attr { margin-top: 1rem; }
.wm-attr a { color: #F6121D; }

/* ============ MOVIE SUGGESTIONS (20 grid) ============ */
.suggestions-section { margin-bottom: 2rem; }
.suggestions-section h2 { color: #fff; font-size: 1.4rem; margin: 0 0 0.3rem; }
.suggestions-section h2 span { color: #a855f7; }
.suggest-note { color: #888; font-size: 0.85rem; margin: 0 0 1.2rem; }
.suggest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.suggest-card { text-decoration: none; background: #161616; border: 1px solid #262626; border-radius: 10px;
  overflow: hidden; transition: transform .2s, border-color .2s; display: block; }
.suggest-card:hover { transform: translateY(-4px); border-color: #E50914; }
.suggest-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.suggest-info { padding: 0.7rem 0.8rem; }
.suggest-info h3 { color: #eee; font-size: 0.85rem; margin: 0 0 0.3rem; line-height: 1.3; font-weight: 700; }
.suggest-meta { color: #888; font-size: 0.75rem; }
@media (max-width: 900px) { .suggest-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .suggest-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; } }
@media (max-width: 480px) { .suggest-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ CineVault premium dark-green theme (2026-09-28) ============ */

body {
  background: #000000;
  color: #FFFFFF;
}

/* ---------- layout: sections stay centered, comfortable padding ---------- */
main, .page-wrap, .news-portal, .np-top, .cl-wrap {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ---------- cards: consistent size, no overflow ---------- */
.card, .movie-card, .tv-card, .np-card, .person-card, .suggest-card,
.cl-shorts-card, .short-card {
  background: #141414;
  border: 1px solid rgba(229,9,20,.18);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  max-width: 100%;
}
.card:hover, .movie-card:hover, .tv-card:hover, .np-card:hover,
.person-card:hover, .suggest-card:hover {
  transform: translateY(-3px);
  border-color: #E50914;
  box-shadow: 0 8px 24px rgba(229,9,20,.25);
}

/* ---------- images: always fit, never stretch ---------- */
.card img, .movie-card img, .tv-card img, .np-card img,
.person-card img, .suggest-card img, .poster-wrap img,
.np-card-img img, .cl-shorts-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.poster-wrap, .np-card-img {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #141414;
}
.np-card-img { aspect-ratio: 16/9; }

/* ---------- grids: even gaps, cards never too wide ---------- */
.suggest-grid, .card-grid, .movie-grid, .tv-grid, .np-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
@media (min-width: 768px) {
  .suggest-grid, .card-grid, .movie-grid, .tv-grid, .np-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
}

/* ---------- ticker ---------- */
.trend-ticker, .ticker {
  background: #000000 !important;
  border-top: 1px solid rgba(229,9,20,.25);
  border-bottom: 1px solid rgba(229,9,20,.25);
}
.trend-ticker a, .ticker a { color: #FFFFFF !important; }
.trend-ticker strong, .ticker strong { color: #F6121D !important; }

/* ---------- section titles: green accent bar ---------- */
.sec-title, .section-title, .rail-title,
.cl-sec-head h2, .np-sec-title {
  position: relative;
  padding-bottom: .45rem;
  color: #FFFFFF;
}
.sec-title::after, .section-title::after, .rail-title::after,
.cl-sec-head h2::after, .np-sec-title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px; border-radius: 3px;
  background: #E50914;
}

/* ---------- badges / tags ---------- */
.badge, .tag, .genre-tag, .kicker, .cat-badge {
  background: rgba(229,9,20,.15) !important;
  color: #F6121D !important;
  border: 1px solid rgba(229,9,20,.4) !important;
}

/* ---------- buttons ---------- */
.btn-primary, .btn-watchlist.saved {
  background: #E50914 !important;
  border: 0 !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-watchlist.saved:hover { background: #F6121D !important; }
.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(229,9,20,.4);
}
.btn-ghost:hover { border-color: #F6121D; color: #F6121D; }

/* ---------- hero glow ---------- */
.hero::before, .cl-hero-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 200px at 15% 0%, rgba(229,9,20,.18), transparent 70%),
    radial-gradient(500px 200px at 85% 20%, rgba(32,199,127,.12), transparent 70%);
}

/* ---------- where to watch ---------- */
.wtw-providers img, .provider-logo {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(229,9,20,.25);
}

/* ---------- ratings ---------- */
.rating, .score-badge {
  background: #E50914 !important;
  color: #fff !important;
}

/* ---------- footer ---------- */
.site-footer {
  background: #000000;
  border-top: 3px solid #E50914;
  color: #B3B3B3;
}
.site-footer a { color: #B3B3B3; }
.site-footer a:hover { color: #F6121D; }

/* ---------- header nav ---------- */
.site-header { background: #000000; }
.site-header a { color: #FFFFFF; }
.site-header a:hover, .nav a:hover { color: #F6121D; }
.submenu { background: #141414; border: 1px solid rgba(229,9,20,.2); }
.submenu a:hover { background: rgba(229,9,20,.12); color: #F6121D; }

/* ---------- text colors ---------- */
h1, h2, h3, h4 { color: #FFFFFF; }
.page-sub, .np-excerpt { color: #B3B3B3; }

/* ============ A-Z PROPER RESPONSIVE CARDS (mobile-first, 2026-09-28) ============ */

/* ---- base: every card image fits, never stretches ---- */
.cl-hero-feature img, .cl-hero-card img, .cl-big-card img,
.cl-short img, .cl-shorts-card img, .cl-review-row img,
.cl-review-card img, .cl-profile-slide img, .cl-feed-list img,
.cl-watch-card img, .cl-director-card img, .cl-latest-side li img {
  object-fit: cover;
  object-position: center;
  display: block;
  width: 100%;
}

/* ---- section rhythm + headers (consistent everywhere) ---- */
.cl-section { margin-bottom: 2.25rem; }
.cl-section-head h2 { font-size: 1.15rem; }
@media (min-width: 900px) {
  .cl-section { margin-bottom: 3rem; }
  .cl-section-head h2 { font-size: 1.3rem; }
}

/* ---- HERO: mobile = feature + horizontal snap row; desktop = big grid ---- */
.cl-hero-wrap { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2rem; }
.cl-hero-feature { aspect-ratio: 16/9; min-height: 0; border-radius: 14px; }
.cl-hero-text { padding: 3rem 1.2rem 1.2rem; }
.cl-hero-text h1 { font-size: 1.25rem; }
.cl-hero-text p { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-hero-cards {
  display: flex; flex-direction: row; gap: .8rem; margin-top: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: .4rem; scrollbar-width: none;
}
.cl-hero-cards::-webkit-scrollbar { display: none; }
.cl-hero-card {
  flex: 0 0 230px; scroll-snap-align: start;
  aspect-ratio: 16/10; min-height: 0; border-radius: 12px;
}
.cl-hero-card h3 { font-size: .95rem; padding: 2.2rem .9rem .9rem; }
@media (min-width: 900px) {
  .cl-hero-wrap { grid-template-columns: 2.2fr 1fr; gap: 1.75rem; margin-bottom: 2.5rem; }
  .cl-hero-feature { min-height: 400px; border-radius: 16px; }
  .cl-hero-text { padding: 4rem 1.8rem 1.8rem; }
  .cl-hero-text h1 { font-size: 1.35rem; }
  .cl-hero-text p { font-size: 1.05rem; -webkit-line-clamp: unset; display: block; }
  .cl-hero-cards { flex-direction: column; gap: 1.25rem; margin-top: 1.25rem; overflow: visible; padding-bottom: 0; }
  .cl-hero-card { flex: none; aspect-ratio: 16/8; min-height: 150px; border-radius: 16px; }
  .cl-hero-card h3 { font-size: 1.3rem; padding: 3rem 1.4rem 1.4rem; }
}

/* ---- Latest sidebar: horizontal scroll on mobile, box on desktop ---- */
.cl-latest-side { padding: 1.1rem; }
.cl-latest-side ul { gap: .9rem; }
.cl-latest-side li img { width: 96px; height: 54px; }
.cl-latest-side h3 { font-size: .88rem; }
@media (min-width: 900px) {
  .cl-latest-side { padding: 1.4rem; }
  .cl-latest-side li img { width: 110px; height: 62px; }
  .cl-latest-side h3 { font-size: .95rem; }
}

/* ---- Spotlight big cards ---- */
.cl-cards-3 { grid-template-columns: 1fr; gap: 1rem; }
.cl-big-card { aspect-ratio: 16/9; margin-bottom: 0; border-radius: 14px; }
.cl-big-card h3 { font-size: 1rem; padding: 2.5rem 1rem 2rem; }
@media (min-width: 640px) { .cl-cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cl-cards-3 { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .cl-big-card { aspect-ratio: 16/10; border-radius: 16px; }
  .cl-big-card h3 { font-size: 1.1rem; padding: 3rem 1.2rem 2.2rem; }
}

/* ---- Trailers poster grid ---- */
.cl-shorts { grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.cl-short-wrap h4 { font-size: .75rem; }
@media (min-width: 700px) { .cl-shorts { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
@media (min-width: 1024px) {
  .cl-shorts { grid-template-columns: repeat(5, 1fr); }
  .cl-short-wrap h4 { font-size: .82rem; }
}

/* ---- Shorts horizontal scroll ---- */
.cl-shorts-card { flex: 0 0 128px; }
@media (min-width: 700px) { .cl-shorts-card { flex: 0 0 160px; } }

/* ---- Reviews rows ---- */
.cl-reviews-list { padding: 1rem; gap: .9rem; border-radius: 14px; }
.cl-review-row img { width: 104px; min-width: 104px; }
.cl-review-row-body { padding: .75rem .9rem; }
.cl-review-row-body h3 { font-size: .92rem; }
@media (min-width: 700px) {
  .cl-reviews-list { padding: 1.25rem; }
  .cl-review-row img { width: 140px; min-width: 140px; }
  .cl-review-row-body h3 { font-size: 1rem; }
}

/* ---- Top Rated + Profiles duo ---- */
.cl-duo { grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .cl-duo { grid-template-columns: 1fr 1fr; } }
.cl-review-card img { width: 92px; }
.cl-review-card h3 { font-size: .88rem; }
@media (min-width: 700px) {
  .cl-review-card img { width: 110px; }
  .cl-review-card h3 { font-size: .92rem; }
}
.cl-profile-slide { flex: 0 0 150px; }
@media (min-width: 700px) { .cl-profile-slide { flex: 0 0 200px; } }

/* ---- Latest feed: fix dark-on-dark text bug + proper sizes ---- */
.cl-feed-list { gap: 1.1rem; }
.cl-feed-list li a { gap: .9rem; }
.cl-feed-list img { width: 96px; }
.cl-feed-list h3 { font-size: .95rem; color: #FFFFFF; }
.cl-feed-list p { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-feed-text h3 { color: #FFFFFF; }
.cl-feed-time { color: #B3B3B3; }
@media (min-width: 700px) {
  .cl-feed-list { gap: 1.4rem; }
  .cl-feed-list li a { gap: 1.2rem; }
  .cl-feed-list img { width: 140px; }
  .cl-feed-list h3 { font-size: 1.05rem; }
  .cl-feed-list p { font-size: .88rem; -webkit-line-clamp: 3; }
}

/* ---- What to Watch grid ---- */
.cl-watch-grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; }
@media (min-width: 900px) { .cl-watch-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }

/* ---- Tabs: scrollable on mobile ---- */
.cl-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.cl-tabs::-webkit-scrollbar { display: none; }
.cl-tabs button { flex: 0 0 auto; }
@media (min-width: 700px) { .cl-tabs { flex-wrap: wrap; overflow: visible; } }

/* ---- Ticker: compact on mobile ---- */
.trend-ticker { margin: 0 0 1rem; }
@media (min-width: 700px) { .trend-ticker { margin: 0 0 1.2rem; } }

/* ---- no horizontal overflow anywhere ---- */
.cl-hero-wrap, .cl-section, .cl-feed-wrap, .cl-duo { max-width: 100%; overflow: hidden; }
.cl-hero-cards, .cl-shorts-scroll, .cl-profiles-track { overflow-x: auto; overflow-y: hidden; }

/* ============ GRID BLOWOUT FIX (hero card wider than screen) ============ */
/* Any grid item containing a horizontal scroller must allow shrinking,
   otherwise the scroller's content width stretches the whole grid column
   and cards overflow the viewport (text clipped at right edge). */
.cl-hero-main,
.cl-feed-wrap > section, .cl-feed-wrap > aside,
.cl-duo > section {
  min-width: 0;
}
/* Mobile hero: compact, always fits the screen */
.cl-hero-feature { width: 100%; max-width: 100%; }
.cl-hero-text { max-width: 100%; }
.cl-hero-text h1 { overflow-wrap: break-word; }

/* ============ CineVault Collider-style homepage (2026-09-28) ============ */
.cv-newsfeed { max-width: 1200px; margin: 0 auto; padding: 16px 12px; }
.cv-feed-tabs { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; }
.cv-tab { background: #2a2a2a; color: #ccc; border: none; padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cv-tab.active { background: #E50914; color: #fff; }
.cv-feed-list { display: flex; flex-direction: column; }
.cv-feed-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #2a2a2a; text-decoration: none; color: inherit; }
.cv-feed-thumb { width: 120px; height: 68px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cv-feed-body { flex: 1; min-width: 0; }
.cv-feed-time { font-size: 12px; color: #888; }
.cv-feed-body h3 { font-size: 16px; margin: 4px 0; line-height: 1.3; color: #fff; }
.cv-feed-body p { font-size: 13px; color: #aaa; margin: 4px 0; line-height: 1.4; }
.cv-feed-by { font-size: 12px; color: #888; }
.cv-see-more-btn { display: block; text-align: center; background: #2a2a2a; color: #fff; padding: 12px; border-radius: 8px; margin: 16px 0; text-decoration: none; font-weight: 600; }
.cv-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; max-width: 1200px; margin: 0 auto; padding: 16px 12px; }
.cv-hero-main { position: relative; border-radius: 10px; overflow: hidden; text-decoration: none; min-height: 300px; }
.cv-hero-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cv-hero-main-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.cv-hero-main-text h1 { color: #fff; font-size: 24px; margin: 0; line-height: 1.25; }
.cv-hero-side { display: flex; flex-direction: column; gap: 12px; }
.cv-hero-side-card { position: relative; border-radius: 8px; overflow: hidden; text-decoration: none; flex: 1; min-height: 120px; }
.cv-hero-side-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cv-hero-side-card h3 { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; margin: 0; color: #fff; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.cv-section { max-width: 1200px; margin: 0 auto; padding: 16px 12px; }
.cv-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cv-section-head h2 { color: #fff; font-size: 20px; margin: 0; }
.cv-section-head a { color: #E50914; text-decoration: none; font-size: 13px; font-weight: 600; }
.cv-hscroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.cv-movie-card { flex: 0 0 150px; text-decoration: none; color: inherit; scroll-snap-align: start; }
.cv-movie-card img { width: 150px; height: 225px; object-fit: cover; border-radius: 8px; }
.cv-movie-card h4 { font-size: 13px; margin: 8px 0 4px; color: #fff; line-height: 1.3; }
.cv-score { font-size: 12px; color: #E50914; }
.cv-trailer-card, .cv-shorts-card { position: relative; flex: 0 0 220px; border-radius: 8px; overflow: hidden; text-decoration: none; scroll-snap-align: start; }
.cv-trailer-card img { width: 220px; height: 124px; object-fit: cover; }
.cv-shorts-card img { width: 160px; height: 284px; object-fit: cover; }
.cv-shorts-card { flex-basis: 160px; }
.cv-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,0.6); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.cv-trailer-card h4, .cv-shorts-card h4 { font-size: 13px; margin: 8px 0; color: #fff; line-height: 1.3; }
.cv-review-card { flex: 0 0 300px; background: #1e1e1e; border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; scroll-snap-align: start; }
.cv-review-card img { width: 300px; height: 169px; object-fit: cover; }
.cv-review-body { padding: 12px; }
.cv-review-body h3 { font-size: 14px; margin: 0 0 8px; color: #fff; line-height: 1.35; }
.cv-profile-card { flex: 0 0 180px; text-decoration: none; color: inherit; scroll-snap-align: start; position: relative; }
.cv-profile-card img { width: 180px; height: 240px; object-fit: cover; border-radius: 8px; }
.cv-profile-card h3 { font-size: 14px; margin: 8px 0; color: #fff; }
.cv-profile-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.cv-profile-nav button { background: #2a2a2a; color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 16px; }
/* Mobile */
@media (max-width: 768px) {
  .cv-hero { grid-template-columns: 1fr; }
  .cv-hero-main { min-height: 220px; }
  .cv-hero-main-text h1 { font-size: 19px; }
  .cv-hero-side { flex-direction: row; overflow-x: auto; }
  .cv-hero-side-card { flex: 0 0 220px; min-height: 140px; }
  .cv-feed-thumb { width: 100px; height: 57px; }
  .cv-feed-body h3 { font-size: 14px; }
  .cv-movie-card { flex-basis: 120px; }
  .cv-movie-card img { width: 120px; height: 180px; }
}

/* ============ Bigger sizes (user request 2026-09-28) ============ */
.cl-cards-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cl-big-card img { height: 220px; }
.cl-big-card h3 { font-size: 18px; }
.cl-hero-feature { min-height: 420px; }
.cl-hero-feature h2 { font-size: 28px; }
.cl-hero-card { min-height: 150px; }
.cl-hero-card h3 { font-size: 16px; }
.cl-movie-card { flex-basis: 180px; }
.cl-movie-card img { width: 180px; height: 270px; }
.cl-movie-card h4 { font-size: 15px; }
.cl-section-head h2 { font-size: 24px; }
@media (max-width: 768px) {
  .cl-cards-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cl-big-card img { height: 160px; }
  .cl-hero-feature { min-height: 240px; }
  .cl-hero-feature h2 { font-size: 20px; }
}
.cl-rail { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; }
.cl-rail .cl-movie-card { flex: 0 0 auto; scroll-snap-align: start; text-decoration: none; }
.cl-profile-name { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 0.8rem 0.8rem; color: #fff; font-weight: 600; font-size: 0.95rem; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }

/* ============ Collider-style LATEST timeline sidebar ============ */
.cv-timeline { position: relative; padding-left: 18px; }
.cv-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: #2a2a2a; }
.cv-timeline-row { position: relative; display: flex; gap: 10px; padding: 10px 0; text-decoration: none; align-items: flex-start; }
.cv-timeline-dot { position: absolute; left: -17px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: #888; border: 2px solid #1a1a1a; flex-shrink: 0; }
.cv-timeline-row:first-child .cv-timeline-dot { background: #E50914; }
.cv-timeline-text { flex: 1; min-width: 0; }
.cv-timeline-time { font-size: 12px; color: #888; }
.cv-timeline-text h3 { font-size: 14px; margin: 4px 0 0; color: #fff; line-height: 1.35; }
.cv-timeline-row img { width: 110px; height: 62px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

/* ============ Trending Stories horizontal carousel ============ */
.cv-stories-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #E50914 #141414; }
.cv-stories-scroll::-webkit-scrollbar { height: 8px; }
.cv-stories-scroll::-webkit-scrollbar-track { background: #141414; border-radius: 4px; }
.cv-stories-scroll::-webkit-scrollbar-thumb { background: #E50914; border-radius: 4px; }
.cv-story-card { position: relative; flex: 0 0 320px; height: 200px; border-radius: 12px; overflow: hidden; scroll-snap-align: start; text-decoration: none; background: #141414; }
.cv-story-card.cv-story-big { flex: 0 0 480px; height: 260px; }
.cv-story-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-story-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.cv-story-date { font-size: 12px; color: #ccc; }
.cv-story-text h3 { font-size: 17px; margin: 4px 0 0; color: #fff; line-height: 1.3; }
.cv-story-big .cv-story-text h3 { font-size: 22px; }
@media (max-width: 768px) {
  .cv-story-card { flex: 0 0 260px; height: 170px; }
  .cv-story-card.cv-story-big { flex: 0 0 300px; height: 200px; }
  .cv-story-text h3 { font-size: 15px; }
  .cv-story-big .cv-story-text h3 { font-size: 17px; }
}

/* ============ Narrower LATEST sidebar + equal heights (Collider proportions) ============ */
@media (min-width: 900px) {
  .cl-hero-wrap { grid-template-columns: 3fr 1fr; }
  .cl-latest-side { display: flex; flex-direction: column; align-self: stretch; }
  .cv-timeline { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
  .cv-timeline-row { padding: 6px 0; }
}

/* ============ Compact hero section ============ */
@media (min-width: 900px) {
  .cl-hero-feature { min-height: 300px; }
  .cl-hero-text { padding: 2.5rem 1.4rem 1.2rem; }
  .cl-hero-text h1 { font-size: 22px; }
  .cl-hero-text h2 { font-size: 19px; }
  .cl-hero-cards { gap: 0.8rem; margin-top: 0.8rem; }
  .cl-hero-card { min-height: 110px; }
  .cl-hero-card h3 { font-size: 14px; }
  .cl-hero-wrap { gap: 1.2rem; margin-bottom: 1.8rem; }
}

/* ============ Smaller hero cards + tighter section gaps ============ */
@media (min-width: 900px) {
  .cl-hero-feature { min-height: 260px; }
  .cl-hero-text h1 { font-size: 20px; }
  .cl-hero-card { min-height: 95px; }
  .cl-hero-card h3 { font-size: 13px; }
  .cl-hero-wrap { margin-bottom: 1.5rem; }
  .cl-section { margin-bottom: 1.8rem; }
}

/* ============================================================
   CINEVAULT v2 — Original dark cinematic design system
   bg #000000 / card #141414 / text #fff / muted #B3B3B3 / accent #E50914
   ============================================================ */
.cv-sec { margin-bottom: 32px; }
.cv-sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cv-sec-head h2 { font-size: 20px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; margin: 0; color: #fff; }
.cv-more { font-size: 13px; font-weight: 700; color: #E50914; text-decoration: none; }
.cv-kicker { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #E50914; }
.cv-date { font-size: 12px; color: #B3B3B3; }

/* 1. Popular News — compact cards */
.cv-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cv-news-card { display: block; background: #141414; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform .2s; }
.cv-news-card:hover { transform: translateY(-3px); }
.cv-news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.cv-news-body { padding: 12px 14px; }
.cv-news-body h3 { font-size: 15px; margin: 6px 0 8px; color: #fff; line-height: 1.35; }

/* 2. Featured + Latest */
.cv-hero-wrap { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; }
.cv-hero-feature { position: relative; display: block; border-radius: 14px; overflow: hidden; min-height: 260px; text-decoration: none; background: #141414; }
.cv-hero-feature img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cv-hero-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 3rem 1.4rem 1.3rem; background: linear-gradient(transparent, rgba(0,0,0,.92)); }
.cv-hero-text h2 { font-size: 22px; margin: 6px 0; color: #fff; line-height: 1.25; }
.cv-hero-text p { font-size: 14px; color: #B3B3B3; margin: 0; line-height: 1.5; }
.cv-hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.cv-hero-card { position: relative; display: block; border-radius: 10px; overflow: hidden; min-height: 95px; text-decoration: none; background: #141414; }
.cv-hero-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cv-hero-card-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.8rem .8rem .7rem; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.cv-hero-card-text h3 { font-size: 13px; margin: 0; color: #fff; line-height: 1.3; }
.cv-latest-side { background: #0A211D; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; align-self: stretch; }
.cv-latest-side h2 { font-size: 15px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid #E50914; color: #fff; }
.cv-timeline { position: relative; padding-left: 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cv-timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.12); }
.cv-timeline-row { position: relative; display: flex; gap: 10px; padding: 8px 0; text-decoration: none; align-items: flex-start; }
.cv-timeline-dot { position: absolute; left: -16px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: #5a6b67; border: 2px solid #0A211D; }
.cv-timeline-row:first-child .cv-timeline-dot { background: #E50914; }
.cv-timeline-text { flex: 1; min-width: 0; }
.cv-timeline-time { font-size: 11px; color: #B3B3B3; }
.cv-timeline-text h3 { font-size: 13px; margin: 3px 0 0; color: #fff; line-height: 1.35; }
.cv-timeline-row img { width: 90px; height: 51px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

/* 3. Trailers */
.cv-trailer-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.cv-trailer-card { position: relative; flex: 0 0 300px; border-radius: 12px; overflow: hidden; scroll-snap-align: start; text-decoration: none; background: #141414; border: 1px solid rgba(255,255,255,.08); }
.cv-trailer-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.cv-play { position: absolute; top: 50%; left: 50%; transform: translate(-38%, -70%); width: 46px; height: 46px; border-radius: 50%; background: rgba(229,9,20,.92); color: #000000; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.cv-trailer-meta { padding: 10px 12px; }
.cv-trailer-meta h4 { font-size: 14px; margin: 0 0 4px; color: #fff; }
.cv-trailer-meta span { font-size: 12px; color: #B3B3B3; }

/* 4. Shorts — 9:16 */
.cv-shorts-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.cv-short-card { position: relative; flex: 0 0 160px; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; scroll-snap-align: start; text-decoration: none; background: #141414; }
.cv-short-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-short-card .cv-play { width: 38px; height: 38px; font-size: 15px; transform: translate(-50%, -50%); }
.cv-short-card h4 { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 1.6rem .7rem .6rem; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.9)); }

/* 5. Reviews */
.cv-review-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cv-review-card { display: block; background: #141414; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; text-decoration: none; }
.cv-review-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.cv-review-body { padding: 10px 12px; position: relative; }
.cv-score { display: inline-block; background: #E50914; color: #000000; font-weight: 800; font-size: 14px; border-radius: 6px; padding: 2px 8px; margin-bottom: 6px; }
.cv-review-body h3 { font-size: 14px; margin: 0 0 6px; color: #fff; line-height: 1.3; }
.cv-review-body p { font-size: 12px; color: #B3B3B3; margin: 6px 0 0; line-height: 1.45; }

/* 6. Spotlight — single editorial feature */
.cv-spotlight { position: relative; display: block; border-radius: 16px; overflow: hidden; min-height: 380px; text-decoration: none; background: #141414; }
.cv-spotlight img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cv-spotlight-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 4rem 2rem 2rem; background: linear-gradient(transparent, rgba(0,0,0,.94)); max-width: 640px; }
.cv-spotlight-text h2 { font-size: 30px; margin: 8px 0 10px; color: #fff; line-height: 1.2; }
.cv-spotlight-text p { font-size: 15px; color: #d5deda; margin: 0 0 14px; line-height: 1.55; }
.cv-read-btn { display: inline-block; background: #E50914; color: #000000; font-weight: 800; font-size: 14px; padding: 10px 22px; border-radius: 8px; }

/* 7. Trending Stories — compact grid */
.cv-trending-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cv-trend-card { display: block; background: #141414; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; overflow: hidden; text-decoration: none; }
.cv-trend-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.cv-trend-body { padding: 10px 12px; }
.cv-trend-tag { font-size: 11px; font-weight: 800; color: #E50914; text-transform: uppercase; letter-spacing: .8px; }
.cv-trend-body h3 { font-size: 14px; margin: 5px 0 6px; color: #fff; line-height: 1.35; }

/* 8. More Headlines — dense list */
.cv-headlines { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.cv-headline-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none; }
.cv-headline-row img { width: 110px; height: 62px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cv-headline-row h3 { font-size: 14px; margin: 0 0 4px; color: #fff; line-height: 1.35; font-weight: 600; }

/* 9 & 11. Poster grids (Top Rated / Latest) */
.cv-poster-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cv-poster-card { display: block; text-decoration: none; position: relative; }
.cv-poster-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; display: block; transition: transform .2s; }
.cv-poster-card:hover img { transform: scale(1.03); }
.cv-rating { position: absolute; top: 8px; left: 8px; background: rgba(6,23,20,.85); color: #E50914; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.cv-poster-card h4 { font-size: 13px; margin: 8px 0 3px; color: #fff; line-height: 1.3; }

/* 10. Profiles — 4:5 */
.cv-profile-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cv-profile-card { display: block; text-decoration: none; text-align: center; }
.cv-profile-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; border-radius: 12px; display: block; }
.cv-profile-card h4 { font-size: 14px; margin: 8px 0 2px; color: #fff; line-height: 1.3; padding: 0 2px; }

/* 11. Latest tabs */
.cv-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.cv-tab { background: #141414; border: 1px solid rgba(255,255,255,.1); color: #B3B3B3; font-weight: 700; font-size: 13px; padding: 8px 20px; border-radius: 20px; cursor: pointer; }
.cv-tab.active { background: #E50914; border-color: #E50914; color: #000000; }
.cv-tab-panel { display: none; }
.cv-tab-panel.active { display: block; }

/* Responsive */
@media (max-width: 1024px) {
  .cv-poster-grid { grid-template-columns: repeat(4, 1fr); }
  .cv-review-grid { grid-template-columns: repeat(3, 1fr); }
  .cv-trending-grid { grid-template-columns: repeat(2, 1fr); }
  .cv-profile-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .cv-sec { margin-bottom: 24px; }
  .cv-sec-head h2 { font-size: 17px; }
  .cv-news-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cv-news-body h3 { font-size: 13px; }
  .cv-hero-wrap { grid-template-columns: 1fr; }
  .cv-hero-feature { min-height: 220px; }
  .cv-hero-text h2 { font-size: 18px; }
  .cv-hero-text p { display: none; }
  .cv-latest-side { align-self: auto; }
  .cv-spotlight { min-height: 280px; }
  .cv-spotlight-text { padding: 3rem 1.2rem 1.2rem; }
  .cv-spotlight-text h2 { font-size: 20px; }
  .cv-spotlight-text p { display: none; }
  .cv-headlines { grid-template-columns: 1fr; }
  .cv-poster-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cv-review-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cv-profile-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cv-trailer-card { flex-basis: 260px; }
  .cv-short-card { flex-basis: 130px; }
}

/* ============================================================
   CINEVAULT v3 — reference-matched design (dark cinematic)
   ============================================================ */
.rv-sec { margin-bottom: 28px; }
.rv-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.rv-sec-head h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; margin: 0; color: #fff; }
.rv-bar { width: 3px; height: 18px; background: #E50914; border-radius: 2px; display: inline-block; }
.rv-viewall { margin-left: auto; font-size: 12px; font-weight: 600; color: #B3B3B3; text-decoration: none; white-space: nowrap; }
.rv-viewall:hover { color: #E50914; }
.rv-time { font-size: 11px; color: #808080; }
.rv-play { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(10,20,18,.72); border: 1.5px solid rgba(255,255,255,.85); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* category badges */
.rv-badge { position: absolute; left: 8px; bottom: 8px; font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #fff; padding: 3px 8px; border-radius: 4px; }
.b-movie-news { background: #E50914; } .b-tv-news { background: #3e8ef7; }
.b-anime-news { background: #9b5cf6; } .b-casting { background: #f79009; }
.b-trending { background: #E50914; } .b-featured { background: #E50914; position: static; }
.b-spotlight { background: #E50914; position: static; }
.b-trailers { background: #3e8ef7; } .b-streaming { background: #0ea5a5; }
.b-box-office { background: #f79009; } .b-awards { background: #c9a227; }
.b-interviews { background: #9b5cf6; } .b-reviews { background: #E50914; }

/* filter pills */
.rv-pills { display: flex; gap: 6px; margin-left: 6px; }
.rv-pill { background: #141414; border: 1px solid rgba(255,255,255,.1); color: #B3B3B3; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 6px; cursor: pointer; }
.rv-pill.active { background: #E50914; border-color: #E50914; color: #000000; }
.rv-tpanel { display: none; } .rv-tpanel.active { display: block; }

/* 1. Popular News — 6 cards */
.rv-news6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rv-news-card { display: block; text-decoration: none; }
.rv-thumb { position: relative; display: block; border-radius: 8px; overflow: hidden; }
.rv-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.rv-news-txt h3 { font-size: 12.5px; margin: 8px 0 4px; color: #fff; line-height: 1.35; font-weight: 600; }

/* 2. Featured + Latest */
.rv-feat-wrap { display: grid; grid-template-columns: 3fr 1fr; gap: 14px; }
.rv-feat-hero { position: relative; display: block; border-radius: 10px; overflow: hidden; min-height: 340px; text-decoration: none; background: #141414; }
.rv-feat-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-feat-txt { position: absolute; bottom: 0; left: 0; right: 0; padding: 3.5rem 1.4rem 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,.93)); }
.rv-feat-txt h2 { font-size: 24px; margin: 8px 0; color: #fff; line-height: 1.2; }
.rv-feat-txt p { font-size: 13px; color: #c6d2ce; margin: 0 0 8px; line-height: 1.5; max-width: 640px; }
.rv-byline { font-size: 11px; color: #8b9995; }
.rv-feat-prev, .rv-feat-next { position: absolute; top: 44%; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.35); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 2; }
.rv-feat-prev { left: 12px; } .rv-feat-next { right: 12px; }
.rv-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.rv-dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); }
.rv-dots i.on { background: #E50914; }
.rv-latest { background: #0A211D; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 12px; }
.rv-latest-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rv-latest-head h3 { font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin: 0; color: #fff; }
.rv-latest-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none; align-items: center; }
.rv-latest-row:last-child { border-bottom: 0; }
.rv-latest-row img { width: 84px; height: 52px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.rv-latest-txt h4 { font-size: 12.5px; margin: 0 0 4px; color: #fff; line-height: 1.35; font-weight: 600; }

/* 3. Trailers */
.rv-trail-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rv-trailer-card { position: relative; display: block; text-decoration: none; }
.rv-trailer-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; display: block; }
.rv-trailer-txt h4 { font-size: 13px; margin: 8px 0 2px; color: #fff; font-weight: 600; }
.rv-ttype { font-size: 11px; color: #E50914; }

/* 4. Trending stories */
.rv-trend6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rv-trend-card { display: block; text-decoration: none; background: #141414; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; overflow: hidden; }
.rv-trend-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.rv-trend-card h3 { font-size: 12.5px; margin: 0; padding: 8px 10px 2px; color: #fff; line-height: 1.35; font-weight: 600; }
.rv-trend-card .rv-time { display: block; padding: 0 10px 10px; }

/* 5. Reviews */
.rv-rev6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rv-rev-card { display: block; text-decoration: none; }
.rv-rev-card > img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; display: block; }
.rv-rev-txt h4 { font-size: 13px; margin: 8px 0 2px; color: #fff; font-weight: 600; }
.rv-stars { color: #f5b50a; font-weight: 800; font-size: 15px; }
.rv-stars.sm { font-size: 12px; }
.rv-rev-txt p { font-size: 11.5px; color: #B3B3B3; margin: 4px 0; line-height: 1.45; }
.rv-by { font-size: 11px; color: #808080; }

/* 6. Spotlight */
.rv-spot-wrap { display: grid; grid-template-columns: 2.4fr 1fr; gap: 14px; }
.rv-spot-main { position: relative; display: block; border-radius: 10px; overflow: hidden; min-height: 300px; text-decoration: none; background: #141414; }
.rv-spot-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-spot-txt { position: absolute; bottom: 0; left: 0; right: 0; padding: 3rem 1.4rem 1.3rem; background: linear-gradient(transparent, rgba(0,0,0,.93)); max-width: 560px; }
.rv-spot-txt h2 { font-size: 26px; margin: 8px 0; color: #fff; line-height: 1.2; }
.rv-spot-txt p { font-size: 13px; color: #c6d2ce; margin: 0 0 12px; line-height: 1.55; }
.rv-btn { display: inline-block; background: #E50914; color: #000000; font-weight: 800; font-size: 13px; padding: 9px 20px; border-radius: 6px; }
.rv-spot-side { display: flex; flex-direction: column; gap: 10px; }
.rv-spot-row { display: flex; gap: 10px; align-items: center; text-decoration: none; background: #141414; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 8px; }
.rv-spot-row img { width: 96px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.rv-spot-row h4 { font-size: 12.5px; margin: 0; color: #fff; line-height: 1.35; font-weight: 600; }

/* 7. Shorts + Headlines */
.rv-sh-wrap { display: grid; grid-template-columns: 1.9fr 1fr; gap: 20px; }
.rv-shorts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.rv-short-card { position: relative; display: block; text-decoration: none; }
.rv-short-card img { width: 100%; aspect-ratio: 9/15; object-fit: cover; border-radius: 8px; display: block; }
.rv-short-card h4 { font-size: 11.5px; margin: 6px 0 0; color: #fff; line-height: 1.3; font-weight: 600; }
.rv-hl-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none; align-items: center; }
.rv-hl-row img { width: 96px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.rv-hl-txt h4 { font-size: 12.5px; margin: 0 0 4px; color: #fff; line-height: 1.35; font-weight: 600; }

/* 8/10. Poster grids */
.rv-posters { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.rv-poster-card { display: block; text-decoration: none; }
.rv-poster-card > img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; display: block; }
.rv-poster-txt h4 { font-size: 12.5px; margin: 6px 0 2px; color: #fff; font-weight: 600; line-height: 1.3; }

/* 9. Profiles */
.rv-profiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.rv-profile-card { display: block; text-decoration: none; }
.rv-profile-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; border-radius: 8px; display: block; }
.rv-profile-card h4 { font-size: 12.5px; margin: 7px 0 0; color: #fff; font-weight: 600; text-align: left; }

/* responsive */
@media (max-width: 1100px) {
  .rv-news6, .rv-trail-row, .rv-trend6, .rv-rev6 { grid-template-columns: repeat(3, 1fr); }
  .rv-posters, .rv-profiles { grid-template-columns: repeat(4, 1fr); }
  .rv-shorts-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .rv-sec { margin-bottom: 22px; }
  .rv-sec-head h2 { font-size: 15px; }
  .rv-sec-head { flex-wrap: wrap; }
  .rv-news6, .rv-trail-row, .rv-trend6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rv-rev6 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .rv-feat-wrap, .rv-spot-wrap, .rv-sh-wrap { grid-template-columns: 1fr; }
  .rv-feat-hero { min-height: 240px; }
  .rv-feat-txt h2 { font-size: 19px; } .rv-feat-txt p { display: none; }
  .rv-spot-main { min-height: 240px; } .rv-spot-txt h2 { font-size: 20px; } .rv-spot-txt p { display: none; }
  .rv-posters { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .rv-profiles { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .rv-shorts-row { grid-template-columns: repeat(4, 1fr); }
  .rv-pills { order: 3; width: 100%; overflow-x: auto; margin-left: 0; }
}

/* v3.1 — image-matched: shorts full-width, headlines 3-col, profile meta */
.rv-sub { font-size: 12px; color: #808080; font-weight: 400; }
.rv-shorts8 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.rv-hl3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; }
.rv-prof { display: block; font-size: 11px; color: #E50914; font-weight: 600; margin-top: 2px; }
.rv-known { display: block; font-size: 11px; color: #808080; }
@media (max-width: 1100px) {
  .rv-shorts8 { grid-template-columns: repeat(4, 1fr); }
  .rv-hl3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rv-shorts8 { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .rv-hl3 { grid-template-columns: 1fr; }
  .rv-sub { display: none; }
}

/* ============ MovieHub exact-match (v4, 2026-09-28) ============ */
.mh-sec { padding: 14px 0 16px; border-bottom: 1px solid #1a1a1a; margin-bottom: 2px; }
.mh-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.mh-sec-head h2 { font-size: 15px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin: 0; display: flex; align-items: center; gap: 8px; }
.mh-bar { display: inline-block; width: 4px; height: 18px; background: #E50914; border-radius: 2px; }
.mh-viewall { margin-left: auto; font-size: 12px; color: #808080; text-decoration: none; white-space: nowrap; }
.mh-viewall:hover { color: #E50914; }
.mh-time { font-size: 11px; color: #808080; }
.mh-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; color: #fff; }
.b-movie-news { background: #E50914; } .b-tv-news { background: #3b82f6; } .b-anime-news { background: #f59e0b; }
.b-casting { background: #14b8a6; } .b-streaming { background: #8b5cf6; } .b-box-office { background: #22c55e; }
.b-reviews { background: #E50914; } .b-trending { background: #22c55e; } .b-featured { background: #E50914; } .b-spotlight { background: #E50914; }
.b-latest { background: #22c55e; }
.mh-thumb16 { position: relative; display: block; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #1a1a1a; }
.mh-thumb16 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.65); border: 2px solid rgba(255,255,255,.85); color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; }

/* popular news */
.mh-news6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mh-news-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; scrollbar-width: none; -ms-overflow-style: none; }
.mh-news-rail::-webkit-scrollbar { display: none; }
.mh-news-rail .mh-news-card { flex: 0 0 calc(16.66% - 10px); scroll-snap-align: start; min-width: 0; }
.mh-rail-wrap { position: relative; }
.mh-rail-prev, .mh-rail-next { position: absolute; top: 32%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; border: none; cursor: pointer; }
.mh-rail-prev:hover, .mh-rail-next:hover { background: rgba(0,0,0,.85); }
.mh-rail-prev { left: -8px; } .mh-rail-next { right: -8px; }
@media (max-width: 640px) {
  .mh-news-rail .mh-news-card { flex-basis: calc(55% - 8px); }
}
.mh-news-card { text-decoration: none; }
.mh-news-card .mh-badge { position: absolute; left: 8px; bottom: 8px; }
.mh-news-card .mh-thumb16 { margin-bottom: 8px; }
.mh-news-card h3 { font-size: 13px; font-weight: 600; color: #fff; margin: 0 0 4px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* featured + latest */
.mh-feat-wrap { display: grid; grid-template-columns: 2.1fr 1fr; gap: 16px; }
.mh-feat-car { position: relative; min-height: 380px; }
.mh-feat-hero { position: relative; display: none; border-radius: 10px; overflow: hidden; min-height: 380px; height: 100%; text-decoration: none; }
.mh-feat-hero.on { display: block; }
.mh-feat-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-feat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.25) 55%, transparent 80%); }
.mh-feat-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 2; }
.mh-feat-txt h2 { font-size: 26px; font-weight: 800; color: #fff; margin: 10px 0 8px; line-height: 1.2; }
.mh-feat-txt p { font-size: 13px; color: #c8d2ce; margin: 0 0 8px; }
.mh-byline { font-size: 12px; color: #8c8c8c; }
.mh-feat-prev, .mh-feat-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; border: none; cursor: pointer; }
.mh-feat-prev:hover, .mh-feat-next:hover { background: rgba(0,0,0,.8); }
.mh-feat-prev { left: 12px; } .mh-feat-next { right: 12px; }
.mh-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.mh-dots button { width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); border: none; cursor: pointer; padding: 0; }
.mh-dots button.on { background: #E50914; }
.mh-latest { background: #141414; border: 1px solid #1a1a1a; border-radius: 10px; padding: 14px; }
.mh-latest-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mh-latest-head h3 { font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin: 0; color: #fff; }
.mh-latest-row { display: flex; gap: 10px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid #16211d; }
.mh-latest-row:last-child { border-bottom: 0; }
.mh-latest-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mh-latest-txt h4 { font-size: 13px; font-weight: 600; color: #fff; margin: 0 0 4px; line-height: 1.35; }

/* pills + panels */
.mh-pills { display: flex; gap: 6px; }
.mh-pill { background: transparent; border: 1px solid #2a3632; color: #8c8c8c; font-size: 12px; padding: 5px 14px; border-radius: 20px; cursor: pointer; }
.mh-pill.active { background: #E50914; border-color: #E50914; color: #04120c; font-weight: 700; }
.mh-tpanel { display: none; } .mh-tpanel.active { display: block; }

/* trailers */
.mh-trail6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mh-trailer-card { text-decoration: none; }
.mh-trailer-card h4 { font-size: 13px; font-weight: 600; color: #fff; margin: 8px 0 2px; line-height: 1.3; }
.mh-ttype { font-size: 11px; color: #808080; }

/* duo rows */
.mh-duo { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.mh-trend4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mh-trend-card { text-decoration: none; }
.mh-trend-card h3 { font-size: 13px; font-weight: 600; color: #fff; margin: 8px 0 4px; line-height: 1.35; }
.mh-spot { display: block; text-decoration: none; background: #141414; border: 1px solid #1a1a1a; border-radius: 10px; overflow: hidden; padding-bottom: 14px; }
.mh-spot > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.mh-spot .mh-badge { margin: 12px 14px 0; }
.mh-spot h2 { font-size: 18px; font-weight: 800; color: #fff; margin: 8px 14px; line-height: 1.25; }
.mh-spot p { font-size: 12px; color: #8c8c8c; margin: 0 14px 12px; line-height: 1.5; }
.mh-btn { display: inline-block; margin: 0 14px; background: #E50914; color: #04120c; font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 6px; }

/* reviews */
.mh-rev6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mh-rev-card { text-decoration: none; background: #141414; border: 1px solid #1a1a1a; border-radius: 8px; overflow: hidden; padding-bottom: 10px; }
.mh-rev-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.mh-rev-card h4 { font-size: 12px; font-weight: 700; color: #fff; margin: 8px 10px 2px; }
.mh-stars { color: #f5b50a; font-size: 13px; font-weight: 700; margin: 0 10px; }
.mh-rev-card p { font-size: 11px; color: #808080; margin: 4px 10px; line-height: 1.4; }
.mh-by { font-size: 11px; color: #808080; margin: 0 10px; }

/* shorts + headlines */
.mh-shorts8 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.mh-short-card { position: relative; display: block; text-decoration: none; border-radius: 8px; overflow: hidden; }
.mh-short { display: block; width: 100%; aspect-ratio: 9/16; overflow: hidden; border-radius: 8px; background: #1a1a1a; }
.mh-short img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-short-card:hover .mh-short { box-shadow: 0 0 16px rgba(229,9,20,.30); }
.mh-short-card .mh-play { width: 34px; height: 34px; font-size: 12px; }
.mh-short-card h4 { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; font-weight: 600; color: #fff; margin: 0; padding: 18px 8px 8px; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); line-height: 1.3; }
.mh-headlines { display: flex; flex-direction: column; }
.mh-hl-row { display: flex; gap: 10px; text-decoration: none; padding: 9px 0; border-bottom: 1px solid #16211d; align-items: center; }
.mh-hl-row:last-child { border-bottom: 0; }
.mh-hl-row img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mh-hl-txt h4 { font-size: 12.5px; font-weight: 600; color: #e8eeec; margin: 0 0 3px; line-height: 1.35; }

/* posters / profiles */
.mh-posters8 { display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; }
.mh-sec[aria-label="Top Rated"] .mh-posters8 { grid-template-columns: repeat(8, 1fr); }
/* Latest section — large horizontal rail (reference style) */
.lm-rail { display: flex; flex-wrap: wrap; gap: 16px; padding: 4px 2px 14px; }
.lm-rail .lm-item { flex: 0 0 115px; min-width: 0; }
.lm-rail .mh-poster-card h4 { font-size: 14px; }
.lm-rail .mh-poster-card .mh-stars { font-size: 13px; }
.lm-rail .mh-year { font-size: 12px; }
.lm-rail .vm-card { flex: 0 0 115px; min-width: 0; }
.mh-poster-card { text-decoration: none; min-width: 0; overflow: hidden; }
.mh-poster { display: block; width: 100%; aspect-ratio: 2/3; overflow: hidden; border-radius: 8px; background: #1a1a1a; }
.mh-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-poster-card:hover .mh-poster { box-shadow: 0 0 16px rgba(229,9,20,.30); }
.mh-poster-card .mh-stars { margin: 6px 0 0; display: block; font-size: 12px; }
.mh-poster-card h4 { font-size: 12.5px; font-weight: 600; color: #fff; margin: 2px 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-year { font-size: 11px; color: #808080; }
.mh-profiles8 { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.mh-profile-card { text-decoration: none; text-align: left; }
.mh-profile-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; display: block; }
.mh-profile-card h4 { font-size: 13px; font-weight: 700; color: #fff; margin: 8px 0 2px; }
.mh-prof { display: block; font-size: 11px; color: #8c8c8c; }
.mh-known { display: block; font-size: 11px; color: #808080; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1100px) {
  .mh-news6, .mh-trail6, .mh-rev6 { grid-template-columns: repeat(3, 1fr); }
  .mh-feat-wrap, .mh-duo { grid-template-columns: 1fr; }
  .mh-trend4 { grid-template-columns: repeat(2, 1fr); }
  .mh-shorts8, .mh-profiles8 { grid-template-columns: repeat(4, 1fr); }
  .mh-posters8 { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 640px) {
  .mh-news6, .mh-trail6 { grid-template-columns: repeat(2, 1fr); }
  .mh-rev6 { grid-template-columns: repeat(3, 1fr); }
  .mh-shorts8, .mh-profiles8 { grid-template-columns: repeat(3, 1fr); }
  .mh-posters8 { grid-template-columns: repeat(2, 1fr); }
  .lm-rail { gap: 10px; }
  .lm-rail .lm-item { flex-basis: 100px; }
  .lm-rail .vm-card { flex-basis: 100px; }
  .mh-sec { padding: 10px 0 12px; }
  .mh-feat-txt h2 { font-size: 20px; }
}

/* glow pass (v4.1) — cinematic teal glow like reference */
.mh-news-card:hover .mh-thumb16 img, .mh-trailer-card:hover .mh-thumb16 img,
.mh-trend-card:hover .mh-thumb16 img { transform: scale(1.04); }
.mh-thumb16 img { transition: transform .35s ease; }
.mh-news-card:hover .mh-thumb16, .mh-trailer-card:hover .mh-thumb16,
.mh-trend-card:hover .mh-thumb16 { box-shadow: 0 0 18px rgba(229,9,20,.28); }
.mh-poster-card:hover .mh-poster, .mh-profile-card:hover img, .mh-short-card:hover .mh-short {
  box-shadow: 0 0 16px rgba(229,9,20,.30); transform: translateY(-2px);
}
.mh-poster-card .mh-poster, .mh-profile-card img, .mh-short-card .mh-short { transition: transform .3s ease, box-shadow .3s ease; }
.mh-pill.active { box-shadow: 0 0 12px rgba(229,9,20,.45); }
.mh-btn { box-shadow: 0 0 14px rgba(229,9,20,.35); }
.mh-btn:hover { box-shadow: 0 0 20px rgba(229,9,20,.55); }
.mh-play { box-shadow: 0 0 14px rgba(0,0,0,.6), 0 0 10px rgba(229,9,20,.25); }
.mh-trailer-card:hover .mh-play, .mh-short-card:hover .mh-play { box-shadow: 0 0 18px rgba(229,9,20,.55); border-color: #E50914; }
.mh-bar { box-shadow: 0 0 8px rgba(229,9,20,.8); }
.mh-badge { box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.mh-feat-hero { box-shadow: 0 0 30px rgba(229,9,20,.08); }

/* ============================================================
   CINEVAULT DESIGN SYSTEM v2 (2026-09-28)
   Global card/grid/spacing system.
   RULE: source image dimensions NEVER control layout.
   Every card image lives in a fixed aspect-ratio container with
   object-fit:cover + overflow:hidden. Images crop, cards don't move.
   ============================================================ */

/* ---------- 1. POSTER CARDS: movie / tv / anime = fixed 2:3 ---------- */
.movie-card { display: flex; flex-direction: column; height: 100%; }
.movie-card .poster-wrap {
  display: block; width: 100%; aspect-ratio: 2/3;
  overflow: hidden; border-radius: 8px; background: #1a1a1a; flex: 0 0 auto;
}
.movie-card .poster-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.movie-card .poster-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: #1a1a1a; color: #B3B3B3; font-size: .8rem; text-align: center; padding: .5rem;
}
.movie-card .card-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.movie-card .card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.5em;
}
.movie-card .card-meta {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: auto;
}

/* ---------- 2. PROFILE CARDS: fixed 4:5 portraits ---------- */
.person-card:not(.studio-card) { display: flex; flex-direction: column; height: 100%; }
.person-card:not(.studio-card) > a:first-child {
  display: block; width: 100%; aspect-ratio: 4/5;
  overflow: hidden; border-radius: 8px 8px 0 0; background: #1a1a1a; flex: 0 0 auto;
}
.person-card:not(.studio-card) > a:first-child img,
.person-card:not(.studio-card) > img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.person-card:not(.studio-card) > img { aspect-ratio: 4/5; }
.person-card .card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.5em;
}

/* ---------- 3. EDITORIAL / NEWS CARDS: fixed 16:9 ---------- */
.np-card { display: flex; flex-direction: column; height: 100%; }
.np-card-img {
  display: block; width: 100%; aspect-ratio: 16/9;
  overflow: hidden; border-radius: 8px; background: #1a1a1a; flex: 0 0 auto;
}
.np-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.np-card-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.np-card .np-headline {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.np-card .np-excerpt {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.np-card .np-meta { margin-top: auto; }

/* horizontal editorial rows (Latest lists) */
.nb-row { display: flex; gap: .9rem; align-items: flex-start; }
.nb-thumb {
  display: block; flex: 0 0 200px; width: 200px; aspect-ratio: 16/9;
  overflow: hidden; border-radius: 8px; background: #1a1a1a;
}
.nb-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.nb-row-body { flex: 1 1 auto; min-width: 0; }
.nb-row-body .np-headline {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 600px) {
  .nb-thumb { flex-basis: 128px; width: 128px; }
}

/* ---------- 4. GLOBAL GRID SYSTEM ---------- */
/* listing grids: desktop 6, tablet 3-4, mobile 2 */
.card-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1150px) { .card-grid { grid-template-columns: repeat(6, 1fr); } }

/* cast / people grids */
.cast-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .cast-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .cast-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

/* suggest / similar grids */
.suggest-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .suggest-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .suggest-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

/* news article grids: desktop 3, tablet 2, mobile 1 */
.article-grid, .more-news-grid, .np-top-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .article-grid, .more-news-grid, .np-top-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .article-grid, .more-news-grid, .np-top-grid { grid-template-columns: repeat(3, 1fr); } }

/* review grids */
.review-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

/* generic equal-height grid children */
.card-grid > *, .cast-grid > *, .suggest-grid > *,
.article-grid > *, .review-grid > * { min-width: 0; }

/* ---------- 5. COMPACT CINEMATIC SPACING ---------- */
main { padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { main { padding-left: 28px; padding-right: 28px; } }
@media (min-width: 1200px) { main { padding-left: 40px; padding-right: 40px; } }
.page-head, .section-head { margin: 0 0 14px; }
section.rail, .rail { margin-bottom: 26px; }

/* ---------- 6. DETAIL PAGES: contained hero media ---------- */
.detail-top .poster-wrap, .person-top .poster-wrap { max-width: 100%; }
.gallery img, .photo-thumb img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-radius: 8px;
}
.episode-card .ep-thumb {
  display: block; width: 100%; aspect-ratio: 16/9;
  overflow: hidden; border-radius: 8px; background: #1a1a1a;
}
.episode-card .ep-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 7. HOMEPAGE card text clamping (uniform rows) ---------- */
.mh-poster-card h4, .mh-trend-card h4, .mh-news-card h4, .mh-rev-card h4 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mh-profile-card p {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* END DESIGN SYSTEM v2 */

/* ---------- homepage: trending 8-grid + full-width spotlight ---------- */
.mh-trend8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .mh-trend8 { grid-template-columns: repeat(2, 1fr); } }
.mh-trend8 .mh-trend-card h3 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mh-spot-full {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center;
  text-decoration: none; background: #141414; border: 1px solid #1a1a1a;
  border-radius: 12px; overflow: hidden; padding: 18px;
}
.mh-spot-full-img { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: #1a1a1a; }
.mh-spot-full-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-spot-full-txt { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mh-spot-full-txt h2 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.mh-spot-full-txt p { margin: 0; color: #B3B3B3; font-size: .92rem; }
.mh-spot-full:hover { box-shadow: 0 0 24px rgba(229,9,20,.18); }
.mh-spot-full:hover .mh-spot-full-img { box-shadow: 0 0 18px rgba(229,9,20,.28); }
@media (max-width: 760px) { .mh-spot-full { grid-template-columns: 1fr; } }

/* ============ budget vs box office calculator ============ */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.5rem 0 2.5rem; }
.calc-card { background: #141414; border: 1px solid #2a2a2a; border-radius: 14px; padding: 1.6rem; }
.calc-card h2 { margin: 0 0 1.1rem; font-size: 1.15rem; }
.calc-label { display: block; font-weight: 600; font-size: .9rem; margin: 1rem 0 .4rem; color: #d5e5dc; }
.calc-label:first-of-type { margin-top: 0; }
.calc-input { width: 100%; box-sizing: border-box; background: #000000; border: 1px solid #2a4a40; border-radius: 10px; padding: 12px 14px; color: #fff; font-size: 1rem; font-family: inherit; }
.calc-input:focus { outline: none; border-color: #E50914; }
.calc-hint { font-size: .82rem; color: #808080; margin: .35rem 0 0; }
.calc-btn { margin-top: 1.2rem; margin-right: .6rem; }
.calc-empty { color: #808080; }
.calc-verdict { font-size: 1.25rem; font-weight: 800; padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.1rem; text-align: center; }
.calc-verdict.hit { background: rgba(229,9,20,.15); color: #E50914; border: 1px solid #E50914; }
.calc-verdict.ok { background: rgba(229,9,20,.08); color: #7fe0ae; border: 1px solid #2a6a4f; }
.calc-verdict.meh { background: rgba(255,193,7,.1); color: #ffc107; border: 1px solid #8a6d1a; }
.calc-verdict.flop { background: rgba(255,107,107,.1); color: #ff6b6b; border: 1px solid #8a2e2e; }
.calc-rows { margin: 0; }
.calc-rows > div { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; border-bottom: 1px solid #2a2a2a; }
.calc-rows > div:last-child { border-bottom: 0; }
.calc-rows dt { color: #9db3a8; font-size: .92rem; }
.calc-rows dd { margin: 0; font-weight: 700; font-size: 1.05rem; }
.calc-note { font-size: .82rem; color: #808080; margin: 1rem 0 0; }
.calc-explain { background: #141414; border: 1px solid #2a2a2a; border-radius: 14px; padding: 1.4rem 1.6rem; margin-bottom: 2rem; }
.calc-explain p { margin: .6rem 0; color: #c4d6cc; font-size: .95rem; }
.calc-explain p:first-child { margin-top: 0; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr; } }

/* ============ mobile horizontal-overflow fix (2026-09-29) ============ */
/* Page-level safety net: no sideways page scroll, ever. `clip` (not `hidden`)
   so position:sticky header keeps working. */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }

/* Section headers with filter pills: let the header wrap and the pill row
   scroll inside itself instead of pushing the page wider than the viewport. */
@media (max-width: 640px) {
  .mh-sec-head { flex-wrap: wrap; row-gap: 10px; }
  .mh-pills {
    order: 3; flex: 1 1 100%; min-width: 0;
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
    padding-bottom: 2px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  }
  .mh-pills::-webkit-scrollbar { display: none; }
  .mh-pill { flex: 0 0 auto; }
  .mh-viewall { margin-left: auto; }
}

/* ============ VEGAMOVIES-STYLE INDUSTRY ROWS ============ */
.vm-row { margin: 0 0 2rem; }
.vm-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.vm-row-head h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; font-weight: 800; color: #FFFFFF; margin: 0; }
.vm-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.vm-card { text-decoration: none; display: block; }
.vm-poster { position: relative; display: block; width: 100%; aspect-ratio: 2/3; overflow: hidden; border-radius: 8px; background: #1a1a1a; border: 1px solid #2a2a2a; transition: border-color .2s, transform .2s; }
.vm-card:hover .vm-poster { border-color: #E50914; transform: scale(1.03); }
.vm-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vm-year { position: absolute; left: 6px; bottom: 6px; background: #E50914; color: #fff; font-size: 0.68rem; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
.vm-title { display: block; margin-top: 0.45rem; font-size: 0.82rem; font-weight: 600; color: #e5e5e5; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vm-card:hover .vm-title { color: #E50914; }
@media (max-width: 900px) { .vm-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .vm-grid { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; } }
/* Vegamovies-style category chips on listing pages */
.vm-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 0 0 1.4rem; }
.vm-chip {
  display: inline-block; padding: 0.55rem 1.1rem; border-radius: 6px;
  background: #1e1e1e; color: #e5e5e5; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; border: 1px solid #2a2a2a; transition: background .2s, border-color .2s;
}
.vm-chip:hover { background: #E50914; border-color: #E50914; color: #fff; }
.vm-grid-page { margin-top: 0.5rem; }
/* Vegamovies-style search bar on movie listing pages */
.vm-search {
  display: flex; max-width: 640px; margin: 0 auto 1.6rem;
  background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden;
}
.vm-search input {
  flex: 1; padding: 0.8rem 1rem; border: 0; background: transparent;
  color: #fff; font-size: 1rem; outline: none;
}
.vm-search input::placeholder { color: #888; }
.vm-search button {
  padding: 0 1.2rem; border: 0; background: #E50914; color: #fff; cursor: pointer;
  display: flex; align-items: center;
}
.vm-search button:hover { background: #f6121d; }
.vm-search-lg { margin-bottom: 1.2rem; }
.topbar-searchbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  color: #fff; border: 1px solid var(--border);
}
.topbar-searchbtn:hover { border-color: var(--accent); color: var(--accent); }
.topbar-searchbtn svg { width: 1.15rem; height: 1.15rem; }

/* ============ Vegamovies-style movie detail page ============ */
.vm-movie { max-width: 1100px; margin: 0 auto; padding: 1.2rem 1rem 3rem; }
.vm-movie-head { text-align: center; margin-bottom: 1.4rem; }
.vm-movie-head h1 { font-size: 1.7rem; font-weight: 800; color: #fff; margin: 0 0 0.5rem; line-height: 1.3; }
.vm-movie-tags { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.4rem; }
.vm-tag { background: #E50914; color: #fff; font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.04em; }
.vm-tag-dim { background: #2a2a2a; color: #ccc; }
.vm-tagline { color: #999; font-style: italic; font-size: 0.95rem; margin: 0.3rem 0 0; }
.vm-movie-main { display: grid; grid-template-columns: 240px 1fr; gap: 1.6rem; background: #141414; border: 1px solid #2a2a2a; border-radius: 10px; padding: 1.4rem; margin-bottom: 1.6rem; }
.vm-movie-poster { position: relative; }
.vm-movie-poster img { width: 100%; border-radius: 8px; display: block; }
.vm-rating-badge { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.85); border: 1px solid #E50914; border-radius: 6px; padding: 4px 10px; font-size: 0.9rem; color: #fff; }
.vm-rating-badge .vm-star { color: #E50914; }
.vm-rating-badge small { color: #999; }
.vm-movie-info { min-width: 0; }
.vm-info-row { display: flex; gap: 0.8rem; padding: 0.55rem 0; border-bottom: 1px solid #222; font-size: 0.95rem; }
.vm-info-row:last-of-type { border-bottom: none; }
.vm-label { flex: 0 0 130px; font-weight: 700; color: #E50914; }
.vm-value { color: #e5e5e5; }
.vm-value em { color: #999; font-style: normal; font-size: 0.85rem; }
.vm-value a { color: #fff; text-decoration: underline; text-decoration-color: #E50914; text-underline-offset: 3px; }
.vm-movie-actions { display: flex; gap: 0.7rem; margin-top: 1rem; flex-wrap: wrap; }
.vm-section { margin-bottom: 1.8rem; }
.vm-section h2 { font-size: 1.25rem; font-weight: 800; color: #fff; margin: 0 0 0.9rem; padding-bottom: 0.5rem; border-bottom: 2px solid #E50914; display: inline-block; }
.vm-story { color: #d4d4d4; line-height: 1.75; font-size: 1rem; margin: 0; }
.vm-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.vm-shots a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid #2a2a2a; }
.vm-shots img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.25s; }
.vm-shots a:hover img { transform: scale(1.04); }
.vm-cast-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.vm-cast-card { text-align: center; }
.vm-cast-card img { width: 100%; border-radius: 8px; aspect-ratio: 2/3; object-fit: cover; display: block; }
.vm-cast-card h3 { font-size: 0.82rem; margin: 0.45rem 0 0.15rem; font-weight: 600; }
.vm-cast-card h3 a { color: #e5e5e5; }
.vm-cast-card .character { font-size: 0.72rem; color: #999; margin: 0; }
@media (max-width: 800px) {
  .vm-movie-main { grid-template-columns: 150px 1fr; gap: 1rem; padding: 1rem; }
  .vm-label { flex-basis: 90px; }
  .vm-shots { grid-template-columns: repeat(2, 1fr); }
  .vm-cast-row { grid-template-columns: repeat(3, 1fr); }
  .vm-movie-head h1 { font-size: 1.3rem; }
}

/* Load More button for Latest section */
.lm-hidden { display: none !important; }
.lm-more-wrap { text-align: center; margin: 1.2rem 0 0.5rem; }
.lm-more-btn { background: #E50914; color: #fff; border: none; padding: 0.7rem 2.5rem; font-size: 1rem; font-weight: 700; border-radius: 6px; cursor: pointer; transition: background 0.2s; }
.lm-more-btn:hover { background: #b00610; }
.lm-more-btn:disabled { background: #555; cursor: default; }
