/* Chef Michael's Midnight Menu landing page (thenerdflow.com/midnight-menu). Sits on top of site.css:
   same menu bar, buttons, reveals, word highlight, count-ups and footer, in the game's midnight colors. */
.mm-page { --mm-night: #070b22; --mm-night-2: #141a46; --mm-gold: #ffc857; --mm-gold-2: #f29a2e; --mm-teal: #5dcaa5; --mm-cream: #fff6e5; }
.mm-page .btn.big { font-size: 19px; padding: 14px 30px; }
.mm-page .kicker { font-size: 17px; font-weight: 600; color: var(--mm-teal); letter-spacing: -0.01em; }
.mm-page [data-tone="dark"] .btn.line { color: var(--link-dark); border-color: var(--link-dark); }
.mm-page [data-tone="dark"] .btn.line:hover { background: var(--link-dark); color: #000; }

/* 1. hero */
.mm-hero { position: relative; overflow: hidden; color: #f5f5f7; padding: 96px 22px 90px; background: radial-gradient(120% 80% at 70% 10%, #2a2266 0%, var(--mm-night-2) 38%, var(--mm-night) 75%); }
.mm-hero .lights { position: absolute; left: -20px; right: -20px; top: 22px; height: 46px; background: radial-gradient(circle, rgba(255, 220, 140, 0.95) 0 3.5px, rgba(255, 200, 87, 0.28) 7px, transparent 15px) 0 0 / 52px 46px repeat-x; opacity: 0.85; }
.mm-hero .stars { position: absolute; inset: 0; 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% 28%, #fff9, transparent), radial-gradient(1px 1px at 92% 70%, #fff7, transparent), radial-gradient(1.2px 1.2px at 7% 82%, #fff8, transparent); pointer-events: none; }
.mm-hero .mm-wrap { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 50px; align-items: center; }
.mm-hero h1 { font-size: 92px; line-height: 0.98; font-weight: 700; letter-spacing: -0.035em; color: var(--mm-gold); margin-top: 10px; text-shadow: 0 0 60px rgba(255, 200, 87, 0.28); }
.mm-hero h1 .pre { display: block; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mm-cream); margin-bottom: 8px; text-shadow: none; }
.mm-hero .sub { font-size: 26px; line-height: 1.25; font-weight: 500; color: #e8e8f0; margin-top: 20px; max-width: 560px; }
.mm-hero .ctas { justify-content: flex-start; margin-top: 30px; }
.mm-hero .mm-note { margin-top: 18px; font-size: 15px; color: #a1a1b5; }
.mm-hero .chef { margin: 0; justify-self: end; width: 100%; max-width: 380px; border-radius: 34px; overflow: hidden; transform: rotate(2.5deg); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(255, 200, 87, 0.45), 0 0 80px rgba(255, 170, 70, 0.25); }
.mm-hero .chef img { width: 100%; }
.mm-hero .screen { position: relative; max-width: 1100px; margin: 70px auto 0; }
.mm-hero .bezel { padding: 14px; border-radius: 30px; background: linear-gradient(180deg, #2b2f3d, #12141c); box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.mm-hero .bezel video { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #0b1230; }
html.motion .mm-hero .chef.rv { transform: translateY(40px) rotate(6deg); }
html.motion .mm-hero .chef.rv.in { transform: rotate(2.5deg); }
html.motion .mm-hero .screen.rv { transform: translateY(80px) scale(0.94); }
html.motion .mm-hero .screen.rv.in { transform: none; transition-duration: 1.2s, 1.6s; }

/* 2. words */
.mm-words .stat b { background: linear-gradient(100deg, #f29a2e, #ffc857 45%, #2ec4b6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 3. kitchens */
.kitchens { background: linear-gradient(180deg, var(--mm-night) 0%, #120d2c 100%); color: #f5f5f7; padding: 130px 0 120px; text-align: center; }
.kitchens h2, .howto h2, .parents h2, .ways h2, .lastcall h2 { font-size: 64px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; padding: 0 22px; }
.kitchens .sub, .parents .sub, .lastcall .sub { font-size: 24px; line-height: 1.3; color: #a1a1b5; margin: 18px auto 0; max-width: 640px; padding: 0 22px; }
.krow { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 78vw); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 60px max(22px, calc((100vw - 1100px) / 2)) 26px; scrollbar-width: none; text-align: left; }
.krow::-webkit-scrollbar { display: none; }
.kcard { scroll-snap-align: center; border-radius: 26px; overflow: hidden; background: #1a1d33; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); display: flex; flex-direction: column; }
.kcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kcard > div { padding: 22px 26px 28px; }
.kcard .w { font-size: 14px; font-weight: 600; color: var(--mm-teal); }
.kcard h3 { font-size: 28px; line-height: 1.1; font-weight: 700; color: var(--mm-gold); margin-top: 4px; }
.kcard p:last-child { font-size: 17px; line-height: 1.4; color: #c9c9d6; margin-top: 10px; }

/* 4. how to play */
.howto { background: var(--bg-2); padding: 130px 22px; text-align: center; }
.moves { max-width: 1060px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.move { background: #fff; border-radius: 28px; padding: 36px 30px 34px; text-align: left; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); }
.move svg { width: 72px; height: 72px; }
.move h3 { font-size: 28px; font-weight: 700; margin-top: 18px; letter-spacing: -0.02em; }
.move p { font-size: 17px; line-height: 1.45; color: var(--gray); margin-top: 8px; }

/* 5. daily special */
.daily { background: radial-gradient(90% 90% at 80% 20%, #1f3c63 0%, #0b1a35 45%, var(--mm-night) 100%); color: #f5f5f7; padding: 130px 22px; }
.daily .mm-wrap { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 60px; align-items: center; }
.daily h2 { font-size: 64px; line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; color: #9ff5ea; margin-top: 8px; }
.daily .sub { font-size: 21px; line-height: 1.4; color: #c9d4e6; margin-top: 18px; }
.daily .dperks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 12px; }
.daily .dperks li { font-size: 17px; line-height: 1.4; color: #c9d4e6; padding-left: 28px; position: relative; }
.daily .dperks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--mm-gold); box-shadow: 0 0 14px rgba(255, 200, 87, 0.6); }
.daily .dperks b { color: #fff; font-weight: 600; }
.ctas.left { justify-content: flex-start; margin-top: 30px; }
.board { background: rgba(5, 9, 28, 0.72); border: 1px solid rgba(255, 200, 87, 0.35); border-radius: 28px; padding: 28px 28px 22px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); }
.board .bt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 700; color: var(--mm-gold); }
.board .bt span:last-child { font-size: 15px; font-weight: 600; color: #a1a1b5; }
.board ol { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.board li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 18px; font-weight: 600; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.board li:first-child { background: rgba(255, 200, 87, 0.14); }
.board li i { font-style: normal; color: var(--mm-gold); font-weight: 700; }
.board li b { font-variant-numeric: tabular-nums; }
.board .bfoot { font-size: 14px; color: #a1a1b5; margin-top: 14px; }

/* 6. parents */
.parents { background: #fff; padding: 130px 22px 110px; text-align: center; }
.parents .sub { color: var(--gray); }
.pgrid { max-width: 1060px; margin: 60px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; text-align: left; }
.pcard { background: var(--bg-2); border-radius: 28px; padding: 34px 34px 32px; }
.pcard h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.pcard p { font-size: 17px; line-height: 1.45; color: var(--gray); margin-top: 8px; }
.parents .more { margin-top: 34px; font-size: 19px; }
.parents .more a { color: var(--link); }

/* 7. ways to play */
.ways { background: var(--bg-2); padding: 120px 22px; text-align: center; }
.ways .mm-plans { max-width: 1060px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ways .mm-plan { background: #fff; border-radius: 28px; padding: 38px 30px 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ways .mm-plan.star { box-shadow: 0 0 0 2px var(--blue); }
.ways .mm-plan h3 { font-size: 24px; font-weight: 700; }
.ways .mm-plan .price { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.ways .mm-plan .price small { font-size: 17px; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.ways .mm-plan p:not(.price) { font-size: 17px; line-height: 1.45; color: var(--gray); flex: 1; }
.ways .mm-plan .soon { font-size: 15px; font-weight: 600; color: var(--new); padding: 10px 0 4px; }
.ways .mm-plan p.mm-deal { flex: none; font-size: 15px; font-weight: 600; color: var(--new); }

/* 8. last call */
.lastcall { background: radial-gradient(100% 120% at 50% 100%, #2a2266, var(--mm-night) 70%); color: #f5f5f7; text-align: center; padding: 140px 22px 150px; }
.lastcall h2 { color: var(--mm-gold); }
.lastcall .ctas { margin-top: 32px; }
.lastcall .mm-note { margin-top: 22px; font-size: 17px; color: #a1a1b5; }
.lastcall .mm-note b { color: #fff; }

/* sizes */
@media (max-width: 1068px) {
  .mm-hero h1 { font-size: 72px; }
  .mm-hero .sub { font-size: 22px; }
  .kitchens h2, .howto h2, .parents h2, .ways h2, .lastcall h2, .daily h2 { font-size: 52px; }
}
@media (max-width: 734px) {
  .mm-hero { padding: 76px 18px 60px; }
  .mm-hero .mm-wrap { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .mm-hero .ctas { justify-content: center; }
  .mm-hero .sub { margin-left: auto; margin-right: auto; font-size: 20px; }
  .mm-hero h1 { font-size: 50px; }
  .mm-hero h1 .pre { font-size: 17px; }
  .mm-hero .chef { justify-self: center; max-width: 250px; }
  .mm-hero .screen { margin-top: 44px; }
  .mm-hero .bezel { padding: 8px; border-radius: 18px; }
  .mm-hero .bezel video { border-radius: 11px; }
  .kitchens, .howto, .daily, .parents, .ways { padding-top: 90px; padding-bottom: 90px; }
  .kitchens h2, .howto h2, .parents h2, .ways h2, .lastcall h2, .daily h2 { font-size: 38px; }
  .kitchens .sub, .parents .sub, .lastcall .sub { font-size: 19px; }
  .moves, .pgrid, .ways .mm-plans { grid-template-columns: 1fr; }
  .daily .mm-wrap { grid-template-columns: 1fr; gap: 40px; }
  .board li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mm-hero .chef { transform: rotate(2.5deg); } }
