/* GaramMasala — premium dark cinematic theme (crimson). Mobile-first, responsive.
   Rebuilt look: neutral charcoal canvas, crimson + gold accents, clean modern display (Outfit)
   serif, restrained depth (soft shadows over neon). Class names match app.js. */
:root {
  --bg: #0b0a0c;
  --bg-2: #111015;
  --surface: #17161c;
  --surface-2: #201e27;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.14);
  --text: #f6f3f4;
  --muted: #9a9098;
  --soft: #cfc9cd;            /* readable body text on dark */
  --accent: #e11d2e;         /* chili crimson */
  --accent-2: #ff3b3b;       /* scarlet (gradient end) */
  --accent-deep: #8f0f1a;
  --gold: #e6b256;           /* premium highlight */
  --ok: #58d6a0;
  --accent-ink: #ffffff;
  --glow: 0 0 30px rgba(225,29,46,.4);
  --glow-soft: 0 12px 38px rgba(225,29,46,.22);
  --radius: 16px;
  --radius-sm: 12px;
  --gap: clamp(10px, 2.4vw, 18px);
  --maxw: 1440px;
  --shadow: 0 26px 64px rgba(0,0,0,.6);
  --shadow-card: 0 16px 38px rgba(0,0,0,.5);
  --pad: clamp(16px, 4vw, 64px);
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font-family: var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background:
    radial-gradient(1100px 620px at 93% -14%, rgba(225,29,46,.16), transparent 58%),
    radial-gradient(820px 520px at -6% 2%, rgba(120,18,28,.12), transparent 60%),
    var(--bg);
  min-height: 100dvh; }
/* faint film grain + vignette for cinematic depth (very subtle) */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .5;
  background:
    radial-gradient(130% 130% at 50% 40%, transparent 58%, rgba(0,0,0,.45) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.muted { color: var(--muted); }
h1, h2, .brand-name { font-family: var(--font-display); font-optical-sizing: auto; }
/* keep app content above the grain layer */
.topbar, main, .footer, .agegate, .modal-wrap { position: relative; z-index: 2; }

/* Icons */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }
.nav-ic { width: 17px; height: 17px; }
.nav a { display: inline-flex; align-items: center; gap: 7px; }
.mi { display: inline-flex; align-items: center; gap: 5px; }
.mi .ic { color: var(--accent-2); opacity: .9; }
.card .cap .s .ic { color: var(--muted); }
.row-head h2 { display: inline-flex; align-items: center; gap: 10px; }
.row-head h2 .ic { width: 20px; height: 20px; color: var(--accent); }
.kicker .ic { width: 14px; height: 14px; }
.btn .ic { width: 18px; height: 18px; }
.back .ic { width: 18px; height: 18px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: clamp(12px, 3vw, 28px);
  padding: 13px var(--pad); padding-top: calc(13px + env(safe-area-inset-top));
  background: rgba(11,10,12,.55); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; flex-wrap: wrap; }
.topbar.scrolled { background: rgba(11,10,12,.9); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(23px, 6vw, 30px); letter-spacing: -.8px; }
.brand-name { font-weight: 800; background: linear-gradient(100deg, #ffffff, #f0dcc1);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name.small { font-size: 16px; }
.brand-num { -webkit-text-fill-color: var(--accent); color: var(--accent); }
.nav { display: flex; gap: clamp(16px, 4vw, 24px); font-weight: 500; color: var(--muted); font-size: 15px; }
.nav a { position: relative; padding: 6px 0; min-height: 32px; display: inline-flex; align-items: center; transition: color .2s; }
.nav a.active, .nav a:hover { color: var(--text); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px; }
.search { margin-left: auto; position: relative; display: flex; align-items: center; }
.search-ic { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input { width: clamp(150px, 42vw, 320px); padding: 11px 16px 11px 38px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--text); font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--accent); background: rgba(255,255,255,.06); box-shadow: 0 0 0 3px rgba(225,29,46,.18); }

/* Buttons — premium, sentence case */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 12px;
  font-family: var(--font-ui); font-weight: 650; font-size: 15px; letter-spacing: .01em; border: 0; cursor: pointer;
  transition: transform .14s cubic-bezier(.2,.7,.3,1), filter .2s, box-shadow .2s, background .2s; min-height: 48px; }
.btn:active { transform: scale(.975); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink);
  box-shadow: 0 12px 30px rgba(225,29,46,.4); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 16px 40px rgba(225,29,46,.55); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.26); }

/* Hero carousel */
.hero-carousel { position: relative; max-width: var(--maxw); margin: clamp(14px, 2.5vw, 24px) auto 8px; padding: 0 var(--pad); }
.hero-track { position: relative; aspect-ratio: 16 / 8; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; overflow: hidden;
  opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide.hero-img { cursor: pointer; align-items: stretch; }
.hero-slide.hero-img .hero-bg { transform: none; filter: none; background-position: center; background-size: cover; }
.hero-slide.hero-img .hero-shade { background:
    linear-gradient(90deg, rgba(8,7,9,.82) 0%, rgba(8,7,9,.4) 46%, rgba(8,7,9,0) 72%),
    linear-gradient(0deg, rgba(8,7,9,.85) 2%, transparent 40%); }
.hero-slide.hero-img .hero-playbtn { display: none; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 22%;
  transform: scale(1.08); filter: blur(6px) saturate(1.1) brightness(.72); }
.hero-shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(8,7,9,.94) 0%, rgba(8,7,9,.6) 42%, rgba(8,7,9,.1) 74%, rgba(8,7,9,.4) 100%),
    linear-gradient(0deg, var(--bg) 1%, transparent 52%); }
.hero-inner { position: relative; z-index: 3; max-width: 580px; width: 100%;
  padding: clamp(22px, 4vw, 60px); align-self: center; animation: rise .55s ease both; }
.hero-poster { position: absolute; right: clamp(24px, 6vw, 96px); top: 50%; transform: translateY(-50%);
  height: 78%; aspect-ratio: 2/3; width: auto; object-fit: cover; border-radius: 16px; z-index: 2;
  box-shadow: 0 26px 60px rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.12); }
.hero-playbtn { position: absolute; right: clamp(24px, 6vw, 96px); bottom: 14%; transform: translateX(50%);
  z-index: 4; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 12px 30px rgba(225,29,46,.5); transition: transform .15s; }
.hero-playbtn svg { width: 26px; height: 26px; margin-left: 2px; }
.hero-playbtn:hover { transform: translateX(50%) scale(1.08); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(10.5px, 2.6vw, 12px); font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(230,178,86,.3); backdrop-filter: blur(6px); }
.hero-slide h1 { font-family: var(--font-display); font-size: clamp(36px, 6.8vw, 72px); line-height: .96; margin: 0 0 16px;
  font-weight: 800; letter-spacing: -1.4px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-slide .meta, .detail .meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: clamp(12px, 3.4vw, 14px); flex-wrap: wrap; }
.hero-slide .meta { margin-bottom: 16px; }
.hero-slide p { color: var(--soft); font-size: clamp(13.5px, 3.4vw, 15.5px); line-height: 1.6; margin: 0 0 22px; max-width: 520px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Carousel arrows + dots */
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(8,7,9,.5); backdrop-filter: blur(8px); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .18s, transform .15s, border-color .18s; opacity: 0; }
.hero-carousel:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-50%) scale(1.06); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow.prev { left: calc(var(--pad) + 14px); }
.hero-arrow.next { right: calc(var(--pad) + 14px); }
.hero-arrow.next svg { transform: rotate(180deg); }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 7px; height: 7px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: width .3s, background .3s; }
.hero-dot.active { width: 28px; background: var(--accent); }

/* Filter chips */
.chips { display: flex; gap: 10px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; padding: 18px var(--pad) 0; }
.chip { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--muted); font-size: 13.5px; font-weight: 550; cursor: pointer; transition: all .18s; min-height: 38px; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.active { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(225,29,46,.35); }

/* Rows / section headings */
.rows { max-width: var(--maxw); margin: 0 auto; padding: 10px var(--pad) 52px; }
.row { margin: clamp(26px, 5vw, 40px) 0; }
.row-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 15px; }
.row-head h2 { font-family: var(--font-display); font-size: clamp(20px, 4.8vw, 28px); font-weight: 800; margin: 0;
  letter-spacing: -.3px; position: relative; padding-left: 16px; }
.row-head h2::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: .82em;
  border-radius: 3px; background: var(--accent); }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(140px, 40vw, 208px);
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: #3a2a30 transparent; -webkit-overflow-scrolling: touch;
  scroll-padding-left: var(--pad); }
.row-scroll::-webkit-scrollbar { height: 7px; }
.row-scroll::-webkit-scrollbar-thumb { background: #3a2a30; border-radius: 4px; }
.row-scroll::-webkit-scrollbar-track { background: transparent; }

/* Grid */
.grid { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--pad) 60px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: var(--gap); }
.section-title { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--pad) 0; font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 36px); font-weight: 800; letter-spacing: -1px; }

/* Card */
.card { scroll-snap-align: start; cursor: pointer; background: var(--surface); border-radius: var(--radius);
  overflow: hidden; transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s; position: relative;
  border: 1px solid var(--line); }
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow-card); border-color: var(--line-2); z-index: 2; }
.card:active { transform: scale(.98); }
.card .poster { aspect-ratio: 2/3; width: 100%; background: #1c1a21; position: relative; overflow: hidden; }
.card .poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.card:hover .poster-img { transform: scale(1.06); }
.card .poster::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 48%); opacity: 0; transition: opacity .25s; }
.card:hover .poster::after { opacity: 1; }
.card .play-ov { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s; z-index: 2; }
.card:hover .play-ov { opacity: 1; }
.card .play-ov span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.55); }
.card .cap { padding: 11px 12px 13px; }
.card .cap .t { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card:hover .cap .t { color: #fff; }
.card .cap .s { font-size: 11.5px; color: var(--muted); margin-top: 4px; display: flex; gap: 7px; }
.badge { position: absolute; top: 9px; left: 9px; z-index: 3; background: rgba(0,0,0,.6); color: #fff; font-size: 10px;
  font-weight: 600; padding: 4px 8px; border-radius: 7px; letter-spacing: .02em; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14); }

/* Player / detail */
.player-wrap { max-width: 1160px; margin: 0 auto; padding: 18px var(--pad) 0; }
.player { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); }
.player video { width: 100%; height: 100%; display: block; background: #000; }
.detail { max-width: 1160px; margin: 8px auto 0; padding: 0 var(--pad) 44px; }
.detail h1 { font-family: var(--font-display); font-size: clamp(26px, 6vw, 46px); margin: 16px 0 12px; font-weight: 800;
  letter-spacing: -.6px; }
.detail .meta { margin-bottom: 16px; }
.detail p { color: var(--soft); line-height: 1.75; max-width: 800px; font-size: clamp(14px, 3.8vw, 16px); }
.pill { border: 1px solid var(--line-2); padding: 2px 10px; border-radius: 7px; font-size: 12px; font-weight: 550; }
.dot { opacity: .5; }
.back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); margin-bottom: 2px; font-size: 14px; font-weight: 500; min-height: 40px; transition: color .2s; }
.back:hover { color: var(--accent-2); }

/* Skeleton */
.skeleton-wrap { max-width: var(--maxw); margin: 0 auto; padding: 32px var(--pad); }
.sk-hero { aspect-ratio: 16/8; border-radius: 22px; margin-bottom: 32px; }
.sk-row { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(140px, 40vw, 190px); gap: var(--gap); overflow: hidden; }
.sk-card { aspect-ratio: 2/3; border-radius: var(--radius); }
.shimmer { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; color: var(--muted); padding: 64px 20px; }

/* 18+ badge next to the wordmark */
.brand-18 { margin-left: 8px; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 6px; border-radius: 6px; letter-spacing: .5px;
  color: #fff; background: var(--accent); }

/* Age-gate overlay */
body.gated { overflow: hidden; }
.agegate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: 20px calc(16px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  background: radial-gradient(120% 90% at 70% -10%, rgba(225,29,46,.18), transparent), rgba(6,5,7,.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.agegate[hidden] { display: none; }
.agegate-card { width: 100%; max-width: 430px; text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 34px 26px calc(26px + env(safe-area-inset-bottom)); box-shadow: 0 28px 80px rgba(0,0,0,.65); }
.agegate-18 { margin: 0 auto 2px; font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--gold); }
.agegate-card h2 { font-family: var(--font-display); font-size: 32px; font-weight: 800; margin: 4px 0 12px; letter-spacing: -.8px; }
.agegate-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 auto 18px; max-width: 340px; }
.agegate-actions { display: flex; flex-direction: column; gap: 10px; }
.agegate-actions .btn { width: 100%; min-height: 50px; }
.agegate-fine { font-size: 12px !important; color: var(--muted); opacity: .7; margin: 16px auto 0 !important; }

/* Browse category tags */
.chips.cats { padding-top: 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-padding-left: var(--pad); }
.chips.cats::-webkit-scrollbar { display: none; }
.chips.cats .chip { flex: none; }
.chip-n { font-size: 11px; font-weight: 700; opacity: .7; margin-left: 4px; }
.chip.active .chip-n { opacity: .9; }

/* Home: category row "See all" link */
.see-all { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; font-weight: 600;
  letter-spacing: .02em; white-space: nowrap; transition: color .18s; }
.see-all:hover { color: var(--accent-2); }
.see-all .ic { width: 15px; height: 15px; transform: rotate(180deg); }

/* Footer */
.footer { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line); text-align: left; }
.footer-top { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 48px var(--pad) 12px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 24px var(--pad) calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.footer-brand { display: inline-flex; align-items: center; }
.footer-note { color: var(--muted); font-size: 12.5px; flex: 1 1 260px; }
.footer-bottom #count { font-size: 12.5px; }

/* Static info / legal pages */
.static-page { max-width: 840px; margin: 0 auto; padding: 20px var(--pad) 68px; }
.static-page > .back { margin-bottom: 8px; }
.static-page h1 { font-family: var(--font-display); font-size: clamp(30px, 6.5vw, 46px); font-weight: 800; letter-spacing: -1px;
  margin: 8px 0 22px; }
.static-body { color: var(--soft); line-height: 1.8; font-size: 16px; }
.static-body h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 32px 0 10px; color: var(--text); }
.static-body p { margin: 0 0 15px; }
.static-body ul { margin: 0 0 15px; padding-left: 20px; }
.static-body li { margin: 7px 0; }
.static-body a { color: var(--accent-2); font-weight: 550; }
.static-body a:hover { text-decoration: underline; }
.static-body strong { color: var(--text); }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 22px 0 8px; }
.plan { position: relative; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 22px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.plan.featured { border-color: rgba(225,29,46,.55); box-shadow: 0 0 0 1px rgba(225,29,46,.3), var(--shadow-card); }
.plan-tag { position: absolute; top: -12px; left: 22px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); padding: 5px 11px; border-radius: 999px; box-shadow: 0 6px 16px rgba(225,29,46,.4); }
.plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.plan-price { font-family: var(--font-display); font-size: 38px; font-weight: 800; margin: 8px 0 2px; letter-spacing: -1px; }
.plan-price .mrp { font-family: var(--font-ui); text-decoration: line-through; color: var(--muted); font-size: 16px; font-weight: 500; margin-right: 9px; }
.plan-dur { color: var(--muted); font-size: 13px; }
.plan ul { list-style: none; margin: 14px 0 0; padding: 0; }
.plan li { color: var(--soft); font-size: 14px; padding: 6px 0 6px 24px; position: relative; }
.plan li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan-off { position: absolute; top: -12px; right: 18px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; color: #1a1205; background: linear-gradient(135deg, #f3cf73, var(--gold)); box-shadow: 0 6px 16px rgba(230,178,86,.4); }
.plan-cta { width: 100%; margin-top: 20px; }
.plan-fine { font-size: 12px; margin-top: 20px; }
.plan-note { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 15px 17px; margin: 12px 0 20px; font-size: 14px; }
.plan-note.ok { border-color: rgba(88,214,160,.35); color: #a9ecce; }
.plan-note.warn { border-color: rgba(230,178,86,.5); color: var(--gold); }

/* Legacy coming-soon block (kept for safety) */
.soon { text-align: center; max-width: 480px; margin: 22px auto; padding: 38px 26px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card); }
.soon-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 6px 13px; border-radius: 999px; margin-bottom: 16px; }
.soon h2 { margin: 0 0 10px !important; font-size: 26px !important; }
.soon .btn { margin-top: 18px; }

/* Contact form */
.cform { display: flex; flex-direction: column; gap: 16px; max-width: 520px; margin-top: 20px; }
.cform label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cform input, .cform textarea { font: inherit; font-size: 16px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; outline: none;
  transition: border-color .2s, box-shadow .2s; resize: vertical; }
.cform input:focus, .cform textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225,29,46,.18); }
.cform .btn { align-self: flex-start; }
.cform-status { font-size: 14px; margin: 2px 0 0; min-height: 1.2em; }
.cform-status.ok { color: var(--ok); }
.cform-status.err { color: var(--accent-2); }

/* Accounts, auth modal, paywall, payment */
.authbox { display: flex; align-items: center; gap: 10px; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; min-height: 40px; }
.sub-pill { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.sub-pill.on { background: rgba(88,214,160,.14); color: var(--ok); border: 1px solid rgba(88,214,160,.35); }
.sub-pill.off { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 6px 16px rgba(225,29,46,.4); }

/* ── VIP Plans nav item (gold crown) ──────────────────────────────────── */
.nav a.nav-vip { color: var(--gold); font-weight: 600; }
.nav a.nav-vip:hover, .nav a.nav-vip.active { color: #ffd877; }
.nav a.nav-vip.active::after { background: linear-gradient(90deg, #ffe08a, #cf8f24); }

/* ── VIP button (gold, enticing) ───────────────────────────────────────── */
.vip-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .04em; color: #2a1904;
  text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; flex: none;
  background: linear-gradient(135deg, #ffe08a, #e6b256 46%, #cf8f24);
  box-shadow: 0 6px 18px rgba(230,178,86,.5); transition: transform .18s, filter .18s;
  animation: vipGlow 2.6s ease-in-out infinite; }
.vip-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.vip-btn:active { transform: scale(.97); }
.vip-gem { font-size: 15px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.vip-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 38%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform: skewX(-20deg);
  animation: vipShine 3.4s ease-in-out infinite; }
@keyframes vipGlow { 0%,100% { box-shadow: 0 6px 16px rgba(230,178,86,.42); } 50% { box-shadow: 0 8px 28px rgba(230,178,86,.85); } }
@keyframes vipShine { 0% { left: -60%; } 55%,100% { left: 135%; } }
@media (prefers-reduced-motion: reduce) { .vip-btn { animation: none; } .vip-btn::after { animation: none; display: none; } }

/* ── Notification bell ─────────────────────────────────────────────────── */
.bell { position: relative; flex: none; }
.bell-btn { position: relative; width: 42px; height: 42px; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center; cursor: pointer; color: var(--gold);
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.bell-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.26); }
.bell-btn svg { width: 19px; height: 19px; }
.bell-badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(225,29,46,.5); }
.bell-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 290px; z-index: 60;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; }
.bell-head { padding: 13px 16px; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); }
.bell-item { display: flex; gap: 11px; align-items: flex-start; padding: 13px 16px; text-decoration: none;
  color: var(--text); border-bottom: 1px solid var(--line); transition: background .15s; }
.bell-item:hover { background: rgba(255,255,255,.05); }
.bell-emoji { font-size: 19px; line-height: 1.2; }
.bell-item b { display: block; font-size: 14px; font-weight: 600; }
.bell-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.bell-cta { display: block; text-align: center; padding: 13px 16px; font-weight: 800; letter-spacing: .03em;
  text-decoration: none; color: #2a1904; background: linear-gradient(135deg, #ffe08a, #e6b256 46%, #cf8f24); }
.bell-cta:hover { filter: brightness(1.06); }
.acct { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; max-width: 170px; transition: border-color .2s; }
.acct-btn:hover { border-color: var(--accent); }
.acct-btn svg { width: 15px; height: 15px; color: var(--muted); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: 16px; padding: 13px; min-width: 220px; z-index: 60; box-shadow: 0 20px 54px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 4px; }
.acct-menu[hidden] { display: none; }
.acct-email { font-weight: 600; font-size: 14px; word-break: break-all; }
.acct-status { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.acct-menu a, .acct-menu button { text-align: left; background: none; border: 0; color: var(--text); font: inherit; font-size: 14px;
  padding: 10px 11px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.acct-menu a:hover, .acct-menu button:hover { background: rgba(255,255,255,.07); color: var(--accent-2); }

.modal-wrap { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(120% 90% at 70% -10%, rgba(225,29,46,.14), transparent), rgba(6,5,7,.82); backdrop-filter: blur(8px); }
.modal-card { position: relative; width: min(430px, 100%); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px;
  padding: 30px 28px; box-shadow: 0 34px 90px rgba(0,0,0,.65); }
.modal-x { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; }
.modal-x svg { width: 20px; height: 20px; }
.modal-x:hover { color: var(--text); }
.modal-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.modal-head h2 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
#authForm { display: flex; flex-direction: column; gap: 14px; }
#authForm label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
#authForm label[hidden] { display: none; }
#authForm input { padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text);
  font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
#authForm input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(225,29,46,.18); }
#authForm .btn { margin-top: 6px; }
.auth-status { font-size: 14px; margin: 0; }
.auth-status.err { color: var(--accent-2); }
.auth-status.ok { color: var(--ok); }
.auth-switch { text-align: center; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.auth-switch a { color: var(--accent-2); font-weight: 600; }

.player.paywalled { position: relative; display: grid; place-items: center; background-size: cover; background-position: center; min-height: 48vw; max-height: 60vh; }
.player.paywalled::before { content: ""; position: absolute; inset: 0; background: rgba(6,5,7,.84); backdrop-filter: blur(5px); }
.paywall { position: relative; text-align: center; max-width: 460px; padding: 32px 26px; }
.paywall-lock { width: 58px; height: 58px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep)); box-shadow: var(--glow-soft); border: 1px solid rgba(255,255,255,.14); }
.paywall-lock svg { width: 28px; height: 28px; color: #fff; }
.paywall h2 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.5px; }
.paywall p { color: var(--muted); margin: 0 0 20px; }
.paywall .hero-actions { justify-content: center; }

.pay-result { max-width: 540px; margin: 9vh auto; text-align: center; padding: 0 var(--pad); }
.pay-result h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.5px; }
.pay-result .btn { margin-top: 20px; }
.pay-ico { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 42px; font-weight: 700; }
.pay-ico.ok { background: rgba(88,214,160,.16); color: var(--ok); border: 2px solid rgba(88,214,160,.5); }
.pay-ico.bad { background: rgba(225,29,46,.16); color: var(--accent-2); border: 2px solid var(--accent-2); }
.spinner { width: 48px; height: 48px; margin: 0 auto 22px; border-radius: 50%; border: 4px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (min-width: 700px) {
  .row-scroll { grid-auto-columns: clamp(170px, 19vw, 208px); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); }
}
@media (max-width: 640px) {
  .hero-track { aspect-ratio: 4 / 5; }
  .hero-poster, .hero-playbtn, .hero-arrow { display: none; }
  .hero-inner { max-width: 100%; align-self: flex-end; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 3%, rgba(8,7,9,.55) 42%, rgba(8,7,9,.25) 100%); }
  .acct-btn { max-width: 120px; }
  .authbox .sub-pill.on { display: none; }
}
@media (max-width: 560px) {
  .topbar { gap: 10px; flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; margin-left: 0; }
  .search input { width: 100%; }
  .card .play-ov { display: none; }
  .vip-btn { padding: 9px 14px; font-size: 13px; }
  .bell { margin-left: auto; }
  .bell-btn { width: 38px; height: 38px; }
  .bell-menu { width: min(290px, calc(100vw - 32px)); }
}
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .card:hover .poster-img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  body::after { display: none; }
}
