/* ============================================================
   PrizePass homepage, the 3D makeover (2 December 2026): Marc's Beast Vault objects in place of page screenshots.
   The hero scene (the vault door, the live Beast Vault page in a phone, a coin, the pass ticket, a gift, a diamond), the showcase band,
   the objects on the how-it-works steps, the prize groups, the points wallet and the two sign-up bands.
   The pictures are assets/img/beast/ (s/ = small versions). To swap the MrBeast-branded objects for neutral ones later, change the
   picture addresses in index.php; nothing here names a picture.
   Loaded after home.css. Every float moves by transform only and stops for reduced motion.
   ============================================================ */

@keyframes h3-bob{0%,100%{transform:translateY(0) rotate(var(--rot,0deg))}50%{transform:translateY(-12px) rotate(var(--rot,0deg))}}
@keyframes h3-spin{to{transform:rotate(360deg)}}
.hv-o,.bv-o,.pv-o,.hs3{filter:drop-shadow(0 18px 22px rgba(0,0,0,.45))}

/* ---------- 1. the hero on computers ---------- */
.hero-cards.hv3d{z-index:0}
.hv3d>*{position:absolute;display:block;height:auto}
.hv-door{left:30%;top:50%;width:min(56%,360px);opacity:.92;filter:drop-shadow(0 0 40px rgba(60,200,255,.35)) drop-shadow(0 30px 40px rgba(0,0,0,.5));animation:h3-spin 90s linear infinite}
.hv-coin{left:30%;top:-4%;width:86px;--rot:12deg;animation:h3-bob 5.5s ease-in-out infinite}
.hv-ticket{left:-8%;bottom:10%;width:160px;--rot:-14deg;animation:h3-bob 6.5s ease-in-out -2s infinite;z-index:3}
.hv-gift{left:26%;bottom:-6%;width:118px;--rot:-6deg;animation:h3-bob 6s ease-in-out -1s infinite;z-index:3}
.hv-diamond{right:-4%;top:2%;width:100px;--rot:10deg;animation:h3-bob 7s ease-in-out -3s infinite}
.hv-phone{position:absolute;left:2%;top:7%;width:206px;z-index:2;display:block;transform:rotate(-7deg);transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.hv-phone:hover{transform:rotate(-4deg) translateY(-6px)}
.hv-phone .look-card{display:block;border-radius:24px;box-shadow:0 0 0 5px #151a2b,0 0 0 6px rgba(255,255,255,.16),0 30px 60px rgba(0,0,0,.55),0 0 70px rgba(60,200,255,.3)}
.hv-phone img{display:block;width:100%;height:auto;aspect-ratio:600/1067;object-fit:cover;object-position:top}
.hv-tag{position:absolute;left:50%;bottom:-16px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:8px 14px;border-radius:999px;
  background:linear-gradient(90deg,#16b8f0,#ff3fa4);color:#fff;font-weight:800;font-size:.8rem;box-shadow:0 12px 26px rgba(0,0,0,.45),0 0 0 2px rgba(255,255,255,.25)}
.hv-tag i{width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.3);animation:h3-pulse 1.6s ease-in-out infinite}
@keyframes h3-pulse{50%{box-shadow:0 0 0 6px rgba(255,255,255,0)}}
@media (min-width:1181px){.hv-phone{left:-2%;top:6%;width:222px}.hv-door{left:32%;top:52%;width:min(56%,380px)}}
@media (min-width:981px) and (max-width:1180px){.hv-phone{width:176px;top:12%}.hv-coin{width:70px}.hv-ticket{width:130px}.hv-gift{width:96px}.hv-diamond{width:90px;right:0}}
@media (max-width:980px){.hv-phone{display:none}}

/* ---------- 2. the hero on phones and tablets: the vault door behind the live page, the coin, the gift and the ticket round it ---------- */
@media (max-width:980px){
  .hero-stage .hs3{position:absolute;height:auto;pointer-events:none}
  .hs3-door{left:50%;top:-2%;width:72%;margin-left:-36%;opacity:.9;z-index:1;filter:drop-shadow(0 0 30px rgba(60,200,255,.35));animation:h3-spin 90s linear infinite}
  .hs3-phone{position:absolute;left:50%;top:6%;width:34%;margin-left:-17%;z-index:3;transform:rotate(-4deg)}
  .hs3-phone .look-card{display:block;border-radius:16px;box-shadow:0 0 0 4px #151a2b,0 0 0 5px rgba(255,255,255,.16),0 20px 40px rgba(0,0,0,.5),0 0 50px rgba(60,200,255,.3)}
  .hs3-phone img{display:block;width:100%;height:auto;aspect-ratio:600/1067;object-fit:cover;object-position:top}
  .hs3-coin{right:8%;top:6%;width:17%;z-index:4;--rot:12deg;animation:h3-bob 5.5s ease-in-out infinite}
  .hs3-gift{left:6%;bottom:4%;width:24%;z-index:4;--rot:-8deg;animation:h3-bob 6s ease-in-out -1s infinite}
  .hs3-ticket{right:3%;bottom:10%;width:30%;z-index:4;--rot:10deg;animation:h3-bob 6.5s ease-in-out -2s infinite}
  .hero-stage{aspect-ratio:1/1}
}
@media (max-width:620px){.hero-stage{aspect-ratio:10/9}.hs3-phone{width:38%;margin-left:-19%}}

/* ---------- 3. the showcase band: the Beast Vault ---------- */
.bv-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.bv-copy h2{margin:14px 0 12px;font-size:clamp(2rem,4.2vw,3.2rem);color:#fff;text-wrap:balance}
.bv-copy .lede{color:rgba(255,255,255,.8)}
.bv-points{list-style:none;margin:24px 0 26px;padding:0;display:grid;gap:12px}
.bv-points li{display:flex;align-items:center;gap:14px;padding:12px 16px 12px 10px;border-radius:18px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.bv-ic{flex:none;width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(0,0,0,.45))}
.bv-points span{display:grid;gap:2px;color:rgba(255,255,255,.72);font-size:.92rem;line-height:1.4}
.bv-points b{color:#fff;font-size:1.02rem}
.bv-ghost{color:#fff;border-color:rgba(255,255,255,.3)}
.bv-fine{margin:16px 0 0;font-size:.8rem;color:rgba(255,255,255,.55)}
.bv-art{position:relative;display:block;height:560px;-webkit-tap-highlight-color:transparent}
.bv-art>img{position:absolute;display:block;height:auto}
.bv-confetti{left:-6%;top:0;width:112%;opacity:.85}
.bv-machine{left:2%;top:4%;width:52%;filter:drop-shadow(0 30px 40px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(60,200,255,.25));transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.bv-pedestal{right:-4%;bottom:2%;width:66%;filter:drop-shadow(0 20px 30px rgba(0,0,0,.5))}
.bv-car{right:0;bottom:22%;width:62%;filter:drop-shadow(0 18px 18px rgba(0,0,0,.5));transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.bv-gift{left:40%;top:50%;width:21%;--rot:-8deg;animation:h3-bob 6s ease-in-out infinite;z-index:2}
.bv-coin{right:6%;top:8%;width:17%;--rot:14deg;animation:h3-bob 5.5s ease-in-out -2s infinite}
.bv-lab{right:30%;top:14%;width:13%;--rot:6deg;animation:h3-bob 7s ease-in-out -1s infinite}
.bv-art:hover .bv-machine{transform:translateY(-6px) rotate(-1deg)}
.bv-art:hover .bv-car{transform:translateX(-10px)}
@media (max-width:980px){.bv-grid{grid-template-columns:1fr;gap:20px}.bv-art{order:-1;height:440px;max-width:560px;width:100%;margin:0 auto}}
@media (max-width:620px){.bv-art{height:330px}.bv-copy .hero-ctas .btn{width:100%}.bv-points li{padding:10px 12px 10px 8px}.bv-ic{width:48px;height:48px}}

/* ---------- 4. how it works: an object on every step ---------- */
.step-3d{flex:none;display:grid;place-items:center;width:64px;height:64px;margin:-8px 0 -6px -6px}
.step-3d img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(0,0,0,.4));transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.steps .step:hover .step-3d img{transform:translateY(-4px) rotate(-4deg) scale(1.06)}
@media (max-width:620px){.step-3d{width:54px;height:54px;margin:0}}
/* the "see all of it" card: a light-theme rule painted it in the text colour (white on white); it is the dark gradient-edged card again */
.steps .step.step-sum{background:linear-gradient(var(--panel-2),var(--panel)) padding-box,var(--grad) border-box;border:2px solid transparent;color:#fff}
.steps .step.step-sum h3{color:#fff}

/* ---------- 5. the prize groups ---------- */
.pz-group{position:relative}
.pz-obj{position:absolute;right:10px;top:-26px;width:78px;height:auto;z-index:2;pointer-events:none;filter:drop-shadow(0 12px 14px rgba(0,0,0,.4))}
.pz-group h3{padding-right:72px}
.pz-obj.pz-car{width:150px;right:-8px;top:-34px}
.pz-group.grand h3{padding-right:120px}
@media (max-width:620px){.pz-obj{width:62px;top:-20px}.pz-obj.pz-car{width:118px}}

/* ---------- 6. points: the pass and its treasures round the wallet ---------- */
.pts-visual{position:relative}
.pts-visual .wallet{position:relative;z-index:2}
.pv-o{position:absolute;height:auto;pointer-events:none}
.pv-card{left:-4%;top:-8%;width:210px;--rot:-12deg;z-index:1;animation:h3-bob 7s ease-in-out infinite}
.pv-coins{right:-6%;bottom:-6%;width:170px;z-index:3;--rot:4deg;animation:h3-bob 6s ease-in-out -2s infinite}
.pv-dia{right:-2%;top:-10%;width:110px;z-index:3;--rot:10deg;animation:h3-bob 5.5s ease-in-out -1s infinite}
@media (max-width:980px){.pv-card{width:150px;left:0}.pv-coins{width:120px;right:0}.pv-dia{width:80px;right:2%}}

/* ---------- 7. the sign-up bands: objects instead of pages ---------- */
.go-art-3d .go-card{filter:drop-shadow(0 26px 30px rgba(40,0,30,.5))}
.go-art-3d .go-card img{width:100%;height:auto}
.go-art-3d .go-card.c2{width:200px}
.go-art-3d .go-card.c1{width:168px}
.go-art-3d .go-card.c3{width:168px}
.go-art-3d .go-card.c1{transform:translate(-152%,-30%) rotate(-10deg)}
.go-art-3d .go-card.c2{transform:translate(-50%,-56%) rotate(0deg)}
.go-art-3d .go-card.c3{transform:translate(54%,-28%) rotate(10deg)}
.go-art-3d:hover .go-card.c1{transform:translate(-162%,-34%) rotate(-14deg)}
.go-art-3d:hover .go-card.c2{transform:translate(-50%,-60%) rotate(-2deg)}
.go-art-3d:hover .go-card.c3{transform:translate(64%,-32%) rotate(14deg)}
@media (max-width:980px){.go-art-3d .go-card.c2{width:160px}.go-art-3d .go-card.c1,.go-art-3d .go-card.c3{width:134px}}
@media (max-width:620px){.go-art-3d .go-card.c2{width:126px}.go-art-3d .go-card.c1,.go-art-3d .go-card.c3{width:104px}}

@media (prefers-reduced-motion:reduce){.hv-door,.hs3-door,.hv-o,.hs3,.bv-o,.pv-o,.hv-tag i{animation:none}}
