/* Banan Brawl — download site. Loud full-bleed colour bands, slanted edges, outlined game lettering. */
@font-face { font-family: "Pusia"; src: url(../fonts/pusia.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "SCText"; src: url(../fonts/text.woff2) format("woff2"); font-display: swap; }

:root {
  --ink: #0d0a14;
  --y: #ffc400; --y-hi: #ffe066; --y-lo: #c98b00;
  --purple: #8a2be2; --purple-lo: #5a14a8;
  --violet: #2a0f5c;
  --teal: #0aa6a0; --teal-lo: #067a76;
  --cut: 70px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: #fff; font: 17px/1.5 "SCText", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: normal; }
.hidden { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.center { text-align: center; }

/* game lettering: white face, thick black outline, hard drop shadow */
.big, .mid { font-family: "Pusia", sans-serif; color: #fff; text-transform: uppercase; letter-spacing: .5px;
  -webkit-text-stroke: .16em var(--ink); paint-order: stroke fill; text-shadow: 0 .11em 0 var(--ink); }
.big { font-size: clamp(42px, 7vw, 92px); line-height: .98; }
.mid { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; }
.under { font: 18px "SCText", sans-serif; font-weight: 700; margin: 18px auto 0; max-width: 34em; color: rgba(255,255,255,.92); text-shadow: 0 2px 0 rgba(0,0,0,.25); }
.under.ink { color: var(--ink); text-shadow: none; }

/* buttons: chunky game buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 22px "Pusia", sans-serif; text-transform: uppercase; text-decoration: none;
  padding: 16px 34px 18px; border-radius: 14px; border: 3px solid var(--ink); cursor: pointer; transition: transform .1s, box-shadow .1s; }
.btn.y { background: linear-gradient(180deg, var(--y-hi) 0, var(--y) 55%); color: var(--ink); box-shadow: 0 6px 0 var(--ink), inset 0 -5px 0 var(--y-lo); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink), inset 0 -3px 0 var(--y-lo); }
.btn.sm { font-size: 16px; padding: 8px 18px 10px; border-width: 2px; box-shadow: 0 4px 0 #000, inset 0 -3px 0 var(--y-lo); }

/* header */
.top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; gap: 30px; padding: 0 24px; background: var(--ink); }
.top .logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: 10px; }
.nav a { font: 16px "Pusia", sans-serif; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.7); }
.nav a:hover, .nav a.on { color: var(--y); }
.top .btn { margin-left: auto; }

/* colour bands with slanted edges; .rev slants the other way */
.band { position: relative; padding: calc(var(--cut) + 70px) 0 calc(var(--cut) + 70px); margin-top: calc(var(--cut) * -1); overflow: hidden; }
/* each joint is one straight line shared by both bands, the slant flips from joint to joint */
.band.cut { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 calc(100% - var(--cut))); }
.band.cut.rev { clip-path: polygon(0 0, 100% var(--cut), 100% calc(100% - var(--cut)), 0 100%); }
.purple { background: radial-gradient(70% 60% at 50% 45%, #b14dff 0, var(--purple) 45%, var(--purple-lo) 100%); }
.yellow { background: radial-gradient(70% 70% at 50% 40%, #ffe070 0, var(--y) 55%, #f0a800 100%); color: var(--ink); }
.dark { background: #15101f; }
.teal { background: radial-gradient(70% 70% at 50% 30%, #23c9c1 0, var(--teal) 50%, var(--teal-lo) 100%); }
.violet { background: radial-gradient(80% 70% at 50% 20%, #5b2aa8 0, #3a1680 45%, var(--violet) 100%); }

/* sunburst rays */
.rays { position: absolute; left: 50%; top: 52%; width: 1800px; height: 1800px; margin: -900px 0 0 -900px; pointer-events: none; opacity: .22;
  background: repeating-conic-gradient(from 0deg, #fff 0 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 15%, transparent 72%); mask: radial-gradient(closest-side, #000 15%, transparent 72%);
  animation: spin 80s linear infinite; }
.rays.dim { opacity: .1; top: 30%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 1. hero */
.hero { position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: 110px 20px calc(var(--cut) + 70px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: drift 30s ease-in-out infinite alternate; transform-origin: 60% 60%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.04); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,10,20,.55) 0, rgba(13,10,20,0) 22%, rgba(13,10,20,0) 45%, rgba(13,10,20,.75) 85%, rgba(13,10,20,.9) 100%); }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.season-chip { display: inline-block; font: 15px "Pusia", sans-serif; text-transform: uppercase; color: var(--ink); background: var(--y); border: 3px solid var(--ink); border-radius: 10px; padding: 5px 14px 7px; box-shadow: 0 4px 0 var(--ink); transform: rotate(-2deg); margin-bottom: 22px; }
.season-chip em { font-style: normal; opacity: .7; }
.hero h1 { font-size: clamp(48px, 9vw, 124px); }
.stores { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; padding: 12px 26px 14px 20px; border-radius: 16px; text-decoration: none; color: #fff;
  background: #000; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 6px 0 rgba(0,0,0,.6); transition: transform .12s; }
.store:hover { transform: translateY(-3px); }
.store svg { width: 34px; height: 34px; flex: none; }
.store span { display: flex; flex-direction: column; text-align: left; font: 26px/1 "Pusia", sans-serif; }
.store small { font: 12px "SCText", sans-serif; font-weight: 700; opacity: .75; margin-bottom: 4px; }
.btn.go { margin-top: 30px; font-size: 30px; padding: 16px 46px 18px; }
.btn.go svg { width: 30px; height: 30px; }
.btn.go + .stores { margin-top: 22px; }
.play-link { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--y); text-decoration: none; }
.play-link:hover { text-decoration: underline; }
.countdown { margin: 22px 0 0; font-weight: 700; color: rgba(255,255,255,.85); }
.countdown b { color: var(--y); font-variant-numeric: tabular-nums; }

/* 2. season showcase */
.show { display: flex; align-items: center; justify-content: center; gap: 30px; margin: 30px 0 0; }
.stage { position: relative; width: min(560px, 70vw); height: min(520px, 62vw); display: flex; align-items: flex-end; justify-content: center; }
.stage::after { content: ""; position: absolute; bottom: 0; left: 15%; right: 15%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.35), transparent); z-index: -1; }
.stage img { max-height: 100%; width: auto; filter: drop-shadow(0 18px 24px rgba(40,0,80,.45)); transition: transform .35s cubic-bezier(.3,1.5,.6,1), opacity .2s; }
.stage img.swap { transform: scale(.75) translateY(30px); opacity: 0; }
.arrow { flex: none; width: 64px; height: 56px; border-radius: 12px; border: 3px solid var(--ink); cursor: pointer; color: var(--ink);
  background: linear-gradient(180deg, var(--y-hi) 0, var(--y) 55%); box-shadow: 0 5px 0 var(--ink), inset 0 -4px 0 var(--y-lo); display: grid; place-items: center; transition: transform .1s; }
.arrow:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink), inset 0 -3px 0 var(--y-lo); }
.arrow svg { width: 28px; height: 28px; }
.show-info { margin-top: 18px; }
.label { display: inline-block; font: 14px "Pusia", sans-serif; letter-spacing: .5px; background: var(--ink); color: var(--y); border-radius: 8px; padding: 4px 12px 6px; transform: rotate(-2deg); }
.show-info h3 { margin: 10px 0 6px; }
.show-info p { margin: 0 auto; max-width: 30em; font-weight: 700; min-height: 3em; }
.thumbs { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.thumbs button { width: 74px; height: 74px; border-radius: 14px; border: 3px solid var(--ink); background: rgba(0,0,0,.25); padding: 4px; cursor: pointer; filter: grayscale(.9) brightness(.8); transition: transform .15s, filter .15s; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button[aria-selected="true"] { filter: none; background: var(--y); transform: translateY(-6px) rotate(-3deg); box-shadow: 0 5px 0 var(--ink); }

/* lobby pattern: one seamless tile, the whole layer slides by exactly one tile (transform only = no repaint) */
.lobby { position: absolute; left: -40%; top: -40%; width: 180%; height: calc(180% + 260px); pointer-events: none; opacity: .1;
  background: url(../images/lobby.webp) 0 0 / 260px 260px repeat; transform: rotate(-12deg); will-change: transform;
  animation: lobby 28s linear infinite; animation-play-state: paused; }
.band.live .lobby, .band.live .rays { animation-play-state: running; }
.rays { animation-play-state: paused; }
.yellow .lobby { opacity: .2; }
@keyframes lobby { from { transform: rotate(-12deg) translate3d(0, 0, 0); } to { transform: rotate(-12deg) translate3d(0, -260px, 0); } }

/* 3. banan pass: reward cards like in the game (rarity colour, glow, floating item, shine sweep) */
.loot { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 14px; margin-top: 44px; perspective: 900px; }
.item { --c1: #fff; --c2: #ddd; --i: 0; position: relative; width: 148px; border: 3px solid var(--ink); border-radius: 18px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, var(--c1) 0, var(--c2) 100%); box-shadow: 0 7px 0 var(--ink), inset 0 3px 0 rgba(255,255,255,.45);
  opacity: 0; transform: translateY(40px) scale(.85) rotate(-4deg); transition: transform .5s cubic-bezier(.3,1.6,.5,1), opacity .3s; transition-delay: calc(var(--i) * 70ms); }
.loot.in .item { opacity: 1; transform: none; }
.loot.in .item:hover { transform: translateY(-8px) rotate(-2deg) scale(1.04); transition-delay: 0s; }
.item .pic { position: relative; height: 128px; display: grid; place-items: center; }
.item .pic::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0)); }
.item .pic img { position: relative; max-height: 100px; max-width: 118px; width: auto; filter: drop-shadow(0 8px 8px rgba(0,0,0,.3));
  animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); animation-play-state: paused; }
.band.live .item .pic img { animation-play-state: running; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.item::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 46px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.65), rgba(255,255,255,0));
  transform: translateX(-80px) skewX(-18deg); animation: shine 5s ease-in-out infinite; animation-delay: calc(var(--i) * .35s); animation-play-state: paused; pointer-events: none; }
.band.live .item::after { animation-play-state: running; }
@keyframes shine { 0%, 62% { transform: translateX(-80px) skewX(-18deg); } 82%, 100% { transform: translateX(220px) skewX(-18deg); } }
.cnt { background: rgba(13,10,20,.82); padding: 8px 6px 10px; text-align: center; border-top: 3px solid var(--ink); }
.cnt b { display: block; font: 30px/1 "Pusia", sans-serif; color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); }
.cnt span { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); margin-top: 3px; line-height: 1.15; }
.rar { position: absolute; z-index: 2; top: 8px; left: 8px; font: 11px "Pusia", sans-serif; letter-spacing: .5px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 6px; padding: 1px 6px 2px; }
.r-epic { --c1: #e08bff; --c2: #9b2fe0; }
.r-chroma { --c1: #ff9ad5; --c2: #7b4dff; background: linear-gradient(160deg, #ff7bc4 0, #ffb84d 35%, #6ee0ff 70%, #8a5bff 100%); }
.r-gold { --c1: #fff2a8; --c2: #f5a700; }
.r-pink { --c1: #ffb3e6; --c2: #d63ca8; }
.r-blue { --c1: #9fd8ff; --c2: #2f7ff0; }
.r-violet { --c1: #d3b8ff; --c2: #6a3fd1; }
.r-teal { --c1: #a8fff0; --c2: #19b39f; }

/* 4. trailer */
.scatter { position: absolute; inset: 0; pointer-events: none; }
.scatter img { position: absolute; height: auto; opacity: .3; }
.trailer { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.trailer .under { margin-left: 0; }
.player { position: relative; width: 300px; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; border: 4px solid #fff; box-shadow: 0 10px 0 rgba(0,0,0,.5); transform: rotate(2deg); }
.player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; border: 4px solid var(--ink); cursor: pointer; color: var(--ink);
  background: linear-gradient(180deg, var(--y-hi) 0, var(--y) 55%); box-shadow: 0 6px 0 var(--ink); display: grid; place-items: center; transition: transform .12s; }
.play:hover { transform: scale(1.08); }
.play svg { width: 34px; height: 34px; margin-left: 5px; }

/* 5. install */
.os-switch { display: inline-flex; gap: 6px; padding: 6px; background: rgba(0,0,0,.25); border-radius: 16px; margin: 28px 0 30px; }
.os-switch button { font: 18px "Pusia", sans-serif; text-transform: uppercase; color: rgba(255,255,255,.8); background: none; border: 0; border-radius: 11px; padding: 10px 24px 12px; cursor: pointer; }
.os-switch button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: s; position: relative; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink); padding: 34px 24px 24px; }
.steps li::before { content: counter(s); position: absolute; top: -26px; left: 20px; width: 52px; height: 52px; display: grid; place-items: center; font: 28px "Pusia", sans-serif; color: var(--ink);
  background: var(--y); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); transform: rotate(-6deg); }
.steps b { display: block; font: 21px "Pusia", sans-serif; text-transform: uppercase; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 15px; color: #3a3546; }
.meta { margin: 12px 0 0; font-weight: 700; opacity: .85; }
.meta:empty { display: none; }
.faq { max-width: 760px; margin: 50px auto 0; }
.faq details { background: rgba(0,0,0,.18); border-radius: 14px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 26px "Pusia", sans-serif; color: var(--y); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0; padding: 0 20px 18px; }
.faq a { color: var(--y); }

/* 6. shop */
.shelf { display: grid; grid-template-columns: 320px 1fr; gap: 20px; margin: 40px 0 40px; }
.prem { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink);
  background: linear-gradient(180deg, #ffe680 0, var(--y) 50%, #f2a600 100%); border: 3px solid var(--ink); border-radius: 22px; padding: 34px 20px 22px; box-shadow: 0 7px 0 var(--ink); transition: transform .15s; }
.prem:hover { transform: translateY(-4px); }
.ribbon { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-3deg); background: #ff3d6e; color: #fff; font: 16px "Pusia", sans-serif; letter-spacing: .5px; padding: 5px 16px 7px; border: 3px solid var(--ink); border-radius: 10px; box-shadow: 0 4px 0 var(--ink); }
.ticket { width: 180px; margin: 4px 0 4px; transform: rotate(-8deg); filter: drop-shadow(0 10px 10px rgba(110,60,0,.35)); }
.prem-title { font: 26px "Pusia", sans-serif; text-transform: uppercase; margin-bottom: 12px; }
.perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
.perks li { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.5); border-radius: 10px; padding: 6px 8px; font-size: 13px; font-weight: 700; text-align: left; line-height: 1.2; }
.perks img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.price { display: inline-block; font: 22px "Pusia", sans-serif; color: #fff; background: linear-gradient(180deg, #52e07c 0, #25b350 100%); border: 3px solid var(--ink); border-radius: 12px; padding: 6px 18px 8px; box-shadow: 0 4px 0 var(--ink); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; }
.price.big { font-size: 30px; padding: 8px 30px 10px; margin-top: auto; }
.gems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pack { position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 16px 10px 16px;
  background: radial-gradient(90% 70% at 50% 30%, #7b46d8 0, #4b1fa0 100%); box-shadow: 0 7px 0 var(--ink); transition: transform .15s; }
.pack:hover { transform: translateY(-4px); }
.pack > img { height: 96px; width: auto; object-fit: contain; margin: 4px 0 8px; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.pack b { display: flex; align-items: center; gap: 6px; font: 26px "Pusia", sans-serif; margin-bottom: 10px; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; text-shadow: 0 3px 0 var(--ink); }
.pack b img { width: 24px; height: 24px; }
.badge { position: absolute; top: -12px; right: -8px; background: #ff3d6e; font: 13px "Pusia", sans-serif; padding: 4px 10px 6px; border: 3px solid var(--ink); border-radius: 9px; transform: rotate(8deg); box-shadow: 0 3px 0 var(--ink); }

/* footer */
.foot { padding: 60px 0 50px; background: var(--ink); text-align: center; }
.foot-logo { width: 180px; margin: 0 auto 24px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.foot nav a { font: 16px "Pusia", sans-serif; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.75); }
.foot nav a:hover { color: var(--y); }
.legal { max-width: 60em; margin: 28px auto 0; font-size: 13px; color: rgba(255,255,255,.45); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(8,5,14,.7); display: grid; place-items: center; padding: 20px; }
.modal .box { position: relative; background: radial-gradient(90% 70% at 50% 20%, #b14dff 0, var(--purple-lo) 100%); border: 4px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 var(--ink); padding: 26px 28px 30px; max-width: 400px; text-align: center; }
.modal .box img { width: 150px; margin: -70px auto 10px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.35)); }
.modal p { font-weight: 700; margin: 10px 0 22px; }
.modal .x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font: 30px/1 "Pusia", sans-serif; color: #fff; cursor: pointer; }

@media (max-width: 960px) {
  .nav { display: none; }
  .trailer { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .trailer .under { margin-left: auto; }
  .player { margin: 0 auto; }
  .shelf { grid-template-columns: 1fr; }
  .prem { max-width: 440px; width: 100%; margin: 0 auto; }
}
@media (max-width: 700px) {
  :root { --cut: 36px; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top { height: 58px; padding: 0 16px; }
  .top .logo img { height: 40px; }
  .band { padding: calc(var(--cut) + 46px) 0 calc(var(--cut) + 50px); }
  .hero { padding-bottom: calc(var(--cut) + 46px); }
  .season-chip em { display: none; }
  .store { min-width: 0; flex: 1 1 0; padding: 10px 14px 12px; }
  .store span { font-size: 21px; }
  .store svg { width: 28px; height: 28px; }
  .stores { width: 100%; gap: 10px; }
  .under { font-size: 16px; }
  .show { gap: 8px; }
  .arrow { width: 46px; height: 44px; }
  .stage { width: 62vw; height: 66vw; }
  .thumbs button { width: 58px; height: 58px; }
  .item { width: calc(50% - 9px); }
  .loot { gap: 18px 14px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .gems { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pack > img { height: 72px; }
  .pack b { font-size: 21px; }
  .btn { font-size: 19px; padding: 14px 24px 16px; }
  .scatter img { opacity: .18; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rays, .hero-bg img, .lobby, .item .pic img, .item::after { animation: none !important; } * { transition: none !important; } .item { opacity: 1; transform: none; } }
