<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Hollywood.com Prediction Trading | Private Beta</title>
<meta name="description" content="Hollywood.com Prediction Trading is opening its invitation-only private beta. Request an invitation to trade on reality TV, awards, music, video games and pop culture on a CFTC-regulated exchange powered by Crypto.com. 18+. Not available in all states.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,500..900&family=Manrope:wght@400;500;600;700;800&family=Oswald:wght@300;500&display=swap" rel="stylesheet">
<!--
  ==========================================================================
  HOLLYWOOD.COM — PRIVATE BETA HOMEPAGE (dev handoff)
  One self-contained file. No build step.

  WHERE TO EDIT
  - Market cards:  see the CARD LIBRARY in the <script> at the bottom.
  - Which card goes where: see LAYOUT in the same script.
  - Videos:        see VIDEOS in the same script.
  - Page links:    see LINKS in SETTINGS (Terms, Privacy, socials, etc.). Set each once.
  - Policy pop-ups: text is in POLICY TEXT (<template> blocks) near the end of the HTML; set up in DOCS.
  - Hooks for the backend (signup, interest votes): window.HWD.* in the script.

  Anything in [square brackets] is placeholder copy waiting on final wording.
  ==========================================================================
-->

<style>
:root{
  /* Brand tokens (sampled from the live site + new-look mock) */
  --night:#140707;          /* hero / dark sections */
  --night-2:#220c0c;        /* maroon lift in the hero glow */
  --ink:#16110e;            /* text on light */
  --muted:#6f655c;          /* secondary text on light */
  --muted-dark:#bcae9c;     /* secondary text on dark */
  --gold:#d6a832;           /* buttons, borders */
  --gold-hi:#f6dc7c;        /* highlight in gradients */
  --gold-deep:#b8871c;
  --cream:#fdf5de;          /* steps band */
  --paper:#ffffff;
  --line:#ece4d4;
  --yes:#3d9f68;            /* YES button */
  --yes-hi:#57c186;
  --no:#fff;                /* NO button bg */
  --radius-card:14px;
  --radius-pill:999px;
  --display:"Archivo", "Arial Black", Helvetica, sans-serif;
  --body:"Manrope", "Helvetica Neue", Arial, sans-serif;
  --logo:"Oswald", "Arial Narrow", sans-serif;
  --max:1240px;
}
*,*::before,*::after{box-sizing:border-box}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-behavior:smooth;scroll-padding-top:calc(76px + env(safe-area-inset-top,0px))}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;font-family:var(--body);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.nobr{white-space:nowrap}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:var(--radius-pill);padding:16px 30px;font-family:var(--body);font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;border:2px solid transparent;transition:transform .15s ease, box-shadow .15s ease}
.btn-gold{background:linear-gradient(180deg,var(--gold-hi),var(--gold) 55%,var(--gold-deep));color:#241800;box-shadow:0 6px 24px rgba(214,168,50,.35), inset 0 1px 0 rgba(255,255,255,.5)}
.btn-gold:hover{transform:translateY(-1px);box-shadow:0 10px 30px rgba(214,168,50,.45), inset 0 1px 0 rgba(255,255,255,.5)}
.btn-ghost{border-color:var(--gold);color:#fff;background:transparent}
.btn-ghost:hover{background:rgba(214,168,50,.12)}
.btn-sm{padding:10px 18px;font-size:12px}

/* ---------- Top bar ---------- */
.topbar{position:sticky;top:0;z-index:50;background:#fff;border-bottom:3px solid var(--gold)}
/* Top bar is allowed a little wider than the page (1400px) so the full menu fits. */
.topbar .wrap{display:flex;align-items:center;gap:22px;min-height:72px;max-width:1400px}
.logo{display:flex;flex-direction:column;align-items:center;text-decoration:none;line-height:1}
.logo-word{font-family:var(--logo);font-weight:300;font-size:30px;letter-spacing:.14em;background:linear-gradient(180deg,#e8c867,#a57a1c);-webkit-background-clip:text;background-clip:text;color:transparent}
.logo-dot{font-family:var(--logo);font-weight:500;font-size:12px;letter-spacing:.2em;color:#111;margin-top:1px}
.logo{flex-shrink:0}
.logo-img{display:block;height:44px;width:auto}
.powered{display:flex;flex-direction:column;font-size:11px;line-height:1.2;color:#55504a;border-left:1px solid var(--line);padding-left:16px}
.powered b{color:#0f2a5c;font-weight:800}
.nav{display:flex;gap:4px;margin-left:auto}
.nav a{white-space:nowrap;text-decoration:none;font-weight:600;font-size:15px;padding:8px 10px;border-radius:8px;color:#2a241f}
.nav a:hover{background:#faf3e0}
.top-actions{display:flex;align-items:center;gap:14px}
.top-actions .btn{white-space:nowrap}
.top-actions .login{white-space:nowrap;font-weight:600;text-decoration:none;font-size:15px}
.menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--line);border-radius:10px;width:44px;height:44px}
.menu-btn span{display:block;width:20px;height:2px;background:#222;margin:4px auto}
@media (max-width:1399px){.powered{display:none}}
@media (max-width:380px){.topbar .logo-word{font-size:24px}.topbar .logo-img{height:36px}}
@media (max-width:1299px){
  .nav,.top-actions{display:none}
  .menu-btn{display:block}
  .topbar .wrap{flex-wrap:wrap;gap:0 16px}
  .topbar.open .nav{display:flex;flex-direction:column;width:100%;order:3;margin:0;padding:4px 0 10px;border-top:1px solid var(--line)}
  .topbar.open .top-actions{display:flex;width:100%;order:4;justify-content:space-between;padding:0 0 18px}
}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;color:#fff;background:
  radial-gradient(900px 500px at 78% 30%, rgba(214,168,50,.16), transparent 60%),
  radial-gradient(1100px 700px at 10% 0%, var(--night-2), transparent 70%),
  var(--night)}
.hero::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 1px,transparent 1px 90px);pointer-events:none}
.hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;padding-top:72px;padding-bottom:80px}
.eyebrow{font-family:var(--body);font-weight:800;font-size:13px;letter-spacing:.22em;text-transform:uppercase;color:var(--gold-hi);display:flex;align-items:center;gap:10px;margin:0 0 18px}
.live-dot{width:8px;height:8px;border-radius:50%;background:#48d38a;box-shadow:0 0 0 0 rgba(72,211,138,.6);animation:pulse 2s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 10px rgba(72,211,138,0)}100%{box-shadow:0 0 0 0 rgba(72,211,138,0)}}
.hero h1{font-family:var(--display);font-variation-settings:"wdth" 108;font-weight:900;font-size:clamp(40px,5.2vw,68px);line-height:.98;letter-spacing:-.02em;margin:0 0 calc(24px - .14em);padding-bottom:.14em;background:linear-gradient(180deg,#fff6cf 0%,#f3d77a 55%,#d4a432 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.founders{font-weight:800;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:#e7c45f;margin:-8px 0 22px}
.hero .lede{font-size:20px;line-height:1.55;color:#efe6d6;max-width:34em;margin:0 0 12px}
.hero .lede-2{font-size:17px;color:var(--muted-dark);max-width:34em;margin:0 0 10px}
.hero .hero-why{font-size:15px;font-style:italic;color:var(--muted-dark);max-width:34em;margin:0 0 32px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:14px}
.fine{font-size:13px;color:#9a8e7d;margin:0 0 36px}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:620px}
.feature{display:flex;gap:12px;align-items:flex-start}
.feature .ic{flex:none;width:40px;height:40px;border-radius:50%;border:1.5px solid var(--gold);display:grid;place-items:center;color:var(--gold-hi)}
.feature b{display:block;font-size:14px;color:var(--gold-hi)}
.feature span{font-size:13px;color:#cfc3b1;line-height:1.35}
@media (max-width:960px){.hero .wrap{grid-template-columns:minmax(0,1fr);gap:40px;padding-top:48px}}
/* Small phones (360-440px wide): shrink the headline so "Hollywood.com" fits on one line */
@media (max-width:440px){.hero h1{font-size:9.6vw}}
@media (max-width:560px){.features{grid-template-columns:1fr}.hero .lede{font-size:18px}}

/* Hero combo card: the one "moment" on the page */
.hero-card-wrap{position:relative}
.hero-card-wrap::before{content:"";position:absolute;inset:-30px;background:radial-gradient(closest-side,rgba(246,220,124,.25),transparent);z-index:-1}
.hero-tag{position:absolute;top:-14px;left:50%;transform:translateX(-50%);white-space:nowrap;z-index:3;background:linear-gradient(180deg,var(--gold-hi),var(--gold));color:#241800;font-weight:800;font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding:6px 14px;border-radius:var(--radius-pill);box-shadow:0 6px 18px rgba(0,0,0,.4)}

/* ---------- Section shells ---------- */
.section{padding:88px 0}
.section-dark{background:linear-gradient(180deg,#0e0606,#1a0909 60%,#0e0606);color:#fff}
.section-cream{background:var(--cream)}
.sec-head{text-align:center;max-width:760px;margin:0 auto 44px}
.sec-head h2{font-family:var(--display);font-variation-settings:"wdth" 104;font-weight:850;font-size:clamp(32px,4vw,48px);line-height:1.05;letter-spacing:-.015em;margin:0 0 12px}
.section-dark .sec-head h2{background:linear-gradient(180deg,#fff6cf,#e7c45f);-webkit-background-clip:text;background-clip:text;color:transparent}
.sec-head p{font-size:18px;color:var(--muted);margin:0}
.section-dark .sec-head p{color:var(--muted-dark)}
.mock-note{display:inline-block;text-align:center;margin-top:14px;font-size:13px;font-weight:400;color:#8a6a12;background:#fff7dc;border:1px solid #f0dc9c;padding:6px 12px;border-radius:var(--radius-pill)}
.mock-note-em{font-size:14px;font-weight:800}
.section-dark .mock-note{color:var(--gold-hi);background:rgba(214,168,50,.1);border-color:rgba(214,168,50,.35)}

/* ---------- Grids ---------- */
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
@media (max-width:1180px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.grid{grid-template-columns:1fr}}

/* ---------- Filter chips ---------- */
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 36px}
.chip{border:1.5px solid #e1d6bf;background:#fff;color:#3a322b;font-weight:700;font-size:14px;padding:9px 18px;border-radius:var(--radius-pill)}
.chip[aria-pressed="true"]{background:linear-gradient(180deg,var(--gold-hi),var(--gold));border-color:var(--gold);color:#241800;box-shadow:0 4px 14px rgba(214,168,50,.35)}
.board-foot{display:flex;flex-direction:column;align-items:center;gap:22px;margin-top:36px}
.btn-more{display:inline-flex;align-items:center;gap:8px;border:2px solid var(--gold);background:#fff;color:#6b4d00;font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase;padding:13px 30px;border-radius:var(--radius-pill)}
.btn-more:hover{background:#fff7dc}
.btn-more[hidden]{display:none}
.see-all{font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:#8a6a12;text-decoration:none;border-bottom:2px solid var(--gold);padding-bottom:3px}
.empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:40px 0}

/* ---------- Market cards (mirror the live site) ---------- */
.card{position:relative;display:flex;flex-direction:column;background:#fff;color:var(--ink);border:2px solid var(--gold);border-radius:var(--radius-card);overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.18)}
.section:not(.section-dark) .card{box-shadow:0 8px 26px rgba(80,56,10,.10)}
.card-media{position:relative;aspect-ratio:16/9.3;overflow:hidden;background:#222}
.card-media img{width:100%;height:100%;object-fit:cover}
.media-link{display:block;width:100%;height:100%}
.ph{position:absolute;inset:0;display:flex;align-items:flex-end;padding:14px 16px;font-family:var(--display);font-weight:900;font-variation-settings:"wdth" 118;font-size:26px;line-height:1;color:rgba(255,255,255,.2);text-transform:uppercase;letter-spacing:-.01em}
.ph small{position:absolute;top:30%;left:50%;transform:translate(-50%,-50%);font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:.12em;color:rgba(255,255,255,.55);border:1px dashed rgba(255,255,255,.4);border-radius:6px;padding:4px 8px;white-space:nowrap}
.ph-reality{background:linear-gradient(135deg,#6b1f4a,#c2566b 55%,#f3a35c)}
.ph-awards{background:linear-gradient(135deg,#2a1450,#6a3a8e 55%,#d2a44a)}
.ph-music{background:linear-gradient(135deg,#0d2b1c,#16804a 60%,#7fe0a4)}
.ph-games{background:linear-gradient(135deg,#0c1d35,#1f5e8a 55%,#7cc4c8)}
.ph-movies{background:linear-gradient(135deg,#3a0d0d,#9b2c1f 55%,#e8894a)}
.ph-broadway{background:linear-gradient(135deg,#1a0d3a,#5a2a9e 55%,#e0a0f0)}
.ph-pop{background:linear-gradient(135deg,#3b0a0a,#b3122e 55%,#f06a5a)}
.ph-default{background:linear-gradient(135deg,#2a1a10,#7a5420)}
.tag{display:inline-block;font-size:12px;font-weight:700;padding:4px 10px;border-radius:var(--radius-pill);background:#d9b87a;color:#fff}
.media-tag{position:absolute;top:12px;left:12px;background:rgba(214,176,112,.92)}
.legs-tag{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;letter-spacing:.06em;color:#fff;background:rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.25);padding:4px 9px;border-radius:var(--radius-pill)}
.odds-panel{position:absolute;left:12px;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 10px;border:1.5px solid rgba(214,168,50,.7);border-radius:12px;background:linear-gradient(180deg,rgba(10,5,2,.72),rgba(10,5,2,.92))}
.mult{font-family:var(--display);font-variation-settings:"wdth" 112;font-weight:900;font-size:40px;line-height:1;letter-spacing:-.02em;background:linear-gradient(180deg,#fff2b8,#f1c94f 55%,#c58f1a);-webkit-background-clip:text;background-clip:text;color:transparent;font-variant-numeric:tabular-nums}
.odds-split{width:1px;align-self:stretch;background:rgba(214,168,50,.5)}
.comb b{display:block;font-family:var(--display);font-weight:900;font-size:22px;line-height:1;color:#f3d06a}
.comb span{font-size:10px;font-weight:800;letter-spacing:.18em;color:#d8c089;text-transform:uppercase}
.card-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 12px}
.card-body .tag{align-self:flex-start;margin-bottom:10px}
.card-title{font-family:var(--body);font-weight:800;font-size:17px;line-height:1.3;margin:0 0 14px;min-height:2.6em}
.card-sub{font-size:12px;font-weight:700;color:#9a8e7d;margin:-8px 0 12px;letter-spacing:.02em}
.trade-combo{width:100%;border:0;border-radius:10px;padding:12px;margin-bottom:10px;font-weight:800;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:#241800;background:linear-gradient(90deg,#e2c16a,#d2a232);box-shadow:0 6px 16px rgba(214,168,50,.3)}
.row{display:flex;align-items:center;gap:12px;padding:8px 0}
.row + .row{border-top:1px solid #f2ecdf}
.row-q{flex:1;min-width:0;font-weight:700;font-size:14px;line-height:1.3}
.row-q .t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.row-q small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-q small{display:block;font-weight:500;color:var(--muted);font-size:12px}
.avatar{flex:none;width:40px;height:40px;border-radius:9px;overflow:hidden;display:grid;place-items:center;font-weight:800;font-size:14px;color:#fff;background:linear-gradient(135deg,#2c2c2c,#555)}
.avatar img{width:100%;height:100%;object-fit:cover}
.yes{flex:none;border:0;border-radius:9px;padding:9px 12px;min-width:84px;font-weight:800;font-size:14px;letter-spacing:.03em;color:#fff;background:linear-gradient(180deg,var(--yes-hi),var(--yes));box-shadow:0 3px 10px rgba(61,159,104,.3)}
.yes:hover,.no:hover,.trade-combo:hover{filter:brightness(1.05)}
.yn{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;padding-bottom:4px}
.yn .yes,.yn .no{width:100%;min-width:0;padding:12px;font-size:15px;display:flex;justify-content:center;gap:8px}
.no{flex:none;border:0;border-radius:9px;color:#fff;font-weight:800;letter-spacing:.03em;background:linear-gradient(180deg,#e25068,#cf2f4a);box-shadow:0 3px 10px rgba(207,47,74,.3)}
.payout{margin:6px 0 0;text-align:center;font-size:13px;font-weight:600;color:#7a7066}
.payout b{color:#2a241f}
.tag-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px}
.tag-row .tag{margin:0}
.trend-tag{display:inline-flex;align-items:center;gap:5px}
.q-row{display:flex;align-items:flex-start;gap:12px}
.q-row .card-title{flex:1}
.ring{position:relative;flex:none;width:58px;height:58px}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring circle{fill:none;stroke-width:4.5}
.ring-bg{stroke:#ece6da}
.ring-fg{stroke:#4fb870;stroke-linecap:round;stroke-dasharray:calc(var(--p) * 1) 100}
.ring span{position:absolute;inset:0;display:flex;align-items:baseline;justify-content:center;padding-top:19px;gap:1px;font-size:10px;font-weight:700;color:#7a7066}
.ring span b{font-size:17px;color:#16110e;line-height:1}
.card-note{margin:4px 0 8px;font-size:13px;font-weight:600;color:#7a6a4a}
.more{font-weight:700;font-size:14px;color:#3a322b;padding:8px 0 2px;display:inline-flex;align-items:center;gap:6px}
.more-legs{font-size:12px;font-weight:700;color:#9a8e7d;text-align:center;padding-top:2px}
.combo-risk{margin:-2px 0 8px;text-align:center;font-size:12.5px;font-weight:700;color:#7a6a4a;line-height:1.3}
.risk-line{font-size:15px;color:#c9b98a;margin:10px 0 0}
.section:not(.section-dark) .risk-line{color:#7a6a4a}
.modal-note{margin:0;padding:10px 16px;font-size:13px;color:#cfc3b1;background:#000;border-top:1px solid rgba(214,168,50,.35)}
.disclose h4{margin:18px 0 6px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#d6c08a}
.disclose p{margin:0 0 10px}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid #f2ecdf;font-size:13px;color:#7a7066}
.card-foot .closes{display:inline-flex;align-items:center;gap:6px}
.heart{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:4px 6px;border-radius:8px;color:#7a7066;font-size:12px;font-weight:700}
.heart svg{transition:transform .2s ease}
.heart[aria-pressed="true"]{color:#c2185b}
.heart[aria-pressed="true"] svg{fill:#e0457b;stroke:#c2185b;transform:scale(1.12)}
.heart .lbl{opacity:0;width:0;overflow:hidden;white-space:nowrap;transition:opacity .2s}
.heart:hover .lbl,.heart:focus-visible .lbl,.heart[aria-pressed="true"] .lbl{opacity:1;width:auto}
.card[hidden]{display:none}

/* Trailer play button + player inside the card image */
.play-trailer{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:66px;height:66px;border-radius:50%;border:0;background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:0 8px 26px rgba(0,0,0,.35);transition:transform .15s ease}
.play-trailer svg{margin-left:4px}
.play-trailer:hover{transform:translate(-50%,-50%) scale(1.06)}
.play-trailer.up{top:32%;width:54px;height:54px}
.trailer-frame{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:5;background:#000}

/* Teleprompter legs (combos with 3+ legs) */
.ticker{--row-h:58px;height:calc(var(--row-h) * 2);overflow:hidden;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 84%,transparent 100%);
          mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 84%,transparent 100%)}
.ticker-track{animation:ticker linear infinite}
.ticker .row{height:var(--row-h);padding:0;border-top:1px solid #f2ecdf}
.ticker:hover .ticker-track,.ticker:focus-within .ticker-track{animation-play-state:paused}
@keyframes ticker{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.ticker-hint{display:flex;justify-content:center;color:var(--gold);padding:2px 0 0}
@media (prefers-reduced-motion:reduce){
  .ticker{overflow-y:auto;-webkit-mask-image:none;mask-image:none}
  .ticker .dup{display:none}
}

/* Hero-size combo card */
.card.is-hero{border-width:2.5px;box-shadow:0 30px 80px rgba(0,0,0,.55),0 0 0 6px rgba(214,168,50,.12)}
.card.is-hero .card-media{aspect-ratio:16/8.6}
.card.is-hero .mult{font-size:56px}
.card.is-hero .comb b{font-size:28px}
.card.is-hero .card-title{font-size:21px;min-height:0}
.card.is-hero .leg-in{opacity:0;transform:translateY(8px);transition:opacity .45s ease, transform .45s ease}
.card.is-hero .leg-in.on{opacity:1;transform:none}

/* ---------- Steps ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.step{display:flex;gap:18px;padding:8px 28px}
.step + .step{border-left:1px solid #ead9a8}
.step-num{flex:none;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-weight:900;font-size:24px;color:#2b1d00;background:radial-gradient(circle at 35% 30%,#fff1b3,#e6b93e 60%,#c48f1e);box-shadow:0 6px 16px rgba(196,143,30,.35)}
.step h3{font-size:19px;font-weight:800;margin:6px 0 6px}
.step p{margin:0;color:var(--muted);font-size:15px}
.why{text-align:center;margin:40px auto 0;font-size:15px;color:#7a6a4a;font-style:italic;max-width:560px}
@media (max-width:860px){.steps{grid-template-columns:1fr;gap:26px}.step{padding:0}.step + .step{border-left:0}}

/* ---------- Watch ---------- */
.watch-feature{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center;margin-bottom:48px}
.watch-feature h2{font-family:var(--display);font-variation-settings:"wdth" 106;font-weight:900;font-size:clamp(34px,4.4vw,54px);line-height:1.02;letter-spacing:-.02em;margin:0 0 16px;color:#fff}
.watch-feature p{color:#dcd0bd;font-size:18px;margin:0 0 26px;max-width:28em}
.video{position:relative;display:block;width:100%;border:2px solid var(--gold);border-radius:var(--radius-card);overflow:hidden;background:#1b0f0a;padding:0;color:#fff;text-align:left}
.video .frame{aspect-ratio:16/9;display:grid;place-items:center;background:
  radial-gradient(600px 300px at 30% 20%,rgba(214,168,50,.25),transparent 60%),
  linear-gradient(135deg,#2a1208,#0e0604)}
.video img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.play{position:relative;z-index:1;width:78px;height:78px;border-radius:50%;background:rgba(0,0,0,.55);border:2px solid #fff;display:grid;place-items:center;transition:transform .15s ease}
.video:hover .play{transform:scale(1.06)}
.video .slot{position:absolute;left:12px;top:12px;z-index:1;font-size:11px;font-weight:700;letter-spacing:.1em;color:rgba(255,255,255,.6);border:1px dashed rgba(255,255,255,.35);border-radius:6px;padding:3px 7px}
.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.thumb .play{width:54px;height:54px}
.thumb-cap{margin-top:12px}
.thumb-cap b{display:block;font-size:17px;color:#fff}
.thumb-cap span{font-size:14px;color:var(--muted-dark)}
.watch-note{margin:28px 0 0;color:#a89a86;font-size:14px}
@media (max-width:900px){.watch-feature{grid-template-columns:1fr}.thumbs{grid-template-columns:1fr}}

/* Video modal */
.modal{position:fixed;inset:0;z-index:100;display:none;place-items:center;background:rgba(5,2,1,.85);padding:24px}
.modal.open{display:grid}
.modal-box{width:min(960px,100%);background:#000;border:2px solid var(--gold);border-radius:var(--radius-card);overflow:hidden;position:relative}
.modal-box .frame{aspect-ratio:16/9;display:grid;place-items:center;color:#cfc3b1;text-align:center}
.modal-box .frame p{padding:24px}
.modal-box iframe,.modal-box video{width:100%;height:100%;border:0;display:block}
/* Policy pop-up (Privacy Policy etc.) */
.doc-modal{position:fixed;inset:0;z-index:110;display:none;place-items:center;background:rgba(5,2,1,.8);padding:24px}
.doc-modal.open{display:grid}
.doc-box{width:min(760px,100%);max-height:min(86vh,900px);display:flex;flex-direction:column;background:#fff;color:var(--ink);border:2px solid var(--gold);border-radius:var(--radius-card);overflow:hidden}
.doc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}
.doc-head h2{margin:0;font-size:18px}
.doc-x{flex:none;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:20px;cursor:pointer}
.doc-body{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:22px 26px;font-size:15px;line-height:1.6}
.doc-body .doc-title{font-size:20px;text-align:center;margin:0 0 4px}
.doc-body .doc-kicker{text-align:center;font-size:15px;color:var(--muted);margin:0 0 6px}
.doc-body .doc-address{margin:0 0 10px;padding-left:14px;border-left:3px solid var(--line)}
.doc-body .doc-date{text-align:center;font-style:italic;color:var(--muted);font-size:13px;margin:0 0 18px}
.doc-body h3{font-size:16px;margin:22px 0 6px}
.doc-body h4{font-size:15px;margin:16px 0 6px}
.doc-body p{margin:0 0 10px}
.doc-body ul{margin:0 0 10px;padding-left:22px}
.doc-body li{margin:0 0 4px}
.doc-body a{color:var(--gold-deep)}
.doc-foot{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:12px 18px;border-top:1px solid var(--line);background:#fdfaf2}
.doc-foot .doc-dl{align-self:center;margin-right:auto;font-weight:600;font-size:14px;color:var(--ink)}
@media (max-width:560px){.doc-modal{padding:10px}.doc-box{max-height:92vh}.doc-body{padding:18px}}
.modal-close{position:absolute;top:10px;right:10px;z-index:2;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(0,0,0,.6);color:#fff;font-size:20px}

/* ---------- Join (signup) ---------- */
.join{background:#fff}
.join .sec-head .eyebrow{justify-content:center;color:#b8871c}
.form{max-width:940px;margin:0 auto}
.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.field label,.field legend{display:block;font-weight:700;font-size:14px;margin-bottom:8px}
.field input,.field select{width:100%;font:inherit;font-size:16px;padding:14px 16px;border:1.5px solid #ddd3c2;border-radius:10px;background-color:#fbf9f5;color:var(--ink)}
.field select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f655c' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;padding-right:40px}
.field input:focus,.field select:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(214,168,50,.25);background-color:#fff}
.field .err{display:none;color:#b3261e;font-size:13px;font-weight:600;margin-top:6px}
.field.bad .err{display:block}
.field.bad input,.field.bad select{border-color:#b3261e}
fieldset.field{border:0;padding:0;margin:22px 0 0}
fieldset.field legend span{font-weight:500;color:var(--muted)}
.cat-chips{display:flex;flex-wrap:wrap;gap:10px}
.cat-chips label{position:relative;margin:0;cursor:pointer}
.cat-chips input{position:absolute;opacity:0;pointer-events:none}
.cat-chips span{display:inline-block;border:1.5px solid #e1d6bf;border-radius:var(--radius-pill);padding:9px 16px;font-weight:700;font-size:14px;background:#fff}
.cat-chips input:checked + span{background:#fff5d6;border-color:var(--gold);color:#6b4d00}
.cat-chips input:focus-visible + span{outline:3px solid var(--gold);outline-offset:2px}
.form-submit{display:flex;justify-content:center;margin:30px 0 14px}
.form-submit .btn{min-width:320px}
.consent{text-align:center;font-size:13px;color:var(--muted);max-width:640px;margin:0 auto}
.refer{display:flex;align-items:center;justify-content:center;gap:16px;max-width:680px;margin:0 auto 30px;padding:16px 22px;border:2px solid var(--gold);border-radius:var(--radius-card);background:linear-gradient(180deg,#fffaf0,#fff3cf);box-shadow:0 8px 26px rgba(214,168,50,.22)}
.refer-badge{flex:none;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-weight:900;font-size:22px;color:#2b1d00;background:radial-gradient(circle at 35% 30%,#fff1b3,#e6b93e 60%,#c48f1e);box-shadow:0 6px 16px rgba(196,143,30,.35)}
.refer b{display:block;font-size:19px;color:#2a1e00;line-height:1.2}
.refer span{font-size:15px;color:#6b4d00}
.refer[hidden]{display:none}
.done .refer{margin-top:22px;text-align:left}
@media (max-width:560px){.refer{flex-direction:column;text-align:center}.done .refer{text-align:center}}
.from-card{display:none;text-align:center;margin:0 0 18px;font-size:14px;font-weight:600;color:#6b4d00}
.from-card.on{display:block}
.done{display:none;max-width:640px;margin:0 auto;text-align:center;border:2px solid var(--gold);border-radius:var(--radius-card);padding:36px 28px;background:linear-gradient(180deg,#fffaf0,#fff)}
.done.on{display:block}
.done h3{font-family:var(--display);font-weight:900;font-size:30px;margin:0 0 8px}
.done p{color:var(--muted);margin:0 0 20px}
.ref{display:flex;gap:10px;max-width:520px;margin:0 auto}
.ref input{flex:1;min-width:0;font:inherit;font-size:14px;padding:12px 14px;border:1.5px solid #ddd3c2;border-radius:10px;background:#fbf9f5}
@media (max-width:760px){.fields{grid-template-columns:1fr}.form-submit .btn{min-width:0;width:100%}}

/* ---------- FAQ ---------- */
.faq{background:#0b0505;color:#fff;padding:80px 0}
.faq-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:36px 32px}
.faq-item{border-left:1px solid rgba(214,168,50,.35);padding-left:18px}
.faq-item h3{font-size:17px;font-weight:800;color:var(--gold-hi);margin:0 0 8px;line-height:1.3}
.faq-item p{margin:0;font-size:14.5px;color:#d5cabb;line-height:1.55}
.faq-item p + p{margin-top:10px}
#risk-disclosure{scroll-margin-top:20px}
.faq-item h4{margin:0 0 6px;font-size:14.5px;font-weight:800;color:#fff}
@media (max-width:1060px){.faq-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.faq-grid{grid-template-columns:1fr}}

/* ---------- Footer ---------- */
.foot{background:#0b0505;color:#bdb1a0;border-top:1px solid rgba(214,168,50,.45);padding:36px 0 44px;font-size:13px}
.foot-top{display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.foot .logo-dot{color:#fff}
.foot-links{display:flex;flex-wrap:wrap;gap:22px;margin:0 auto}
.foot-links a{text-decoration:none;color:#e9dfcf;font-weight:600}
.foot-links a:hover{color:var(--gold-hi)}
.social{display:flex;gap:14px}
.social a{color:#e9dfcf}
/* Links with no URL set yet in LINKS: dotted underline + tooltip so they are easy to spot. */
a[data-link-missing]{text-decoration:underline dotted;text-underline-offset:3px;cursor:help}
.disclose{margin:26px 0 0;max-width:900px;line-height:1.6}
.foot .copy{max-width:900px;line-height:1.6}
.pwd{margin-top:10px;color:#8f7a4e;font-weight:700;font-size:12px;letter-spacing:.06em}
</style>
</head>
<body class="hw-private-beta-homepage">


<!-- ======================= TOP BAR ======================= -->
<header class="topbar" id="topbar">
  <div class="wrap">
    <a class="logo" href="#top" aria-label="Hollywood.com home">
      <!-- DEV: official logo, built into this file. For the live site, host it as a separate file (like the card images). -->
      <img class="logo-img" src="https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/970e05c264123f75.png" alt="" width="389" height="96">
    </a>
    <div class="powered">Powered by<b>crypto.com</b></div>
    <button class="menu-btn" id="menuBtn" aria-label="Open menu" aria-expanded="false" aria-controls="mainNav"><span></span><span></span><span></span></button>
    <nav class="nav" id="mainNav" aria-label="Main">
      <a href="#combos">Combo Trades</a>
      <a href="#markets">Markets</a>
      <a href="#how">How the beta works</a>
      <a href="#watch">Watch</a>
      <a href="#questions">Questions</a>
      <a href="#" data-link="streams">@hollywoodstreams</a>
    </nav>
    <div class="top-actions">
      <a class="login" href="#" data-link="login">Beta log in</a><!-- DEV: hidden for now (SETTINGS.showBetaLogin). When login is ready, turn it on and set LINKS.login. -->
      <a class="btn btn-gold btn-sm" href="#join" data-join>Request an invitation</a>
    </div>
  </div>
</header>

<main id="top">

<!-- ======================= HERO ======================= -->
<section class="hero" aria-labelledby="heroTitle">
  <div class="wrap">
    <div>
      <p class="eyebrow"><span class="live-dot" aria-hidden="true"></span>Private beta</p>
      <h1 id="heroTitle">Hollywood.com Prediction Trading <span class="nobr">Private Beta</span></h1>
      <p class="founders">From the founders of the <span class="nobr">Sci-Fi Channel</span></p>
      <p class="lede">Real money. Real markets. Trading on a CFTC-regulated exchange, powered by Crypto.com. Reality TV, awards, music, video games, Broadway and pop culture. All entertainment. No war. No politics.</p>
      <p class="lede-2">Request an invitation, clear onboarding, and you will be invited when your wave opens.</p>
      <p class="hero-why">Why a beta: we'd rather find the kinks with the first wave than with everyone at once.</p>
      <div class="hero-ctas">
        <a class="btn btn-gold" href="#join" data-join>Request an invitation</a>
        <a class="btn btn-ghost" href="#combos">See the markets</a>
      </div>
      <p class="fine">Invitation only. Invitations go out in waves, and every trader completes onboarding and identity verification before trading. 18+. Not available in all states. Trading involves risk: you can lose the full amount you trade.</p>
      <div class="features">
        <div class="feature"><div class="ic" aria-hidden="true"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"><path d="M5 20V12M12 20V6M19 20v-9"/></svg></div><div><b>Real Markets</b><span>Trade on entertainment outcomes</span></div></div>
        <div class="feature"><div class="ic" aria-hidden="true"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round"><circle cx="9" cy="8" r="3.2"/><path d="M3 19c.8-3.3 3.2-5 6-5s5.2 1.7 6 5"/><circle cx="17" cy="9" r="2.4"/><path d="M16.5 14c2.3.2 3.9 1.7 4.5 4.5"/></svg></div><div><b>Exclusive Access</b><span>Invitation-only private beta</span></div></div>
        <div class="feature"><div class="ic" aria-hidden="true"><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor"><path d="M12 3l2.6 5.6 6.1.7-4.5 4.2 1.2 6L12 16.6 6.6 19.5l1.2-6L3.3 9.3l6.1-.7z"/></svg></div><div><b>Six Fan Obsessions</b><span>Reality TV, music, awards, video games, Broadway and pop culture</span></div></div>
      </div>
    </div>
    <div class="hero-card-wrap">
      <span class="hero-tag">Beta preview &middot; Sample prices</span>
      <div id="slot-hero"><!-- filled from LAYOUT.hero --></div>
    </div>
  </div>
</section>

<!-- ======================= COMBOS ======================= -->
<section class="section section-dark" id="combos" aria-labelledby="combosTitle">
  <div class="wrap">
    <div class="sec-head">
      <h2 id="combosTitle">Combo Trades</h2>
      <p>Two or more markets combined into one trade. The multiplier shows what your trade size pays if every leg is right.</p>
      <p class="risk-line">If any leg misses, the combo pays $0 and you lose what you put in. Higher multiplier, higher risk.</p>
      <span class="mock-note" data-mock-note></span>
    </div>
    <div class="grid" id="slot-combos"><!-- filled from LAYOUT.combos --></div>
  </div>
</section>

<!-- ======================= MARKETS BOARD ======================= -->
<section class="section" id="markets" aria-labelledby="marketsTitle">
  <div class="wrap">
    <div class="sec-head">
      <h2 id="marketsTitle">Inside the Private Beta</h2>
      <p>A first look at the kinds of markets beta traders will see. Prices are set by the market, not by us. Hollywood.com never takes a position on any outcome.</p>
      <p class="risk-line">The buttons on these cards take you to the invitation request. Trading opens when your wave is onboarded.</p>
      <span class="mock-note" data-mock-note></span>
    </div>
    <div class="chips" role="group" aria-label="Filter markets" id="chips"><!-- filled from FILTERS --></div>
    <div class="grid" id="slot-board" aria-live="polite"><!-- filled from LAYOUT.board --></div>
    <div class="board-foot">
      <button class="btn-more" type="button" id="boardMore" aria-controls="slot-board" aria-expanded="false" hidden>See more</button>
      <a class="see-all" href="#join" data-join>Request an invitation to trade</a>
    </div>
  </div>
</section>

<!-- ======================= HOW THE BETA WORKS ======================= -->
<section class="section section-cream" id="how" aria-labelledby="howTitle">
  <div class="wrap">
    <div class="sec-head"><h2 id="howTitle">How the beta works</h2></div>
    <ol class="steps" style="list-style:none;margin:0;padding:0">
      <li class="step"><div class="step-num" aria-hidden="true">1</div><div><h3>Request an invitation</h3><p>Name, email, state. That's it.</p></div></li>
      <li class="step"><div class="step-num" aria-hidden="true">2</div><div><h3>We onboard in waves</h3><p>When your wave opens you'll open a trading account, verify your identity (federal law requires it), confirm you're 18+ and live in an eligible state (we show you the list of eligible states during onboarding), then fund your account.</p></div></li>
      <li class="step"><div class="step-num" aria-hidden="true">3</div><div><h3>Trade real money on live markets</h3><p>Trade, tell us what you think, and help shape what we build. We're adding traders every week.</p></div></li>
    </ol>
  </div>
</section>

<!-- ======================= WATCH ======================= -->
<section class="section section-dark" id="watch" aria-labelledby="watchTitle">
  <div class="wrap">
    <div class="watch-feature">
      <div>
        <p class="eyebrow">A Hollywood.com original</p>
        <h2 id="watchTitle">Introducing Granny Hollywood</h2>
        <p>Meet Granny Hollywood, our AI-generated host. She is not a real person, and nothing she says is trading advice. She is, however, extremely opinionated about reality TV.</p>
        <button class="btn btn-ghost" data-video="granny"><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M8 5v14l11-7z"/></svg>Watch the trailer</button>
      </div>
      <div id="slot-video-feature"></div>
    </div>
    <div class="thumbs" id="slot-video-thumbs"></div>
    <p class="watch-note">Our very first trailer (1999) ran before the feature in theaters across the country.</p>
  </div>
</section>

<!-- ======================= JOIN ======================= -->
<section class="section join" id="join" aria-labelledby="joinTitle">
  <div class="wrap">
    <div class="sec-head">
      <p class="eyebrow">Private beta · Invitation only</p>
      <h2 id="joinTitle">Beta traders get in first.</h2>
      <p>Tell us who you are. We'll email your invitation when your wave opens. Requesting an invitation does not open an account; that happens during onboarding.</p>
    </div>

    <div class="refer" role="note" id="referPre">
      <span class="refer-badge" aria-hidden="true">+50</span>
      <div><b>Jump the line.</b><span>Every friend you refer moves you up 50 spots. You get your referral link the moment you sign up.</span></div>
    </div>

    <form class="form" id="joinForm" novalidate>
      <p class="from-card" id="fromCard"></p>
      <input type="hidden" name="source_card" id="sourceCard">
      <input type="hidden" name="ref" id="refIn"><!-- DEV: filled from ?ref= in the URL -->
      <div class="fields">
        <div class="field" id="f-name">
          <label for="name">Full name</label>
          <input id="name" name="name" autocomplete="name" placeholder="Your name" required>
          <div class="err">Enter your name.</div>
        </div>
        <div class="field" id="f-email">
          <label for="email">Email address</label>
          <input id="email" name="email" type="email" autocomplete="email" placeholder="you@example.com" required>
          <div class="err">Enter a valid email address.</div>
        </div>
        <div class="field" id="f-state">
          <label for="state">State</label>
          <select id="state" name="state" required><option value="">Select your state</option></select>
          <div class="err">Select your state.</div>
        </div>
      </div>
      <div class="form-submit"><button class="btn btn-gold" type="submit">Request an invitation</button></div>
      <p class="consent">By requesting an invitation you confirm you're 18 or older and agree to our <a href="#" data-link="terms">Terms</a> and <a href="#" data-link="privacy">Privacy Policy</a>. We'll email you about your invitation and the beta. Unsubscribe anytime.</p>
    </form>

    <div class="done" id="joinDone" role="status" tabindex="-1">
      <h3>You're on the list</h3>
      <p>We'll email you when your wave opens.</p>
      <div class="refer">
        <span class="refer-badge" aria-hidden="true">+50</span>
        <div><b>Move up 50 spots for every friend.</b><span>Share your link. Every friend who requests an invitation moves you up 50 spots.</span></div>
      </div>
      <div class="ref" style="margin-top:14px">
        <label for="refLink" class="sr-only">Your referral link</label>
        <input id="refLink" readonly>
        <button class="btn btn-gold btn-sm" type="button" id="copyRef">Copy link</button>
      </div>
    </div>
  </div>
</section>

<!-- ======================= QUESTIONS ======================= -->
<section class="faq" id="questions" aria-labelledby="faqTitle">
  <div class="wrap">
    <div class="sec-head"><h2 id="faqTitle" style="color:#fff">Questions</h2></div>
    <div class="faq-grid">
      <div class="faq-item"><h3>What is Hollywood.com Prediction Trading?</h3><p>A regulated marketplace where fans trade contracts on entertainment outcomes: who wins, who goes home, what hits number one. A contract pays $1 if you're right and $0 if you're not, so a price of 35¢ means the market puts the chance near 35%. A combo bundles two or more markets into one trade. It pays only if every leg is right, so its price is lower and its multiplier higher; if any leg misses, the combo pays $0. Either way, you can lose the full amount you trade.</p></div>
      <div class="faq-item"><h3>Who runs the exchange, and what is Hollywood.com's role?</h3><p>Contracts trade and clear on Crypto.com | Derivatives North America, a CFTC-registered exchange and clearinghouse. Your account is carried by Foris DAX FCM LLC, a CFTC-registered futures commission merchant. Hollywood.com is registered with the CFTC as a guaranteed introducing broker and is a member of the National Futures Association; Foris DAX FCM guarantees our obligations as your introducing broker.</p></div>
      <div class="faq-item"><h3>Who can trade?</h3><p>Adults 18 and over who live in the United States in an eligible state, and who pass identity verification. Federal law requires every trader to verify identity before funding an account. Not available in all states; we show you the list of eligible states during onboarding.</p></div>
      <div class="faq-item faq-risk" id="risk-disclosure"><h3>Risk Disclosure</h3><h4>Risk Factors</h4><p>THE RISK OF LOSS IN TRADING COMMODITY INTERESTS CAN BE SUBSTANTIAL. YOU SHOULD THEREFORE CAREFULLY CONSIDER WHETHER SUCH TRADING IS SUITABLE FOR YOU IN LIGHT OF YOUR CIRCUMSTANCES AND FINANCIAL RESOURCES.</p><p>THIS BRIEF STATEMENT CANNOT DISCLOSE ALL THE RISKS AND OTHER SIGNIFICANT ASPECTS OF THE COMMODITY MARKETS. YOU SHOULD THEREFORE CAREFULLY STUDY THE APPLICABLE DISCLOSURES BEFORE TRADING.</p><p>Trading involves risk, including the risk of loss, and is not suitable for everyone. Any illustrative markets, prices, or percentages shown are samples for demonstration only and do not represent real trading opportunities or the likelihood of any outcome.</p></div>
      <div class="faq-item"><h3>Do I need crypto to trade?</h3><p>No. You trade in U.S. dollars. We accept both U.S. dollar and cryptocurrency deposits, and there are multiple ways to fund your account, all shown during onboarding. You never need to own crypto to trade.</p></div>
      <div class="faq-item"><h3>Why is it invitation-only?</h3><p>We're opening in waves to a limited number of traders, trading real money on live markets, so we can find and fix the kinks before we open the doors to everyone. We add traders every week.</p></div>
      <div class="faq-item"><h3>Do you take the other side of my trade?</h3><p>No. Traders trade with each other. Hollywood.com never holds a position in any market.</p></div>
      <div class="faq-item"><h3>Where is my money held?</h3><p>Your funds are held by Foris DAX FCM LLC, the CFTC-registered futures commission merchant affiliated with the Crypto.com | Derivatives North America exchange, subject to CFTC customer-funds rules. Hollywood.com does not hold your money. Hollywood.com is registered with the CFTC as a guaranteed introducing broker.</p></div>
      <div class="faq-item"><h3>What can't I trade on?</h3><p>War and politics. We do not intend to offer sports markets at this time.</p></div>
      <div class="faq-item"><h3>Where do I get help?</h3><p>Email <a href="mailto:support@hollywood.com">support@hollywood.com</a> or visit <a href="#" data-link="support">Support</a>. Want to slow down or step away? You can set a deposit limit, take a trading break, or close your account at any time from your account settings or by contacting support.</p></div>
      <div class="faq-item"><h3>Where is it available?</h3><p>Most U.S. states. We show you the full list of eligible states during onboarding. If your state isn't eligible yet, request an invitation anyway and we'll email you if that changes.</p></div>
      <div class="faq-item"><h3>What happens after I request an invitation?</h3><p>You're on the list. Share your referral link and every friend who requests an invitation moves you up 50 spots. When your wave opens we email you a link to open your account, verify your identity and fund it. First trades follow right after. Nothing is charged and no account is opened until then.</p></div>
    </div>
  </div>
</section>

</main>

<!-- ======================= FOOTER ======================= -->
<footer class="foot">
  <div class="wrap">
    <div class="foot-top">
      <a class="logo" href="#top" aria-label="Hollywood.com home"><!-- DEV: footer version of the official logo with .COM in white for the dark background. Host as a separate file for the live site. --><img class="logo-img" src="https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/109b840542fe86a2.png" alt="" width="389" height="96"></a>
      <nav class="foot-links" aria-label="Legal">
        <a href="#" data-link="terms">Terms</a><a href="#" data-link="privacy">Privacy</a><a href="#" data-link="risk">Risk Disclosure</a><a href="#" data-link="support">Support</a><a href="#" data-link="dmca">DMCA Policy</a><a href="#" data-link="contact">Contact</a>
      </nav>
      <div class="social">
        <a href="#" data-link="youtube" aria-label="YouTube"><svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor"><path d="M21.6 7.2a2.7 2.7 0 0 0-1.9-1.9C18 4.8 12 4.8 12 4.8s-6 0-7.7.5a2.7 2.7 0 0 0-1.9 1.9C2 8.9 2 12 2 12s0 3.1.4 4.8a2.7 2.7 0 0 0 1.9 1.9c1.7.5 7.7.5 7.7.5s6 0 7.7-.5a2.7 2.7 0 0 0 1.9-1.9c.4-1.7.4-4.8.4-4.8s0-3.1-.4-4.8zM10 15V9l5.2 3z"/></svg></a>
        <a href="#" data-link="instagram" aria-label="Instagram"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="3" width="18" height="18" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.5" cy="6.5" r="1" fill="currentColor"/></svg></a>
        <a href="#" data-link="x" aria-label="X"><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M17.8 3h3.1l-6.8 7.8L22 21h-6.2l-4.9-6.4L5.3 21H2.2l7.3-8.3L2 3h6.4l4.4 5.8zm-1.1 16.2h1.7L7.4 4.7H5.6z"/></svg></a>
        <a href="#" data-link="facebook" aria-label="Facebook"><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M14 8h3V4h-3c-2.8 0-4.5 1.8-4.5 4.6V11H7v4h2.5v7h4v-7h3l.5-4h-3.5V8.8c0-.5.3-.8.5-.8z"/></svg></a>
      </div>
    </div>
    <div class="disclose">
      <h4>Important disclosures</h4>
      <p>Hollywood.com Prediction Trading is offered by Hollywood.com, LLC ("Hollywood.com"), which is registered with the Commodity Futures Trading Commission (CFTC) as a guaranteed introducing broker and is a member of the National Futures Association (NFA ID 0578002). Hollywood.com introduces customer accounts to Foris DAX FCM LLC, a CFTC-registered futures commission merchant and NFA member, which carries customer accounts and guarantees Hollywood.com's obligations as an introducing broker. Contracts trade on and clear through Crypto.com | Derivatives North America, a designated contract market and derivatives clearing organization registered with the CFTC. Registration with the CFTC and membership in the NFA do not mean that the CFTC or the NFA has approved, endorsed or recommended Hollywood.com or any contract.</p>
      <p>Trading event contracts involves risk and is not appropriate for everyone. You can lose the entire amount you put into any trade, including fees. Combo trades pay only if every leg is right; if any leg misses, the combo pays $0. You should carefully consider whether trading is appropriate for you in light of your experience and financial resources, and read the <a href="#" data-link="risk">Risk Disclosure</a> before you trade. Any trading decision you make is solely your responsibility. Nothing on this page is a recommendation to buy or sell any contract. Markets, prices, multipliers and payouts shown on this page are illustrative samples for preview only, not live quotes, and any market may change or may not be offered.</p>
      <p>The private beta is invitation only, and access is granted in waves. Trading is available only to persons 18 or older who live in the United States in a state where trading is available, after completing account onboarding, including identity verification required by federal law. Not available in all states. Requesting an invitation does not open an account.</p>
      <p>Names of programs, artists, titles, awards, publications and companies are used only to identify the events on which contracts are based. Contract references are descriptive only and do not imply affiliation, sponsorship or endorsement by any referenced party.</p>
    </div>
    <p class="pwd">Powered by Crypto.com | Derivatives North America</p>
    <p class="copy">© 2026 Hollywood.com, LLC. All rights reserved. "Hollywood.com" and the Hollywood.com logo are trademarks of Hollywood.com, LLC. All other trademarks, brand names, and logos appearing on this site are the property of their respective owners. Reference to a third-party brand does not imply endorsement of, or affiliation with, Hollywood.com, LLC except where a relationship is expressly identified on this site.</p>
  </div>
</footer>

<!-- Video modal -->
<div class="modal" id="videoModal" role="dialog" aria-modal="true" aria-label="Video player">
  <div class="modal-box">
    <button class="modal-close" id="modalClose" aria-label="Close video">×</button>
    <div class="frame" id="modalFrame"></div>
    <p class="modal-note" id="modalNote" hidden></p>
  </div>
</div>

<!-- Policy pop-up. Content comes from a <template id="doc-..."> below; set up in DOCS in the script. -->
<div class="doc-modal" id="docModal" role="dialog" aria-modal="true" aria-labelledby="docModalTitle">
  <div class="doc-box">
    <div class="doc-head"><h2 id="docModalTitle"></h2><button class="doc-x" type="button" id="docClose" aria-label="Close">×</button></div>
    <div class="doc-body" id="docBody" tabindex="0"></div>
    <div class="doc-foot"><a class="doc-dl" id="docDownload" hidden>Download PDF</a><button class="btn btn-gold btn-sm" type="button" id="docDone">Close</button></div>
  </div>
</div>

<!-- ======================= POLICY TEXT ======================= -->
<template id="doc-privacy">
  <!-- Text copied word for word from Hollywood_Interim_Privacy_Policy_July_2026 (PDF). Edit here if legal sends a new version. -->
  <h2 class="doc-title">HOLLYWOOD.COM PRIVACY POLICY</h2>
  <p class="doc-date">Effective Date: July 7, 2026</p>
  <p>Hollywood.com, LLC ("we," "us," or "our") operates Hollywood.com (the "Website"). This Privacy Policy describes how we collect, use, and disclose your information when you visit and browse the Website. This policy applies strictly to generic web browsing, digital content consumption, and interactive media features.</p>

  <h3>1. Information Collected Automatically</h3>
  <p>As you navigate through the Website, we and our automated analytics networks automatically gather data regarding your device configuration and online navigation patterns. This information includes:</p>
  <ul>
    <li>IP addresses, operating system footprints, browser application types, and device identifiers.</li>
    <li>Clickstream trends, duration of domain visits, viewing logs, and referring URL paths.</li>
    <li>Data captured via persistent cookies, clear GIFs, web beacons, and analytical tracking pixels (such as Google Analytics and commercial ad network tags).</li>
  </ul>

  <h3>2. Core Processing Foundations</h3>
  <p>We utilize the automatically compiled data sets for the following business operational purposes:</p>
  <ul>
    <li>Optimizing layout responsiveness, server capacities, and general editorial user experiences.</li>
    <li>Serving personalized, interest-based programmatic advertisements tailored to your web traffic profile.</li>
    <li>Distributing newsletter components or processing direct inquiries when voluntarily initiated by you.</li>
  </ul>

  <h3>3. Information Distribution Matrices</h3>
  <p>We do not exchange your data sets with third parties for direct monetary payouts. However, we transfer or make available your online traffic markers to integrated digital advertising alliances and cloud metrics software to run targeted display arrays. Under localized state statutes, this operational data sharing pattern may be categorized as a data "sale" or "share" configuration.</p>

  <h3>4. State Jurisdictional Rights &amp; Opt-Out Prefs</h3>
  <p>Depending on your primary state of residence (including California and Florida), you possess distinct data privacy rights. You may request access to, correction of, or complete deletion of the data tracking segments linked to your web session profile by contacting us at <a href="mailto:legal@hollywood.com">legal@hollywood.com</a>.</p>
  <p><em>Automated Opt-Out (Global Privacy Control): Our data structures are configured to automatically recognize and process browser-based Global Privacy Control (GPC) signals. If your browser application actively deploys a GPC signal, our data infrastructure automatically pauses third-party targeted advertising pixel transfers during that active viewing session.</em></p>

  <h3>5. Data Retention Boundaries &amp; System Safeguards</h3>
  <p>We maintain industry-standard physical, technical, and administrative controls to protect against unauthorized data exposure. Anonymous analytical metrics, traffic patterns, and cookie log histories are systematically purged or completely anonymized after a rolling duration of fourteen (14) months.</p>

  <h3>6. Revisions to this Privacy Matrix</h3>
  <p>We preserve the operational authority to update this policy framework at any time to reflect structural changes in our digital properties. All modification updates will be explicitly recorded on this URL layout via an updated effective date timestamp indicator.</p>

  <h3>7. Legal Contact Protocols</h3>
  <p>For any administrative questions, compliance oversight reviews, or to log verified data rights requests, reach out directly to the Company's corporate legal management team at: <a href="mailto:legal@hollywood.com">legal@hollywood.com</a>.</p>
</template>

<template id="doc-terms">
  <!-- Text copied word for word from Hollywood_Terms_of_Use_July_2026 (PDF), except Section 4: "our dedicated Copyright & DMCA Notice Tab located on the Website navigation layout" changed to "our DMCA Policy, linked in the footer of the Website" at Scott's request (Sept 30, 2026). Edit here if legal sends a new version. -->
  <h2 class="doc-title">HOLLYWOOD.COM TERMS OF USE</h2>
  <p class="doc-date">Last Updated: July 7, 2026</p>
  <p>Welcome to Hollywood.com (the "Website"). This Website is owned and operated by Hollywood.com, LLC ("Company," "we," "us," or "our"). These Terms of Use ("Terms") govern your access to and use of Hollywood.com, including any content, functionality, mobile applications, and user accounts offered on or through the Website.</p>
  <p>Please read these Terms carefully before using the Website. <strong>By using the Website or by clicking to accept or agree to the Terms when this option is made available to you, you accept and agree to be bound and abide by these Terms and our Privacy Policy.</strong> If you do not agree to these Terms, you must not access or use the Website.</p>

  <h3>1. Eligibility and Account Registration</h3>
  <p>To access certain features of the Website, including premium entertainment news feeds, newsletter distributions, or interactive messaging boards, you may be required to register for an account. By registering, you agree to provide accurate, current, and complete information.</p>
  <ul>
    <li><strong>Age Requirement:</strong> You must be at least 18 years of age to register for an account, subscribe to premium features, or utilize any account-gated service on this Website.</li>
    <li><strong>Account Security:</strong> You are responsible for maintaining the confidentiality of your account credentials. You agree to notify us immediately at <a href="mailto:legal@hollywood.com">legal@hollywood.com</a> of any unauthorized access to or use of your username or password.</li>
  </ul>

  <h3>2. Intellectual Property Rights</h3>
  <p>The Website and its entire contents, features, and functionality (including but not limited to all information, software, text, displays, images, video, and audio, and the design, selection, and arrangement thereof) are owned by the Company, its licensors, or other providers of such material and are protected by United States and international copyright, trademark, patent, trade secret, and other intellectual property or proprietary rights laws.</p>

  <h3>3. User Contributed Content &amp; Community Guidelines</h3>
  <p>The Website may contain message boards, comment sections, profiles, and other interactive features that allow users to post, submit, or publish content ("User Contributions").</p>
  <ul>
    <li><strong>Responsibility:</strong> You are solely responsible for your User Contributions and their compliance with local, state, federal, and international laws.</li>
    <li><strong>Prohibited Content:</strong> You agree not to post any content that is defamatory, obscene, harassing, abusive, fraudulent, infringing on third-party intellectual property rights, or otherwise unlawful.</li>
    <li><strong>License Grant:</strong> By providing any User Contribution on the Website, you grant us an irrevocable, perpetual, worldwide, royalty-free, fully sub-licensable license to use, reproduce, modify, adapt, publish, translate, and distribute such material for any purpose in any media platform.</li>
  </ul>

  <h3>4. Digital Millennium Copyright Act (DMCA)</h3>
  <p>The Company respects the intellectual property rights of others. If you believe that any User Contributions or materials hosted on this Website infringe upon your copyright, please visit our <a href="#dmca-policy" data-doc="dmca">DMCA Policy</a>, linked in the footer of the Website, to review our full protocol and submit a formal take-down notice directly to our registered agent.</p>

  <h3>5. Prohibited Conduct</h3>
  <p>You agree not to use the Website:</p>
  <ul>
    <li>In any manner that violates any applicable federal, state, local, or international law or regulation.</li>
    <li><strong>To engage in any automated data collection, including but not limited to web scraping, artificial intelligence (AI) model training ingestion, data mining, harvesting, or structural data extraction without our express prior written consent.</strong></li>
    <li>To introduce any viruses, Trojan horses, worms, logic bombs, or other software material that is malicious or technologically harmful to our production servers, cloud systems, or network hosting ecosystem.</li>
  </ul>

  <h3>6. Disclaimer of Warranties and Limitation of Liability</h3>
  <p><strong>THE WEBSITE AND ALL CONTENT AND SERVICES AVAILABLE THROUGH THE WEBSITE ARE PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT WILL THE COMPANY, ITS AFFILIATES, OR THEIR LICENSORS, SERVICE PROVIDERS, EMPLOYEES, OR AGENTS BE LIABLE FOR DAMAGES OF ANY KIND, UNDER ANY LEGAL THEORY, ARISING OUT OF OR IN CONNECTION WITH YOUR USE, OR INABILITY TO USE, THE WEBSITE, ANY WEBSITES LINKED TO IT, OR ANY CONTENT ON THE WEBSITE.</strong></p>

  <h3>7. Dispute Resolution, Individual Arbitration, and Class Action Waiver</h3>
  <p><strong>PLEASE READ THIS SECTION CAREFULLY. IT AFFECTS YOUR LEGAL RIGHTS, INCLUDING YOUR RIGHT TO FILE A LAWSUIT IN COURT.</strong></p>

  <h4>7.1 Binding Arbitration</h4>
  <p>Any dispute, claim, or controversy arising out of or relating to these Terms, the Privacy Policy, your use of the Website, or your account registration, including the determination of the validity, scope, or applicability of this agreement to arbitrate, shall be determined by binding, individual arbitration before JAMS pursuant to its Comprehensive Arbitration Rules and Procedures. The seat and place of arbitration shall be Palm Beach County, Florida, or via remote electronic teleconference means upon mutual agreement of the parties. The arbitration shall be administered in accordance with the Federal Arbitration Act ("FAA").</p>

  <h4>7.2 Class Action Waiver</h4>
  <p><strong>TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, THE PARTIES AGREE THAT EACH MAY BRING CLAIMS AGAINST THE OTHER ONLY IN AN INDIVIDUAL CAPACITY AND NOT AS A PLAINTIFF OR CLASS MEMBER IN ANY PURPORTED CLASS, COLLECTIVE, REPRESENTATIVE, OR MULTI-PLAINTIFF PROCEEDING. THE ARBITRATOR MAY NOT CONSOLIDATE MORE THAN ONE PERSON'S CLAIMS WITH YOUR DISPUTE.</strong></p>

  <h4>7.3 Bellwether Provision for Mass Filings</h4>
  <p>If twenty-five (25) or more similar arbitration demands are asserted against Hollywood.com by the same counsel, or a coordinated group of counsel, within a ninety (90) day period (a "Mass Filing"), the parties agree that the claims shall proceed in a staged, coordinated manner designed to manage system administration fees and promote structural resolution efficiency.</p>
  <p>Ten (10) individual demands shall be selected randomly or by respective counsel to proceed first to final arbitration hearings (the "Bellwether Proceedings"). All remaining arbitration demands shall be completely stayed, paused, and held in abeyance. No arbitration filing fees, administrative infrastructure fees, or arbitrator compensation indices shall be assessed or due from Hollywood.com regarding the stayed demands until they are explicitly selected to proceed into subsequent staging cycles.</p>
  <p>Following the formal conclusion of the first ten Bellwether Proceedings, the parties shall participate in a mandatory, good-faith mediation session for a minimum duration of sixty (60) days to attempt a global compromise and settlement of all remaining underlying claims based on the adjudication patterns of the bellwether cases.</p>

  <h4>7.4 Right to Opt Out</h4>
  <p>You have the right to opt out of this binding arbitration provision and class action waiver within thirty (30) days of your initial account registration or first transactional use of the Website. To exercise this right, you must send an explicit written notification via email to <a href="mailto:legal@hollywood.com">legal@hollywood.com</a> with the exact subject line "Arbitration Opt-Out". The body of the email must clearly state your full legal name, your registered account email address, and an unequivocal statement of your intent to permanently opt out of binding individual arbitration.</p>

  <h4>7.5 Severability</h4>
  <p>If any portion, clause, or line item of this Section 7 is found by an arbitrator or court of competent jurisdiction to be unenforceable or unlawful for any reason, the specific unenforceable provision shall be severed from these Terms, and the remaining blocks and portions of this arbitration agreement shall remain in full force and effect.</p>

  <h3>8. Governing Law and Jurisdiction</h3>
  <p>All matters relating to the Website, these Terms, or any dispute arising therefrom shall be governed by and construed in accordance with the internal laws of the State of Florida, without giving effect to any choice or conflict of law provisions. For any claims legally severed from arbitration under these Terms, you and the Company explicitly consent to the personal and exclusive venue jurisdiction of the state and federal courts located in Palm Beach County, Florida.</p>

  <h3>9. Contact Information</h3>
  <p>To report technical performance issues, submit administrative inquiries, or provide formal legal notices regarding these Terms, please reach out directly via email to: <a href="mailto:legal@hollywood.com">legal@hollywood.com</a>.</p>
</template>

<template id="doc-dmca">
  <!-- Text copied word for word from Hollywood.com DMCA Policy (PDF, "Last updated: July 2026"), with two changes Scott asked for on Sept 30, 2026:
       agent name "David Silvers" replaced by "Copyright Agent", and the agent phone number added. -->
  <p class="doc-kicker">Copyright Notice</p>
  <h2 class="doc-title">Hollywood.com, LLC Digital Millennium Copyright Act (“DMCA”) Policy</h2>
  <p class="doc-date">Last updated: July 2026</p>

  <h3>Introduction</h3>
  <p>This policy implements the procedures set forth in 17 U.S.C. §512 and the Digital Millennium Copyright Act (“DMCA”) for the reporting of alleged copyright infringement. It is the policy of the Company to respect the legitimate rights of copyright owners, their agents, and representatives. Users of any part of the Company computing system are required to respect the legal protections provided by applicable copyright law.</p>

  <h3>Designated Agent</h3>
  <p>The Company’s Designated Agent to receive notification of alleged infringement under the DMCA is:</p>
  <p class="doc-address"><strong>Copyright Agent</strong><br>Hollywood.com LLC<br>4800 T-Rex Ave., Suite 220<br>Boca Raton, FL 33431<br>Phone: <a href="tel:+15619988000">(561) 998-8000</a><br>Email: <a href="mailto:Legal@hollywood.com">Legal@hollywood.com</a></p>
  <p><em>(This email address is only for copyright infringement claims — you will not receive a reply if the matter is not a copyright issue.)</em></p>
  <p>When we receive proper notification of claimed infringement, the Company will follow the procedures outlined herein and in the DMCA.</p>

  <h3>Complaint Notice Procedures for Copyright Owners</h3>
  <p>The following elements must be included in your copyright infringement complaint notice:</p>
  <ul>
    <li>An electronic or physical signature of the copyright owner or a person authorized to act on behalf of the owner of an exclusive right that is allegedly infringed.</li>
    <li>Identification of the copyrighted work or works claimed to have been infringed.</li>
    <li>Identification of the material that is claimed to be infringing or to be the subject of infringing activity and that is to be removed or access to which is to be disabled, and information reasonably sufficient to permit the Company to locate the material.</li>
    <li>Information reasonably sufficient to permit the Company to contact the complaining party, including an address, telephone number, and, if available, an email address at which the complaining party may be contacted.</li>
    <li>A statement that the complaining party has a good faith belief that use of the material in the manner complained of is not authorized by the copyright owner, its agent, or the law.</li>
    <li>A statement that the information in the notice is accurate, and under penalty of perjury, that the complaining party is authorized to act on behalf of the owner of an exclusive right that is allegedly infringed.</li>
  </ul>
  <p>If you do not include all of the above information, it may invalidate your notification or cause a delay of the processing of the DMCA notification.</p>
  <p>Please note that, under Section 512(f) of the Copyright Act, any person who knowingly materially misrepresents that material or activity is infringing may be subject to liability. Please also note that the information provided in your notification to us, including your name and contact information, may be forwarded to the person who provided the allegedly infringing content.</p>

  <h3>Notice and Takedown Procedure</h3>
  <p>It is expected that all users of any part of the Company system will comply with applicable copyright laws. Upon receipt of a notification of claimed infringement that substantially complies with the requirements of 17 U.S.C. §512(c)(3), the Company will respond expeditiously to remove, or disable access to, the material that is claimed to be infringing or to be the subject of infringing activity. The Company will take reasonable steps to promptly notify the user who provided the material that it has been removed or that access to it has been disabled.</p>

  <h3>Counter-Notification Procedure</h3>
  <p>If you believe that material you provided was removed or disabled by mistake or misidentification, you may submit a written counter-notification to the Designated Agent identified above. To be effective under 17 U.S.C. §512(g)(3), your counter-notification must include:</p>
  <ul>
    <li>Your physical or electronic signature.</li>
    <li>Identification of the material that has been removed or to which access has been disabled and the location at which the material appeared before it was removed or access to it was disabled.</li>
    <li>A statement under penalty of perjury that you have a good faith belief that the material was removed or disabled as a result of mistake or misidentification of the material to be removed or disabled.</li>
    <li>Your name, address, and telephone number, and a statement that you consent to the jurisdiction of the Federal District Court for the judicial district in which your address is located (or, if your address is outside of the United States, for any judicial district in which the Company may be found), and that you will accept service of process from the person who provided the original infringement notification or an agent of such person.</li>
  </ul>
  <p>Upon receipt of a valid counter-notification, the Company will promptly provide the person who submitted the original infringement notification with a copy of the counter-notification and inform that person that the Company will replace the removed material, or cease disabling access to it, in not less than 10, nor more than 14, business days following receipt of the counter-notification, unless the Company’s Designated Agent first receives notice from the person who submitted the original notification that such person has filed an action seeking a court order to restrain the user from engaging in infringing activity relating to the material on the Company’s system or network.</p>
  <p>Please note that under Section 512(f) of the Copyright Act, any person who knowingly materially misrepresents that material or activity was removed or disabled by mistake or misidentification may be subject to liability.</p>

  <h3>Repeat Infringers</h3>
  <p>It is the Company’s policy, in appropriate circumstances, to terminate the accounts, privileges, and authorizations of users who are repeat copyright infringers.</p>

  <h3>Accommodation of Standard Technical Measures</h3>
  <p>It is Company policy to accommodate, and not interfere with, standard technical measures, i.e., technical measures that are used by copyright owners to identify or protect copyrighted works and that meet the requirements of 17 U.S.C. §512(i)(2).</p>
</template>


<script>
/* ==========================================================================
   1) SETTINGS
   ========================================================================== */
const SETTINGS = {
  // Shown under the Combos and Markets headings. Set to "" to hide.
  mockPriceNote: "Sample markets for preview. Prices are illustrative, not live quotes, and not a recommendation to trade any contract.",
  // Shown right after mockPriceNote in bold, one size bigger. Set to "" to hide.
  mockPriceNoteBold: "Actual live quotes will be set forth in the private beta.",
  // Base link people share after signing up. DEV: real referral codes come from the backend.
  referralBase: "https://www.hollywood.com/?r=",
  // Trade counts show "0" pre-launch, so they are hidden. Flip to true after launch.
  showTradeCount: false,
  // Combos with more than 2 legs scroll like a teleprompter. Seconds for one leg to pass.
  tickerSecondsPerLeg: 9.5,
  // Combos placed in the hero or Combo Trades row also appear on the Markets board
  // under their category chips. true = also show them under "All".
  combosInAllChip: false,
  // How many cards the "All" chip shows before the "See more" button.
  allChipLimit: 8,
  // "Beta log in" in the top bar. Off until invited traders can log in.
  // To bring it back: set to true and put the login page in LINKS.login.
  showBetaLogin: false
};

/* --------------------------------------------------------------------------
   LINKS  — set each destination ONCE here; every matching link on the page
   (marked data-link="key" in the HTML) picks it up.
   url: full https:// link (or mailto: for email).  "" = not set yet.
   Links with url "" stay as placeholders: they go nowhere, show a dotted
   underline and a "Link not set yet" tooltip, and are listed in the console.
   newTab: open in a new tab (keeps the signup form open behind legal pages).
   doc: instead of a url, open a policy pop-up from DOCS (below). Used for Terms and Privacy.
   -------------------------------------------------------------------------- */
const LINKS = {
  //  key           used on                               destination
  terms:       { url:"", doc:"terms", newTab:false, label:"Terms" },  // signup form + footer -> pop-up
  privacy:     { url:"", doc:"privacy", newTab:false, label:"Privacy Policy" },  // signup form + footer -> pop-up
  risk:        { url:"#risk-disclosure", newTab:false, label:"Risk Disclosure" }, // footer + disclosures -> Risk Disclosure in Questions
  support:     { url:"mailto:support@hollywood.com", newTab:false, label:"Support" },             // FAQ + footer
  dmca:        { url:"", doc:"dmca", newTab:false, label:"DMCA Policy" },  // footer -> pop-up
  contact:     { url:"mailto:people@hollywood.com", newTab:false, label:"Contact" },             // footer
  login:       { url:"", newTab:false, label:"Beta log in" },         // top bar (invited traders only)
  streams:     { url:"https://www.hollywood.com/hollywoodstreams", newTab:true, label:"@hollywoodstreams" }, // top nav tab
  youtube:     { url:"https://www.youtube.com/@hollywoodstreams", newTab:true,  label:"YouTube" },             // footer icon
  instagram:   { url:"https://www.instagram.com/hollywood_com/?hl=en", newTab:true,  label:"Instagram" },           // footer icon
  x:           { url:"https://x.com/hollywood_com", newTab:true,  label:"X" },                   // footer icon
  facebook:    { url:"https://www.facebook.com/hollywoodcom", newTab:true,  label:"Facebook" }             // footer icon
};

/* --------------------------------------------------------------------------
   DOCS  — policies that open in a pop-up on this page (no outside page needed).
   template: id of the <template> holding the text (see POLICY TEXT in the HTML).
   hash: page address that opens it directly, e.g. hollywood.com/#privacy-policy
   pdf: optional "Download PDF" link. DEV: the PDF is built into this file for
        now; host it as a separate file for the live site and put its URL here.
   -------------------------------------------------------------------------- */
const DOCS = {
  privacy: { title:"Privacy Policy", template:"doc-privacy", hash:"privacy-policy",
             pdf:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/f36aa27e5471f070.pdf",
             pdfName:"Hollywood_Interim_Privacy_Policy_July_2026.pdf" },
  terms:   { title:"Terms of Use", template:"doc-terms", hash:"terms-of-use",
             /* PDF download removed Sept 30, 2026: Section 4 on the page no longer matches the PDF.
                Put pdf/pdfName back when legal sends an updated PDF. */
             pdf:"" },
  dmca:    { title:"DMCA Policy", template:"doc-dmca", hash:"dmca-policy",
             /* No PDF download: the page text (Copyright Agent, phone added) differs from the PDF supplied. */
             pdf:"" }
};

/* ==========================================================================
   2) CARD LIBRARY
   Every card the page can show. A card only appears if its id is in LAYOUT.
   Three card types, matching the live site:

   combo  -> multi-leg card with multiplier panel and TRADE COMBO button
     (any card) imageLink:"https://..." makes its image open that site in a new tab.
     { type:"combo", category, filters:[...], title, image, multiplier, combined,
       legsTotal, legs:[{q, yes}], closes }

   group  -> one question, several options (+N more markets)
     { type:"group", category, filters:[...], title, image,
       rows:[{label, sub, yes, avatar}], more, closes }

   single -> one YES/NO question, with chance ring and "$100 -> $X" payout lines
     { type:"single", category, filters:[...], title, image, yes, no, closes }
     (no chance circle, to match the other cards)
     (payout lines are worked out from the prices: $100 / price)

   trending: true  -> adds the "Trending" badge (any card type)

   image / avatar: leave "" to show a placeholder, or put an image URL.
   DEV: card images are currently built into this file (data:image/jpeg;base64,...)
        so the handoff is a single file. For the live site, save each one as its own
        .jpg (1200px wide), host it with the other site images, and replace the long
        data:... string with that file's URL. The page drops from ~6 MB to ~0.3 MB
        and images load on their own as people scroll.
   yes: a row's YES price in cents. Use null for markets without prices yet
        (the button then reads just "YES").
   note: optional short line on a group card (e.g. options carry over from Crypto.com).
   trailer: optional YouTube link (any normal YouTube URL). Adds a play button
            on the card image; clicking it plays the trailer inside the image box.
   filters: which chip on the Markets board shows this card
            (ids from FILTERS below: reality, movies, awards, music, games, pop).
            RULE: only combos can sit under more than one chip. Every other
            card gets ONE chip (if more are listed, only the first is used).
            Combos in the hero or Combo Trades row show on the board under
            these chips automatically (see SETTINGS.combosInAllChip).
   ========================================================================== */
const CARDS = {
  /* ---- Combos (from the live site screenshots) ---- */
  "gta-double": {
    type:"combo", category:"Awards", filters:["games","awards"],
    title:"The Game Awards | GTA VI Double", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/f2697400837ff3da.jpg",
    multiplier:"20.0x", combined:"5%", legsTotal:2,
    legs:[
      { q:"Will GTA 6 win Game of the Year?", yes:70 },
      { q:"Will GTA 6 win the Players' Voice Award?", yes:7 }
    ],
    closes:"Dec 11 @ 11:59 PM"
  },
  "odyssey-sweep": {
    type:"combo", category:"Awards", filters:["movies","awards"],
    title:"Oscars 2027 | Odyssey Sweep", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/d41822b2b2ae9280.jpg",
    multiplier:"12.5x", combined:"8%", legsTotal:3,
    legs:[
      { q:"Will The Odyssey win Best Picture?", yes:88 },
      { q:"Will Matt Damon win Best Actor for The Odyssey?", yes:50 },
      { q:"Will Anne Hathaway win Best Supporting Actress for The Odyssey?", yes:19 }
    ],
    closes:"Dec 31 @ 11:59 PM"
  },
  "rosalia-double": {
    type:"combo", category:"Awards", filters:["music","awards"],
    title:"27th Latin Grammy Awards | Rosalía Double", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/bdf60eae0738eab6.jpg",
    multiplier:"100.0x", combined:"1%", legsTotal:2,
    legs:[
      { q:"Will Rosalía win Song of the Year for La Perla?", yes:54 },
      { q:"Will Rosalía win Album of the Year for LUX?", yes:2 }
    ],
    closes:"Dec 31 @ 11:59 PM"
  },
  "maura-run": {
    type:"combo", category:"TV", filters:["reality"],
    title:"Dancing With the Stars S35 | The Maura Higgins Run", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/fe0e9eb056cbac70.jpg",
    multiplier:"1.3x", combined:"76%", legsTotal:2,
    legs:[
      { q:"Will Maura Higgins earn a perfect score at any point in Season 35?", yes:77 },
      { q:"Will Maura Higgins win the Mirrorball Trophy?", yes:99 }
    ],
    closes:"Nov 24 @ 8:00 PM"
  },
  "dwts-triple": {
    type:"combo", category:"TV", filters:["reality"],
    title:"DWTS 35 | Triple Threat", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/b351ab718e5a1a81.jpg",
    multiplier:"2.3x", combined:"44%", legsTotal:3,
    legs:[
      { q:"Will Maura Higgins finish in the top 3 on Dancing with the Stars season 35?", yes:81 },
      { q:"Will Jenna Dewan make the finale on Dancing with the Stars season 35?", yes:72 },
      { q:"Will Harry Shum Jr. earn a perfect score from the judges on season 35 of Dancing with the Stars?", yes:76 }
    ],
    closes:"Nov 17 @ 8:00 PM"
  },

  /* ---- Group markets (from the live site screenshots) ---- */
  "grammys-country": {
    type:"group", category:"Grammys", filters:["awards"],
    title:"69th Grammy Awards | Best Country Album Winner", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/9f2f99aa75f364c8.jpg",
    rows:[
      { label:"Kacey Musgraves", sub:"Middle of Nowhere", yes:87, avatar:"" },
      { label:"Any Other Album", sub:"Best Country Album", yes:86, avatar:"" }
    ],
    more:4, closes:"Feb 7 @ 8:00 PM"
  },
  "hot100-2026": {
    type:"group", category:"Billboard Charts", filters:["music"],
    title:"Billboard Hot 100 | #1 Song in 2026", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/994478f0a18ba7da.jpg",
    rows:[
      { label:"Kendrick Lamar", sub:"", yes:95, avatar:"" },
      { label:"Katseye", sub:"", yes:91, avatar:"" }
    ],
    more:24, closes:"Dec 22 @ 11:59 PM"
  },
  "bb200-2026": {
    type:"group", category:"Billboard Charts", filters:["music"],
    title:"Billboard 200 | #1 Album in 2026", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/8aac5b09a1fb13f3.jpg",
    rows:[
      { label:"Megan Thee Stallion", sub:"", yes:95, avatar:"" },
      { label:"Nicki Minaj", sub:"", yes:90, avatar:"" }
    ],
    more:23, closes:"Dec 22 @ 11:59 PM"
  },
  "spotify-top-artist": {
    type:"group", category:"Streaming", filters:["music"],
    title:"Spotify | Top Artist 2026", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/e85928059688be3d.jpg",
    rows:[
      { label:"SZA", sub:"", yes:98, avatar:"" },
      { label:"Bruno Mars", sub:"", yes:96, avatar:"" }
    ],
    more:15, closes:"Jan 31 @ 11:59 PM"
  },
  "dwts-mirrorball": {
    type:"group", category:"Reality TV", filters:["reality"],
    title:"DWTS 35 | Mirrorball Winner", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/5e395c519e9122e8.jpg",
    rows:[
      { label:"Amber Glenn", sub:"", yes:82, avatar:"" },
      { label:"Tatyana Ali", sub:"", yes:82, avatar:"" }
    ],
    more:11, closes:"Nov 24 @ 8:00 PM"
  },
  "dwts-third": {
    type:"group", category:"Reality TV", filters:["reality"],
    title:"DWTS 35 | 3rd Place", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/d04ab62712ad3434.jpg",
    rows:[
      { label:"Ezra Frech", sub:"", yes:96, avatar:"" },
      { label:"Tyler Cameron", sub:"", yes:90, avatar:"" }
    ],
    more:12, closes:"Nov 24 @ 8:00 PM"
  },
  "dwts-perfect-score": {
    type:"group", category:"Reality TV", filters:["reality"],
    title:"DWTS 35 | Perfect Score", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/10f81f59f270f2fe.jpg",
    rows:[
      { label:"Maura Higgins", sub:"", yes:92, avatar:"" },
      { label:"Connor Wood", sub:"", yes:84, avatar:"" }
    ],
    more:11, closes:"Nov 24 @ 8:00 PM"
  },
  "dwts-elim-mariah": {
    type:"group", category:"Reality TV", filters:["reality"],
    title:"DWTS 35 | Elimination - Mariah Carey Night (Oct 6)", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/5af427786ddfcd79.jpg",
    rows:[
      { label:"Tatyana Ali", sub:"", yes:98, avatar:"" },
      { label:"Tyler Cameron", sub:"", yes:70, avatar:"" }
    ],
    more:11, closes:"Oct 6 @ 8:00 PM"
  },
  "dwts-top3": {
    type:"group", category:"Reality TV", filters:["reality"],
    title:"DWTS 35 | Top 3 Finishers", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/b10dc8031f2b22ad.jpg",
    rows:[
      { label:"Julia Stiles", sub:"", yes:92, avatar:"" },
      { label:"Guillermo Rodriguez", sub:"", yes:85, avatar:"" }
    ],
    more:11, closes:"Nov 24 @ 8:00 PM"
  },
  "dwts-make-finale": {
    type:"group", category:"Reality TV", filters:["reality"],
    title:"DWTS 35 | Make the Finale", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/8a5395f9fc73f8c9.jpg",
    rows:[
      { label:"Harry Shum Jr.", sub:"", yes:77, avatar:"" },
      { label:"Jackson Olson", sub:"", yes:75, avatar:"" }
    ],
    more:11, closes:"Nov 17 @ 8:00 PM"
  },
  "digger-rt": {
    type:"group", category:"Rotten Tomatoes", filters:["movies"],
    title:"Digger | Rotten Tomatoes Score", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/2d10ea2e9b497fd9.jpg", trailer:"https://www.youtube.com/watch?v=job8V254NAE",
    rows:[
      { label:"Above 65", sub:"", yes:97, avatar:"" },
      { label:"Above 75", sub:"", yes:65, avatar:"" }
    ],
    more:8, closes:"Oct 5 @ 12:00 PM"
  },
  "dune3-rt": {
    type:"group", category:"Rotten Tomatoes", filters:["movies"],
    title:"Dune: Part Three | Rotten Tomatoes Score", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/8acd792a85a8e176.jpg", trailer:"https://www.youtube.com/watch?v=NdvqHc56lE0",
    rows:[
      { label:"Above 95", sub:"", yes:91, avatar:"" },
      { label:"Above 65", sub:"", yes:89, avatar:"" }
    ],
    more:6, closes:"Dec 21 @ 12:00 PM"
  },
  "clayface-rt": {
    type:"group", category:"Rotten Tomatoes", filters:["movies"],
    title:"Clayface | Rotten Tomatoes Score", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/b7a358e32a2f48e2.jpg", trailer:"https://www.youtube.com/watch?v=OGO4Mqvo3jI&t=1s",
    rows:[
      { label:"Above 45", sub:"", yes:90, avatar:"" },
      { label:"Above 75", sub:"", yes:89, avatar:"" }
    ],
    more:8, closes:"Oct 26 @ 12:00 PM"
  },
  "oscars-best-picture": {
    type:"group", category:"Oscars", filters:["awards"],
    title:"Oscars 2027 | Best Picture Winner", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/4e495cf9595e9fb2.jpg",
    rows:[
      { label:"The Odyssey", sub:"", yes:88, avatar:"" },
      { label:"The Debut", sub:"", yes:82, avatar:"" }
    ],
    more:8, closes:"Dec 31 @ 11:59 PM"
  },
  "oscars-best-director": {
    type:"group", category:"Oscars", filters:["awards"],
    title:"Oscars 2027 | Best Director Winner", image:"",
    rows:[
      { label:"Martin McDonagh", sub:"Wild Horse Nine", yes:82, avatar:"" },
      { label:"Phil Lord and Chris Miller", sub:"Project Hail Mary", yes:70, avatar:"" }
    ],
    more:7, closes:"Dec 31 @ 11:59 PM"
  },
  "latin-grammys-bna": {
    type:"group", category:"Latin Grammys", filters:["awards"],
    title:"27th Latin Grammy Awards | Best New Artist Winner", image:"",
    rows:[
      { label:"Santos Bravos", sub:"", yes:32, avatar:"" }
    ],
    more:0, closes:"Dec 31 @ 11:59 PM"
  },
  "time-poy": {
    type:"group", category:"Pop Culture", filters:["pop"],
    title:"TIME | Person of the Year 2026", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/4838e3ebb31c0b3e.jpg",
    rows:[
      { label:"Donald Trump", sub:"", yes:86, avatar:"" },
      { label:"Dario Amodei", sub:"", yes:86, avatar:"" }
    ],
    more:8, closes:"Jan 31 @ 11:59 PM"
  },
  "oscars-best-actor": {
    type:"group", category:"Oscars", filters:["awards"],
    title:"Oscars 2027 | Best Actor Winner", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/568993076ef21a78.jpg",
    rows:[
      { label:"John Malkovich", sub:"Wild Horse Nine", yes:37, avatar:"" },
      { label:"Matt Damon", sub:"The Odyssey", yes:26, avatar:"" }
    ],
    more:22, closes:"Mar 14 @ ceremony start"
  },
  "bond-actor": {
    type:"group", category:"James Bond", filters:["movies"],
    title:"Next James Bond Film | Actor Cast as James Bond", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/df84bcc9b9e14275.jpg",
    rows:[
      { label:"Jack Lowden", sub:"", yes:46, avatar:"" },
      { label:"Callum Turner", sub:"", yes:37, avatar:"" }
    ],
    more:28, closes:"At announcement"
  },
  "google-top-person": {
    type:"group", category:"Google Search", filters:["pop"],
    title:"#1 Searched Person on Google | 2026", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/4927b1969c2d3d9e.jpg",
    rows:[
      { label:"Erling Haaland", sub:"", yes:23, avatar:"" },
      { label:"Bad Bunny", sub:"", yes:14, avatar:"" }
    ],
    more:15, closes:"Dec 31 @ 10:00 AM"
  },
  "google-top5-people": {
    type:"group", category:"Google Search", filters:["pop"],
    title:"Top 5 Most Searched People on Google | 2026", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/3c30f03eaaad05a2.jpg",
    rows:[
      { label:"Erling Haaland", sub:"", yes:53, avatar:"" },
      { label:"Bad Bunny", sub:"", yes:45, avatar:"" }
    ],
    more:18, closes:"Dec 31 @ 10:00 AM"
  },
  "new-album-2026": {
    type:"group", category:"Album Releases", filters:["music"],
    title:"New Album Release | 2026", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/e48f4acf5017f283.jpg",
    rows:[
      { label:"Ice Spice", sub:"", yes:59, avatar:"" },
      { label:"John Mayer", sub:"", yes:48, avatar:"" }
    ],
    more:51, closes:"Dec 31 @ 10:00 AM"
  },
  "sense-rt": {
    type:"group", category:"Rotten Tomatoes", filters:["movies"],
    title:"Sense and Sensibility | Rotten Tomatoes Score", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/3e8a2968a8230d7c.jpg", trailer:"https://www.youtube.com/watch?v=mcrwcvad84U",
    rows:[
      { label:"Above 70", sub:"", yes:84, avatar:"" },
      { label:"Above 75", sub:"", yes:56, avatar:"" }
    ],
    more:8, closes:"Oct 19 @ 12:00 PM"
  },
  "ycse-rt": {
    type:"group", category:"Rotten Tomatoes", filters:["movies"],
    title:"You Can See Everything | Rotten Tomatoes Score", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/8d80a36d0f89b341.jpg", trailer:"https://www.youtube.com/watch?v=HvW_N5p1q44",
    rows:[
      { label:"Above 92", sub:"", yes:76, avatar:"" },
      { label:"Above 94", sub:"", yes:58, avatar:"" }
    ],
    more:11, closes:"Oct 19 @ 12:00 PM"
  },
  "wildwood-rt": {
    type:"group", category:"Rotten Tomatoes", filters:["movies"],
    title:"Wildwood | Rotten Tomatoes Score", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/2f527b8001234de4.jpg", trailer:"https://www.youtube.com/watch?v=W8q_hYcu-fQ",
    rows:[
      { label:"Above 80", sub:"", yes:91, avatar:"" },
      { label:"Above 85", sub:"", yes:83, avatar:"" }
    ],
    more:8, closes:"Oct 26 @ 12:00 PM"
  },
  "spotify-top-song": {
    type:"group", category:"Streaming", filters:["music"],
    title:"Top Song on Spotify 2026", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/15cc45efdd6f9d46.jpg",
    rows:[
      { label:"End of Beginning", sub:"Djo", yes:84, avatar:"" },
      { label:"Babydoll", sub:"Dominic Fike", yes:12, avatar:"" }
    ],
    more:22, closes:"Dec 31 @ 11:59 PM"
  },
  "tga-goty": {
    type:"group", category:"The Game Awards", filters:["games"],
    title:"The Game Awards 2026 | Game of the Year Winner", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/b5a061b3fa2e26a9.jpg", imageLink:"https://thegameawards.com/",
    rows:[
      { label:"Grand Theft Auto VI", sub:"", yes:66, avatar:"" },
      { label:"Resident Evil Requiem", sub:"", yes:17, avatar:"" }
    ],
    more:18, closes:"Dec 11 @ 11:59 PM"
  },
  "mj-broadway-gross": {
    type:"single", category:"Broadway", filters:["broadway"], sub:"MJ the Musical",
    title:"Will MJ cross $400 million in cumulative Broadway gross by March 31, 2027?", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/0d7c5258b873cf14.jpg",
    yes:50, no:50,
    closes:"Mar 31 @ 11:59 PM"
  },
  "cma-music-video": {
    type:"group", category:"CMA Awards", filters:["awards"],
    title:"60th CMA Awards | Music Video of the Year Winner", image:"",
    rows:[
      { label:"Ella Langley", sub:"Choosin' Texas", yes:88, avatar:"" },
      { label:"Cody Johnson", sub:"The Fall", yes:87, avatar:"" }
    ],
    more:3, closes:"Nov 18 @ 8:00 PM"
  },
  "gta-metacritic": {
    type:"group", category:"AAA Titles", filters:["games"],
    title:"GTA VI | Metacritic Score (PS5)", image:"",
    rows:[
      { label:"Above 95", sub:"", yes:94, avatar:"" },
      { label:"Above 90", sub:"", yes:82, avatar:"" }
    ],
    more:8, closes:"Nov 23 @ 12:00 PM"
  },
  "tombraider-metacritic": {
    type:"group", category:"AAA Titles", filters:["games"],
    title:"Tomb Raider: Legacy of Atlantis | Metacritic Score (PS5)", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/06e71b9759e5b4e4.jpg",
    rows:[
      { label:"Above 75", sub:"", yes:89, avatar:"" },
      { label:"Above 70", sub:"", yes:78, avatar:"" }
    ],
    more:8, closes:"Feb 15 @ 12:00 PM"
  },
  "fable-metacritic": {
    type:"group", category:"AAA Titles", filters:["games"],
    title:"Fable | Metacritic Score (XBOX)", image:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/643e538d36c555f0.jpg",
    rows:[
      { label:"Above 80", sub:"", yes:96, avatar:"" },
      { label:"Above 88", sub:"", yes:94, avatar:"" }
    ],
    more:8, closes:"Mar 1 @ 12:00 PM"
  }
};

/* ==========================================================================
   3) LAYOUT  <- move cards here
   hero:   one combo card id (the big card in the hero)
   combos: the Combos row (4 fills one row on desktop; 8 fills two)
   board:  the Markets board (any card type, any order)
   Cards in CARDS that are not listed here are simply not shown.
   ========================================================================== */
const LAYOUT = {
  hero:   "gta-double",
  combos: ["odyssey-sweep", "rosalia-double", "maura-run", "dwts-triple"],
  board:  [/* first 8 = what "All" shows before "See more" */
           "dwts-mirrorball", "dune3-rt", "hot100-2026", "dwts-top3",
           "clayface-rt", "grammys-country", "tombraider-metacritic", "bb200-2026",
           /* after "See more" */
           "dwts-perfect-score", "digger-rt", "fable-metacritic", "spotify-top-artist",
           "dwts-make-finale", "dwts-elim-mariah", "dwts-third", "oscars-best-picture",
           "time-poy", "oscars-best-actor", "sense-rt", "bond-actor",
           "google-top-person", "new-album-2026", "ycse-rt", "tga-goty",
           "google-top5-people", "wildwood-rt", "spotify-top-song",
           "mj-broadway-gross"]
};

/* Filter chips on the Markets board */
const FILTERS = [
  { id:"all",     label:"All" },
  { id:"reality", label:"Reality TV" },
  { id:"movies",  label:"Movies" },
  { id:"awards",  label:"Awards" },
  { id:"music",   label:"Music" },
  { id:"games",   label:"Video Games" },
  { id:"broadway",label:"Broadway" },
  { id:"pop",     label:"Pop Culture" }
];

/* Categories people can pick in the signup form (sent as "interests") */
const INTERESTS = ["Reality TV","Awards","Music","Video Games","Movies","Broadway","Pop Culture"];

/* ==========================================================================
   4) VIDEOS  — url: YouTube/Vimeo embed URL or an .mp4. poster: image URL.
   Leave url "" and the player shows a "video goes here" note.
   ========================================================================== */
const VIDEOS = {
  granny:  { title:"Granny Hollywood", caption:"All entertainment. No war. No politics.", url:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/granny-hollywood.mp4", poster:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/399dd2b74d9050ce.jpg", note:"Granny Hollywood is an AI-generated character, not a real person." },
  khaled:  { title:"DJ Khaled",        caption:"Our brand ambassador (paid endorsement)", url:"https://www.youtube.com/watch?v=yJ6CIe-e_fQ", poster:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/youtube-yJ6CIe-e_fQ.jpg" },
  trailer: { title:"The 1999 trailer", caption:"Where we started, 1999", url:"https://m.youtube.com/watch?v=DPaQnYnMjXc", poster:"https://www.hollywood.com/wp-content/plugins/hw-waitlist/assets/private-beta/media/youtube-DPaQnYnMjXc.jpg" }
};
const VIDEO_LAYOUT = { feature:"granny", thumbs:["khaled","trailer"] };

/* ==========================================================================
   5) BACKEND HOOKS  — DEV: replace these with real calls.
   ========================================================================== */
const HWD_BACKEND = (() => {
  const restBase = "https://www.hollywood.com/wp-json/hw-waitlist/v1";
  const codePattern = /^[A-Z0-9]{4,32}$/;
  const readCookie = name => document.cookie.split(";").map(v => v.trim()).find(v => v.startsWith(name + "="))?.slice(name.length + 1) || "";
  const writeCookie = (name, value) => { document.cookie = name + "=" + encodeURIComponent(value) + "; path=/; max-age=15552000; SameSite=Lax"; };
  const normalizeCode = value => {
    const code = String(value || "").toUpperCase().replace(/[^A-Z0-9]/g, "");
    return codePattern.test(code) ? code : "";
  };
  const sendEvent = (type, detail) => {
    const body = JSON.stringify({ type, detail });
    window.dispatchEvent(new CustomEvent("hw:private-beta-event", { detail: { type, ...detail } }));
    fetch(restBase + "/event", {
      method: "POST",
      credentials: "same-origin",
      keepalive: true,
      headers: { "Content-Type": "application/json" },
      body
    }).catch(() => {});
  };
  return {
    async onSignup(data) {
      const ref = normalizeCode(data.ref || readCookie("hw_ref"));
      if (ref) writeCookie("hw_ref", ref);
      const response = await fetch(restBase + "/claim", {
        method: "POST",
        credentials: "same-origin",
        headers: { "Content-Type": "application/json" },
        body: JSON.stringify({ email: data.email, ref: ref || null })
      });
      let payload = {};
      try { payload = await response.json(); } catch (_) {}
      if (!response.ok || !payload.ok || !normalizeCode(payload.ref_code)) {
        throw new Error(payload.message || "Unable to save waitlist signup.");
      }
      const refCode = normalizeCode(payload.ref_code);
      writeCookie("hw_self", refCode);
      sendEvent("signup_context", {
        name: data.name,
        email: data.email,
        state: data.state,
        interests: data.interests,
        source_card: data.source_card,
        ref: ref || null,
        ref_code: refCode
      });
      return { refCode, position: payload.position, referralCount: payload.referral_count, tier: payload.tier };
    },
    onInterest(cardId, on) { sendEvent("interest", { card_id: cardId, on: !!on }); },
    onTrailerPlay(cardId) { sendEvent("trailer_play", { card_id: cardId }); },
    onVideoPlay(videoKey) { sendEvent("video_play", { video_key: videoKey }); }
  };
})();
window.HWD = Object.assign({ CARDS, LAYOUT, render: null }, HWD_BACKEND);

/* ==========================================================================
   Rendering (no need to edit below for content changes)
   ========================================================================== */
const esc = s => String(s ?? "").replace(/[&<>"']/g, c => ({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}[c]));
const cents = n => `${n}¢`;
const initials = s => String(s).replace(/[^A-Za-z0-9 ]/g,"").split(/\s+/).filter(Boolean).slice(0,2).map(w=>w[0]).join("").toUpperCase();
const avatarText = s => (/\d/.test(s) ? String(s).replace(/\D/g,"").slice(0,3) : initials(s));
/* Pull the video id out of any normal YouTube link */
const ytId = u => { const m = String(u || "").match(/(?:youtu\.be\/|[?&]v=|\/embed\/|\/shorts\/|\/live\/)([A-Za-z0-9_-]{11})/); return m ? m[1] : null; };
const yesLabel = v => (v === null || v === undefined || v === "") ? "YES" : `YES ${cents(v)}`;
const trendTag = c => c.trending ? `<span class="tag trend-tag"><svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" aria-hidden="true"><path d="m3 17 6-6 4 4 8-8M15 7h6v6"/></svg>Trending</span>` : "";
const phClass = c => "ph-" + ((c.filters && c.filters[0]) || "default");

const ICONS = {
  legs:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg>',
  clock:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>',
  swap:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 7h13l-3-3M17 17H4l3 3"/></svg>',
  heart:'<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 20s-7-4.4-9.2-8.6C1.2 8.3 3 5 6.3 5c2 0 3.2 1.1 3.7 2 .5-.9 1.7-2 3.7-2C17 5 18.8 8.3 17.2 11.4 15 15.6 12 20 12 20z" transform="translate(2 0)"/></svg>',
  arrow:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4"><path d="M7 17 17 7M9 7h8v8"/></svg>'
};

function media(c, id, withOverlay){
  const img = c.image
    ? `<img src="${esc(c.image)}" alt="${esc(c.imageAlt || c.title)}" loading="lazy">`
    : `<div class="ph ${phClass(c)}" aria-hidden="true">${withOverlay ? "" : esc(c.category)}<small>IMAGE SLOT</small></div>`;
  /* imageLink: makes the card image a link to an outside site (opens in a new tab) */
  const pic = (c.image && c.imageLink)
    ? `<a class="media-link" href="${esc(c.imageLink)}" target="_blank" rel="noopener" aria-label="${esc(c.title)} (opens ${esc(c.imageLink.replace(/^https?:\/\/(www\.)?/,"").replace(/\/$/,""))} in a new tab)">${img}</a>`
    : img;
  let over = "";
  if (c.trailer && ytId(c.trailer)){
    over += `<button class="play-trailer${withOverlay ? " up" : ""}" type="button" data-trailer="${esc(id)}" aria-label="Play trailer: ${esc(c.title)}"><svg width="26" height="26" viewBox="0 0 24 24" fill="#111" aria-hidden="true"><path d="M8 5v14l11-7z"/></svg></button>`;
  }
  if (withOverlay){
    over += `<span class="tag media-tag">${esc(c.category)}</span>
      <span class="legs-tag">${ICONS.legs}${c.legsTotal || c.legs.length} LEGS</span>
      <div class="odds-panel">
        <span class="mult" data-mult="${esc(c.multiplier)}">${esc(c.multiplier)}</span>
        <span class="odds-split"></span>
        <span class="comb"><b>${esc(c.combined)}</b><span>Combined</span></span>
      </div>`;
  }
  return `<div class="card-media">${pic}${over}</div>`;
}

function foot(c, id){
  const count = SETTINGS.showTradeCount ? `<span>${ICONS.swap} ${esc(c.trades ?? 0)}</span>` : `<span></span>`;
  return `<div class="card-foot">${count}
    ${c.closes ? `<span class="closes">${ICONS.clock}${esc(c.closes)}</span>` : `<span></span>`}
    <button class="heart" type="button" aria-pressed="false" data-heart="${esc(id)}" aria-label="I'd trade this: ${esc(c.title)}">${ICONS.heart}<span class="lbl">I'd trade this</span></button>
  </div>`;
}

/* Legs: 1-2 legs sit still. 3+ legs scroll like a teleprompter (as on the live site). */
function legRow(l, id, cls, dup){
  const t = dup ? ' tabindex="-1"' : "";
  return `<div class="row${cls}"><span class="row-q"><span class="t">${esc(l.q)}</span></span><button class="yes" type="button" data-join-card="${esc(id)}"${t} title="Invitation required to trade">${yesLabel(l.yes)}</button></div>`;
}
function legsBlock(c, id, legCls){
  if (c.legs.length <= 2) return c.legs.map(l => legRow(l, id, legCls)).join("");
  const dur = (c.legs.length * SETTINGS.tickerSecondsPerLeg).toFixed(1);
  return `<div class="ticker" role="group" aria-label="Combo legs">
      <div class="ticker-track" style="animation-duration:${dur}s">
        <div class="ticker-set">${c.legs.map(l => legRow(l, id, "")).join("")}</div>
        <div class="ticker-set dup" aria-hidden="true">${c.legs.map(l => legRow(l, id, "", true)).join("")}</div>
      </div>
    </div>
    <div class="ticker-hint" aria-hidden="true"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="m6 6 6 6 6-6M6 13l6 6 6-6"/></svg></div>`;
}

function renderCard(id, opts = {}){
  const c = CARDS[id];
  if (!c) { console.warn("[HWD] No card with id:", id); return ""; }
  const hero = !!opts.hero;
  const legCls = hero ? " leg-in" : "";
  let body = "";

  if (c.type === "combo"){
    const hidden = (c.legsTotal || c.legs.length) - c.legs.length;
    body = `${media(c, id, true)}
      <div class="card-body">
        <h3 class="card-title">${esc(c.title)}</h3>
        <button class="trade-combo" type="button" data-join-card="${esc(id)}" title="Invitation required to trade">Request to trade</button>
        <p class="combo-risk">Pays only if every leg is right. One miss and the combo pays $0.</p>
        ${legsBlock(c, id, legCls)}
        ${hidden > 0 ? `<div class="more-legs">+${hidden} more leg${hidden>1?"s":""}</div>` : ""}
        ${foot(c, id)}
      </div>`;
  } else if (c.type === "group"){
    body = `${media(c, id, false)}
      <div class="card-body">
        <span class="tag">${esc(c.category)}</span>
        <h3 class="card-title">${esc(c.title)}</h3>
        ${c.rows.map(r => `<div class="row">
            <span class="avatar" aria-hidden="true">${r.avatar ? `<img src="${esc(r.avatar)}" alt="">` : esc(avatarText(r.label))}</span>
            <span class="row-q"><span class="t">${esc(r.label)}</span>${r.sub ? `<small>${esc(r.sub)}</small>` : ""}</span>
            <button class="yes" type="button" data-join-card="${esc(id)}" title="Invitation required to trade">${yesLabel(r.yes)}</button>
          </div>`).join("")}
        ${c.note ? `<p class="card-note">${esc(c.note)}</p>` : ""}
        ${c.more ? `<a class="more" href="#join" data-join-card="${esc(id)}">+${c.more} more markets ${ICONS.arrow}</a>` : ""}
        ${foot(c, id)}
      </div>`;
  } else { /* single: one YES/NO question, matches the live site */
    const priced = v => !(v === null || v === undefined || v === "");
    const pct = Math.max(0, Math.min(100, Number(c.yes) || 0));
    const pay = p => p > 0 ? "$" + Math.round(100 / (p / 100)) : "";   /* what $100 turns into */
    body = `${media(c, id, false)}
      <div class="card-body single">
        <div class="tag-row"><span class="tag">${esc(c.category)}</span>${trendTag(c)}</div>
        ${c.sub ? `<p class="card-sub">${esc(c.sub)}</p>` : ""}
        <div class="q-row">
          <h3 class="card-title">${esc(c.title)}</h3>
        </div>
        <div class="yn">
          <div><button class="yes" type="button" data-join-card="${esc(id)}"><span>YES</span>${priced(c.yes) ? `<span>${cents(c.yes)}</span>` : ""}</button>
            ${priced(c.yes) ? `<p class="payout">$100 <span aria-hidden="true">→</span><span class="sr-only">becomes</span> <b>${pay(c.yes)}</b></p>` : ""}</div>
          <div><button class="no" type="button" data-join-card="${esc(id)}"><span>NO</span>${priced(c.no) ? `<span>${cents(c.no)}</span>` : ""}</button>
            ${priced(c.no) ? `<p class="payout">$100 <span aria-hidden="true">→</span><span class="sr-only">becomes</span> <b>${pay(c.no)}</b></p>` : ""}</div>
        </div>
        ${foot(c, id)}
      </div>`;
  }
  const own = c.type === "combo" ? (c.filters || []) : (c.filters || []).slice(0, 1);
  const filters = ["all"].concat(own).join(" ");
  const bc = opts.boardCombo ? " board-combo" : "";
  const hide = opts.boardCombo && !SETTINGS.combosInAllChip ? " hidden" : "";
  return `<article class="card${hero ? " is-hero" : ""}${bc}" data-card="${esc(id)}" data-filters="${esc(filters)}"${hide}>${body}</article>`;
}

function render(){
  document.getElementById("slot-hero").innerHTML = renderCard(LAYOUT.hero, { hero:true });
  document.getElementById("slot-combos").innerHTML = LAYOUT.combos.map(id => renderCard(id)).join("");
  const boardCombos = [...new Set([LAYOUT.hero, ...LAYOUT.combos])].filter(id => CARDS[id] && CARDS[id].type === "combo");
  document.getElementById("slot-board").innerHTML = boardCombos.map(id => renderCard(id, { boardCombo:true })).join("")
    + LAYOUT.board.map(id => renderCard(id)).join("")
    + `<p class="empty" hidden>No markets in this category yet. Check back soon.</p>`;
  document.querySelectorAll("[data-mock-note]").forEach(el => {
    el.textContent = SETTINGS.mockPriceNote;
    if (SETTINGS.mockPriceNoteBold){ const b = document.createElement("strong"); b.className = "mock-note-em"; b.textContent = SETTINGS.mockPriceNoteBold; el.append(" ", b); }
    el.hidden = !SETTINGS.mockPriceNote && !SETTINGS.mockPriceNoteBold;
  });
  animateHero();
  if (document.getElementById("chips").children.length) applyFilter();
}
window.HWD.render = render;

/* One page-load moment: legs land, then the multiplier counts up */
function animateHero(){
  const card = document.querySelector(".card.is-hero");
  if (!card) return;
  const legs = card.querySelectorAll(".leg-in");
  const m = card.querySelector(".mult");
  const reduce = matchMedia("(prefers-reduced-motion: reduce)").matches;
  if (reduce){ legs.forEach(l => l.classList.add("on")); return; }
  legs.forEach((l, i) => setTimeout(() => l.classList.add("on"), 350 + i * 320));
  const target = parseFloat(m.dataset.mult);
  if (!isFinite(target)) return;
  const decimals = (m.dataset.mult.split(".")[1] || "").replace(/[^0-9]/g,"").length;
  const start = performance.now() + 350 + legs.length * 320, dur = 900;
  m.textContent = (1).toFixed(decimals) + "x";
  (function tick(now){
    const t = Math.min(1, Math.max(0, (now - start) / dur));
    const e = 1 - Math.pow(1 - t, 3);
    m.textContent = (1 + (target - 1) * e).toFixed(decimals) + "x";
    if (t < 1) requestAnimationFrame(tick); else m.textContent = m.dataset.mult;
  })(performance.now());
}

/* Filter chips */
let boardFilter = "all", boardExpanded = false;
function applyFilter(){
  const f = boardFilter;
  const matches = [...document.querySelectorAll("#slot-board .card")].filter(card =>
    card.dataset.filters.split(" ").includes(f)
    && !(f === "all" && card.classList.contains("board-combo") && !SETTINGS.combosInAllChip));
  const limit = (f === "all" && !boardExpanded) ? SETTINGS.allChipLimit : Infinity;
  document.querySelectorAll("#slot-board .card").forEach(card => card.hidden = true);
  matches.forEach((card, i) => card.hidden = i >= limit);
  document.querySelector("#slot-board .empty").hidden = matches.length > 0;
  const more = document.getElementById("boardMore");
  more.hidden = !(f === "all" && matches.length > SETTINGS.allChipLimit);
  more.textContent = boardExpanded ? "See less" : "See more";
  more.setAttribute("aria-expanded", boardExpanded);
}
function renderChips(){
  const wrap = document.getElementById("chips");
  wrap.innerHTML = FILTERS.map((f,i) => `<button class="chip" type="button" aria-pressed="${i===0}" data-filter="${esc(f.id)}">${esc(f.label)}</button>`).join("");
  wrap.addEventListener("click", e => {
    const b = e.target.closest("[data-filter]"); if (!b) return;
    wrap.querySelectorAll(".chip").forEach(x => x.setAttribute("aria-pressed", x === b));
    boardFilter = b.dataset.filter; boardExpanded = false;
    applyFilter();
  });
  document.getElementById("boardMore").addEventListener("click", () => {
    const wasOpen = boardExpanded;
    boardExpanded = !boardExpanded;
    applyFilter();
    if (wasOpen) document.getElementById("markets").scrollIntoView({ behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth" });
    else { const first = document.querySelectorAll("#slot-board .card:not([hidden])")[SETTINGS.allChipLimit]; if (first) first.querySelector("button, a")?.focus({ preventScroll:true }); }
  });
  applyFilter();
}

/* Any card button -> go to signup, remember which card */
function goJoin(cardId){
  const c = cardId && CARDS[cardId];
  document.getElementById("sourceCard").value = cardId || "";
  const note = document.getElementById("fromCard");
  if (c){ note.textContent = `You picked: ${c.title}. Request an invitation to trade it when your wave opens.`; note.classList.add("on"); }
  document.getElementById("join").scrollIntoView({ behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth" });
  setTimeout(() => document.getElementById("name").focus({ preventScroll:true }), 500);
}

document.addEventListener("click", e => {
  const tr = e.target.closest("[data-trailer]");
  if (tr){ playTrailer(tr); return; }
  const heart = e.target.closest("[data-heart]");
  if (heart){
    const on = heart.getAttribute("aria-pressed") !== "true";
    heart.setAttribute("aria-pressed", on);
    window.HWD.onInterest(heart.dataset.heart, on);
    return;
  }
  const cardBtn = e.target.closest("[data-join-card]");
  if (cardBtn){ e.preventDefault(); goJoin(cardBtn.dataset.joinCard); return; }
  const join = e.target.closest("[data-join]");
  if (join){ e.preventDefault(); closeMenu(); goJoin(null); return; }
  const vid = e.target.closest("[data-video]");
  if (vid){ openVideo(vid.dataset.video); return; }
  if (e.target.closest("#mainNav a")) closeMenu();
});

/* Trailer inside the card image. One trailer plays at a time.
   Works as-is on the live site: no setup needed for YouTube links.
   Note: YouTube only plays embeds on a real website. If this file is opened
   straight from a computer (file://), YouTube shows "Error 153". That's expected. */
function hwEmbedFrame(src, title, className){
  const frame = document.createElement("iframe");
  if (className) frame.className = className;
  frame.src = src;
  frame.title = title;
  frame.setAttribute("referrerpolicy", "strict-origin-when-cross-origin");
  frame.setAttribute("allow", "autoplay; encrypted-media; picture-in-picture; fullscreen");
  frame.setAttribute("allowfullscreen", "");
  return frame;
}
function playTrailer(btn){
  const id = btn.dataset.trailer, c = CARDS[id], vid = ytId(c && c.trailer);
  if (!vid) return;
  window.HWD.onTrailerPlay(id);
  document.querySelectorAll(".trailer-frame").forEach(f => f.remove());
  const box = btn.closest(".card-media");
  const origin = /^https?:$/.test(location.protocol) ? `&origin=${encodeURIComponent(location.origin)}` : "";
  box.appendChild(hwEmbedFrame(`https://www.youtube.com/embed/${vid}?autoplay=1&rel=0&playsinline=1${origin}`, `Trailer: ${c.title}`, "trailer-frame"));
}

/* Mobile menu */
const topbar = document.getElementById("topbar"), menuBtn = document.getElementById("menuBtn");
function closeMenu(){ topbar.classList.remove("open"); menuBtn.setAttribute("aria-expanded","false"); }
menuBtn.addEventListener("click", () => {
  const open = !topbar.classList.contains("open");
  topbar.classList.toggle("open", open); menuBtn.setAttribute("aria-expanded", open);
});

/* Videos */
function videoTile(key, big){
  const v = VIDEOS[key]; if (!v) return "";
  const poster = v.poster ? `<img src="${esc(v.poster)}" alt="">` : "";
  const btn = `<button class="video" type="button" data-video="${esc(key)}" aria-label="Play: ${esc(v.title)}">
      <div class="frame">${poster}${v.poster ? "" : `<span class="slot">VIDEO SLOT</span>`}
      <span class="play" aria-hidden="true"><svg width="${big?30:22}" height="${big?30:22}" viewBox="0 0 24 24" fill="#fff"><path d="M8 5v14l11-7z"/></svg></span></div>
    </button>`;
  return big ? btn : `<div class="thumb">${btn}<div class="thumb-cap"><b>${esc(v.title)}</b><span>${esc(v.caption)}</span></div></div>`;
}
function renderVideos(){
  document.getElementById("slot-video-feature").innerHTML = videoTile(VIDEO_LAYOUT.feature, true);
  document.getElementById("slot-video-thumbs").innerHTML = VIDEO_LAYOUT.thumbs.map(k => videoTile(k,false)).join("");
}
const modal = document.getElementById("videoModal"), modalFrame = document.getElementById("modalFrame");
let lastFocus = null;
function openVideo(key){
  const v = VIDEOS[key]; if (!v) return;
  window.HWD.onVideoPlay(key);
  lastFocus = document.activeElement;
  if (!v.url) modalFrame.innerHTML = `<p>${esc(v.title)}<br><small>Video link goes here.</small></p>`;
  else if (/\.mp4($|\?)/i.test(v.url)) modalFrame.innerHTML = `<video src="${esc(v.url)}" controls autoplay playsinline></video>`;
  else if (ytId(v.url)){
    /* Any normal YouTube link works. Same player setup as the card trailers. */
    const origin = /^https?:$/.test(location.protocol) ? `&origin=${encodeURIComponent(location.origin)}` : "";
    modalFrame.replaceChildren(hwEmbedFrame(`https://www.youtube.com/embed/${ytId(v.url)}?autoplay=1&rel=0&playsinline=1${origin}`, v.title));
  }
  else modalFrame.replaceChildren(hwEmbedFrame(v.url, v.title));
  const note = document.getElementById("modalNote"); note.textContent = v.note || ""; note.hidden = !v.note;
  modal.classList.add("open");
  document.getElementById("modalClose").focus();
}
function closeVideo(){ modal.classList.remove("open"); modalFrame.innerHTML = ""; if (lastFocus) lastFocus.focus(); }
document.getElementById("modalClose").addEventListener("click", closeVideo);
modal.addEventListener("click", e => { if (e.target === modal) closeVideo(); });
document.addEventListener("keydown", e => { if (e.key === "Escape" && modal.classList.contains("open")) closeVideo(); });

/* Signup form */
const STATES = ["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"];
function setupForm(){
  const sel = document.getElementById("state");
  sel.insertAdjacentHTML("beforeend", STATES.map(s => `<option>${s}</option>`).join(""));
  const catChips = document.getElementById("catChips"); // interest chips removed from the form; restore the fieldset to bring them back
  if (catChips) catChips.innerHTML = INTERESTS.map(i =>
    `<label><input type="checkbox" name="interests" value="${esc(i)}"><span>${esc(i)}</span></label>`).join("");
  const params = new URLSearchParams(location.search);
  const ref = params.get("ref") || params.get("r");
  if (ref) document.getElementById("refIn").value = ref;

  const form = document.getElementById("joinForm");
  const checks = [
    ["f-name",  () => form.name.value.trim().length > 1],
    ["f-email", () => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(form.email.value.trim())],
    ["f-state", () => !!form.state.value]
  ];
  form.addEventListener("submit", async e => {
    e.preventDefault();
    let firstBad = null;
    checks.forEach(([id, ok]) => { const f = document.getElementById(id); const good = ok(); f.classList.toggle("bad", !good); if (!good && !firstBad) firstBad = f; });
    if (firstBad){ firstBad.querySelector("input,select").focus(); return; }
    const data = {
      name: form.name.value.trim(), email: form.email.value.trim(), state: form.state.value,
      interests: [...form.querySelectorAll("input[name=interests]:checked")].map(i => i.value),
      source_card: form.source_card.value || null, ref: form.ref.value || null
    };
    const btn = form.querySelector("button[type=submit]"); btn.disabled = true; btn.textContent = "Sending…";
    let res = {};
    try { res = (await window.HWD.onSignup(data)) || {}; }
    catch (err) { btn.disabled = false; btn.textContent = "Request an invitation"; alert("We couldn't send your request. Check your connection and try again."); return; }
    const code = res.refCode;
    if (!code){ btn.disabled = false; btn.textContent = "Request an invitation"; alert("We couldn't create your referral link. Please try again."); return; }
    document.getElementById("refLink").value = SETTINGS.referralBase + code;
    form.style.display = "none";
    const referPre = document.getElementById("referPre"); if (referPre) referPre.hidden = true;
    const done = document.getElementById("joinDone"); done.classList.add("on"); done.focus();
  });
  document.getElementById("copyRef").addEventListener("click", async e => {
    const inp = document.getElementById("refLink");
    try { await navigator.clipboard.writeText(inp.value); } catch { inp.select(); document.execCommand && document.execCommand("copy"); }
    e.target.textContent = "Copied";
    setTimeout(() => e.target.textContent = "Copy link", 1800);
  });
}

/* Page links: fill every [data-link] from LINKS */
function applyLinks(){
  const missing = new Set();
  document.querySelectorAll('a[data-link="login"]').forEach(a => { a.hidden = !SETTINGS.showBetaLogin; });
  document.querySelectorAll("a[data-link]").forEach(a => {
    const key = a.dataset.link, L = LINKS[key];
    if (a.hidden) return;
    if (L && L.doc && DOCS[L.doc]){
      a.href = "#" + DOCS[L.doc].hash; a.dataset.doc = L.doc;
      a.removeAttribute("data-link-missing"); a.removeAttribute("title"); a.removeAttribute("target"); a.removeAttribute("rel");
    } else if (L && L.url){
      a.href = L.url;
      a.removeAttribute("data-link-missing"); a.removeAttribute("title");
      if (L.newTab && !/^mailto:/i.test(L.url)){ a.target = "_blank"; a.rel = "noopener"; }
      else { a.removeAttribute("target"); a.removeAttribute("rel"); }
    } else {
      a.setAttribute("href", "#");
      a.setAttribute("data-link-missing", "");
      a.title = `Link not set yet (LINKS.${key})`;
      missing.add(key);
    }
  });
  if (missing.size) console.warn("[HWD] Links not set yet in LINKS:", [...missing].join(", "));
}
/* Placeholder links go nowhere (no jump to the top of the page) */
document.addEventListener("click", e => {
  const a = e.target.closest("a[data-link-missing]"); if (a) e.preventDefault();
});
window.HWD.LINKS = LINKS; window.HWD.applyLinks = applyLinks;

/* Policy pop-up */
const docModal = document.getElementById("docModal");
let docLastFocus = null, docOpenKey = null;
function openDoc(key){
  const d = DOCS[key], t = d && document.getElementById(d.template); if (!t) return;
  if (!docModal.classList.contains("open")) docLastFocus = document.activeElement;
  docOpenKey = key;
  document.getElementById("docModalTitle").textContent = d.title;
  const body = document.getElementById("docBody");
  body.innerHTML = ""; body.appendChild(t.content.cloneNode(true)); body.scrollTop = 0;
  const dl = document.getElementById("docDownload");
  if (d.pdf){ dl.href = d.pdf; dl.download = d.pdfName || ""; dl.hidden = false; } else { dl.hidden = true; dl.removeAttribute("href"); }
  docModal.classList.add("open"); document.body.style.overflow = "hidden";
  document.getElementById("docClose").focus();
}
function closeDoc(){
  if (!docModal.classList.contains("open")) return;
  docModal.classList.remove("open"); document.body.style.overflow = "";
  if (location.hash === "#" + (DOCS[docOpenKey] || {}).hash) history.replaceState(null, "", location.pathname + location.search);
  docOpenKey = null; if (docLastFocus) docLastFocus.focus();
}
document.addEventListener("click", e => {
  const a = e.target.closest("a[data-doc]"); if (!a) return;
  e.preventDefault(); openDoc(a.dataset.doc);
});
document.getElementById("docClose").addEventListener("click", closeDoc);
document.getElementById("docDone").addEventListener("click", closeDoc);
docModal.addEventListener("click", e => { if (e.target === docModal) closeDoc(); });
document.addEventListener("keydown", e => { if (e.key === "Escape") closeDoc(); });
/* Open straight to a policy from a link like hollywood.com/#privacy-policy */
function docFromHash(){ const k = Object.keys(DOCS).find(k => "#" + DOCS[k].hash === location.hash); if (k) openDoc(k); }
window.addEventListener("hashchange", docFromHash);
window.HWD.DOCS = DOCS; window.HWD.openDoc = openDoc;

render(); renderChips(); renderVideos(); setupForm(); applyLinks(); docFromHash();
</script>

</body>
</html>
