body{margin:0;background:#161616}
a{color:#C4B5FD}a:hover{color:#E9E3FF}
.hero-bg{background-image:linear-gradient(90deg,rgba(22,22,22,0.94) 0%,rgba(22,22,22,0.78) 42%,rgba(22,22,22,0.15) 100%),url(/assets/img/hero-bicycle-kick.webp);background-size:cover;background-position:center top}
/* 641-1103px: the hero stacks (words above the phones) and grows tall, which would zoom the wide art until the player is lost,
   so these widths use the portrait version under the same gradient. (1104 = 520 + 40 + 480 + 64: the width where the hero wraps.) */
@media (min-width:641px) and (max-width:1103.98px){.hero-bg{background-image:linear-gradient(90deg,rgba(22,22,22,0.94) 0%,rgba(22,22,22,0.78) 42%,rgba(22,22,22,0.15) 100%),url(/assets/img/hero-bicycle-kick-tall.webp)}}
.cta-bg{background-image:linear-gradient(0deg,rgba(22,22,22,0.85),rgba(22,22,22,0.55)),url(/assets/img/city-rio.webp);background-size:cover;background-position:center}
/* Motion: hero plays in on load; everything below builds as it scrolls into view.
   Uses translate/scale (not transform) so tilted phones and banners keep their tilt. */
@keyframes rise{from{opacity:0;translate:0 70px}}
@keyframes pop{from{opacity:0;scale:0.6}}
@keyframes from-left{from{opacity:0;translate:-120px 0}}
@keyframes from-right{from{opacity:0;translate:140px 0}}
@keyframes phone-in{from{opacity:0;translate:0 220px}}
@keyframes drift{to{translate:0 -140px}}
@media (prefers-reduced-motion: no-preference){
.in{animation:rise 0.9s cubic-bezier(0.2,0.7,0.2,1) both}
.phone-in{animation:phone-in 1.1s cubic-bezier(0.2,0.7,0.2,1) both}
.fan>*{animation:rise 0.55s cubic-bezier(0.2,0.7,0.2,1) both}.fan>:nth-child(2){animation-delay:0.07s}.fan>:nth-child(3){animation-delay:0.14s}.fan>:nth-child(4){animation-delay:0.21s}
.d1{animation-delay:0.05s}.d2{animation-delay:0.18s}.d3{animation-delay:0.32s}.d4{animation-delay:0.46s}.d5{animation-delay:0.6s}.d6{animation-delay:0.74s}
@supports (animation-timeline: view()){
.stagger>*,.stagger-pop>*,.stagger-right>*,.from-left,.from-right,.rv{animation-fill-mode:both;animation-timing-function:cubic-bezier(0.2,0.7,0.2,1);animation-timeline:view();animation-range:entry 0% cover 28%}
.stagger>*,.rv{animation-name:rise}
.stagger-pop>*{animation-name:pop}
.stagger-right>*{animation-name:from-right}
.from-left{animation-name:from-left}
.from-right{animation-name:from-right}
.stagger>:nth-child(2),.stagger-pop>:nth-child(2),.stagger-right>:nth-child(2){animation-range:entry 4% cover 32%}
.stagger>:nth-child(3),.stagger-pop>:nth-child(3),.stagger-right>:nth-child(3){animation-range:entry 8% cover 36%}
.stagger>:nth-child(4),.stagger-pop>:nth-child(4),.stagger-right>:nth-child(4){animation-range:entry 12% cover 40%}
.stagger>:nth-child(5),.stagger-pop>:nth-child(5),.stagger-right>:nth-child(5){animation-range:entry 16% cover 44%}
.stagger>:nth-child(n+6),.stagger-pop>:nth-child(n+6),.stagger-right>:nth-child(n+6){animation-range:entry 20% cover 48%}
.drift{animation:drift linear both;animation-timeline:view();animation-range:exit 0% exit 100%}
}
}

/* Scroll scenes. Daily + Live run on CSS view timelines; the globe is projected in JS. */
.scene svg{display:block;width:100%;height:100%}
.dn-night,.dn-stars,.dn-moon,.dn-tint,.dn-lights,.lv-goal{opacity:0}
.lv-goal{transform-box:fill-box;transform-origin:center}
.lv-ball{translate:260px 318px}.lv-p1{translate:260px 332px}.lv-p2{translate:100px 292px}.lv-p3{translate:420px 252px}.lv-p4{translate:206px 214px}
.lv-o1{translate:190px 296px}.lv-o2{translate:330px 272px}.lv-o3{translate:300px 132px}.lv-gk{translate:260px 46px}
@keyframes dn-night{0%,18%{opacity:0}42%,58%{opacity:1}82%,100%{opacity:0}}
@keyframes dn-stars{0%,26%{opacity:0}44%,56%{opacity:1}74%,100%{opacity:0}}
@keyframes dn-tint{0%,18%{opacity:0}42%,58%{opacity:0.55}82%,100%{opacity:0}}
@keyframes dn-lights{0%,24%{opacity:0}42%,58%{opacity:1}76%,100%{opacity:0}}
@keyframes dn-sun{0%{translate:0 0;opacity:1}34%{translate:250px 290px;opacity:1}35%{translate:250px 290px;opacity:0}65%{translate:-120px 290px;opacity:0}66%{translate:-120px 290px;opacity:1}100%{translate:0 0;opacity:1}}
@keyframes dn-moon{0%,28%{translate:-220px 270px;opacity:0}32%{opacity:1}50%{translate:0 0;opacity:1}68%{opacity:1}72%,100%{translate:220px 270px;opacity:0}}
@keyframes dn-clouds{0%{translate:-50px 0;opacity:0.85}50%{opacity:0.35}100%{translate:70px 0;opacity:0.85}}
@keyframes lv-ball{0%,8%{translate:260px 318px}22%{translate:132px 232px}30%{translate:140px 224px}44%{translate:368px 168px}52%{translate:362px 160px}64%{translate:246px 118px}72%{translate:250px 104px}86%{translate:268px 20px}100%{translate:270px 18px}}
@keyframes lv-p1{0%,8%{translate:260px 332px}100%{translate:228px 250px}}
@keyframes lv-p2{0%{translate:100px 292px}22%{translate:132px 246px}30%{translate:140px 238px}100%{translate:162px 186px}}
@keyframes lv-p3{0%{translate:420px 252px}44%{translate:368px 182px}52%{translate:362px 174px}100%{translate:330px 140px}}
@keyframes lv-p4{0%{translate:206px 214px}64%{translate:246px 132px}72%{translate:250px 118px}86%{translate:254px 104px}100%{translate:254px 100px}}
@keyframes lv-o1{0%{translate:190px 296px}22%{translate:168px 262px}100%{translate:176px 228px}}
@keyframes lv-o2{0%{translate:330px 272px}44%{translate:332px 206px}100%{translate:318px 190px}}
@keyframes lv-o3{0%{translate:300px 132px}64%{translate:284px 128px}74%{translate:272px 112px}100%{translate:268px 108px}}
@keyframes lv-gk{0%,66%{translate:260px 46px}80%{translate:244px 42px}88%,100%{translate:226px 40px}}
@keyframes lv-net{0%,85%{translate:0 0}88%{translate:0 -5px}92%,100%{translate:0 0}}
@keyframes lv-goal{0%,86%{opacity:0;scale:0.3}93%{opacity:1;scale:1.12}100%{opacity:1;scale:1}}
@media (prefers-reduced-motion: no-preference){
@supports (animation-timeline: view()){
.scene-daily{view-timeline-name:--daily}
.scene-live{view-timeline-name:--live}
.dn{animation-timing-function:linear;animation-fill-mode:both;animation-timeline:--daily;animation-range:cover 0% cover 100%}
.lv{animation-timing-function:linear;animation-fill-mode:both;animation-timeline:--live;animation-range:cover 4% cover 54%}
.dn-night{animation-name:dn-night}.dn-stars{animation-name:dn-stars}.dn-tint{animation-name:dn-tint}.dn-lights{animation-name:dn-lights}.dn-sun{animation-name:dn-sun}.dn-moon{animation-name:dn-moon}.dn-clouds{animation-name:dn-clouds}
.lv-ball{animation-name:lv-ball}.lv-p1{animation-name:lv-p1}.lv-p2{animation-name:lv-p2}.lv-p3{animation-name:lv-p3}.lv-p4{animation-name:lv-p4}.lv-o1{animation-name:lv-o1}.lv-o2{animation-name:lv-o2}.lv-o3{animation-name:lv-o3}.lv-gk{animation-name:lv-gk}.lv-net{animation-name:lv-net}.lv-goal{animation-name:lv-goal}
}
}

/* static-site additions */
.fan-wrap[hidden]{display:none}
.tgl-chev{transition:transform .25s}
[aria-expanded="true"] .tgl-chev{transform:rotate(180deg)}
.interest{display:flex;align-items:center;gap:11px;padding:10px 12px 10px 10px;border-radius:16px;min-width:0;cursor:pointer;font-family:inherit;color:#FFFFFF;text-align:left;transition:border-color .2s,background .2s;background:#242424;border:2px solid transparent}
.interest.is-on{background:rgba(34,197,94,.12);border-color:#22C55E}
.interest-sub{color:#A1A1AA;font-size:13px}
.interest.is-on .interest-sub{color:#4ADE80;font-weight:700}

/* phones: let flex children shrink to the screen; no QR when you're already on a phone */
@media (max-width: 640px){
.from-left,.from-right,.stagger,.scene,.plug,.wl,.trt,.dash{min-width:0;max-width:100%}
.cta-qr{display:none!important}
[style*="minmax(150px, 220px)"]{grid-template-columns:minmax(92px,130px) minmax(0,1fr)!important;gap:10px!important}
.rv[style*="padding: 32px"]{padding:20px!important}
}

/* slide-in reveals start off to the side: never let them widen the page */
html,body{overflow-x:clip}

/* phones: compact header and headings that fit the screen */
@media (max-width: 640px){
header nav[aria-label="Main"],header nav[aria-label="Business"]{display:none!important}
header a[href="/business/"]{padding:8px 12px!important;font-size:13px!important}
h1{font-size:clamp(52px,15vw,72px)!important}
h2{font-size:clamp(40px,11.5vw,56px)!important;line-height:.95!important}
h3[style*="font-size: 56px"],h3[style*="font-size: 64px"]{font-size:clamp(34px,10vw,44px)!important}
}
@media (max-width: 640px){
header > div{padding:14px 16px!important;gap:10px 14px!important;flex-wrap:nowrap!important}
header img[alt="PIX"]{height:30px!important}
header a[href="/business/"] ~ a,header a[href*="/login"]{white-space:nowrap}
header span[style*="letter-spacing: 2px"]{display:none}
}

/* phones: the app comes first (Phone A). Smaller words, then the three app screens, then the store badges.
   .hero-copy steps aside (display:contents) so its lines and the badges can sit either side of the phones. */
@media (max-width: 640px){
.hero-bg{background-image:linear-gradient(180deg,rgba(22,22,22,0.88) 0%,rgba(22,22,22,0.62) 34%,rgba(22,22,22,0.45) 62%,rgba(22,22,22,0.9) 100%),url(/assets/img/hero-bicycle-kick-tall.webp)}
.hero-main{flex-direction:column!important;flex-wrap:nowrap!important;gap:0!important;align-items:stretch!important;padding:18px 20px 32px!important}
.hero-copy{display:contents!important}
.hero-copy>span{font-size:13px!important;letter-spacing:2.5px!important}
.hero-copy>h1{font-size:min(44px,calc((100vw - 40px) / 6.6))!important;line-height:.9!important;margin-top:10px!important}
.hero-copy>h1>br:first-of-type,.hero-copy>p>br{display:none}
.hero-copy>p{font-size:16px!important;line-height:1.45!important;margin-top:10px!important}
.hero-main>.drift{order:1;flex:none!important;height:430px!important;margin:18px -20px 0;align-items:flex-start!important}
.hero-main>.drift>:nth-child(-n+2){top:46px;bottom:auto!important;width:150px!important;border-radius:26px!important;border-width:7px!important;box-shadow:0 24px 48px rgba(0,0,0,0.5)!important}
.hero-main>.drift>:nth-child(1){left:max(14px,calc(50% - 181px))!important}
.hero-main>.drift>:nth-child(2){right:max(14px,calc(50% - 181px))!important}
.hero-main>.drift>:nth-child(3){width:190px!important;border-radius:32px!important;border-width:8px!important;margin-bottom:0!important;box-shadow:0 30px 60px rgba(0,0,0,0.6)!important}
.hero-copy>div{order:2;justify-content:center;gap:10px!important;margin:8px -20px 0}
.hero-copy>div img{height:46px!important}
}

/* Daily, Live, Campaign: each game logo by the heading opens its game, and the category icon opens the same
   panel as its "Play ... games" button (scripts/home.js). Pointer shortcuts: aria-hidden and out of the tab
   order, so keyboard and screen-reader users keep the one button and the "Open game" links. */
.logo-link{display:flex;border-radius:16px}
.logo-link:focus-visible{outline:3px solid #9B6FF0;outline-offset:2px}
[data-toggle-icon]{cursor:pointer}
@media (hover: hover){.logo-link:hover,[data-toggle-icon]:hover{filter:brightness(1.12)}}

/* nav shortcuts glide to their section */
@media (prefers-reduced-motion: no-preference){html{scroll-behavior:smooth}}
/* footer: rises in, finishing exactly as the page bottoms out */
@media (prefers-reduced-motion: no-preference){@supports (animation-timeline: view()){
.ft-reveal>*{animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 100%}
.ft-reveal>:nth-child(2){animation-range:entry 15% entry 100%}
}}
@keyframes rise{from{opacity:0;translate:0 70px}}
/* browsers without scroll-driven animation (Firefox, older Safari): scripts/reveal.js adds .js-reveal and
   flips .is-in as things come into view, so every section still animates in */
.js-reveal .rv,.js-reveal .from-left,.js-reveal .from-right,.js-reveal .stagger>*,.js-reveal .stagger-pop>*,.js-reveal .stagger-right>*,.js-reveal .ft-reveal>*{opacity:0;transition:opacity .7s cubic-bezier(.2,.7,.2,1),translate .7s cubic-bezier(.2,.7,.2,1),scale .7s cubic-bezier(.2,.7,.2,1)}
.js-reveal .rv,.js-reveal .stagger>*,.js-reveal .ft-reveal>*{translate:0 60px}
.js-reveal .from-left{translate:-100px 0}
.js-reveal .from-right,.js-reveal .stagger-right>*{translate:100px 0}
.js-reveal .stagger-pop>*{scale:.7}
.js-reveal .is-in{opacity:1!important;translate:0 0!important;scale:1!important}

/* Coming soon: the register-interest pop-up. A native <dialog> opened with showModal() by scripts/home.js,
   so the page behind it is inert. The dialog itself is the full-screen dimmed layer, and it scrolls if the
   card is ever taller than the screen (a 320px phone with the keyboard up). */
.ipop:not([open]){display:none}
.ipop{box-sizing:border-box;position:fixed;inset:0;z-index:100;width:auto;height:auto;max-width:none;max-height:none;margin:0;padding:16px;border:0;background:rgba(10,10,10,.76);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#FFFFFF;color-scheme:dark;font-family:Barlow,system-ui,sans-serif;overflow-y:auto;overscroll-behavior:contain}
.ipop[open]{display:flex}
.ipop::backdrop{background:transparent}
.ipop-card{position:relative;box-sizing:border-box;width:100%;max-width:420px;margin:auto;padding:28px 24px 24px;background:#1E1E1E;border:1px solid rgba(255,255,255,.1);border-radius:24px;box-shadow:0 30px 60px rgba(0,0,0,.5)}
.ipop-close{position:absolute;top:8px;right:8px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:999px;background:transparent;color:#A1A1AA;cursor:pointer}
.ipop-kicker{margin:0 44px 8px 0;font-weight:700;letter-spacing:3px;font-size:13px;line-height:1.4;text-transform:uppercase;color:#F5A623}
.ipop .ipop-title{margin:0 0 14px;font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:38px!important;line-height:1!important;text-transform:uppercase;overflow-wrap:anywhere}
.ipop-msg{margin:0;font-size:17px;line-height:1.5;color:#E4E4E7}
.ipop-msg:not(:empty){margin-bottom:22px}
.ipop-msg:not(:empty)::before{content:"";display:block;width:48px;height:48px;margin-bottom:14px;border-radius:50%;background:#22C55E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/26px no-repeat}
.ipop-form{display:flex;flex-direction:column}
.ipop-form[hidden],.ipop-done[hidden],.ipop-other[hidden]{display:none}
.ipop-desc{margin:0 0 20px;color:#D4D4D8;font-size:16px;line-height:1.5}
.ipop-label{margin-bottom:8px;font-weight:700;font-size:15px}
.ipop-input{box-sizing:border-box;width:100%;padding:14px 16px;font:inherit;font-size:17px;color:#FFFFFF;background:#161616;border:1px solid rgba(255,255,255,.22);border-radius:12px;transition:border-color .2s,box-shadow .2s}
.ipop-input:focus{outline:none;border-color:#A78BFA;box-shadow:0 0 0 3px rgba(123,63,228,.45)}
.ipop-input[aria-invalid="true"]{border-color:#F87171}
.ipop-err{margin:6px 0 0;min-height:20px;color:#F87171;font-size:14px;line-height:1.4}
.ipop-hp{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden}
.ipop-alert{margin:0;font-size:15px;line-height:1.45}
.ipop-alert:not(:empty){margin:4px 0 12px;padding:12px 14px;border:1px solid rgba(248,113,113,.45);border-radius:12px;background:rgba(220,38,38,.12)}
.ipop-submit{width:100%;margin-top:6px;padding:15px 22px;border:0;border-radius:12px;background:#F5A623;color:#161616;font:inherit;font-weight:700;font-size:18px;cursor:pointer}
.ipop-submit:disabled{opacity:.65;cursor:progress}
.ipop-note{margin:14px 0 0;color:#A1A1AA;font-size:13px;line-height:1.5}
.ipop-done{display:flex;flex-direction:column;gap:4px}
.ipop-other{padding:12px;border:0;background:none;color:#C4B5FD;font:inherit;font-weight:700;font-size:15px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ipop :focus-visible{outline:3px solid #C4B5FD;outline-offset:2px}
.ipop .ipop-input:focus-visible{outline:none}
/* hover only where there is a real pointer: on phones a tapped button would otherwise stay lit */
@media (hover: hover){.ipop-close:hover{color:#FFFFFF;background:rgba(255,255,255,.08)}.ipop-submit:enabled:hover{background:#FFB940}.ipop-other:hover{color:#E9E3FF}}
@media (max-width: 380px){.ipop-card{padding:24px 18px 20px}.ipop-kicker{letter-spacing:2px;font-size:12px}.ipop .ipop-title{font-size:32px!important}}
@keyframes ipop-fade{from{opacity:0}}
@keyframes ipop-rise{from{opacity:0;translate:0 16px}}
@media (prefers-reduced-motion: no-preference){
.ipop[open]{animation:ipop-fade .2s ease-out}
.ipop[open] .ipop-card{animation:ipop-rise .28s cubic-bezier(.2,.7,.2,1)}
}
