/* Ultra 8K OTT – Movies & Series page styles (matches site theme) */

/* Hero */
.mv-hero { background: var(--brand-ink); color: var(--brand-cream); overflow: hidden; }
.mv-hero-grid { max-width: 1400px; margin-inline: auto; display: grid; gap: 3rem; padding: clamp(3.5rem, 7vw, 6rem) 1.25rem; }
.mv-kicker { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--brand-gold); }
.mv-kicker span { width: 2.25rem; height: 1px; background: var(--brand-gold); }
.mv-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: .96; }
.mv-hero h1 em { display: block; margin-top: .5rem; font-style: normal; color: var(--brand-gold); }
.mv-hero-lead { max-width: 36rem; margin-top: 1.5rem; font-size: 1rem; line-height: 1.75rem; color: color-mix(in oklab, var(--brand-cream) 72%, transparent); }
.mv-hero-stats { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2rem; }
.mv-hero-stats div { display: flex; flex-direction: column; }
.mv-hero-stats strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--brand-gold); }
.mv-hero-stats span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: color-mix(in oklab, var(--brand-cream) 60%, transparent); }
.mv-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.mv-hero-actions .btn { height: 3.25rem; padding-inline: 1.75rem; font-size: 1rem; }
.mv-btn-gold { background: var(--brand-gold); color: var(--brand-ink); }
.mv-btn-gold:hover { background: var(--brand-cream); }
.mv-btn-ghost { border: 1px solid color-mix(in oklab, var(--brand-cream) 30%, transparent); color: var(--brand-cream); }
.mv-btn-ghost:hover { background: color-mix(in oklab, var(--brand-cream) 10%, transparent); }

/* Hero poster fan */
.mv-fan { position: relative; min-height: 420px; display: none; }
.mv-fan img { position: absolute; width: 46%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .35s ease; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); border: 1px solid color-mix(in oklab, var(--brand-cream) 15%, transparent); }
.mv-fan img:nth-child(1) { left: 0; top: 8%; transform: rotate(-6deg); z-index: 1; }
.mv-fan img:nth-child(2) { left: 27%; top: 0; z-index: 3; }
.mv-fan img:nth-child(3) { right: 0; top: 10%; transform: rotate(6deg); z-index: 2; }

/* Search */
.mv-search { background: var(--surface); border-bottom: 1px solid var(--border); }
.mv-search-inner { max-width: 1400px; margin-inline: auto; padding: 2.5rem 1.25rem; display: grid; gap: 1.25rem; }
.mv-search-box { position: relative; max-width: 46rem; }
.mv-search-box .icon { position: absolute; left: 1.1rem; top: 50%; translate: 0 -50%; width: 1.25rem; height: 1.25rem; color: var(--muted-foreground); pointer-events: none; }
.mv-search-box input { width: 100%; height: 3.75rem; padding: 0 1.25rem 0 3.25rem; font: inherit; font-weight: 600; color: var(--foreground); background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); outline: none; transition: border-color .15s, box-shadow .15s; }
.mv-search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent); }
.mv-search-box input::placeholder { color: var(--muted-foreground); font-weight: 500; }
.mv-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mv-chip { padding: .5rem 1rem; font-size: .8rem; font-weight: 700; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: color-mix(in oklab, var(--foreground) 75%, transparent); transition: all .15s; }
.mv-chip:hover { border-color: var(--primary); color: var(--primary); }
.mv-chip.active { background: var(--brand-navy); border-color: var(--brand-navy); color: var(--brand-cream); }
.mv-search-count { font-size: .85rem; font-weight: 600; color: var(--muted-foreground); }

/* Results grid (search mode) */
.mv-results { display: none; max-width: 1400px; margin-inline: auto; padding: 0 1.25rem 3rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.25rem; }
.mv-results.show { display: grid; }
.mv-empty { display: none; max-width: 1400px; margin-inline: auto; padding: 0 1.25rem 3rem; color: var(--muted-foreground); font-weight: 600; }
.mv-empty.show { display: block; }

/* Rows */
.mv-rows { background: var(--background); }
.mv-row { max-width: 1400px; margin-inline: auto; padding: 3rem 1.25rem 0; }
.mv-row-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.mv-row-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; }
.mv-row-head p { margin-top: .35rem; font-size: .9rem; color: var(--muted-foreground); }
.mv-row-nav { display: flex; gap: .5rem; flex-shrink: 0; }
.mv-row-nav button { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); transition: all .15s; }
.mv-row-nav button:hover { background: var(--brand-navy); border-color: var(--brand-navy); color: var(--brand-cream); }
.mv-row-nav .icon { width: 1.1rem; height: 1.1rem; }
.mv-scroller { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 1rem; scrollbar-width: none; }
.mv-scroller::-webkit-scrollbar { display: none; }
.mv-scroller > * { scroll-snap-align: start; }

/* Poster card */
.mv-card { position: relative; flex: 0 0 auto; width: 180px; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-navy); border: 1px solid var(--border); transition: transform .2s ease, box-shadow .2s ease; }
.mv-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -18px color-mix(in oklab, var(--brand-navy) 55%, transparent); }
.mv-card-art { position: relative; aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: .9rem; color: var(--brand-cream); overflow: hidden; }
.mv-card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv-card-art .mv-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .72), transparent 55%); }
.mv-card-title { position: relative; font-family: var(--font-display); font-size: 1rem; font-weight: 800; line-height: 1.15; text-shadow: 0 2px 8px rgb(0 0 0 / .5); }
.mv-card-tag { position: absolute; top: .65rem; left: .65rem; padding: .2rem .55rem; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border-radius: 999px; background: color-mix(in oklab, var(--brand-ink) 78%, transparent); color: var(--brand-gold); backdrop-filter: blur(6px); }
.mv-card-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .8rem; background: var(--surface); font-size: .75rem; font-weight: 700; color: var(--muted-foreground); }
.mv-card-meta .mv-rate { display: inline-flex; align-items: center; gap: .25rem; color: var(--brand-gold-deep); }
.mv-card-meta .mv-rate .icon { width: .8rem; height: .8rem; fill: currentColor; stroke: none; }

/* Gradient poster art (generated-look, no image) */
.mv-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.mv-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 0%, rgb(255 255 255 / .22), transparent 55%); }
.mv-art span { font-family: var(--font-display); font-size: 3.5rem; font-weight: 900; color: rgb(255 255 255 / .28); }
.g-action { background: linear-gradient(160deg, oklch(0.32 0.1 30), oklch(0.2 0.06 255)); }
.g-scifi { background: linear-gradient(160deg, oklch(0.35 0.12 290), oklch(0.18 0.07 255)); }
.g-drama { background: linear-gradient(160deg, oklch(0.45 0.1 70), oklch(0.24 0.06 255)); }
.g-comedy { background: linear-gradient(160deg, oklch(0.55 0.13 90), oklch(0.3 0.08 200)); }
.g-family { background: linear-gradient(160deg, oklch(0.5 0.12 170), oklch(0.25 0.07 255)); }
.g-thriller { background: linear-gradient(160deg, oklch(0.3 0.08 350), oklch(0.16 0.05 255)); }

/* Featured banner */
.mv-feature { max-width: 1400px; margin: 3rem auto 0; padding: 0 1.25rem; }
.mv-feature-card { position: relative; display: grid; gap: 2rem; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-navy); color: var(--brand-cream); padding: clamp(2rem, 5vw, 3.5rem); }
.mv-feature-card::after { content: ""; position: absolute; right: -8rem; top: -8rem; width: 24rem; height: 24rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--brand-gold) 25%, transparent), transparent 70%); }
.mv-feature-card h3 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.05; }
.mv-feature-card p { max-width: 34rem; margin-top: 1rem; color: color-mix(in oklab, var(--brand-cream) 72%, transparent); line-height: 1.7; }
.mv-feature-card .btn { position: relative; z-index: 1; margin-top: 1.75rem; height: 3rem; padding-inline: 1.5rem; }
.mv-feature-img { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid color-mix(in oklab, var(--brand-cream) 15%, transparent); box-shadow: 0 24px 48px -20px rgb(0 0 0 / .55); }
.mv-feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* Genre tiles */
.mv-genres { max-width: 1400px; margin-inline: auto; padding: 4rem 1.25rem 0; }
.mv-genre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.mv-genre { position: relative; display: flex; align-items: flex-end; min-height: 9rem; padding: 1.25rem; border-radius: var(--radius-lg); overflow: hidden; color: var(--brand-cream); transition: transform .2s ease; }
.mv-genre:hover { transform: translateY(-4px); }
.mv-genre strong { position: relative; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; text-shadow: 0 2px 8px rgb(0 0 0 / .4); }
.mv-genre span { position: relative; display: block; font-size: .75rem; font-weight: 700; color: rgb(255 255 255 / .75); }

/* CTA */
.mv-cta { max-width: 1400px; margin-inline: auto; padding: 4rem 1.25rem 6rem; }
.mv-cta-card { text-align: center; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; }
.mv-cta-card h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
.mv-cta-card p { max-width: 32rem; margin: 1rem auto 0; color: var(--muted-foreground); line-height: 1.7; }
.mv-cta-card .btn { margin-top: 2rem; height: 3.25rem; padding-inline: 2rem; font-size: 1rem; }

@media (min-width: 768px) {
  .mv-hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .mv-fan { display: block; }
  .mv-feature-card { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .mv-genre-grid { grid-template-columns: repeat(3, 1fr); }
  .mv-card { width: 200px; }
}
@media (min-width: 1024px) {
  .mv-genre-grid { grid-template-columns: repeat(6, 1fr); }
}

/* v2 polish */
.mv-fan img:nth-child(2) { top: 4%; width: 50%; left: 25%; }
.mv-fan:hover img:nth-child(1) { transform: rotate(-9deg) translateX(-6px); }
.mv-fan:hover img:nth-child(3) { transform: rotate(9deg) translateX(6px); }
.mv-card { cursor: pointer; }
.mv-card-art { background: var(--brand-navy); }
.mv-card-art img { transition: transform .45s ease; }
.mv-card:hover .mv-card-art img { transform: scale(1.06); }
.mv-card-art .mv-shade { background: linear-gradient(0deg, rgb(0 0 0 / .85), rgb(0 0 0 / .1) 50%, transparent 70%); }
.mv-play { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 999px; background: var(--brand-gold); color: var(--brand-ink); opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .2s, transform .2s; box-shadow: 0 10px 25px -8px rgb(0 0 0 / .6); }
.mv-play .icon { width: 1.25rem; height: 1.25rem; fill: currentColor; stroke: none; margin-left: 3px; }
.mv-card:hover .mv-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mv-card-tag { z-index: 1; }
.mv-card-title { z-index: 1; }
.mv-row-head h2 { position: relative; padding-left: .9rem; }
.mv-row-head h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--brand-gold); }
.mv-rows { padding-bottom: 1rem; }
.mv-feature-img { aspect-ratio: 2 / 3; max-width: 360px; justify-self: center; width: 100%; }
.mv-genre { min-height: 11rem; isolation: isolate; }
.mv-genre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .45s ease; }
.mv-genre::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(0 0 0 / .85), rgb(0 0 0 / .15) 70%); }
.mv-genre:hover img { transform: scale(1.08); }
.mv-results .mv-card { width: auto; }
@media (max-width: 767px) { .mv-card { width: 150px; } .mv-row-nav { display: none; } }

/* v3 responsive fixes */
img { max-width: 100%; }
@media (max-width: 767px) {
  .mv-hero-grid { gap: 2rem; padding-block: 2.5rem 3rem; }
  .mv-fan { display: block; min-height: 0; aspect-ratio: 4 / 3.4; max-width: 420px; width: 100%; margin-inline: auto; order: -1; }
  .mv-hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .mv-hero-stats { gap: 1.25rem 1.75rem; }
  .mv-search-inner { padding-block: 1.75rem; }
  .mv-search-box input { height: 3.25rem; font-size: 16px; }
  .mv-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .mv-chips::-webkit-scrollbar { display: none; }
  .mv-chip { flex: 0 0 auto; }
  .mv-row { padding-top: 2.25rem; }
  .mv-scroller { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; overflow: visible; scroll-snap-type: none; }
  .mv-scroller .mv-card, .mv-card { width: auto; }
  .mv-results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .mv-card-title { font-size: .9rem; }
  .mv-card-meta { padding: .55rem .6rem; font-size: .7rem; }
  .mv-play { opacity: .9; transform: translate(-50%, -50%) scale(.85); width: 2.75rem; height: 2.75rem; }
  .mv-feature-card { padding: 1.75rem; }
  .mv-feature-img { max-width: 260px; }
  .mv-genre { min-height: 8.5rem; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .mv-scroller, .mv-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .mv-hero-grid { grid-template-columns: 1fr; }
  .mv-fan { max-width: 520px; width: 100%; margin-inline: auto; min-height: 0; aspect-ratio: 4 / 3.4; }
  .mv-card { width: 180px; }
}
