/* Drama Picks — one stylesheet, no framework, mobile first.
   Nearly all traffic is a phone held in one hand in a dark room. */

:root {
  --bg:      #09090c;
  --surface: #141419;
  --line:    #24242c;
  --red:     #e21d25;
  --red-lit: #ff3b43;
  --text:    #f6f6f8;
  --muted:   #9a9aa6;
  --radius:  14px;
  --max:     560px;          /* a phone-width column, centred on desktop */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(9, 9, 12, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex; align-items: center; gap: 10px;
  height: 56px;
}
header img { width: 28px; height: 28px; border-radius: 7px; }
header b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
header .spacer { flex: 1; }
header a.tt {
  font-size: 13px; color: var(--muted); text-decoration: none;
  padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px;
}
header a.tt:hover { color: var(--text); border-color: #3a3a46; }

/* ---------- hero ----------
   One layout at every width. Art on top, copy on the gradient as it dies
   into the background. The red button has to be on the first screen on a
   phone — scrolling to find the CTA is where the funnel leaks — and the
   same arrangement simply gets taller and wider on a laptop. Two separate
   hero layouts was a bug farm for no gain; almost nobody arrives on a PC. */

.hero { position: relative; }

.backdrop {
  position: relative;
  height: clamp(290px, 52vh, 560px);
}
.backdrop img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center 18%;
}
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,9,12,.55) 0%, rgba(9,9,12,0) 24%,
                    rgba(9,9,12,.74) 70%, var(--bg) 100%);
}

.hero .wrap { position: relative; margin-top: -108px; padding-bottom: 34px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: #c8c8d2; margin-bottom: 12px;
  text-shadow: 0 1px 10px rgba(0,0,0,.85);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(226,29,37,.22);
}
.eyebrow .sep { opacity: .5; }
.eyebrow .meta { color: #9a9aa6; letter-spacing: .06em; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag {
  font-size: 12px; font-weight: 600; color: #b4b4c0;
  background: rgba(255,255,255,.055); border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 11px; white-space: nowrap;
}

.prose { color: #c2c2cc; font-size: 16px; line-height: 1.62; max-width: 62ch; }

h1 {
  font-size: clamp(29px, 7vw, 46px); line-height: 1.06;
  font-weight: 800; letter-spacing: -.035em; margin: 0 0 12px;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.65);
  max-width: 15ch;
}
.logline {
  color: #b4b4c0; font-size: clamp(16px, 1.6vw, 18px);
  text-wrap: pretty; max-width: 52ch;
}

/* ---------- call to action ---------- */

.cta {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; max-width: 380px; margin-top: 22px; padding: 17px 20px;
  background: var(--red); color: #fff;
  font-size: 17px; font-weight: 800; letter-spacing: -.01em;
  text-decoration: none; border-radius: 12px;
  box-shadow: 0 10px 28px -8px rgba(226,29,37,.6);
  transition: background .15s, transform .15s;
}
.cta:hover { background: var(--red-lit); }
.cta:active { transform: translateY(1px); }
.cta svg { width: 17px; height: 17px; flex: none; }

.under-cta {
  margin-top: 11px; max-width: 380px; text-align: center;
  font-size: 13.5px; color: var(--muted);
}
.under-cta b { color: var(--text); font-weight: 700; }

/* ---------- sections ---------- */

section { padding: 34px 0; }
section + section { border-top: 1px solid var(--line); }

h2 {
  font-size: 13px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px;
}
.sec-head h2 { margin-bottom: 18px; }
.more-link {
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; white-space: nowrap;
}
.more-link:hover { color: var(--text); }

/* ---------- episode list ---------- */

ol.eps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
ol.eps li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px;
  display: flex; gap: 14px; align-items: center;
}
ol.eps li:has(.eprow) { padding: 0; }
a.eprow {
  display: flex; gap: 14px; align-items: center; width: 100%;
  padding: 10px; text-decoration: none; border-radius: var(--radius);
  transition: background .15s;
}
a.eprow:hover { background: #1b1b22; }
a.eprow > div { flex: 1; }
.watch {
  flex: none; align-self: center; font-size: 12px; font-weight: 700;
  color: var(--muted); border: 1px solid var(--line); border-radius: 99px;
  padding: 6px 11px; white-space: nowrap;
}
a.eprow:hover .watch { color: var(--text); border-color: #3a3a46; }
ol.eps img {
  width: 58px; height: 92px; flex: none; object-fit: cover;
  border-radius: 8px; background: #000;
}
ol.eps .n {
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); margin-bottom: 3px;
}
ol.eps .t { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
ol.eps .q { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.locked {
  margin-top: 10px; display: flex; gap: 14px; align-items: center;
  border: 1px dashed #32323c; border-radius: var(--radius);
  padding: 16px 14px;
}
.locked .lock {
  width: 58px; display: grid; place-items: center; flex: none;
  font-size: 22px;
}
.locked .t { font-size: 15.5px; font-weight: 600; }
.locked .q { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* ---------- more dramas ---------- */

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.grid a { text-decoration: none; }
.grid img {
  width: 100%; aspect-ratio: 2/3; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
}
.grid span {
  display: block; margin-top: 8px; font-size: 13px; font-weight: 600;
  line-height: 1.3;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line); padding: 28px 0 44px;
  font-size: 13px; color: var(--muted);
}
footer a { color: var(--muted); }
footer .disc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 14px; line-height: 1.5;
  margin-bottom: 18px;
}
footer .row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- desktop polish ---------- */

@media (min-width: 720px) {
  :root { --max: 860px; }
  .hero .wrap { margin-top: -132px; padding-bottom: 44px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  ol.eps img { width: 68px; height: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
