.bonus-page { padding: max(12px, env(safe-area-inset-top)) 14px calc(100px + env(safe-area-inset-bottom)); background-size: 100% 100%; background-repeat: no-repeat; }
.bonus-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; margin-bottom: 20px; }
.bonus-top > img { width: min(100%, 255px); justify-self: center; }
.bonus-top .dash-demo { justify-self: end; }
.bonus-back { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #bd8aff88; border-radius: 12px; background: #252330; }
.bonus-back svg { width: 23px; }
.bonus-page > h1 { margin: 0 0 13px; font-size: clamp(1.75rem, 8cqw, 2.55rem); font-weight: 900; }
.bonus-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; padding: 4px; border: 1px solid #bd8aff80; border-radius: 13px; background: #252330; }
.bonus-tabs button { min-height: 44px; padding: 5px; border: 0; border-radius: 9px; background: transparent; font-size: clamp(.81rem, 3.8cqw, 1rem); font-weight: 800; }
.bonus-tabs button[aria-selected=true] { background: var(--lime); color: var(--ink); }
.bonus-spin-card, .bonus-ref-hero { position: relative; isolation: isolate; overflow: hidden; padding: 20px 15px 15px; border: 1px solid #bd8aff; border-radius: 20px; background: linear-gradient(145deg, #5115a1d9, #2a173de8 75%), url('/assets/backgrounds/concrete-wall.webp') center/cover; box-shadow: 0 5px 14px #160d23, inset 0 1px 18px #b961ff38; }
.bonus-spin-card { text-align: center; }
.bonus-spin-card h2, .bonus-ref-hero h2 { position: relative; margin: 0 0 12px; font: italic 1000 clamp(1.8rem, 10.3cqw, 3.3rem)/.92 Arial, sans-serif; letter-spacing: -.055em; text-shadow: 2px 3px 0 #282034; }
.bonus-spin-card h2 { color: #fff; }
.bonus-crown { position: absolute; right: 10px; top: 12px; width: 14cqw; color: #ccff00; transform: rotate(14deg); }
.bonus-crown svg { width: 100%; height: auto; filter: drop-shadow(0 2px 2px #252330); }
.bonus-range, .bonus-clock { color: #e8d3ff; font-weight: 700; font-size: .89rem; }
.bonus-clock { margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.bonus-machine { --reel-row: clamp(64px, 22cqw, 96px); position: relative; display: grid; align-items: center; height: var(--reel-row); overflow: hidden; margin: 16px 0 10px; padding-inline: 12px; border: 2px solid #ba78fb; border-radius: 14px; background: #22152e; box-shadow: inset 0 0 17px #0d0815; }
.bonus-machine::before, .bonus-machine::after { content: ""; position: absolute; z-index: 1; top: 50%; border-block: 6px solid transparent; border-inline-start: 7px solid #ccff00; translate: 0 -50%; }
.bonus-machine::before { left: 8px; }
.bonus-machine::after { right: 8px; rotate: 180deg; }
.bonus-reel { position: absolute; inset: 0 12px auto; }
.bonus-reel div { display: grid; place-items: center; height: var(--reel-row); color: var(--lime); font: italic 900 clamp(2.3rem, 14cqw, 4.25rem)/1 Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.065em; }
.bonus-result { min-height: 1.45em; margin: 0 0 9px; color: #f1e5ff; font-weight: 800; }
.bonus-cta, .bonus-copy { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 50px; padding: 9px 12px; border: 1px solid #ebff8b; border-radius: 12px; background: #ccff00 url('/assets/textures/lime.webp') center/auto 125% repeat; color: #252330; font-size: 1rem; font-weight: 900; }
.bonus-cta:disabled { opacity: 1; border-color: #bd8aff66; background: #392c48; color: #f1e5ff; }
.bonus-cta svg, .bonus-friend-icon svg { width: 21px; height: 21px; }
.bonus-win .bonus-machine { border-color: #ccff00; box-shadow: 0 0 16px #d0ff0070, inset 0 0 18px #5a752752; }
.bonus-spin-card .bonus-confetti { position: absolute; z-index: 2; top: 56%; left: 50%; pointer-events: none; }
.bonus-confetti i { position: absolute; width: 8px; height: 13px; clip-path: polygon(12% 0, 100% 20%, 78% 95%, 0 82%); background: var(--paint); opacity: 0; }
.bonus-ref-hero { min-height: 192px; display: grid; align-items: center; border-color: #d8ff46; background: linear-gradient(110deg, #d2ff22ed 24%, #bdf012cc 60%, #8644a8), url('/assets/backgrounds/concrete-wall.webp') center/cover; }
.bonus-ref-hero img { position: absolute; right: -9%; top: 0; z-index: -1; height: 142%; max-width: none; transform: scaleX(-1); filter: drop-shadow(0 3px 6px #251030); }
.bonus-ref-copy { max-width: 60%; color: #282034; }
.bonus-ref-copy h2 { text-shadow: none; }
.bonus-ref-copy p { margin: 0; font-size: clamp(.8rem, 3.8cqw, 1rem); font-weight: 800; line-height: 1.23; }
.bonus-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 12px 0; }
.bonus-stats > div, .bonus-friend { display: grid; gap: 4px; padding: 9px 10px; border: 1px solid #bd8aff7d; border-radius: 11px; background: #2a2235; }
.bonus-stats span { color: #efdfff; font-size: .82rem; }
.bonus-stats strong { color: #ccff00; font-size: 1.25rem; line-height: 1.2; overflow-wrap: anywhere; }
.bonus-share { display: grid; gap: 6px; }
.bonus-copy { min-height: 44px; background: #342447; color: #fff; border-color: #bd8aff; }
.bonus-share input.bonus-link { margin: 0; font-size: .8rem; color: #ded8e7; }
.bonus-hint { margin: 10px 0 0; color: #e1d3eb; font-size: .86rem; }
.bonus-share-status { margin: 0; color: var(--lime); font-size: .86rem; }
.bonus-share-status:empty { display: none; }
.bonus-list-title { margin: 16px 0 8px; }
.bonus-friends { display: grid; gap: 6px; }
.bonus-friend { grid-template-columns: 25px 1fr auto; align-items: center; gap: 7px; }
.bonus-friend small { display: block; color: #e0c7f2; }
.bonus-friend-icon, .bonus-friend > strong { color: var(--lime); }
@media (max-width: 345px) { .bonus-spin-card .bonus-crown { width: 37px; } .bonus-ref-copy { max-width: 64%; } }
@media (prefers-reduced-motion: no-preference) {
  .bonus-confetti i { animation: bonus-spray .78s ease-out; }
  .bonus-cta:not(:disabled):active, .bonus-copy:active { transform: scale(.98); }
  @keyframes bonus-spray { 10% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
}
.bonus-page + .nav { background: #252330f5; }
.bonus-spin-card::before { content: ""; position: absolute; z-index: -1; inset: 18px 8px auto; height: 120px; background: url('/assets/graffiti/lime-swipe.webp') center/100% auto no-repeat; opacity: .22; rotate: -9deg; pointer-events: none; }
.bonus-spin-card .bonus-crown { top: 34px; opacity: .9; }
