/* Memorable landing page: scroll-reveal sections and animated product mock-ups. Solid colours, no stock photos. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
.landing .topbar { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.landing .topbar.scrolled { background: rgba(12,10,15,.88); border-bottom-color: var(--line); }
.landing .footer { margin-top: 0; }
.landing h2 { font-family: var(--display); font-weight: 400; letter-spacing: 0; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; }
.center { text-align: center; }

/* reveal on scroll (only when JS runs; without JS everything is simply visible) */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="scale"] { transform: translateY(16px) scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-anim]:not(.run) *, .js [data-anim]:not(.run)::before { animation-play-state: paused !important; }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* hero */
.l-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; align-items: center; min-height: calc(100vh - 72px); padding-top: 32px; padding-bottom: 72px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
.l-hero h1 { font-family: var(--display); font-weight: 400; letter-spacing: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.04; }
.l-hero .hl { color: var(--pink); }
.l-hero .lead { font-size: 19px; color: var(--ink-2); margin-top: 22px; max-width: 32em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 28px 0 0; }
.pills li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.pills .icon, .ticks .icon { color: var(--pink); width: 17px; height: 17px; stroke-width: 2.4; }

/* device mock-ups */
.tv-screen { position: relative; aspect-ratio: 16 / 10; background: #120f16; border: 8px solid #221c29; border-radius: 14px; overflow: hidden;
             box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px var(--line-strong); }
.tv, .phone { container-type: inline-size; }
.tv-foot { width: 24%; height: 9px; margin: 0 auto; background: #221c29; border-radius: 0 0 8px 8px; }
.phone { background: #0c0a0f; border: 2px solid #3d3447; border-radius: 28px; padding: 7px; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.phone-screen { position: relative; aspect-ratio: 9 / 19; background: var(--bg); border-radius: 21px; overflow: hidden;
                display: flex; flex-direction: column; gap: 4.5cqw; padding: 14cqw 8cqw 8cqw; }
.scene { display: block; width: 100%; height: 100%; }
.fakeqr { display: block; width: 100%; height: auto; }
.m-date { align-self: flex-start; background: var(--sun); color: #160c12; font-weight: 800; font-size: 6cqw; letter-spacing: .08em; padding: 1cqw 3.5cqw; border-radius: 99px; }
.m-title { font-family: var(--display); font-size: 12cqw; line-height: 1.05; }
.m-title.lg { font-size: 11cqw; }
.m-sub { font-size: 6cqw; color: var(--ink-2); }
.m-btn { display: flex; align-items: center; justify-content: center; gap: 3cqw; min-height: 17cqw; border-radius: 99px; background: var(--pink); color: #160c12; font-weight: 700; font-size: 5cqw; white-space: nowrap; }
.m-btn .icon { width: 8cqw; height: 8cqw; stroke-width: 2.2; }
.m-bar { display: block; height: 3cqw; border-radius: 99px; background: var(--line-strong); overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 0; background: var(--pink); border-radius: 99px; animation: fill 3s ease-in-out infinite; }
@keyframes fill { 0% { width: 4%; } 70%, 100% { width: 100%; } }
.m-thumbs, .m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5cqw; }
.m-thumbs i, .m-grid i { aspect-ratio: 1; border-radius: 2.5cqw; overflow: hidden; display: block; }
.m-progress { display: flex; flex-direction: column; gap: 2.5cqw; font-size: 5.4cqw; color: var(--ink-2); }

/* hero composition: photos fly from the phone onto the TV collage */
.l-hero-visual { position: relative; aspect-ratio: 1.1; width: 100%; }
.l-hero-visual .tv { position: absolute; right: 0; top: 6%; width: 92%; }
.hero-phone { position: absolute; left: 0; bottom: 4%; width: 31%; z-index: 2; }
.hero-phone .phone-screen { aspect-ratio: 9 / 15.5; }
.big-phone .phone-screen { aspect-ratio: 9 / 16.5; }
.collage { position: absolute; inset: 0; }
.pol { position: absolute; margin: 0; width: 36%; padding: 2.4% 2.4% 0; background: #fbf3e4; border-radius: 3px; box-shadow: 0 2cqw 5cqw rgba(0,0,0,.45);
       opacity: 0; animation: pol-in 9s cubic-bezier(.2,.8,.2,1) infinite; }
.pol .scene { aspect-ratio: 4 / 3; height: auto; }
.pol figcaption { color: #160c12; font-size: 2.2cqw; font-weight: 650; padding: 1.4cqw 0 1.8cqw; }
.p1 { --r: -6deg; left: 5%; top: 9%; }
.p2 { --r: 4deg; left: 32%; top: 24%; animation-delay: 1.2s; z-index: 1; }
.p3 { --r: -3deg; left: 58%; top: 7%; animation-delay: 2.4s; }
@keyframes pol-in {
  0% { opacity: 0; transform: rotate(var(--r)) translateY(22%) scale(.6); }
  6% { opacity: 1; transform: rotate(var(--r)) scale(1.05); }
  9%, 80% { opacity: 1; transform: rotate(var(--r)) scale(1); }
  88%, 100% { opacity: 0; transform: rotate(var(--r)) scale(.96); }
}
.tv-qr { position: absolute; right: 3%; bottom: 5%; z-index: 2; display: flex; align-items: center; gap: 1.6cqw; background: #fbf3e4; color: #160c12;
         padding: 1.2cqw 2cqw 1.2cqw 1.2cqw; border-radius: 1.4cqw; font-size: 1.7cqw; line-height: 1.3; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.4); }
.tv-qr .fakeqr { width: 7.5cqw; }
.tv-qr b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.3cqw; }
.tv-qr.small .fakeqr { width: 6cqw; }
.fly { position: absolute; left: 11%; top: 57%; width: 12%; aspect-ratio: 4 / 3; z-index: 3; border: 3px solid #fbf3e4; border-radius: 3px; overflow: hidden;
       box-shadow: 0 10px 24px rgba(0,0,0,.5); opacity: 0; animation: fly 9s cubic-bezier(.5,0,.3,1) infinite .2s; }
@keyframes fly {
  0% { opacity: 0; transform: translate(0, 0) scale(.5) rotate(-8deg); }
  4% { opacity: 1; transform: translate(0, -20%) scale(1) rotate(-8deg); }
  20% { opacity: 1; transform: translate(400%, -300%) scale(.85) rotate(5deg); }
  24%, 100% { opacity: 0; transform: translate(420%, -320%) scale(.5) rotate(5deg); }
}

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.feature.flip .feature-text { order: 2; }
.feature-p { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 30em; }
.games-head .feature-p { margin-inline: auto; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.feature-visual { position: relative; display: grid; place-items: center; }
.big-phone { width: min(290px, 72%); }
.js .m-grid i { opacity: 0; }
.in .m-grid i { animation: pop .55s cubic-bezier(.2,.9,.3,1.3) both; animation-delay: calc(500ms + var(--i) * 140ms); }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.toast { position: absolute; right: 0; top: 2%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface-2);
         border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.45); font-size: 15px; }
.toast .icon { color: var(--amber); }
.toast b { color: var(--pink); }

/* live slideshow mock: crossfade with slow zoom */
.wide-tv { width: 100%; }
.slide-mock { position: absolute; inset: 0; opacity: 0; animation: slideshow 12s linear infinite; animation-delay: calc(var(--i) * 3s); }
@keyframes slideshow {
  0% { opacity: 0; transform: scale(1); }
  4%, 25% { opacity: 1; }
  30%, 100% { opacity: 0; transform: scale(1.12); }
}
.cap { position: absolute; left: 3%; bottom: 5%; z-index: 2; color: #fff; font-size: 2.6cqw; font-weight: 650; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.chips span { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: 14px; }

/* games */
.games { padding: 110px 0; background: var(--surface); border-block: 1px solid var(--line); }
.games-head { max-width: 680px; margin: 0 auto; text-align: center; }
.arena { max-width: 640px; margin: 56px auto 0; }
.tug { display: flex; flex-direction: column; justify-content: center; gap: 6cqw; padding: 7cqw; }
.tug-teams { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-size: 4.2cqw; }
.tug-teams .ta { color: var(--pink); } .tug-teams .tb { color: var(--orange); }
.tug-teams .vs { font-family: "Inter", sans-serif; font-size: 2cqw; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.tug-track { position: relative; display: flex; height: 5cqw; border-radius: 99px; overflow: hidden; }
.tug-zone { flex: 1; } .tug-zone.a { background: rgba(255,61,139,.28); } .tug-zone.b { background: rgba(255,122,47,.28); }
.tug-track::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--ink-3); }
.tug-rope { position: absolute; inset: 0; }
.tug-rope i { position: absolute; top: 50%; left: 50%; width: 7cqw; height: 7cqw; margin: -3.5cqw 0 0 -3.5cqw; border-radius: 50%; background: #fbf3e4;
              box-shadow: 0 0 0 1cqw rgba(251,243,228,.18); animation: tug 3.4s ease-in-out infinite; z-index: 1; }
.tug-track { overflow: visible; }
.tug-zone.a { border-radius: 99px 0 0 99px; } .tug-zone.b { border-radius: 0 99px 99px 0; }
@keyframes tug { 0%, 100% { left: 50%; } 25% { left: 36%; } 55% { left: 60%; } 80% { left: 42%; } }
.tug-score { display: flex; justify-content: space-between; font-family: var(--display); font-size: 6cqw; line-height: 1; }
.tug-score b { font-weight: 400; } .tug-score b:first-child { color: var(--pink); } .tug-score b:last-child { color: var(--orange); }
.shakers { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 7%; margin-top: -9%; }
.phone.mini { width: 15%; padding: 4px; border-radius: 16px; animation: shake 1.3s ease-in-out infinite; }
.phone.mini:nth-child(2) { animation-delay: .25s; margin-top: 4%; } .phone.mini:nth-child(3) { animation-delay: .5s; }
.phone.mini .phone-screen { aspect-ratio: 9 / 16; border-radius: 12px; padding: 0; display: grid; place-items: center; }
.phone.mini.a .phone-screen { background: var(--pink); } .phone.mini.b .phone-screen { background: var(--orange); }
.phone.mini b { font-family: var(--display); font-weight: 400; font-size: 11cqw; color: #160c12; transform: rotate(-8deg); }
@keyframes shake { 0%, 55%, 100% { transform: none; } 10% { transform: rotate(-10deg) translateY(-4%); } 20% { transform: rotate(9deg); }
                   30% { transform: rotate(-7deg) translateY(-3%); } 40% { transform: rotate(5deg); } }
.game-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.game-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.game-card:hover { border-color: var(--line-strong); }
.g-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; }
.g-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.g-ico.shake { background: rgba(255,61,139,.14); color: var(--pink); }
.g-ico.race { background: rgba(255,122,47,.14); color: var(--orange); }
.g-ico.freeze { background: rgba(46,196,182,.14); color: var(--teal); }
.game-card h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0; font-size: 24px; margin: 18px 0 6px; }
.game-card p { color: var(--ink-2); font-size: 15px; }

/* keep: zip + table card */
.keep { min-height: 400px; justify-items: start; }
.zip { width: min(410px, 82%); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.zip-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.zip-head .icon { color: var(--pink); } .zip-head b { flex: 1; font-size: 15px; } .zip-head span { color: var(--ink-3); font-size: 14px; }
.zip-row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; font-size: 15px; }
.zip-row + .zip-row { border-top: 1px solid var(--line); }
.zip-row span:last-child { margin-left: auto; color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }
.folder { position: relative; width: 20px; height: 15px; background: var(--amber); border-radius: 2px 3px 3px 3px; flex: none; }
.folder::before { content: ""; position: absolute; left: 0; top: -3px; width: 9px; height: 4px; background: var(--amber); border-radius: 2px 2px 0 0; }
.card-mock { position: absolute; right: 0; bottom: -8%; width: 150px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
             padding: 18px 16px 16px; background: #fbf3e4; color: #160c12; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.55); rotate: 6deg; }
.card-mock .m-date { align-self: center; font-size: 10px; padding: 2px 8px; }
.card-mock b { font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--pink); line-height: 1.1; }
.card-mock .fakeqr { width: 78%; }
.card-mock em { font-family: var(--display); font-style: normal; font-size: 12px; color: var(--orange); }

/* steps */
.l-steps { padding-top: 88px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 44px 0 0; }
.steps-row li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.steps-row .num { font-family: var(--display); font-size: 36px; line-height: 1; }
.steps-row li:nth-child(1) .num { color: var(--violet); } .steps-row li:nth-child(2) .num { color: var(--pink); }
.steps-row li:nth-child(3) .num { color: var(--orange); } .steps-row li:nth-child(4) .num { color: var(--amber); }
.steps-row h3 { font-size: 17px; margin: 16px 0 6px; }
.steps-row p { font-size: 14px; color: var(--ink-2); }

/* pricing */
.pricing { padding-top: 88px; padding-bottom: 40px; border-top: 1px solid var(--line); }
.pricing .price-grid { max-width: 860px; margin: 44px auto 0; }

/* with or without account */
.ways { padding-top: 40px; padding-bottom: 88px; }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 44px auto 0; }
.way { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.way.featured { border: 2px solid var(--pink); }
.way .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.way.featured .tag { background: var(--pink); color: #160c12; }
.way h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0; font-size: 30px; }
.way p { color: var(--ink-2); }
.way .ticks { margin: 4px 0 10px; }
.way .btn { margin-top: auto; }

/* create */
.start { padding-top: 24px; padding-bottom: 96px; }
.start-panel { max-width: 580px; margin: 0 auto; padding: 34px; border-radius: 22px; }
.start-panel h2 { font-size: clamp(28px, 3.4vw, 36px); margin: 0; }
.start-panel > p { display: flex; align-items: center; gap: 6px; margin: 10px 0 24px; }

/* pre-launch: launch notice sign-up in place of the create form */
.notify-panel .kicker { margin: 0 0 12px; }
.notify-panel > p.muted { display: block; }
.notify-row { display: flex; gap: 10px; align-items: stretch; }
.notify-row .field { flex: 1; margin: 0; }
.notify-row input { height: 100%; min-height: 52px; font-size: 16px; }
.notify-row .btn { white-space: nowrap; }
.notify-fine { display: block !important; font-size: 13px; color: var(--ink-3); margin: 14px 0 0 !important; }
.notify-fine a { color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* faq */
.faq { padding-top: 88px; padding-bottom: 104px; border-top: 1px solid var(--line); }
.faq-list { max-width: 760px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; color: var(--pink); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* final call to action */
.final { background: var(--pink); color: #160c12; padding: 110px 0; text-align: center; }
.final h2 { font-size: clamp(46px, 7.5vw, 96px); line-height: 1; }
.final p { font-size: 19px; margin: 16px 0 32px; opacity: .8; }

@media (max-width: 900px) {
  .l-hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; padding-top: 24px; padding-bottom: 56px; }
  .l-hero-visual { max-width: 560px; margin: 0 auto; }
  .feature { grid-template-columns: 1fr; gap: 44px; padding-top: 72px; padding-bottom: 72px; }
  .feature.flip .feature-text { order: 0; }
  .game-cards { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .games { padding: 80px 0; }
}
@media (max-width: 560px) {
  .l-hero .lead { font-size: 17px; }
  .steps-row { grid-template-columns: 1fr; }
  .card-mock { width: 124px; right: -2%; }
  .start-panel, .way { padding: 24px; }
  .notify-row { flex-direction: column; }
  .final { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing *, .landing *::before, .landing *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .m-grid i { opacity: 1; transform: none; }
  .pol { opacity: 1; transform: rotate(var(--r)); }
  .slide-mock:first-child { opacity: 1; }
  .fly { display: none; }
}
