:root {
  --velvet: #2A0E1F;
  --velvet-deep: #190812;
  --plum: #4A1A35;
  --champagne: #E8C39E;
  --lipstick: #C8243C;
  --cream: #F6E9E4;
  --muted: #B89AA8;
  --display: 'DM Serif Display', Georgia, serif;
  --body: 'Figtree', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--velvet-deep); color: var(--cream); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.hidden { display: none !important; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: linear-gradient(var(--velvet-deep), transparent); }
.brand { font-family: var(--display); font-size: 1.5rem; letter-spacing: .01em; text-decoration: none; color: var(--champagne); }
.wallet { display: flex; gap: 8px; align-items: center; }
.pill { border: 1px solid rgba(232,195,158,.35); background: rgba(42,14,31,.7); color: var(--cream); border-radius: 999px; padding: 6px 12px; font-size: .875rem; }
.pill.vip { background: var(--champagne); color: var(--velvet); border-color: var(--champagne); font-weight: 700; }

/* home */
main { max-width: 560px; margin: 0 auto; padding: 0 18px 48px; }
.hero { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 2 / 3; background: var(--plum) center / cover no-repeat; display: flex; align-items: flex-end; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(25,8,18,.95)); }
.hero-body { position: relative; z-index: 1; padding: 24px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.02; margin: 0 0 10px; }
.hero p { margin: 0 0 18px; color: var(--cream); opacity: .85; max-width: 34ch; }
.genre { color: var(--champagne); font-size: .875rem; margin-bottom: 6px; }
.btn { display: inline-block; border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 700; text-decoration: none; text-align: center; }
.btn-primary { background: var(--lipstick); color: #fff; }
.btn-gold { background: var(--champagne); color: var(--velvet); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid rgba(246,233,228,.3); }
h2.row { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 36px 0 12px; }
.shelf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.poster { text-decoration: none; }
.poster .art { aspect-ratio: 2 / 3; border-radius: 12px; background: var(--plum) center / cover no-repeat; }
.poster b { display: block; margin-top: 8px; font-weight: 600; line-height: 1.25; }
.poster span { color: var(--muted); font-size: .875rem; }
.checkin { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--velvet); }
.checkin p { margin: 0; }
.empty { padding: 48px 0; color: var(--muted); }

/* player */
.player { position: fixed; inset: 0; background: #000; display: flex; justify-content: center; }
.player video { height: 100%; width: 100%; max-width: calc(100vh * 9 / 16); object-fit: cover; background: #000; }
.player .bar { position: absolute; inset: 0 0 auto 0; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.back { background: none; border: 0; color: var(--cream); font-size: 1rem; padding: 6px 0; }
.caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 26px; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.caption h1 { font-family: var(--display); font-weight: 400; font-size: 1.375rem; line-height: 1.15; margin: 0; }
.caption p { margin: 2px 0 0; color: var(--champagne); font-size: .9375rem; }
.tap-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem; opacity: .85; pointer-events: none; }
.side { display: flex; flex-direction: column; gap: 10px; }

/* sheets */
.scrim { position: fixed; inset: 0; background: rgba(10,3,8,.6); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; background: var(--velvet); border-radius: 22px 22px 0 0; padding: 22px 20px 28px; animation: rise .28s ease-out; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sheet { animation: none; } }
.sheet h2 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 0 0 14px; }
.grid-eps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ep { aspect-ratio: 1; border-radius: 10px; border: 1px solid rgba(232,195,158,.25); background: var(--velvet-deep); color: var(--cream); font-weight: 600; position: relative; }
.ep.current { background: var(--lipstick); border-color: var(--lipstick); }
.ep .lock { position: absolute; right: 4px; top: 2px; font-size: .7rem; }
.ep .free { position: absolute; left: 0; right: 0; bottom: 3px; font-size: .625rem; color: var(--champagne); font-weight: 500; }

/* the curtain: the one memorable moment */
.curtain { text-align: center; padding: 30px 18px 22px; margin: -22px -20px 18px; border-radius: 22px 22px 0 0;
  background: repeating-linear-gradient(90deg, #5a1630 0 18px, #4a1027 18px 30px, #3a0b1f 30px 40px);
  box-shadow: inset 0 -40px 40px -20px var(--velvet); }
.curtain .tbc { font-family: var(--display); font-style: italic; font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1; color: var(--champagne); text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.curtain p { margin: 10px auto 0; max-width: 30ch; }
.offer { display: block; width: 100%; text-align: left; border-radius: 16px; padding: 16px 18px; margin-top: 10px; border: 1px solid rgba(232,195,158,.3); background: var(--velvet-deep); color: var(--cream); }
.offer.vip { background: var(--champagne); color: var(--velvet); border: 0; }
.offer .row1 { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 1.0625rem; }
.offer small { display: block; opacity: .8; margin-top: 2px; }
.badge { font-size: .75rem; font-weight: 700; color: var(--lipstick); }
.offer.vip .badge { color: var(--lipstick); }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.packs .offer { margin-top: 0; }
.fine { color: var(--muted); font-size: .8125rem; margin-top: 16px; text-align: center; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--champagne); color: var(--velvet); padding: 10px 18px; border-radius: 999px; font-weight: 600; z-index: 40; }

/* site footer and policy pages */
.site-foot { max-width: 560px; margin: 0 auto; padding: 8px 18px 40px; color: var(--muted); font-size: .8125rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 8px; }
.site-foot a { color: var(--muted); text-underline-offset: 3px; }
.site-foot a:hover { color: var(--cream); }
.legal { max-width: 66ch; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: 2.25rem; line-height: 1.1; margin: 8px 0 4px; }
.legal .updated { color: var(--muted); font-size: .875rem; margin: 0 0 28px; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 1.375rem; margin: 32px 0 8px; color: var(--champagne); }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; line-height: 1.65; }
.fine a { color: var(--muted); }

/* VIP pass sheet */
button.pill.vip { cursor: pointer; }
.vip-sheet h2 { font-family: var(--display); font-weight: 400; font-size: 1.625rem; margin: 4px 0 8px; }
.vip-sheet p { color: var(--cream); opacity: .9; margin: 0 0 18px; }
.vip-sheet .btn { width: 100%; margin-top: 8px; }
