/* Game landing pages (thenerdflow.com/<slug>, made by src/landings.js). Sits on top of site.css: same menu bar,
   buttons, reveals, word highlight, count-ups and footer as the Midnight Menu page, in each game's own colors,
   which the page sets on <body> as --lp-bg, --lp-bg2, --lp-glow, --lp-accent, --lp-accent2 and --lp-head. */
.lp-page .btn.big { font-size: 19px; padding: 14px 30px; }
.lp-page .kicker { font-size: 17px; font-weight: 600; color: var(--lp-accent2); letter-spacing: -0.01em; }
.lp-page [data-tone="dark"] .btn.line { color: var(--link-dark); border-color: var(--link-dark); }
.lp-page [data-tone="dark"] .btn.line:hover { background: var(--link-dark); color: #000; }

/* 1. hero: the game's name, its icon and the game playing on a big screen */
.lp-hero { position: relative; overflow: hidden; color: #f5f5f7; padding: 96px 22px 90px; background: radial-gradient(120% 80% at 72% 8%, var(--lp-bg2) 0%, var(--lp-bg) 70%); }
.lp-hero::before { content: ""; position: absolute; left: 50%; top: 52%; width: 1200px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--lp-glow), transparent); pointer-events: none; }
.lp-stars { position: absolute; inset: 0; opacity: 0.8; background-image: radial-gradient(1.4px 1.4px at 12% 22%, #fff9, transparent), radial-gradient(1px 1px at 28% 64%, #fff8, transparent), radial-gradient(1.2px 1.2px at 46% 18%, #fffa, transparent), radial-gradient(1px 1px at 63% 42%, #fff7, transparent), radial-gradient(1.6px 1.6px at 81% 14%, #fffb, transparent), radial-gradient(1px 1px at 91% 58%, #fff8, transparent), radial-gradient(1.2px 1.2px at 7% 82%, #fff7, transparent), radial-gradient(1px 1px at 55% 88%, #fff6, transparent); }
.lp-hero .lp-wrap { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 50px; align-items: center; }
.lp-hero h1 { font-size: 92px; line-height: 0.98; font-weight: 700; letter-spacing: -0.035em; color: var(--lp-head); margin-top: 10px; text-shadow: 0 0 60px var(--lp-glow); overflow-wrap: anywhere; }
.lp-hero .sub { font-size: 26px; line-height: 1.25; font-weight: 500; color: #e8e8f0; margin-top: 20px; max-width: 580px; }
.lp-hero .ctas { justify-content: flex-start; margin-top: 30px; }
.lp-note { margin-top: 18px; font-size: 15px; color: #a1a1b5; }
.lp-note b { color: #fff; }
.lp-art { margin: 0; justify-self: end; width: 100%; max-width: 340px; }
.lp-art img { width: 100%; display: block; }
.lp-art.icon img { border-radius: 22%; transform: rotate(3deg); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.14), 0 0 90px var(--lp-glow); }
.lp-art.cut img { filter: drop-shadow(0 0 40px var(--lp-glow)) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)); }
.lp-hero .screen { position: relative; max-width: 1100px; margin: 70px auto 0; }
.lp-hero .bezel { padding: 14px; border-radius: 30px; background: linear-gradient(180deg, #2b2f3d, #12141c); box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.lp-hero .bezel video, .lp-hero .bezel img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; background: var(--lp-bg); }
html.motion .lp-art.rv { transform: translateY(40px) rotate(4deg); }
html.motion .lp-art.rv.in { transform: none; }
html.motion .lp-hero .screen.rv { transform: translateY(80px) scale(0.94); }
html.motion .lp-hero .screen.rv.in { transform: none; transition-duration: 1.2s, 1.6s; }

/* 2. words that light up, then the numbers */
.lp-words .stat b { background: linear-gradient(100deg, var(--lp-accent2), var(--lp-accent) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 3. worlds, sectors, chapters or gods: a row of cards to swipe */
.lp-worlds { background: linear-gradient(180deg, var(--lp-bg) 0%, var(--lp-bg2) 130%); color: #f5f5f7; padding: 130px 0 120px; text-align: center; }
.lp-worlds h2, .lp-extras h2, .lp-compare h2, .lp-how h2, .lp-page .parents h2, .lp-page .ways h2, .lp-last h2 { font-size: 64px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; padding: 0 22px; }
.lp-worlds .sub, .lp-extras .sub, .lp-page .parents .sub, .lp-last .sub { font-size: 24px; line-height: 1.3; color: #a1a1b5; margin: 18px auto 0; max-width: 640px; padding: 0 22px; }
.lp-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 76vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 60px max(22px, calc((100vw - 1100px) / 2)) 26px; scrollbar-width: none; text-align: left; }
.lp-row::-webkit-scrollbar { display: none; }
.lp-card { scroll-snap-align: center; position: relative; border-radius: 26px; overflow: hidden; padding: 34px 28px 32px; min-height: 250px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.lp-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--lp-accent), var(--lp-accent2)); filter: hue-rotate(calc(var(--i, 0) * 28deg)); }
.lp-card .w { font-size: 14px; font-weight: 600; color: var(--lp-accent2); }
.lp-card h3 { font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--lp-head); margin-top: 6px; letter-spacing: -0.02em; }
.lp-card p:last-child { font-size: 17px; line-height: 1.45; color: #c9c9d6; margin-top: 12px; }

/* 4. extras: power-ups, drones, tricks */
.lp-extras { background: #fff; padding: 130px 22px 120px; text-align: center; }
.lp-extras .sub { color: var(--gray); }
.lp-grid { max-width: 1060px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; text-align: left; }
.lp-grid.many { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.lp-chip { background: var(--bg-2); border-radius: 24px; padding: 26px 24px 24px; }
.lp-chip .w { font-size: 13px; font-weight: 600; color: var(--gray); }
.lp-chip h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.lp-chip p:last-child { font-size: 16px; line-height: 1.45; color: var(--gray); margin-top: 6px; }

/* 5. how to play: three numbered steps */
.lp-how { background: var(--bg-2); padding: 130px 22px; text-align: center; }
.lp-steps { max-width: 1060px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lp-step { background: #fff; border-radius: 28px; padding: 34px 30px 34px; text-align: left; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); }
.lp-step b { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-size: 24px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--lp-bg2), var(--lp-bg)); box-shadow: 0 0 0 3px var(--lp-accent); }
.lp-step h3 { font-size: 28px; font-weight: 700; margin-top: 20px; letter-spacing: -0.02em; }
.lp-step p { font-size: 17px; line-height: 1.45; color: var(--gray); margin-top: 8px; }

/* 6. parents and 7. ways to play (the same cards as the Midnight Menu page) */
.lp-page .parents { background: #fff; padding: 130px 22px 110px; text-align: center; }
.lp-page .parents .sub { color: var(--gray); }
.lp-page .pgrid { max-width: 1060px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; text-align: left; }
.lp-page .pcard { background: var(--bg-2); border-radius: 28px; padding: 34px 34px 32px; }
.lp-page .pcard h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.lp-page .pcard p { font-size: 17px; line-height: 1.45; color: var(--gray); margin-top: 8px; }
.lp-page .parents .more { margin-top: 34px; font-size: 19px; }
.lp-page .parents .more a { color: var(--link); }
.lp-page .ways { background: var(--bg-2); padding: 120px 22px; text-align: center; }
.lp-page .mm-plans { max-width: 1060px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.lp-page .mm-plan { background: #fff; border-radius: 28px; padding: 38px 30px 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-page .mm-plan.star { box-shadow: 0 0 0 2px var(--blue); }
.lp-page .mm-plan h3 { font-size: 24px; font-weight: 700; }
.lp-page .mm-plan .price { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.lp-page .mm-plan .price small { font-size: 17px; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.lp-page .mm-plan p:not(.price) { font-size: 17px; line-height: 1.45; color: var(--gray); flex: 1; }
.lp-page .mm-plan .soon { font-size: 15px; font-weight: 600; color: var(--new); padding: 10px 0 4px; }
.lp-page .mm-plan p.mm-deal { flex: none; font-size: 15px; font-weight: 600; color: var(--new); }

/* 8. last call */
.lp-last { background: radial-gradient(100% 120% at 50% 100%, var(--lp-bg2), var(--lp-bg) 70%); color: #f5f5f7; text-align: center; padding: 140px 22px 150px; }
.lp-last h2 { color: var(--lp-head); text-shadow: 0 0 60px var(--lp-glow); }
.lp-last .ctas { margin-top: 32px; }
.lp-last .lp-note { margin-top: 22px; font-size: 17px; }

/* sizes */
@media (max-width: 1068px) {
  .lp-hero h1 { font-size: 72px; }
  .lp-hero .sub { font-size: 22px; }
  .lp-worlds h2, .lp-extras h2, .lp-compare h2, .lp-how h2, .lp-page .parents h2, .lp-page .ways h2, .lp-last h2 { font-size: 52px; }
}
@media (max-width: 734px) {
  .lp-hero { padding: 76px 18px 60px; }
  .lp-hero .lp-wrap { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .lp-hero .ctas { justify-content: center; }
  .lp-hero .sub { margin-left: auto; margin-right: auto; font-size: 20px; }
  .lp-hero h1 { font-size: 48px; }
  .lp-art { justify-self: center; max-width: 170px; }
  .lp-art.cut { max-width: 190px; }
  .lp-hero .screen { margin-top: 40px; }
  .lp-hero .bezel { padding: 8px; border-radius: 18px; }
  .lp-hero .bezel video, .lp-hero .bezel img { border-radius: 11px; }
  .lp-worlds, .lp-extras, .lp-how, .lp-page .parents, .lp-page .ways { padding-top: 90px; padding-bottom: 90px; }
  .lp-worlds h2, .lp-extras h2, .lp-compare h2, .lp-how h2, .lp-page .parents h2, .lp-page .ways h2, .lp-last h2 { font-size: 38px; }
  .lp-worlds .sub, .lp-extras .sub, .lp-page .parents .sub, .lp-last .sub { font-size: 19px; }
  .lp-steps, .lp-page .pgrid { grid-template-columns: 1fr; }
  .lp-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .lp-art.icon img { transform: rotate(3deg); } }

/* Optional sections (Mental Math Mayhem): "Show it off" and the price comparison */
.lp-perform { background: var(--bg-2); }
.lp-perform .lp-chip { background: #fff; }
.lp-perform-cta { margin-top: 40px; }
.lp-compare { background: #fff; padding: 120px 22px; text-align: center; }
.lp-compare .sub { color: var(--gray); max-width: 640px; margin-left: auto; margin-right: auto; }
.lp-ctable { max-width: 760px; margin: 48px auto 0; display: grid; gap: 10px; text-align: left; }
.lp-crow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--bg-2); }
.lp-crow b { display: block; font-size: 18px; font-weight: 600; }
.lp-crow small { display: block; font-size: 14px; color: var(--gray); margin-top: 2px; }
.lp-cprice { font-size: 18px; font-weight: 600; white-space: nowrap; }
.lp-crow.ours { background: var(--lp-bg, #170d3a); color: #fff; }
.lp-crow.ours small { color: rgba(255, 255, 255, .7); }
.lp-crow.ours .lp-cprice { color: var(--lp-accent, #ffc53d); }
.lp-cfine { max-width: 640px; margin: 20px auto 0; font-size: 13px; color: var(--gray); }
@media (max-width: 600px) { .lp-crow { flex-direction: column; align-items: flex-start; gap: 6px; } }
