/* cineby-alternative.site
   Neutral dark slate + Cineby's own logo red, so arrivals from Cineby find it
   familiar. Deliberately not BingeBang's violet. System sans throughout, no webfonts. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg:        #0c0e11;
  --surface:   #14171c;
  --surface-2: #1a1e25;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);
  --text:      #eef1f5;
  --text-2:    #9aa3af;
  --text-3:    #6b7280;
  --accent:    #fb0013;   /* Cineby bright red - fills: buttons, accent bars */
  --accent-2:  #ff5f57;   /* lighter red - TEXT accents (pure red on dark is hard to read) */
  --accent-dk: #7d0509;   /* Cineby dark maroon */
  --nf-red:    #e50914;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1020px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

/* ── header ─────────────────────────────────────────────────────────── */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  max-width: 1020px; margin: 0 auto; padding: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: baseline; gap: .45rem;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; color: var(--text);
}
.brand b { color: var(--accent-2); font-weight: 700; }
.head-nav { display: flex; gap: 1.4rem; font-size: .9rem; }
.head-nav a { color: var(--text-2); text-decoration: none; transition: color .18s ease; }
.head-nav a:hover { color: var(--text); }

/* ── hero (left aligned, not the usual centred block) ───────────────── */
.hero { max-width: 1020px; margin: 0 auto; padding: 4rem 1.5rem 3rem; }

h1 {
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 1.1rem;
  max-width: 20ch;
  overflow-wrap: break-word;
}
h1 span { color: var(--accent-2); }

.lede {
  max-width: 46rem; margin: 0;
  color: var(--text-2); font-size: 1.05rem;
}

/* countdown: a compact inline strip, not four big boxes */
.countdown {
  display: flex; align-items: stretch; gap: 0;
  margin: 2.2rem 0 0; padding: 0;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--surface);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
}
.cd-cell {
  padding: .7rem 1.15rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.cd-cell:last-child { border-right: 0; }
.cd-cell b {
  display: block;
  font-size: 1.35rem; font-weight: 700; line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.cd-cell span {
  display: block;
  font-size: .64rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-3);
}
.cd-note { margin: .7rem 0 0; font-size: .85rem; color: var(--text-3); }

.hero-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 2rem;
  padding: .8rem 1.4rem;
  border-radius: .55rem;
  background: var(--accent);
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem;
  transition: background .18s ease, transform .18s ease;
}
.hero-cta:hover { background: #ff2b3c; transform: translateY(-1px); }
.hero-cta svg, .visit svg {
  width: 1rem; height: 1rem; fill: none;
  stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* ── sections ───────────────────────────────────────────────────────── */
.list { max-width: 1020px; margin: 0 auto; padding: 2.5rem 1.5rem 1.5rem; }
.faq  { max-width: 1020px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.sec-title {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 700; letter-spacing: -.02em;
  margin: 0 0 .35rem;
}
.sec-sub { margin: 0 0 1.8rem; color: var(--text-3); font-size: .92rem; }

/* ── cards ──────────────────────────────────────────────────────────── */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  background: var(--surface);
  border-radius: .8rem;
  padding: 1.6rem 1.7rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color .2s ease, background .2s ease;
}
.card:hover { border-color: var(--line-2); border-left-color: var(--line-2); background: var(--surface-2); }
.card.is-top { border-left-color: var(--accent); }
.card.is-top:hover { border-left-color: var(--accent); }

.rank {
  position: absolute; top: 1.5rem; right: 1.6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  color: var(--text-3);
}
.card-head {
  display: flex; align-items: center; gap: .8rem;
  flex-wrap: wrap; margin-bottom: .55rem;
}
.logo { height: 2.6rem; width: auto; }   /* svg is 160x90, width follows the ratio */
.wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: .03em; }
.wordmark.nf { color: var(--nf-red); }
.tag {
  padding: .2rem .6rem; border-radius: .35rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.tag-free { color: var(--accent-2); background: rgba(251,0,19,.12); border: 1px solid rgba(251,0,19,.34); }
.tag-paid { color: #cbd5e1; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }

.card-tag {
  margin: 0 0 .85rem;
  font-size: 1rem; font-weight: 600; color: var(--text);
}
.card-body { margin: 0 0 1.2rem; color: var(--text-2); max-width: 58rem; font-size: .97rem; }

.feats {
  list-style: none; margin: 0 0 1.4rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.feats li {
  padding: .32rem .7rem;
  border: 1px solid var(--line);
  border-radius: .35rem;
  font-size: .82rem; color: var(--text-2);
}

.visit {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .62rem 1.15rem; border-radius: .5rem;
  border: 1px solid var(--line-2);
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: .9rem;
  transition: background .18s ease, border-color .18s ease;
}
.visit:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.is-top .visit {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.is-top .visit:hover { background: #ff2b3c; }

/* ── faq ────────────────────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem .1rem; }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: .98rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--text-3); font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .7rem 0 .1rem; color: var(--text-2); max-width: 54rem; font-size: .95rem; }

/* ── footer ─────────────────────────────────────────────────────────── */
.site-foot {
  max-width: 1020px; margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--text-3); font-size: .86rem;
}
.site-foot p { margin: 0 0 .3rem; }
.foot-sm { color: #4b5563; font-size: .8rem; }

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-head { padding: 1.2rem; }
  .hero { padding: 2.6rem 1.2rem 2rem; }
  .list { padding: 2rem 1.2rem 1rem; }
  .faq  { padding: 1.5rem 1.2rem 2.5rem; }
  .head-nav { gap: 1rem; font-size: .85rem; }
  .card { padding: 1.4rem 1.15rem 1.25rem; }
  .rank { top: 1.2rem; right: 1.1rem; }
  .logo { height: 2.2rem; }
  .cd-cell { padding: .6rem .8rem; }
  .cd-cell b { font-size: 1.15rem; }
  .site-foot { padding: 1.6rem 1.2rem 2.5rem; }
}

/* ── "no ads" badge + Netflix logo sizing + the how-we-pick grid ───────── */
.tag-noads { color: #fbbf24; background: rgba(251,191,36,.10); border: 1px solid rgba(251,191,36,.3); }

.logo-nf { height: 1.5rem; }   /* wordmark svg is 1024x277, so scale by height */

.pick { max-width: 1020px; margin: 0 auto; padding: 2rem 1.5rem 1rem; }
.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.cell {
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--surface);
  padding: 1.2rem 1.25rem 1.1rem;
}
.cell h3 { margin: 0 0 .4rem; font-size: .98rem; font-weight: 700; }
.cell p  { margin: 0; color: var(--text-2); font-size: .9rem; }

.card-tag { font-size: 1rem; font-weight: 600; }   /* now an <h3>, keep the old look */

@media (max-width: 640px) {
  .pick { padding: 1.5rem 1.2rem .5rem; }
  .logo-nf { height: 1.25rem; }
}

.logo-fm { height: 1.7rem; }   /* fmovies png is 833x244, scale by height */
@media (max-width: 640px) { .logo-fm { height: 1.45rem; } }

/* direct-answer callout: the one sentence an AI answer engine can quote */
.answer {
  margin: 1.6rem 0 0;
  max-width: 46rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 .5rem .5rem 0;
  background: rgba(251,0,19,.07);
  color: var(--text-2);
  font-size: 1.02rem;
}
.answer strong { color: var(--text); font-weight: 700; }
.upd { display: block; margin-top: .2rem; color: #4b5563; }
