:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #1d1524;
  --muted: #685c70;
  --cream: #fff6e7;
  --paper: #fffaf2;
  --aqua: #38e5df;
  --teal: #047d92;
  --coral: #ff5d29;
  --gold: #f5b642;
  --violet: #682e91;
  --deep: #07101f;
  --line: rgba(48, 29, 54, 0.16);
  --shadow: 0 24px 70px rgba(23, 13, 34, 0.16);
  --content-max: 1440px;
  --page-pad: clamp(20px, 6vw, 86px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(16px, calc((100vw - var(--content-max)) / 2));
  color: #ffffff;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.92), rgba(7, 16, 31, 0));
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(26px, 5vw, 74px);
  min-height: 94vh;
  overflow: hidden;
  padding: clamp(94px, 10vh, 126px) max(var(--page-pad), calc((100vw - var(--content-max)) / 2)) clamp(34px, 5vw, 58px);
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 195, 104, 0.28), transparent 30%),
    radial-gradient(circle at 20% 72%, rgba(210, 72, 152, 0.20), transparent 34%),
    linear-gradient(180deg, #2b1742 0%, #111326 58%, #07101f 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 14vh;
  min-height: 72px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), var(--paper));
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe49c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: 92px;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

h2 {
  margin-bottom: 14px;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.16;
}

.hero-copy p:not(.eyebrow) {
  width: min(620px, 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.45;
}

.hero-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hero-price span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 226, 122, 0.42);
  border-radius: 999px;
  color: #ffe173;
  background: rgba(255, 226, 122, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  font-size: 15px;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.primary-action {
  color: #1a0f1e;
  background: linear-gradient(135deg, #ffe27a, #ff7b3d);
  box-shadow: 0 16px 38px rgba(255, 93, 41, 0.28);
}

.secondary-action {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-art {
  align-self: end;
  justify-self: center;
  width: min(720px, 94vw);
  min-height: 670px;
}

.ipad-shell {
  position: absolute;
  top: 118px;
  left: 50%;
  width: min(600px, 82vw);
  aspect-ratio: 4 / 3;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 36px;
  background: linear-gradient(145deg, #252b35, #05070c 48%, #333c49);
  box-shadow:
    0 38px 120px rgba(0, 0, 0, 0.42),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 0 0 8px rgba(0, 0, 0, 0.72);
  opacity: 0.86;
  transform: translateX(-58%) rotate(-5deg);
}

.ipad-shell::before {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 31px;
  content: "";
  pointer-events: none;
}

.ipad-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 25px;
  background: #23143a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ipad-camera {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 6;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #090b12;
  transform: translateY(-50%);
}

.ipad-court {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 20%, rgba(255, 214, 126, 0.26), transparent 32%),
    linear-gradient(180deg, #f8ad48 0%, #bd5b5e 48%, #6f3b94 100%);
}

.ipad-wall {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 166, 86, 0.28), rgba(224, 86, 124, 0.20) 58%, rgba(88, 40, 126, 0.34)),
    linear-gradient(90deg, rgba(255, 214, 126, 0.18), transparent 18%, transparent 82%, rgba(255, 134, 120, 0.16));
}

.ipad-court::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 72px;
  border-top: 9px solid rgba(232, 121, 78, 0.95);
  background:
    radial-gradient(ellipse at 50% 24%, rgba(255, 225, 154, 0.72), transparent 46%),
    linear-gradient(180deg, rgba(151, 76, 118, 0.82), rgba(70, 41, 106, 0.96));
  content: "";
}

.ipad-hoop {
  position: absolute;
  z-index: 2;
  width: 86px;
}

.ipad-hoop div {
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(250, 153, 87, 0.94), rgba(173, 74, 149, 0.90));
  box-shadow: 0 14px 24px rgba(34, 18, 48, 0.24);
}

.ipad-hoop div::after {
  display: block;
  width: 64px;
  height: 44px;
  margin: 8px auto 0;
  border-radius: 7px;
  background: rgba(255, 241, 226, 0.28);
  content: "";
}

.ipad-hoop span {
  display: block;
  width: 54px;
  height: 9px;
  margin: -8px auto 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #fcb85a, #dc4565);
}

.ipad-hoop-one {
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
}

.ipad-hoop-two {
  top: 218px;
  left: 16%;
}

.ipad-hoop-three {
  top: 218px;
  right: 16%;
}

.ipad-ball {
  position: absolute;
  right: 36%;
  bottom: 96px;
  z-index: 4;
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.26));
}

.ipad-dock {
  position: absolute;
  right: 28%;
  bottom: 17px;
  left: 28%;
  z-index: 4;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(34, 18, 48, 0.22);
}

.iphone-shell {
  position: relative;
  z-index: 3;
  margin: 0 34px 0 auto;
  width: 100%;
  max-width: 374px;
  aspect-ratio: 390 / 844;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 52px;
  background:
    linear-gradient(145deg, #1f2430, #06070c 45%, #2d3543);
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 0 0 8px rgba(0, 0, 0, 0.7);
  transform: translateY(12px);
}

.iphone-shell::before {
  position: absolute;
  inset: 6px;
  border-radius: 47px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  content: "";
  pointer-events: none;
}

.iphone-side-button {
  position: absolute;
  width: 4px;
  border-radius: 999px;
  background: #2a303b;
}

.side-left {
  top: 132px;
  left: -3px;
  height: 70px;
}

.side-right {
  top: 188px;
  right: -3px;
  height: 96px;
}

.iphone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: #031b30;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.iphone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 9;
  width: 112px;
  height: 30px;
  border-radius: 0 0 18px 18px;
  background: #05070b;
  transform: translateX(-50%);
}

.runtime-court {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 214, 126, 0.28), transparent 32%),
    linear-gradient(180deg, #f8ad48 0%, #bd5b5e 46%, #6f3b94 100%);
}

.court-wall {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 166, 86, 0.28), rgba(224, 86, 124, 0.20) 58%, rgba(88, 40, 126, 0.34)),
    linear-gradient(90deg, rgba(255, 214, 126, 0.18), transparent 18%, transparent 82%, rgba(255, 134, 120, 0.16));
}

.court-floor {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 126px;
  border-top: 12px solid rgba(232, 121, 78, 0.95);
  background:
    radial-gradient(ellipse at 50% 24%, rgba(255, 225, 154, 0.72), transparent 46%),
    linear-gradient(180deg, rgba(151, 76, 118, 0.82), rgba(70, 41, 106, 0.96));
}

.classic-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.glow-one {
  top: 12%;
  left: 12%;
  width: 170px;
  height: 170px;
  background: rgba(255, 204, 96, 0.16);
}

.glow-two {
  right: -30px;
  bottom: 25%;
  width: 210px;
  height: 210px;
  background: rgba(238, 88, 148, 0.16);
}

.classic-wave {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 20px;
  border-radius: 999px;
  border-top: 3px solid rgba(255, 207, 135, 0.18);
  transform: rotate(-4deg);
}

.wave-one {
  top: 29%;
}

.wave-two {
  top: 39%;
  border-color: rgba(238, 96, 148, 0.18);
  transform: rotate(5deg);
}

.court-bar {
  position: absolute;
  z-index: 2;
  object-fit: contain;
  opacity: 0.34;
  filter: hue-rotate(316deg) saturate(1.55) drop-shadow(0 10px 12px rgba(0, 0, 0, 0.18));
}

.court-bar-left {
  bottom: 126px;
  left: 0;
  width: 78px;
}

.court-bar-right {
  right: -8px;
  bottom: 126px;
  width: 172px;
}

.court-bar-top {
  top: 28px;
  left: 0;
  width: 78px;
  opacity: 0.16;
}

.score-strip {
  position: absolute;
  top: 46px;
  right: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(54, 31, 76, 0.70);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 850;
}

.score-strip span:last-child {
  text-align: right;
}

.score-strip strong {
  color: #ffe173;
  font-size: 28px;
  line-height: 1;
}

.hero-hoop {
  position: absolute;
  width: 86px;
}

.hoop-one {
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
}

.hoop-two {
  top: 44%;
  left: 9%;
}

.hoop-three {
  top: 44%;
  right: 9%;
}

.hero-hoop .backboard,
.generated-board {
  width: 100%;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28));
}

.generated-board {
  height: 62px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(250, 153, 87, 0.94), rgba(173, 74, 149, 0.90)),
    rgba(255, 255, 255, 0.12);
}

.generated-board::after {
  display: block;
  width: 70px;
  height: 50px;
  margin: 6px auto 0;
  border-radius: 8px;
  background: rgba(255, 241, 226, 0.28);
  content: "";
}

.hero-hoop .net {
  width: 50px;
  margin: -12px auto 0;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.26));
}

.bottom-dock {
  position: absolute;
  right: 34px;
  bottom: 14px;
  left: 34px;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  min-height: 58px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #21152a;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
  text-align: center;
  font-size: 9px;
  font-weight: 900;
}

.bottom-dock img {
  width: 48px;
  height: 48px;
  justify-self: center;
  object-fit: contain;
}

.bottom-dock strong {
  font-size: 20px;
  line-height: 1;
}

.hero-ball {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.34));
}

.hero-ball-main {
  right: 28%;
  bottom: 20%;
  width: 50px;
  max-width: 50px;
}

.hero-ball-side {
  bottom: 28%;
  left: 18%;
  width: 38px;
  max-width: 38px;
}

section:not(.hero) {
  padding: clamp(62px, 9vw, 118px) max(var(--page-pad), calc((100vw - var(--content-max)) / 2));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.mode-band {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 242, 224, 0.98)),
    var(--paper);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

.mode-card {
  position: relative;
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(33, 21, 38, 0.06);
}

.mode-card::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(104, 46, 145, 0.10);
  content: "3";
  font-size: 82px;
  font-weight: 950;
  line-height: 0.8;
}

.mode-card:nth-child(1)::after {
  content: "P";
}

.mode-card:nth-child(2)::after {
  content: "T";
}

.mode-card:nth-child(3)::after {
  content: "H";
}

.mode-card:nth-child(4)::after {
  content: "S";
}

.mode-card:nth-child(5)::after {
  content: "X";
}

.mode-card:nth-child(6)::after {
  content: "B";
}

.mode-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.mode-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff7b3d, #682e91);
  box-shadow: 0 12px 26px rgba(104, 46, 145, 0.18);
}

.mode-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 93, 41, 0.20);
  border-radius: 999px;
  color: #70264a;
  background: rgba(255, 226, 122, 0.42);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mode-card p,
.arena-copy p,
.unlock-band p,
.leaderboard-card p,
footer p {
  color: var(--muted);
}

.mode-card.hot {
  border-color: rgba(255, 93, 41, 0.26);
  background: #fff0e7;
}

.mode-card.boss {
  border-color: rgba(104, 46, 145, 0.20);
  background: #f4ecff;
}

.challenge-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 226, 122, 0.22), transparent 28%),
    radial-gradient(circle at 14% 82%, rgba(56, 229, 223, 0.18), transparent 32%),
    linear-gradient(145deg, #14152c, #38205d 54%, #0a6677);
}

.challenge-band .eyebrow {
  color: #ffe173;
}

.challenge-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.challenge-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.challenge-points span {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  font-size: 13px;
  font-weight: 900;
}

.challenge-graphic {
  position: relative;
  min-height: 560px;
}

.challenge-card {
  position: absolute;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.daily-card {
  top: 28px;
  left: 0;
  z-index: 2;
  width: min(360px, 70%);
  padding: 26px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 79, 174, 0.26), transparent 34%),
    rgba(255, 255, 255, 0.12);
}

.boss-card {
  right: 0;
  bottom: 24px;
  width: min(470px, 82%);
  padding: 30px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 112, 42, 0.32), transparent 32%),
    rgba(17, 14, 35, 0.78);
}

.challenge-card-head span,
.challenge-card-head strong {
  display: block;
}

.challenge-card-head span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.challenge-card-head strong {
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.06;
}

.challenge-orbit {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.challenge-orbit img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.32));
}

.challenge-orbit span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.challenge-reward {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  padding: 7px 13px;
  border-radius: 8px;
  color: #271332;
  background: #ffe173;
}

.challenge-reward img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.boss-meter {
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.boss-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffe173, #ff6a2e);
}

.boss-goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.boss-goals span {
  min-height: 68px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
  font-size: 13px;
  font-weight: 850;
}

.boss-rewards {
  display: flex;
  gap: 12px;
}

.boss-rewards img {
  width: 68px;
  height: 68px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  object-fit: contain;
}

.rotation-stack {
  position: absolute;
  top: 42%;
  left: 28%;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(260px, 56%);
  transform: rotate(-5deg);
}

.rotation-stack span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  font-size: 13px;
  font-weight: 850;
}

.rotation-stack strong {
  color: var(--coral);
  text-transform: uppercase;
}

.arena-band,
.unlock-band,
.leaderboard-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.arena-band {
  background: #f5efe4;
}

.arena-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #493017;
}

.cactus-preview {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, rgba(255, 230, 153, 0.22), rgba(109, 83, 45, 0.12)),
    #d4863d;
}

.cactus-bg {
  position: absolute;
  inset: -48% 0 -30%;
  width: 100%;
  height: 178%;
  max-width: none;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(1.05) contrast(0.98);
}

.cactus-preview::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(82, 45, 20, 0.02), rgba(54, 37, 28, 0.20) 58%, rgba(40, 27, 22, 0.48)),
    radial-gradient(ellipse at 50% 100%, rgba(255, 221, 145, 0.26), transparent 52%);
  content: "";
  pointer-events: none;
}

.cactus-sun {
  position: absolute;
  top: 58px;
  right: 66px;
  z-index: 1;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: rgba(255, 213, 96, 0.34);
  box-shadow: 0 0 70px rgba(255, 181, 69, 0.38);
}

.cactus-score {
  position: absolute;
  top: 30px;
  right: 34px;
  left: 34px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(71, 45, 27, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 850;
  text-shadow: 0 2px 8px rgba(36, 22, 15, 0.22);
}

.cactus-score strong {
  color: #ffe173;
  font-size: 34px;
  line-height: 1;
}

.cactus-score span:last-child {
  text-align: right;
}

.cactus-hoop {
  position: absolute;
  z-index: 3;
  width: 108px;
}

.cactus-board {
  width: 100%;
  filter: drop-shadow(0 16px 18px rgba(52, 30, 18, 0.28));
}

.cactus-hoop .net {
  width: 56px;
  margin: -34px auto 0;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.26));
}

.cactus-hoop-one {
  top: 118px;
  left: 50%;
  transform: translateX(-50%);
}

.cactus-hoop-two {
  top: 286px;
  left: 18%;
}

.cactus-hoop-three {
  top: 286px;
  right: 18%;
}

.cactus-ball {
  position: absolute;
  right: 32%;
  bottom: 114px;
  z-index: 4;
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.26));
}

.cactus-dock {
  position: absolute;
  right: 34px;
  bottom: 22px;
  left: 34px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 56px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #301b16;
  background: rgba(255, 248, 224, 0.88);
  box-shadow: 0 16px 34px rgba(52, 30, 18, 0.24);
  font-size: 13px;
  font-weight: 900;
}

.cactus-dock strong {
  color: #307b3d;
  font-size: 18px;
  text-align: center;
}

.cactus-dock span:last-child {
  text-align: right;
}

.skins-band {
  background:
    linear-gradient(180deg, #ffffff 0%, #fff6e7 100%);
}

.section-copy {
  max-width: 680px;
  color: var(--muted);
}

.cosmetic-layout {
  display: grid;
  gap: 44px;
}

.cosmetic-group {
  display: grid;
  gap: 18px;
}

.cosmetic-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cosmetic-heading h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.12;
}

.cosmetic-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px max(18px, calc((100vw - var(--content-max)) / 2)) 18px 0;
  margin-right: calc(-1 * max(var(--page-pad), calc((100vw - var(--content-max)) / 2)));
  scroll-padding-left: 0;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(104, 46, 145, 0.35) transparent;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.carousel-track::-webkit-scrollbar {
  height: 10px;
}

.carousel-track::-webkit-scrollbar-track {
  background: rgba(104, 46, 145, 0.08);
  border-radius: 999px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(104, 46, 145, 0.32);
  border-radius: 999px;
}

.theme-row,
.theme-row.complete {
  grid-auto-columns: minmax(240px, 290px);
}

figure {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  margin: 0;
  min-height: 262px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(33, 21, 38, 0.05);
  scroll-snap-align: start;
}

.theme-row figure {
  position: relative;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--theme-accent, var(--coral)) 42%, transparent);
  background:
    radial-gradient(circle at 78% 16%, color-mix(in srgb, var(--theme-pop, #ffe173) 42%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--theme-top, #ffffff) 58%, #ffffff), color-mix(in srgb, var(--theme-bottom, #fff6e7) 62%, #ffffff));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 14px 34px color-mix(in srgb, var(--theme-accent, var(--coral)) 18%, transparent);
}

.theme-row figure::before {
  position: absolute;
  inset: auto -18px -28px;
  height: 82px;
  border-top: 4px solid color-mix(in srgb, var(--theme-accent, var(--coral)) 20%, transparent);
  background:
    radial-gradient(ellipse at 50% 16%, color-mix(in srgb, var(--theme-pop, #ffe173) 18%, transparent), transparent 48%),
    color-mix(in srgb, var(--theme-accent, var(--coral)) 7%, transparent);
  content: "";
  transform: rotate(-3deg);
}

.theme-row figure > * {
  position: relative;
  z-index: 1;
}

.theme-row figure:nth-child(1) {
  --theme-top: #ffe0a3;
  --theme-bottom: #d7b7ff;
  --theme-accent: #8f3aa8;
  --theme-pop: #ffb34c;
}

.theme-row figure:nth-child(2) {
  --theme-top: #ffe0a4;
  --theme-bottom: #dff0a6;
  --theme-accent: #528f42;
  --theme-pop: #f6a64a;
}

.theme-row figure:nth-child(3) {
  --theme-top: #9cfbff;
  --theme-bottom: #ffc0f0;
  --theme-accent: #cb39c7;
  --theme-pop: #37e5ff;
}

.theme-row figure:nth-child(4) {
  --theme-top: #ffc06d;
  --theme-bottom: #f3a0b5;
  --theme-accent: #d55a38;
  --theme-pop: #ffd063;
}

.theme-row figure:nth-child(5) {
  --theme-top: #c7b4ff;
  --theme-bottom: #6b4fc4;
  --theme-accent: #6f45d8;
  --theme-pop: #74e6ff;
}

.theme-row figure:nth-child(6) {
  --theme-top: #ffb15f;
  --theme-bottom: #ff6c59;
  --theme-accent: #d7382f;
  --theme-pop: #ffe173;
}

.theme-row figure:nth-child(7) {
  --theme-top: #8cf1ed;
  --theme-bottom: #78b8f3;
  --theme-accent: #087d92;
  --theme-pop: #c7fff6;
}

.theme-row figure:nth-child(8) {
  --theme-top: #c9e37d;
  --theme-bottom: #99c468;
  --theme-accent: #4f7d36;
  --theme-pop: #f2d16a;
}

.theme-row figure:nth-child(9) {
  --theme-top: #9bf8ff;
  --theme-bottom: #8ce4d4;
  --theme-accent: #0a91a6;
  --theme-pop: #ffe680;
}

figure img {
  width: 88px;
  height: 88px;
  max-width: 88px;
  max-height: 88px;
  object-fit: contain;
}

figcaption {
  max-width: 100%;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
}

figure span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.skin-grid {
  grid-auto-columns: minmax(220px, 260px);
}

.skin-grid figure {
  min-height: 244px;
  padding: 26px 18px;
  background: #ffffff;
}

.skin-grid img {
  width: 78px;
  height: 78px;
  max-width: 78px;
  max-height: 78px;
  justify-self: center;
  padding: 9px;
  border-radius: 8px;
  background: #fff7ef;
  object-fit: contain;
}

.skin-grid figcaption {
  color: var(--ink);
  font-size: 19px;
}

.unlock-band {
  background: #21142d;
  color: #ffffff;
}

.unlock-band .eyebrow {
  color: #ffe173;
}

.unlock-band p {
  color: rgba(255, 255, 255, 0.74);
}

.unlock-list {
  grid-auto-columns: minmax(260px, 340px);
}

.unlock-list article {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
}

.unlock-list img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
}

.unlock-list strong,
.unlock-list span {
  display: block;
}

.unlock-list span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.tickets-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 226, 122, 0.22), rgba(255, 93, 41, 0.10)),
    #fffaf2;
}

.tickets-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.ticket-principles {
  grid-auto-columns: minmax(310px, 390px);
}

.ticket-principles article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(104, 46, 145, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(33, 21, 38, 0.07);
  scroll-snap-align: start;
}

.ticket-principles strong,
.ticket-principles span {
  display: block;
}

.ticket-principles strong {
  margin-bottom: 14px;
  color: #70264a;
  font-size: 28px;
  line-height: 1.05;
}

.ticket-principles span {
  color: var(--muted);
  font-size: 17px;
}

.leaderboard-band {
  background:
    linear-gradient(90deg, rgba(56, 229, 223, 0.12), rgba(255, 93, 41, 0.1)),
    var(--paper);
}

.leaderboard-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.leaderboard-title {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-bottom: 18px;
}

.leaderboard-title img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.leaderboard-title .eyebrow {
  margin: 2px 0 0;
}

.leaderboard-title h2 {
  max-width: 780px;
  margin: 0;
}

.leaderboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.leaderboard-stats span {
  min-height: 74px;
  padding: 12px;
  border-radius: 8px;
  color: var(--ink);
  background: #f7f0e7;
  font-size: 13px;
  font-weight: 750;
}

.leaderboard-stats strong {
  display: block;
  color: var(--coral);
  font-size: 28px;
  line-height: 1;
}

.reward-showcase {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 226, 122, 0.28), transparent 28%),
    linear-gradient(145deg, #25132f, #077d92 58%, #ff6a2e);
  box-shadow: var(--shadow);
}

.reward-head span,
.reward-head strong {
  display: block;
}

.reward-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.reward-head strong {
  margin-top: 8px;
  font-size: 44px;
  line-height: 1.04;
}

.podium-list {
  display: grid;
  gap: 10px;
}

.podium-list span {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
}

.podium-list strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #271332;
  background: #ffe173;
}

.podium-list em {
  color: #ffe173;
  font-style: normal;
  font-weight: 900;
}

.reward-strip {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reward-strip img {
  width: 74px;
  height: 74px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  object-fit: contain;
}

.reward-showcase p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(var(--page-pad), calc((100vw - var(--content-max)) / 2));
  border-top: 1px solid var(--line);
  background: #ffffff;
}

footer p {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
  text-align: right;
}

@media (max-width: 1120px) {
  .mode-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  body {
    font-size: 15px;
    line-height: 1.55;
  }

  .brand,
  .footer-brand {
    font-weight: 800;
  }

  h1 {
    max-width: 10ch;
    margin-bottom: 16px;
    font-size: 62px;
    line-height: 0.96;
  }

  h2 {
    font-size: 40px;
    line-height: 1.06;
  }

  h3 {
    font-size: 19px;
    line-height: 1.18;
  }

  .hero-copy p:not(.eyebrow),
  .challenge-copy p:not(.eyebrow),
  .tickets-copy p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-copy .hero-price,
  .primary-action,
  .secondary-action {
    font-size: 14px;
  }

  nav {
    display: none;
  }

  .hero,
  .challenge-band,
  .arena-band,
  .unlock-band,
  .tickets-band,
  .leaderboard-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-art {
    order: 2;
    min-height: auto;
    width: min(360px, 92vw);
  }

  .ipad-shell {
    display: none;
  }

  .iphone-shell {
    margin: 0 auto;
    border-radius: 46px;
    padding: 12px;
    transform: none;
  }

  .iphone-screen {
    border-radius: 35px;
  }

  .challenge-graphic {
    min-height: 760px;
  }

  .daily-card,
  .boss-card {
    width: 100%;
  }

  .daily-card {
    top: 0;
  }

  .boss-card {
    bottom: 0;
  }

  .rotation-stack {
    top: 310px;
    left: 8%;
    width: 84%;
  }

  .boss-goals {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    margin-right: calc(-1 * var(--page-pad));
    padding-right: var(--page-pad);
  }

  .theme-row,
  .theme-row.complete {
    grid-auto-columns: minmax(230px, 76vw);
  }

  .skin-grid {
    grid-auto-columns: minmax(210px, 72vw);
  }

  .unlock-list,
  .ticket-principles {
    grid-auto-columns: minmax(280px, 82vw);
  }

  .cosmetic-heading {
    display: grid;
    align-items: start;
  }

  .cosmetic-heading p {
    text-align: left;
  }

  .cosmetic-heading h3 {
    font-size: 28px;
  }

  figcaption {
    font-size: 18px;
  }

  figure span {
    font-size: 13px;
    font-weight: 650;
  }

  .challenge-card-head strong {
    font-size: 28px;
  }

  .reward-head strong {
    font-size: 36px;
  }

  .ticket-principles strong {
    font-size: 24px;
  }

  .ticket-principles span {
    font-size: 16px;
  }

  .leaderboard-stats {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
  }

  footer p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .brand span {
    max-width: 180px;
    line-height: 1.05;
  }

  .eyebrow {
    font-size: 11px;
  }

  h1 {
    font-size: 48px;
    line-height: 1;
  }

  h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  h3 {
    font-size: 18px;
  }

  .hero-copy p:not(.eyebrow),
  .challenge-copy p:not(.eyebrow),
  .tickets-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    min-height: 46px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: 0;
    padding: 20px;
  }

  .mode-badge,
  .challenge-points span,
  .rotation-stack span,
  .cactus-score,
  .cactus-dock,
  .podium-list span,
  .leaderboard-stats span {
    font-size: 12px;
  }

  .mode-card::after {
    font-size: 62px;
  }

  .cactus-score strong {
    font-size: 28px;
  }

  .cactus-dock strong,
  .leaderboard-stats strong {
    font-size: 24px;
  }

  .cosmetic-heading h3 {
    font-size: 24px;
  }

  figcaption,
  .skin-grid figcaption {
    font-size: 17px;
  }

  .unlock-list span {
    font-size: 13px;
  }

  .reward-head strong {
    font-size: 31px;
  }

  .score-strip {
    right: 16px;
    left: 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .score-strip span:last-child {
    text-align: center;
  }
}
