/* Best Short Dramas — late-night cinema lobby: ink-plum dark, coral-to-amber marquee light, glass panels. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b0910;
  --ink-2: #15101c;
  --text: #f7f0ea;
  --muted: #b9acb6;
  --faint: #a79ba9;
  --coral: #ff4d6d;
  --amber: #ffb24a;
  --marquee: linear-gradient(100deg, #ff3f66 0%, #ff7a4d 55%, #ffb24a 100%);
  --glass: rgba(255, 255, 255, 0.065);
  --glass-2: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.13);
  --r: 22px;
  --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --body: 'Hanken Grotesk', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; color: var(--text); background: var(--ink);
  font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* marquee glow + film grain */
body::before {
  content: ''; position: fixed; inset: -20vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38vmax 30vmax at 12% 8%, rgba(255, 77, 109, 0.30), transparent 70%),
    radial-gradient(42vmax 34vmax at 92% 22%, rgba(255, 178, 74, 0.16), transparent 70%),
    radial-gradient(50vmax 40vmax at 60% 105%, rgba(96, 62, 190, 0.26), transparent 70%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: linear-gradient(rgba(11, 9, 16, 0.82), rgba(11, 9, 16, 0.55)); border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 17px/1 var(--display); letter-spacing: -0.01em; }
.brand i {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--marquee);
  font: 800 13px/1 var(--display); font-style: normal; color: #1a0a10; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); text-decoration: none; font: 600 14px/1 var(--body); transition: background 0.2s, transform 0.2s;
}
.pill:hover { background: var(--glass-2); transform: translateY(-1px); }
.pill.hot { border: 0; background: var(--marquee); color: #1a0a10; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45); }

/* ---------- buttons ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 17px 22px; border: 0; border-radius: 16px;
  background: var(--marquee); color: #1a0a10; font: 800 18px/1 var(--display); letter-spacing: -0.01em; text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45); transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.cta:active { transform: translateY(0); }
.cta[disabled] { filter: grayscale(0.6) brightness(0.8); cursor: wait; }
.ghost { background: var(--glass); color: var(--text); border: 1px solid var(--line); box-shadow: none; font-weight: 700; }
.ghost:hover { background: var(--glass-2); box-shadow: none; }
.fine { color: var(--faint); font-size: 13px; line-height: 1.45; }
.fine a { color: var(--muted); }

.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font: 700 11.5px/1 var(--body); letter-spacing: 0.09em; text-transform: uppercase;
  background: rgba(11, 9, 16, 0.62); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tag.free { background: rgba(60, 220, 150, 0.16); border-color: rgba(60, 220, 150, 0.45); color: #8ff0c2; }
.tag.lock { color: var(--amber); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); outline: 3px solid rgba(255, 77, 109, 0.25); }

/* ---------- home ---------- */
.hero { display: grid; gap: 28px; padding: 30px 0 46px; align-items: center; }
.hero h1 { font-size: clamp(44px, 12.5vw, 104px); font-weight: 800; }
.hero h1 span { background: var(--marquee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); max-width: 34ch; margin-top: 16px; }
.hero .go { display: grid; gap: 12px; margin-top: 24px; max-width: 420px; }
.poster {
  position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; isolation: isolate;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); transform: rotate(1.6deg); width: min(100%, 380px); justify-self: center;
}
.poster img, .poster video { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(11, 9, 16, 0.92)); }
.poster .cap { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; }
.poster .cap h2 { font-size: 30px; font-weight: 800; margin-top: 10px; }
.poster .cap p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.steps { display: grid; gap: 12px; padding-bottom: 54px; }
.step { padding: 20px; }
.step b { display: block; font: 800 34px/1 var(--display); background: var(--marquee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 20px; margin-top: 10px; }
.step p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* ---------- watch ---------- */
.watch { display: grid; gap: 22px; padding: 18px 0 60px; }
.player {
  position: relative; aspect-ratio: 9 / 16; width: min(100%, calc((100svh - 150px) * 9 / 16)); min-width: min(100%, 300px); margin-inline: auto;
  border-radius: 24px; overflow: hidden; background: #000; isolation: isolate; box-shadow: 0 40px 110px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--line);
}
.player video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.player .top { position: absolute; z-index: 3; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.bigplay {
  position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; border: 0; padding: 0;
  background: radial-gradient(closest-side, rgba(11, 9, 16, 0.15), rgba(11, 9, 16, 0.55));
}
.bigplay span {
  display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--marquee);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); animation: pulse 2.2s ease-in-out infinite;
}
.bigplay svg { width: 34px; height: 34px; margin-left: 5px; fill: #1a0a10; }
.bigplay small { position: absolute; bottom: 12%; font: 700 15px/1 var(--body); letter-spacing: 0.02em; text-shadow: 0 2px 12px #000; }
@keyframes pulse { 50% { transform: scale(1.07); } }

.gate {
  position: absolute; z-index: 6; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
  background: linear-gradient(rgba(11, 9, 16, 0.25), rgba(11, 9, 16, 0.86) 46%, rgba(11, 9, 16, 0.97)); animation: rise 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gate[hidden], .bigplay[hidden], [hidden] { display: none !important; }
.gate h2 { font-size: clamp(30px, 8.6vw, 40px); font-weight: 800; }
.gate h2 span { background: var(--marquee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gate p.say { color: var(--muted); margin: 10px 0 16px; font-size: 15.5px; }
.gate .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.gate .price b { font: 800 38px/1 var(--display); }
.gate .price span { color: var(--muted); font-size: 15px; }
.gate .fine { margin-top: 12px; text-align: center; }
.gate .x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(11, 9, 16, 0.6); font-size: 18px; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.info h1 { font-size: clamp(34px, 8vw, 58px); font-weight: 800; }
.info .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.info .syn { color: var(--muted); max-width: 52ch; }
.eps { display: grid; gap: 10px; margin-top: 22px; }
.ep {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; width: 100%; text-align: left;
  border-radius: 18px; border: 1px solid var(--line); background: var(--glass); transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.ep:hover { background: var(--glass-2); transform: translateX(3px); }
.ep.on { border-color: rgba(255, 122, 77, 0.8); background: rgba(255, 77, 109, 0.12); }
.ep img { width: 62px; height: 86px; object-fit: cover; border-radius: 11px; display: block; }
.ep b { display: block; font: 700 17px/1.2 var(--display); }
.ep small { color: var(--muted); font-size: 13.5px; }
.ep.soon { opacity: 0.55; cursor: default; }
.ep.soon:hover { transform: none; background: var(--glass); }
.sub { margin-top: 22px; padding: 20px; }
.sub h3 { font-size: 24px; font-weight: 800; }
.sub ul { margin: 12px 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.sub li::before { content: '✦'; color: var(--amber); margin-right: 9px; }
.toast {
  position: fixed; z-index: 50; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 13px 18px; border-radius: 14px; max-width: calc(100% - 32px);
  background: rgba(21, 16, 28, 0.94); border: 1px solid var(--line); font-weight: 600; font-size: 15px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55); animation: rise 0.4s;
}

/* ---------- text pages ---------- */
.doc { padding: 34px 0 70px; max-width: 720px; }
.doc h1 { font-size: clamp(36px, 8vw, 56px); font-weight: 800; margin-bottom: 18px; }
.doc h2 { font-size: 22px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 10px; }
.doc .card { padding: 22px; margin-top: 18px; }
.field { display: grid; gap: 10px; margin-top: 14px; }
.field input {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); color: var(--text); font: 500 16px var(--body);
}
.field input:focus { outline: 2px solid var(--coral); outline-offset: 1px; }

footer { border-top: 1px solid var(--line); padding: 22px 0 34px; color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; margin-right: 14px; }
footer a:hover { color: var(--text); }

.consent {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--muted); max-width: 720px; margin-inline: auto;
}
.consent div { display: flex; gap: 8px; }
.consent button { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); font-weight: 600; font-size: 14px; }

.reveal { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.24s; } .d4 { animation-delay: 0.34s; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding: 60px 0 70px; gap: 50px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .watch { grid-template-columns: auto minmax(340px, 460px); gap: 46px; justify-content: center; align-items: start; padding-top: 30px; }
  .player { position: sticky; top: 84px; width: calc((100svh - 130px) * 9 / 16); margin: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
