:root {
  --bg: #0e0716; --surface: #1a0f26; --surface2: #23152f;
  --primary: #ff3d68; --orange: #ff7a59; --accent: #ffc542;
  --text: #fff; --muted: #b9afc7; --faint: #7a6e8c; --border: rgba(255,255,255,.09);
  --grad: linear-gradient(135deg, var(--primary), var(--orange));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }

/* nav */
nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px);
  background: rgba(14,7,22,.72); border-bottom: 1px solid var(--border); }
nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px;
  color: var(--text); text-decoration: none; letter-spacing: -.3px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand b { color: var(--primary); }
nav .links { margin-left: auto; display: flex; align-items: center; gap: 28px; }
nav .links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
nav .links a:hover { color: var(--text); }
nav .links a.cta { color: var(--text); padding: 8px 16px; border-radius: 999px; background: var(--grad); }
@media (max-width: 640px) { nav .links a:not(.cta) { display: none; } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores a { display: block; border-radius: 9px; transition: transform .15s, opacity .15s; }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 48px; width: auto; }

/* hero */
.hero { position: relative; padding: 80px 0 104px; }
.hero::before { content: ""; position: absolute; inset: -200px -10% auto; height: 900px; z-index: -1;
  background: radial-gradient(closest-side at 72% 42%, rgba(255,61,104,.32), transparent),
              radial-gradient(closest-side at 12% 18%, rgba(255,122,89,.10), transparent); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -2.5px; margin: 0 0 22px; font-weight: 800; }
.lead { font-size: 19px; color: var(--muted); max-width: 500px; margin: 0 0 34px; }
.fine { color: var(--faint); font-size: 14px; margin: 22px 0 0; max-width: 460px; }

/* phone mockups */
.phones { position: relative; height: 600px; }
.phone { position: absolute; width: 272px; aspect-ratio: 9/19.5; border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #3a3340, #121015 40%, #2a2530);
  box-shadow: 0 50px 90px -24px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.12); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.45), transparent 16%, transparent 52%, rgba(0,0,0,.9)); }
.phone .status { position: absolute; z-index: 3; top: 13px; left: 26px; right: 22px; display: flex;
  justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; }
.phone .status svg { width: 58px; height: 11px; }
.phone .island { position: absolute; z-index: 3; top: 9px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 24px; border-radius: 20px; background: #000; }
.phone .rail { position: absolute; z-index: 2; right: 12px; bottom: 112px; display: flex; flex-direction: column; gap: 18px; }
.phone .rail span { width: 26px; height: 26px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.phone .rail svg { width: 100%; height: 100%; }
.phone .rail span:first-child { color: var(--primary); }
.phone .meta { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 20px; }
.phone .meta b { display: block; font-size: 15px; line-height: 1.25; margin-bottom: 4px; padding-right: 36px; }
.phone .meta small { color: rgba(255,255,255,.7); font-size: 12px; }
.bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--primary); }
.phone .sheet { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 10px 16px 20px;
  background: rgba(22,12,32,.94); backdrop-filter: blur(16px); border-radius: 22px 22px 0 0;
  border-top: 1px solid var(--border); }
.sheet .grab { width: 36px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); margin: 0 auto 12px; }
.sheet b { display: block; font-size: 16px; }
.sheet small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.4; margin: 2px 0 12px; }
.sheet-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 12px;
  font-size: 13px; font-weight: 700; background: rgba(255,255,255,.08); margin-top: 8px; }
.sheet-btn.primary { background: var(--grad); }
.sheet-btn svg { width: 16px; height: 16px; }
.phone.a { right: 230px; top: 0; transform: rotate(-5deg); }
.phone.b { right: 0; top: 64px; transform: rotate(4deg); }

@media (max-width: 900px) {
  .hero { padding-top: 56px; }
  .hero .wrap { grid-template-columns: minmax(0,1fr); text-align: center; }
  .lead, .fine { margin-inline: auto; } .stores { justify-content: center; }
  .phones { height: 500px; max-width: 420px; width: 100%; margin: 0 auto; }
  .phone { width: 218px; } .phone.a { right: auto; left: 0; }
  .phone .sheet small { display: none; }
}

/* sections */
section { padding: 104px 0; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -1.4px; line-height: 1.1; margin: 0 0 16px; }
.sub { color: var(--muted); font-size: 18px; margin: 0; }

/* feature rows */
#features { padding: 40px 0 24px; }
.row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; padding: 56px 0; }
.row.flip .row-copy { order: 2; }
.row-copy p { color: var(--muted); font-size: 18px; margin: 0; max-width: 460px; }
@media (max-width: 900px) {
  .row { grid-template-columns: minmax(0,1fr); gap: 32px; padding: 40px 0; }
  .row.flip .row-copy { order: 0; }
}
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 24px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.card-head b { font-size: 17px; } .card-head span { color: var(--faint); font-size: 14px; }

.resume { display: flex; gap: 18px; align-items: center; }
.resume > img { width: 84px; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; flex: none; }
.resume > div { flex: 1; min-width: 0; }
.resume small { color: var(--primary); font-weight: 700; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; }
.resume b { display: block; font-size: 16px; line-height: 1.3; margin: 4px 0; }
.resume span { color: var(--faint); font-size: 13px; }
.resume .play { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; flex: none; }
.resume .play svg { width: 18px; height: 18px; margin-left: 2px; }

.streak ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 8px; }
.streak li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; border-radius: 14px;
  background: var(--surface2); font-size: 12px; color: var(--faint); }
.streak li svg, .streak li em { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-weight: 800; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.06); }
.streak li svg { padding: 7px; background: rgba(255,61,104,.18); color: var(--primary); }
.streak li > span { display: none; }
.streak li.today { background: var(--grad); color: #fff; }
.streak li.today em { background: #fff; color: var(--primary); }
.streak li.big em { background: rgba(255,197,66,.16); color: var(--accent); }
@media (max-width: 480px) { .streak ol { gap: 4px; } .streak li small { font-size: 10px; } }

.eps .grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.eps .grid span { aspect-ratio: 1.4; border-radius: 12px; display: grid; place-items: center; font-weight: 700;
  background: var(--surface2); color: var(--muted); }
.eps .grid .free { background: rgba(255,197,66,.14); color: var(--accent); }
.eps .grid .seen { color: var(--faint); }
.eps .grid .now { background: var(--grad); color: #fff; }
.eps .grid .locked { color: var(--faint); }
.eps .grid svg { width: 16px; height: 16px; }
.legend { display: flex; gap: 18px; margin-top: 16px; font-size: 13px; color: var(--faint); flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; border: 1px solid var(--faint); }
.legend .k-free { background: var(--accent); border: 0; } .legend .k-seen { background: var(--faint); border: 0; }

/* series */
.shelf { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 36px; }
.poster { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.poster:hover img { transform: scale(1.04); }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.88)); }
.poster div { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; }
.poster b { display: block; font-size: 20px; line-height: 1.25; }
.poster span { color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 640px) { .shelf { grid-template-columns: minmax(0,1fr); } }

/* faq */
.faq { max-width: 760px; margin: 32px auto 0; }
.faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 7px; border: solid var(--muted);
  border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* closer */
.closer { text-align: center; padding: 96px 0 40px; }
.closer img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 24px; }
.closer h2 { margin-bottom: 28px; }
.closer .stores { justify-content: center; }

footer { border-top: 1px solid var(--border); padding: 36px 0; margin-top: 72px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; } footer a:hover { color: var(--text); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 20px 0; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -1.5px; margin: 0 0 8px; }
.legal .updated { color: var(--faint); margin: 0 0 32px; }
.legal h2 { font-size: 24px; letter-spacing: -.3px; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: #d9d1e4; }
.legal ul { padding-left: 22px; } .legal li { margin: 6px 0; }
.legal .toc { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 24px; }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; } .legal .toc a { color: var(--muted); }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 700; }
.legal .note { padding: 14px 18px; border-radius: 12px; background: rgba(255,197,66,.08); border: 1px solid rgba(255,197,66,.3); }
