/* cinz.app — black like a cinema, blue from the logo, gold for stars */
:root {
  --black: #000000;
  --screen: #f5f7fa;
  --dim: #9aa3b2;
  --faint: #5b6372;
  --panel: #0c1220;
  --line: #1c2536;
  --blue: #1e7bff;
  --cyan: #19c8ff;
  --gold: #ffc53d;
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--black);
  color: var(--screen);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---- header ---- */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.top img { height: 30px; width: auto; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--dim); text-decoration: none; }
.top nav a:hover { color: var(--screen); }

/* ---- hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 48px 0 72px;
}
.hero h1 {
  font: 800 clamp(44px, 7vw, 88px) / 0.98 var(--display);
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero p { color: var(--dim); font-size: 20px; max-width: 30ch; margin: 0 0 32px; }
.soon { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 16px/1 var(--body);
  padding: 16px 22px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(100deg, var(--cyan), var(--blue));
  color: #fff;
}
.btn:hover { filter: brightness(1.1); }
.note { color: var(--faint); font-size: 15px; }

/* phone */
.phone {
  justify-self: center;
  width: min(340px, 100%);
  aspect-ratio: 9 / 18.5;
  border-radius: 46px;
  padding: 12px;
  background: #11161f;
  box-shadow: 0 0 0 1px #2a3345, 0 40px 120px -20px rgba(30, 123, 255, 0.45);
  rotate: 3deg;
}
.screen {
  height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--black);
  display: flex; flex-direction: column;
}
.status { display: flex; justify-content: space-between; padding: 14px 22px 6px; font-size: 12px; font-weight: 700; }
.tabs { display: flex; padding: 6px 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--faint); }
.tabs span { flex: 1; text-align: center; padding-bottom: 9px; }
.tabs .on { color: var(--screen); box-shadow: inset 0 -3px 0 var(--blue); }
.post { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #000; }
.who { font-size: 13px; line-height: 1.35; }
.who b { font-weight: 800; }
.who small { color: var(--faint); font-size: 12px; }
.card {
  margin-top: 8px; border-radius: 14px; padding: 12px; min-height: 92px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  color: #fff;
}
.card strong { font: 700 15px/1.15 var(--display); letter-spacing: -0.01em; }
.quote { font-size: 13px; color: var(--dim); margin-top: 8px; }
.badge { display: inline-flex; gap: 4px; align-items: center; align-self: flex-start; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); }

/* stars: always five, gold fills what was given */
.stars { --size: 14px; --v: 4.5; position: relative; display: inline-block; font-size: var(--size); line-height: 1; letter-spacing: 1px; color: rgba(255, 255, 255, 0.22); }
.stars::before { content: '★★★★★'; }
.stars::after {
  content: '★★★★★'; position: absolute; inset: 0; color: var(--gold);
  width: calc(var(--v) / 5 * 100%); overflow: hidden; white-space: nowrap;
}

/* ---- film strip ticker (the one moving thing) ---- */
.strip {
  position: relative;
  background: linear-gradient(100deg, var(--cyan), var(--blue) 60%);
  padding: 22px 0;
  overflow: hidden;
  rotate: -1.5deg;
  margin: 8px -20px 0;
}
.strip::before, .strip::after {
  content: ''; position: absolute; left: 0; right: 0; height: 10px;
  background: repeating-linear-gradient(90deg, #000 0 14px, transparent 14px 30px);
}
.strip::before { top: 6px; }
.strip::after { bottom: 6px; }
.reel { display: flex; gap: 40px; width: max-content; animation: roll 60s linear infinite; }
.reel span { display: inline-flex; align-items: center; gap: 10px; color: #000; font: 700 17px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.reel .stars { color: rgba(0, 0, 0, 0.25); }
.reel .stars::after { color: #000; }
@keyframes roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reel { animation: none; } }

/* ---- features ---- */
.features { padding: 120px 0 40px; display: grid; gap: 110px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature:nth-child(even) .copy { order: 2; }
.feature h2 { font: 700 clamp(28px, 3.6vw, 44px) / 1.08 var(--display); letter-spacing: -0.03em; margin: 0 0 16px; text-wrap: balance; }
.feature p { color: var(--dim); margin: 0; max-width: 42ch; }
.demo { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 32px; }

/* rate demo */
.rate { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.rate .t { font: 700 22px/1.1 var(--display); }
.rate .y { color: var(--faint); font-size: 14px; margin-top: -8px; }
.picker { display: flex; gap: 4px; }
.picker button {
  all: unset; cursor: pointer; position: relative; width: 44px; height: 44px; font-size: 44px; line-height: 44px;
  color: rgba(255, 255, 255, 0.16);
}
.picker button::before { content: '★'; }
.picker button::after { content: '★'; position: absolute; inset: 0; color: var(--gold); width: var(--f, 0%); overflow: hidden; }
.picker button:focus-visible { outline-offset: 0; }
.score { font: 800 15px/1 var(--body); color: var(--gold); min-height: 15px; }

/* ranked list demo */
.ranked-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ranked-head strong { font: 700 19px/1.2 var(--display); }
.rbadge { font-size: 11px; font-weight: 800; background: var(--blue); color: #fff; border-radius: 999px; padding: 4px 10px; }
.ranked ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ranked li { display: grid; grid-template-columns: 34px 40px 1fr; gap: 12px; align-items: center; }
.ranked .n { font: 800 26px/1 var(--display); color: var(--faint); text-align: right; }
.ranked li:first-child .n { color: var(--gold); }
.mini { width: 40px; height: 58px; border-radius: 6px; }
.ranked span { font-weight: 700; }
.ranked small { display: block; color: var(--faint); font-weight: 500; font-size: 13px; }

/* episode demo */
.notif { display: grid; gap: 12px; }
.n1 { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; background: #151d2e; border-radius: 18px; padding: 14px; }
.n1 .ic { width: 40px; height: 40px; border-radius: 10px; background: #000; display: grid; place-items: center; }
.n1 .ic img { width: 30px; }
.n1 b { display: block; font-size: 15px; }
.n1 span { color: var(--dim); font-size: 14px; }
.n1 time { color: var(--faint); font-size: 12px; align-self: start; }
.n1.dim { opacity: 0.55; scale: 0.96; }

/* ---- closing ---- */
.closing { text-align: center; padding: 140px 0 120px; }
.closing h2 { font: 800 clamp(34px, 5.4vw, 64px) / 1.05 var(--display); letter-spacing: -0.035em; margin: 0 auto 20px; max-width: 16ch; text-wrap: balance; }
.closing p { color: var(--dim); margin: 0 auto 32px; max-width: 40ch; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 44px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; color: var(--faint); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--screen); }
.tmdb { width: 100%; font-size: 12px; }

/* ---- policy pages ---- */
.doc { max-width: 68ch; padding: 40px 0 96px; }
.doc h1 { font: 800 clamp(34px, 5vw, 52px) / 1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 10px; }
.doc .date { color: var(--faint); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font: 700 21px/1.25 var(--display); letter-spacing: -0.01em; margin: 44px 0 10px; }
.doc p, .doc li { color: #c9d0db; }
.doc li { margin-bottom: 8px; }
.doc b { color: var(--screen); }
.doc a { color: var(--cyan); }

/* ---- small screens ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 56px; }
  .hero p { font-size: 18px; }
  .phone { width: min(300px, 86vw); rotate: 0deg; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature:nth-child(even) .copy { order: 0; }
  .features { padding-top: 88px; gap: 80px; }
  .demo { padding: 24px; }
  .picker button { width: 40px; height: 40px; font-size: 40px; line-height: 40px; }
  .closing { padding: 100px 0 88px; }
}
.mini-row { display: flex; gap: 8px; margin-top: 8px; }
.mini-row i { flex: 1; aspect-ratio: 2 / 3; border-radius: 8px; }

/* ---- phone: the real cinz feed ---- */
.app { position: relative; background: #0b0a09; color: #f2eee6; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.status { align-items: center; }
.notch { width: 84px; height: 22px; border-radius: 12px; background: #000; }
.a-tabs { display: flex; border-bottom: 1px solid #2a2724; font-size: 13px; font-weight: 700; color: #8f887c; }
.a-tabs span { flex: 1; display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.a-tabs span::after { content: ''; width: 44px; height: 3px; border-radius: 2px; margin-top: 8px; background: transparent; }
.a-tabs .on { color: #f2eee6; font-weight: 800; }
.a-tabs .on::after { background: #0066c0; }
.a-feed { flex: 1; overflow: hidden; }
.a-post { display: grid; grid-template-columns: 32px 1fr; gap: 9px; padding: 11px 10px 8px; border-bottom: 5px solid #050504; }
.a-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #000; }
.a-body { min-width: 0; display: grid; gap: 6px; }
.a-head { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: -5px; }
.a-head b { font-weight: 800; }
.a-head span { color: #8f887c; }
.a-verb { color: #8f887c; font-size: 10.5px; }
.a-review { margin: 0; font-size: 12px; line-height: 1.4; color: #f2eee6; }
.a-card { position: relative; display: flex; gap: 9px; padding: 7px; border-radius: 13px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #1a1714; }
.a-bd { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,10,9,0.25), rgba(11,10,9,0.78) 45%, rgba(11,10,9,0.95)); z-index: 1; }
.a-poster { position: relative; z-index: 2; width: 62px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 7px; box-shadow: 0 5px 12px rgba(0, 0, 0, 0.6); background: #201d1a; }
.a-info { position: relative; z-index: 2; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.a-top { display: flex; justify-content: space-between; align-items: center; }
.a-kind { font-size: 8px; font-weight: 800; letter-spacing: 0.08em; color: #c7c0b4; background: rgba(255, 255, 255, 0.1); border-radius: 5px; padding: 2px 5px; }
.a-play { width: 24px; height: 24px; border-radius: 50%; background: #e50914; position: relative; }
.a-play::after { content: ''; position: absolute; left: 9px; top: 7px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.a-info strong { display: block; color: #fff; font: 900 13.5px/1.15 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: -0.01em; }
.a-info small { display: block; color: rgba(255, 255, 255, 0.65); font-size: 10px; margin-top: 2px; }
.a-again { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 9px; font-weight: 800; color: #fff; background: rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 2px 6px; }
.a-rating { display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.a-rating .stars { color: rgba(255, 255, 255, 0.22); }
.a-rating .stars::after { color: #f5b301; }
.a-rating em { font-style: normal; font-weight: 900; font-size: 11px; color: #f5b301; }
.a-actions { display: flex; justify-content: space-between; padding-right: 6px; color: #8f887c; font-size: 10.5px; font-weight: 600; }
.a-actions span { display: inline-flex; align-items: center; gap: 4px; }
.a-actions svg { width: 15px; height: 15px; }
.a-actions .liked { color: #e5484d; }
.a-fab { z-index: 5; position: absolute; right: 14px; bottom: 64px; width: 38px; height: 38px; border-radius: 50%; background: #0066c0; color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 300; line-height: 1; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5); }
.a-tabbar { display: flex; border-top: 1px solid #2a2724; background: #0b0a09; padding: 6px 4px 14px; color: #8f887c; font-size: 9px; font-weight: 600; }
.a-tabbar span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.a-tabbar svg { width: 20px; height: 20px; }
.a-tabbar .on { color: #f2eee6; }

.mini { width: 40px; height: 60px; border-radius: 6px; object-fit: cover; background: #151d2e; }
.rate-poster { width: 96px; aspect-ratio: 2 / 3; border-radius: 10px; object-fit: cover; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); background: #151d2e; }

/* ---- Zinema wordmark: the film-strip Z + "inema" ---- */
.wordmark { display: inline-flex; align-items: flex-end; font: 800 25px/1 var(--display); letter-spacing: -0.04em; color: var(--screen); }
.wordmark img { height: 21px; width: auto; margin-right: -1px; margin-bottom: 1px; }
.wordmark { font-size: 26px; }
.top a { text-decoration: none; }
.zi { width: 32px; height: auto; }
.top .logo { height: 38px; width: auto; }
.zi { width: 40px; height: 40px; border-radius: 10px; }
.hero-logo { width: min(360px, 70vw); height: auto; margin: 0 0 36px -6px; }
@media (max-width: 860px) { .hero-logo { margin-bottom: 28px; } }

/* ---- phone: tappable tabs + other screens ---- */
.a-pane { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; }
.a-pane::-webkit-scrollbar { display: none; }
.a-pane[hidden] { display: none; }
.a-feed { overflow: visible; flex: none; }
.a-fab[hidden] { display: none; }
.a-tabbar button { all: unset; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; color: #8f887c; }
.a-tabbar button.on { color: #f2eee6; }
.a-tabbar button:focus-visible { outline: 2px solid var(--cyan); border-radius: 8px; }
.a-title { font-size: 17px; font-weight: 900; padding: 10px 14px 8px; }

/* search */
.s-box { display: flex; align-items: center; gap: 7px; margin: 10px 12px 0; padding: 8px 10px; border-radius: 10px; background: #161412; color: #8f887c; font-size: 11.5px; }
.s-chips { display: flex; gap: 6px; padding: 10px 12px 4px; }
.s-chips span { font-size: 11px; font-weight: 700; border: 1px solid #2a2724; border-radius: 999px; padding: 5px 10px; }
.s-chips .on { background: #0066c0; border-color: #0066c0; color: #fff; }
.s-head { font-size: 14px; font-weight: 800; padding: 10px 12px 4px; }
.s-row { display: flex; gap: 10px; align-items: center; padding: 6px 12px; }
.s-poster { width: 36px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 5px; background: #201d1a; }
.s-row b { display: block; font-size: 12.5px; }
.s-row small { color: #8f887c; font-size: 10.5px; }

/* activity */
.n-row { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-bottom: 1px solid #1c1a17; }
.n-row.unread { background: rgba(0, 102, 192, 0.1); }
.n-row .a-av { flex: none; }
.n-text { flex: 1; font-size: 11.5px; line-height: 1.35; }
.n-text small { color: #8f887c; }
.n-thumb { width: 28px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; background: #201d1a; }
.n-follow { font-size: 10px; font-weight: 800; background: #0066c0; color: #fff; border-radius: 999px; padding: 5px 8px; white-space: nowrap; }

/* profile */
.p-banner { height: 64px; flex: none; background: linear-gradient(120deg, #19c8ff, #1e3a8a 70%, #0b0a09); }
.p-id { padding: 0 14px; margin-top: -24px; display: flex; flex-direction: column; gap: 1px; }
.p-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #ffc53d; color: #000; font-weight: 900; font-size: 20px; border: 3px solid #0b0a09; margin-bottom: 4px; }
.p-id > b { font-size: 16px; font-weight: 900; }
.p-id > small { color: #8f887c; font-size: 11px; }
.p-counts { display: flex; gap: 12px; font-size: 11px; color: #8f887c; margin-top: 4px; }
.p-counts b { color: #f2eee6; }
.p-stats { display: flex; margin: 12px 12px 4px; background: #161412; border-radius: 12px; padding: 8px 0; }
.p-stats div { flex: 1; text-align: center; }
.p-stats b { display: block; font-size: 15px; font-weight: 900; }
.p-stats small { color: #8f887c; font-size: 10px; }
.p-label { color: #8f887c; font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 12px 6px; }
.p-top { display: flex; gap: 6px; padding: 0 12px; }
.p-fav { position: relative; flex: 1; }
.p-fav img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; display: block; background: #201d1a; }
.p-fav span { position: absolute; left: 4px; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(0, 0, 0, 0.75); font-size: 9px; font-weight: 900; display: grid; place-items: center; }
.p-friends { display: flex; gap: 8px; padding: 0 12px; overflow: hidden; }
.p-friends div { position: relative; width: 44px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.p-friends img { width: 44px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; background: #201d1a; }
.p-friends i { position: absolute; left: -4px; top: 50px; width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 9px; font-weight: 900; color: #000; display: grid; place-items: center; border: 2px solid #0b0a09; }
.p-menu { margin: 12px; background: #161412; border-radius: 12px; }
.p-menu span { display: flex; justify-content: space-between; padding: 10px 12px; font-size: 12px; font-weight: 700; border-bottom: 1px solid #201d1a; }
.p-menu span:last-child { border-bottom: 0; }
.p-menu em { font-style: normal; color: #8f887c; font-weight: 600; }
.a-pane > * { flex-shrink: 0; }

/* ---- phone: the real app (web build, demo data) ---- */
.hero > div:last-child, .hero .phone { justify-self: center; }
.live { position: relative; background: #0b0a09; }
.frame-wrap { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.frame-wrap iframe { position: absolute; left: 0; top: 0; width: 390px; border: 0; transform-origin: 0 0; background: #0b0a09; }
.hero .try { grid-column: 2; justify-self: center; margin: -32px 0 0; color: var(--faint); font-size: 14px; }
@media (max-width: 860px) { .hero .try { grid-column: 1; margin-top: -40px; } }
