/* QuickTV site — tokens lifted from quicktv.co.in */
:root {
  --bg: #000;
  --panel: #0e0e0e;
  --surface: #161616;
  --surface-2: #222;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.2);
  --text: #fff;
  --muted: rgba(255,255,255,.64);
  --faint: rgba(255,255,255,.4);
  --pink: #ff9bc3;
  --brand: #dd1362;
  --brand-hover: #f02172;
  --maroon: rgba(50,3,25,.5);
  --hero: linear-gradient(180deg, rgba(50,3,25,.5) 0%, rgba(18,18,18,.5) 100%);
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { letter-spacing: -.02em; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.pink { color: var(--pink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 11px 22px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; text-decoration: none; white-space: nowrap; background: none;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--pink); padding: 9px 18px; font-size: 14px; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.play-badge img { height: 46px; width: auto; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(0,0,0,.78); backdrop-filter: blur(14px); }
header.site .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.logo img { height: 36px; width: auto; }
nav.pill {
  display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03);
}
nav.pill a { text-decoration: none; font-weight: 500; padding: 8px 20px; border-radius: 999px; color: var(--muted); }
nav.pill a:hover { color: #fff; }
nav.pill a.active { color: #fff; background: rgba(221,19,98,.16); box-shadow: inset 0 0 0 1px rgba(221,19,98,.5); }
.header-end { justify-self: end; display: flex; gap: 10px; align-items: center; }

/* ---------- shared bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.center::before { display: none; }
.section { padding: 96px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; margin: 10px 0 10px; font-weight: 700; }
.section-sub { color: var(--muted); margin: 0; max-width: 560px; font-size: 17px; }
.stats-panel { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.stats-panel > div { padding: 22px 26px; border-left: 1px solid var(--line); }
.stats-panel > div:first-child { border-left: 0; }
.stats-panel span { font-size: 14px; color: var(--muted); }
.stats-panel b { display: block; font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stats-panel b em { font-style: normal; color: var(--pink); }

/* ---------- poster card ---------- */
.poster-card { cursor: pointer; text-decoration: none; display: block; min-width: 0; }
.poster-card .art { position: relative; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; background: var(--surface); }
.poster-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.poster-card:hover .art img, .poster-card:focus-visible .art img { transform: scale(1.04); }
.poster-card .art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.poster-card .play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(221,19,98,.92); display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: .2s;
}
.poster-card .play svg { width: 20px; height: 20px; margin-left: 3px; }
.poster-card:hover .play, .poster-card:focus-visible .play { opacity: 1; transform: none; }
.poster-card h3 { font-size: 16px; font-weight: 600; margin: 12px 0 2px; line-height: 1.3; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-card .meta { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* ---------- home: hero ---------- */
.home-hero { position: relative; overflow: hidden; }
.home-hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -180px; top: -260px; pointer-events: none;
  background: radial-gradient(circle, rgba(221,19,98,.42) 0%, rgba(50,3,25,.35) 38%, transparent 66%);
}
.home-hero .hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 24px; }
.home-hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; margin: 22px 0 24px; font-weight: 700; }
.home-hero .lede { font-size: clamp(17px, 1.5vw, 21px); color: rgba(255,255,255,.82); max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.phones { position: relative; height: 620px; }
.phone {
  position: absolute; width: 280px; aspect-ratio: 9/19.5; border-radius: 42px; padding: 10px;
  background: #0a0a0a; border: 2px solid #2b2b2b; box-shadow: 0 40px 90px rgba(0,0,0,.7), inset 0 0 0 1px #3a3a3a;
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #111; }
.phone .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #000; z-index: 3; }
.phone.front { left: 8%; top: 20px; z-index: 2; }
.phone.back { right: 2%; top: 90px; transform: rotate(6deg); width: 250px; opacity: .92; }
.carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.carousel img.on { opacity: 1; }
.screen .now { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 60px 18px 22px; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.screen .now small { color: var(--pink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.screen .now b { display: block; font-size: 18px; line-height: 1.2; margin: 4px 0 10px; }
.screen .dots { display: flex; gap: 5px; }
.screen .dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); transition: .3s; }
.screen .dots i.on { width: 18px; background: var(--brand); }
.mini-app { padding: 46px 12px 12px; height: 100%; }
.mini-app p { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.mini-app .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-app .tiles img { aspect-ratio: 9/16; object-fit: cover; border-radius: 8px; width: 100%; }
.hero-stats { margin-top: 16px; position: relative; }

/* ---------- home: rails ---------- */
.rail { margin-top: 44px; }
.rail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.rail-head h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.rail-head .arrows { display: flex; gap: 8px; }
.round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; display: grid; place-items: center; }
.round:hover { border-color: #fff; }
.round svg { width: 18px; height: 18px; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 15vw, 210px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }

/* ---------- home: languages ---------- */
.lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lang-tile {
  position: relative; display: block; text-decoration: none; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .2s, background .2s;
}
.lang-tile:hover { border-color: rgba(221,19,98,.6); background: linear-gradient(160deg, rgba(221,19,98,.14), var(--panel) 60%); }
.lang-tile .native { font-size: 30px; font-weight: 700; line-height: 1.2; display: block; }
.lang-tile .name { color: var(--muted); font-size: 14px; }
.lang-tile .count { position: absolute; right: 20px; bottom: 20px; font-size: 13px; color: var(--pink); font-weight: 600; }

/* ---------- home: why cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 26px; display: flex; flex-direction: column; }
.why-card .num { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--brand); color: var(--pink); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.why-card h3 { font-size: 23px; margin: 22px 0 10px; line-height: 1.2; }
.why-card p { color: var(--muted); margin: 0 0 22px; }
.why-card .foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- FAQs ---------- */
.faqs { max-width: 860px; margin: 0 auto; }
.faqs .head { text-align: center; margin-bottom: 36px; }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:first-child { border-top: 0; }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 26px 22px; color: var(--muted); }
.faq-list .answer a { color: var(--pink); }

/* ---------- connect panel ---------- */
.connect-panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(ellipse at 15% 30%, rgba(221,19,98,.28), transparent 55%), var(--panel);
}
.connect-panel h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin: 0 0 16px; }
.connect-panel h2 em { color: var(--pink); }
.connect-panel p { color: var(--muted); margin: 0 0 28px; max-width: 460px; }
.topic-list { display: grid; gap: 12px; }
.topic-list button {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.35); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.topic-list button:hover { border-color: var(--brand); color: var(--pink); }

/* ---------- footer ---------- */
footer.site { margin-top: 110px; border-top: 1px solid var(--line); padding: 56px 0 40px; overflow: hidden; }
footer.site .grid { display: grid; grid-template-columns: 1.4fr repeat(3, auto); gap: 40px 64px; align-items: start; }
.wordmark { font-size: clamp(64px, 11vw, 160px); font-weight: 700; line-height: .9; letter-spacing: -.04em; color: #161616; user-select: none; }
.wordmark span { color: rgba(221,19,98,.22); }
footer.site h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--faint); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer.site ul a { text-decoration: none; font-weight: 500; }
footer.site ul a:hover { color: var(--pink); }
footer.site .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- catalogue page ---------- */
.cat-hero { position: relative; }
.cat-hero::before { content: ""; position: absolute; inset: 0 0 -80px; background: var(--hero); pointer-events: none; }
.cat-hero .wrap { position: relative; padding-top: 28px; padding-bottom: 36px; }
.crumbs { font-size: 15px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs b { color: var(--pink); font-weight: 500; }
.cat-hero .row { display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: 40px; align-items: center; margin-top: 36px; }
.cat-hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; margin: 0 0 14px; }
.cat-hero p { color: var(--muted); margin: 0; max-width: 520px; font-size: 17px; }
.toolbar { position: sticky; top: 76px; z-index: 30; background: rgba(0,0,0,.86); backdrop-filter: blur(14px); }
.toolbar .wrap { display: flex; gap: 12px; align-items: center; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.search { flex: 1 1 280px; max-width: 560px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; }
.search:focus-within { border-color: var(--pink); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 12px 0; }
.search svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.filters { display: flex; gap: 10px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.filters select {
  appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/14px no-repeat;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 36px 10px 16px; font-weight: 600; font-size: 14px; color: #fff;
}
.filters select:focus { outline: 0; border-color: var(--pink); }
.result-line { color: var(--muted); font-size: 14px; margin: 28px 0 18px; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 36px 20px; }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-weight: 600; font-size: 14px; }
.pager button:hover:not(:disabled) { border-color: var(--line-strong); }
.pager button[aria-current="page"] { background: var(--brand); border-color: var(--brand); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager .gap { align-self: center; color: var(--faint); padding: 0 4px; }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.8); backdrop-filter: blur(6px); display: none; }
.overlay.open { display: block; }
.close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(20,20,20,.9); display: grid; place-items: center;
}
.close svg { width: 18px; height: 18px; }
.modal {
  position: absolute; inset: 0; margin: auto; width: min(1080px, calc(100% - 32px)); height: min(820px, calc(100% - 48px));
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: minmax(300px, 400px) 1fr; grid-template-rows: minmax(0, 1fr);
}
.modal .player { background: #000; display: flex; flex-direction: column; border-right: 1px solid var(--line); min-height: 0; }
.video-box { position: relative; flex: 1; min-height: 0; }
.video-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(0,0,0,.6); }
.video-msg p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.video-msg.end { background: rgba(0,0,0,.84); }
.video-msg.end b { font-size: 21px; }
.video-msg .stack { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
.unmute {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.92); color: #000; font-size: 13px; font-weight: 600;
}
.unmute svg { width: 16px; height: 16px; }
.ep-picker { padding: 16px; border-top: 1px solid var(--line); }
.ep-picker .label { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.ep-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ep { aspect-ratio: 1.25; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; display: grid; place-items: center; position: relative; }
.ep[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.ep:disabled { cursor: default; color: var(--faint); background: #111; }
.ep.locked::after {
  content: ""; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V8a6 6 0 1 1 12 0v2h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1zm2 0h8V8a4 4 0 1 0-8 0v2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V8a6 6 0 1 1 12 0v2h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1zm2 0h8V8a4 4 0 1 0-8 0v2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.modal .info { padding: 36px 36px 28px; overflow-y: auto; display: flex; flex-direction: column; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tag.hot { background: rgba(221,19,98,.18); color: var(--pink); }
.info h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; margin: 14px 0; padding-right: 40px; }
.info .synopsis { color: rgba(255,255,255,.84); font-size: 16px; margin: 0 0 22px; white-space: pre-line; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0; overflow: hidden; }
.facts div { padding: 14px 16px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.info .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

.dialog {
  position: absolute; inset: 0; margin: auto; width: min(560px, calc(100% - 32px)); height: fit-content; max-height: calc(100% - 48px); overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
}
.dialog h2 { margin: 0 0 6px; font-size: 28px; }
.dialog > p { margin: 0 0 22px; color: var(--muted); }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); outline: 0;
}
.field select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/14px no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--pink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { margin: 0; color: var(--pink); font-size: 14px; }
.sent { text-align: center; padding: 16px 0 4px; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; margin: 0 auto 16px; }
.tick svg { width: 30px; height: 30px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0;
  background: #fff; color: #000; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; transition: .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- mobile menu ---------- */
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter) 24px;
  background: rgba(8,2,6,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.mobile-nav a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--pink); }
.mobile-nav .btn { width: 100%; margin-top: 18px; }
header.site.menu-open .mobile-nav { display: block; }

/* ---------- responsive ---------- */
/* small laptops + tablet landscape */
@media (max-width: 1180px) {
  .phones { height: 580px; }
  .phone { width: 250px; }
  .phone.back { width: 215px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
  footer.site .grid { grid-template-columns: repeat(3, auto); }
  footer.site .wordmark { grid-column: 1 / -1; }
}

/* tablet portrait */
@media (max-width: 900px) {
  .home-hero .hero-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .phones { height: auto; display: flex; flex-direction: row-reverse; justify-content: center; align-items: flex-start; padding: 8px 0 40px; }
  .phone { position: relative; left: auto; right: auto; top: auto; }
  .phone.front { width: 260px; }
  .phone.back { width: 220px; margin: 64px 0 0; transform: rotate(6deg); }
  .phone.front { margin-right: -56px; }
  .cat-hero .row { grid-template-columns: 1fr; gap: 28px; }
  .connect-panel { grid-template-columns: 1fr; }
  .search { max-width: none; flex-basis: 100%; }
  .filters { width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .filters label span { display: none; }
  .filters select { width: 100%; }
  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 16px; }
  .modal { display: block; overflow-y: auto; width: calc(100% - 32px); height: calc(100% - 32px); }
  .modal .player { border-right: 0; }
  .video-box { flex: none; height: 62vh; height: 62svh; min-height: 420px; }
  .ep-grid { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
  .modal .info { padding: 24px 22px 28px; }
  .modal .info .actions { margin-top: 8px; }
}

/* phones */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  header.site .wrap { grid-template-columns: auto 1fr; height: 64px; }
  header.site nav.pill, .header-end .btn-outline { display: none; }
  .menu-btn { display: grid; }
  .logo img { height: 30px; }
  .home-hero h1 { margin: 18px 0 18px; }
  .home-hero .lede { margin-bottom: 26px; }
  .hero-actions .play-badge img { height: 44px !important; }
  .phone.front { width: 200px; border-radius: 32px; padding: 8px; }
  .phone.back { width: 165px; border-radius: 28px; padding: 7px; margin: 48px 0 0; }
  .phone.front { margin-right: -44px; }
  .phone .screen { border-radius: 25px; }
  .phone .notch { width: 64px; height: 18px; }
  .screen .now b { font-size: 15px; }
  .mini-app { padding: 34px 9px 9px; }
  .stats-panel { --cols: 3 !important; }
  .stats-panel > div { padding: 16px; }
  .stats-panel b { font-size: 26px; }
  .stats-panel.four { --cols: 2 !important; }
  .stats-panel.four > div:nth-child(3) { border-left: 0; }
  .stats-panel.four > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding-top: 64px; }
  .section-head { margin-bottom: 20px; }
  .rail { margin-top: 32px; }
  .rail-head h3 { font-size: 19px; }
  .rail-head .round { display: none; }
  .rail-track { grid-auto-columns: 40vw; gap: 12px; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lang-tile { padding: 18px 16px 40px; }
  .lang-tile .native { font-size: 24px; }
  .lang-tile .count { left: 16px; right: auto; bottom: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card h3 { font-size: 21px; margin-top: 18px; }
  .faq-list summary { padding: 18px; font-size: 16px; }
  .faq-list .answer { padding: 0 18px 18px; }
  .topic-list button { padding: 14px 18px; font-size: 12px; }
  footer.site { margin-top: 80px; }
  footer.site .grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  footer.site .grid > div:nth-child(2) { grid-column: 1 / -1; }
  .cat-hero .wrap { padding-bottom: 24px; }
  .cat-hero .row { margin-top: 24px; }
  .toolbar { position: static; }
  .toolbar .wrap { gap: 10px; }
  .filters { grid-template-columns: 1fr 1fr; gap: 8px; }
  .filters .btn { width: 100%; }
  .result-line { margin: 20px 0 14px; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .poster-card h3 { font-size: 15px; }
  .pager button { min-width: 36px; height: 36px; }
  .modal { width: 100%; height: 100%; border-radius: 0; border: 0; }
  .video-box { height: 72vh; height: 72svh; min-height: 360px; }
  .ep-grid { gap: 6px; }
  .info h2 { font-size: 26px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div { padding: 12px; }
  .info .actions .btn { flex: 1 1 auto; }
  .info .actions .btn-primary { flex-basis: 100%; }
  .dialog { padding: 24px 18px; width: calc(100% - 24px); }
  .two { grid-template-columns: 1fr; }
  /* 16px+ inputs stop iOS Safari zooming the page on focus */
  .field input, .field textarea, .field select, .search input { font-size: 16px; }
}
