:root {
  color-scheme: dark;
  --sky: #09111f;
  --sky-deep: #060d19;
  --sky-light: #111d31;
  --surface: #13223a;
  --surface-high: #1a2b47;
  --cream: #f7f0de;
  --muted: #a8b0bc;
  --gold: #f1c56a;
  --coral: #e77d68;
  --teal: #5cb8ae;
  --blue: #668dc7;
  --plum: #8b709b;
  --border: rgb(247 240 222 / 12%);
  --shadow: 0 30px 90px rgb(0 0 0 / 35%);
  --shell: min(1180px, calc(100% - 40px));
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 42px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgb(102 141 199 / 11%), transparent 28rem),
    radial-gradient(circle at 90% 44%, rgb(92 184 174 / 8%), transparent 30rem),
    var(--sky);
  color: var(--cream);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image:
    radial-gradient(circle, rgb(247 240 222 / 32%) 0 1.4px, transparent 1.8px),
    radial-gradient(circle, rgb(247 240 222 / 18%) 0 1px, transparent 1.4px);
  background-position: 0 0, 35px 52px;
  background-size: 138px 138px, 174px 174px;
  content: "";
  opacity: 0.45;
  pointer-events: none;
}

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

img,
video {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(96px, 12vw, 170px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 12px;
  background: var(--gold);
  color: var(--sky);
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.08;
  pointer-events: none;
}

.ambient-one {
  top: 10%;
  right: -20rem;
  background: var(--gold);
}

.ambient-two {
  bottom: 4%;
  left: -22rem;
  background: var(--teal);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgb(9 17 31 / 82%);
  box-shadow: 0 12px 40px rgb(0 0 0 / 16%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-name {
  font-size: 21px;
}

.brand-name strong {
  color: var(--gold);
}

.mini-tower {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.mini-tower span {
  position: absolute;
  display: block;
  height: 7px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 24%);
}

.mini-tower span:nth-child(1) {
  bottom: 2px;
  width: 31px;
  background: var(--plum);
}

.mini-tower span:nth-child(2) {
  bottom: 10px;
  width: 26px;
  background: var(--blue);
}

.mini-tower span:nth-child(3) {
  bottom: 18px;
  width: 22px;
  transform: rotate(-2deg);
  background: var(--coral);
}

.mini-tower span:nth-child(4) {
  bottom: 26px;
  width: 18px;
  transform: translateX(2px) rotate(5deg);
  background: var(--teal);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  position: relative;
  color: rgb(247 240 222 / 66%);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.primary-nav a:not(.nav-support)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  border-radius: 10px;
  background: var(--gold);
  content: "";
  transition: transform 180ms ease;
}

.primary-nav a:hover {
  color: var(--cream);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.nav-support {
  padding: 10px 16px;
  border: 1px solid rgb(241 197 106 / 30%);
  border-radius: 999px;
  background: rgb(241 197 106 / 9%);
  color: var(--gold) !important;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--sky-light);
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--cream);
  transition: transform 180ms ease;
}

.hero {
  display: grid;
  min-height: min(940px, 100svh);
  padding-top: clamp(132px, 15vh, 184px);
  padding-bottom: 92px;
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.97fr);
  gap: clamp(50px, 8vw, 120px);
}

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

.eyebrow {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 8px;
  background: currentColor;
}

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

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

h1 em,
h2 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgb(247 240 222 / 66%);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions,
.support-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 17px;
  font-size: 15px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button svg {
  width: 20px;
  fill: currentColor;
}

.button-primary {
  background: var(--gold);
  box-shadow: 0 14px 38px rgb(241 197 106 / 18%);
  color: var(--sky);
}

.button-primary:hover {
  box-shadow: 0 18px 48px rgb(241 197 106 / 28%);
}

.button-secondary {
  border-color: rgb(247 240 222 / 18%);
  background: rgb(247 240 222 / 5%);
  color: var(--cream);
}

.store-note {
  display: inline-flex;
  min-height: 56px;
  padding: 13px 18px;
  align-items: center;
  gap: 10px;
  color: rgb(247 240 222 / 60%);
  font-size: 14px;
  font-weight: 700;
}

.store-note svg {
  width: 21px;
  fill: currentColor;
}

.quick-facts {
  display: flex;
  margin: 54px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 16px 30px;
  list-style: none;
}

.quick-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgb(247 240 222 / 58%);
  font-size: 13px;
  font-weight: 700;
}

.quick-facts span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 680px;
  place-items: center;
}

.phone {
  position: relative;
  z-index: 3;
  width: min(360px, 80vw);
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgb(247 240 222 / 24%);
  border-radius: 58px;
  background: #03070d;
  box-shadow:
    0 42px 100px rgb(0 0 0 / 55%),
    inset 0 0 0 2px rgb(255 255 255 / 8%);
}

.phone::after {
  position: absolute;
  z-index: 5;
  inset: 10px;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 49px;
  content: "";
  pointer-events: none;
}

.phone video,
.phone img {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  border-radius: 48px;
  object-fit: cover;
}

.phone-speaker {
  position: absolute;
  z-index: 6;
  top: 20px;
  left: 50%;
  width: 35%;
  height: 25px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #02050a;
}

.video-toggle {
  position: absolute;
  z-index: 7;
  right: 28px;
  bottom: 30px;
  display: flex;
  min-height: 40px;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(3 7 13 / 76%);
  color: var(--cream);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.pause-icon {
  width: 10px;
  height: 12px;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.video-toggle.is-paused .pause-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 0;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.orbit {
  position: absolute;
  border: 1px solid rgb(247 240 222 / 8%);
  border-radius: 50%;
}

.orbit-one {
  width: 580px;
  height: 580px;
  animation: orbit 24s linear infinite;
}

.orbit-two {
  width: 455px;
  height: 455px;
  border-color: rgb(241 197 106 / 10%);
  animation: orbit 18s linear infinite reverse;
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px rgb(241 197 106 / 70%);
  content: "";
}

.orbit::before {
  top: 12%;
  left: 12%;
}

.orbit::after {
  right: 7%;
  bottom: 24%;
  width: 6px;
  height: 6px;
  background: var(--teal);
}

.score-float {
  position: absolute;
  z-index: 5;
  top: 21%;
  right: -20px;
  display: flex;
  padding: 13px 17px;
  transform: rotate(4deg);
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(241 197 106 / 22%);
  border-radius: 16px;
  background: rgb(17 29 49 / 90%);
  box-shadow: 0 18px 50px rgb(0 0 0 / 30%);
  color: var(--gold);
}

.score-float span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.score-float strong {
  font-size: 21px;
}

.block-float {
  position: absolute;
  z-index: 5;
  bottom: 16%;
  left: -24px;
  display: flex;
  width: 118px;
  height: 58px;
  transform: rotate(-6deg);
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  background: var(--coral);
  box-shadow: 0 16px 35px rgb(0 0 0 / 32%);
  animation: float-block 4s ease-in-out infinite;
}

.block-float::before {
  position: absolute;
  top: 7px;
  right: 9px;
  left: 9px;
  height: 5px;
  border-radius: 99px;
  background: rgb(255 255 255 / 18%);
  content: "";
}

.block-float i {
  width: 14px;
  height: 19px;
  border-radius: 4px;
  background: rgb(247 240 222 / 82%);
}

.block-float i:nth-child(2) {
  opacity: 0.55;
}

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgb(17 29 49 / 66%);
}

.marquee-track {
  display: flex;
  width: max-content;
  min-height: 78px;
  align-items: center;
  gap: 28px;
  animation: marquee 32s linear infinite;
}

.marquee span {
  color: rgb(247 240 222 / 45%);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.marquee i {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: var(--gold);
}

.section-heading {
  max-width: 720px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p:last-child,
.gallery-intro,
.donate-copy > p {
  color: rgb(247 240 222 / 62%);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
}

.gameplay-section .section-heading {
  margin-bottom: 70px;
}

.gameplay-stage {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.76fr);
  gap: clamp(52px, 10vw, 130px);
}

.gameplay-copy {
  display: grid;
  gap: 18px;
}

.gameplay-copy article {
  display: grid;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgb(19 34 58 / 82%), rgb(12 23 40 / 62%));
  grid-template-columns: 52px 1fr;
  gap: 18px;
  transition: transform 200ms ease, border-color 200ms ease;
}

.gameplay-copy article:hover {
  transform: translateX(8px);
  border-color: rgb(241 197 106 / 28%);
}

.gameplay-copy article > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.gameplay-copy h3,
.feature-card h3 {
  margin-bottom: 7px;
  font-size: 21px;
  line-height: 1.25;
}

.gameplay-copy p,
.feature-card > p:last-child {
  margin-bottom: 0;
  color: rgb(247 240 222 / 55%);
  font-size: 14px;
}

.screenshot-card {
  position: relative;
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: #040910;
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  border-radius: 42px;
  object-fit: cover;
}

.screenshot-card figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 14px;
  background: rgb(6 13 25 / 78%);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(12px);
}

.section-tinted {
  border-block: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgb(17 29 49 / 55%), rgb(9 17 31 / 80%)),
    radial-gradient(circle at 50% 0, rgb(102 141 199 / 14%), transparent 44rem);
}

.feature-grid {
  display: grid;
  margin-top: 72px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 340px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(155deg, rgb(25 43 71 / 85%), rgb(11 22 39 / 82%));
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--card-glow, var(--blue));
  content: "";
  filter: blur(65px);
  opacity: 0.13;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgb(247 240 222 / 22%);
}

.feature-card:nth-child(1) { --card-glow: var(--coral); }
.feature-card:nth-child(2) { --card-glow: var(--teal); }
.feature-card:nth-child(3) { --card-glow: var(--blue); }
.feature-card:nth-child(4) { --card-glow: var(--plum); }

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 62px;
  border-radius: 18px;
  place-items: center;
}

.feature-icon.coral { background: rgb(231 125 104 / 16%); color: var(--coral); }
.feature-icon.teal { background: rgb(92 184 174 / 16%); color: var(--teal); }
.feature-icon.blue { background: rgb(102 141 199 / 16%); color: var(--blue); }
.feature-icon.plum { background: rgb(139 112 155 / 16%); color: var(--plum); }

.feature-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-number {
  margin-bottom: 12px;
  color: rgb(247 240 222 / 30%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.gallery-section {
  overflow: hidden;
}

.gallery-heading {
  display: grid;
  margin-bottom: 74px;
  align-items: end;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

.gallery-intro {
  max-width: 480px;
  margin-bottom: 12px;
}

.gallery-rail {
  display: grid;
  width: min(1480px, calc(100% - 28px));
  margin-inline: auto;
  padding: 24px 10px 52px;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 22px;
}

.gallery-item {
  margin: 0;
}

.gallery-item-raised {
  transform: translateY(42px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1170 / 2532;
  border: 8px solid #04080e;
  border-radius: 38px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 38%);
  object-fit: cover;
}

.gallery-item figcaption {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 10px;
  color: rgb(247 240 222 / 58%);
  font-size: 13px;
  font-weight: 750;
}

.gallery-item figcaption span {
  color: var(--gold);
  font-size: 10px;
}

.support-section {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 14% 48%, rgb(92 184 174 / 10%), transparent 28rem),
    var(--sky-deep);
}

.support-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(60px, 9vw, 120px);
}

.support-actions {
  margin-top: 34px;
}

.email-row {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 8px 8px 8px 15px;
  align-items: center;
  gap: 12px;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgb(247 240 222 / 4%);
  color: rgb(247 240 222 / 60%);
  font-size: 13px;
}

.email-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.email-row button {
  flex-shrink: 0;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  background: var(--surface-high);
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.faq {
  padding: 16px 30px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(150deg, rgb(19 34 58 / 92%), rgb(11 21 37 / 92%));
  box-shadow: var(--shadow);
}

.faq-label {
  margin: 10px 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  position: relative;
  padding: 23px 40px 23px 0;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 14px;
  height: 2px;
  border-radius: 4px;
  background: var(--gold);
  content: "";
  transition: transform 180ms ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0);
}

.faq details p {
  margin: -5px 34px 22px 0;
  color: rgb(247 240 222 / 56%);
  font-size: 14px;
}

.faq details a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.donate-section {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 80% 50%, rgb(241 197 106 / 9%), transparent 32rem),
    linear-gradient(180deg, var(--sky), var(--sky-light));
}

.donate-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: clamp(60px, 10vw, 140px);
}

.donate-copy h2 {
  max-width: 720px;
}

.donate-copy > p {
  max-width: 640px;
}

.donate-note {
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-size: 13px !important;
}

.donation-cards {
  display: grid;
  gap: 16px;
}

.donation-card {
  display: grid;
  min-height: 110px;
  padding: 20px 24px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: rgb(247 240 222 / 5%);
  grid-template-columns: 60px 1fr 28px;
  gap: 18px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.donation-card:hover {
  transform: translateY(-5px) rotate(-0.5deg);
  border-color: rgb(247 240 222 / 28%);
  background: rgb(247 240 222 / 8%);
}

.donation-card.coffee:hover {
  transform: translateY(-5px) rotate(0.5deg);
}

.donation-card.paypal:hover {
  transform: translateY(-5px) rotate(-0.35deg);
}

.donation-icon {
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  place-items: center;
  font-size: 27px;
}

.kofi .donation-icon {
  background: rgb(255 95 49 / 13%);
}

.coffee .donation-icon {
  background: rgb(241 197 106 / 18%);
}

.paypal .donation-icon {
  background: rgb(92 144 214 / 18%);
}

.donation-icon img {
  display: block;
  object-fit: contain;
}

.kofi .donation-icon img {
  width: 40px;
  height: 32px;
}

.coffee .donation-icon img {
  width: 25px;
  height: 36px;
}

.paypal .donation-icon img {
  width: 32px;
  height: 32px;
}

.donation-card small,
.donation-card strong {
  display: block;
}

.donation-card small {
  margin-bottom: 2px;
  color: rgb(247 240 222 / 48%);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.donation-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.donation-card > svg {
  width: 24px;
  fill: none;
  stroke: rgb(247 240 222 / 45%);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.final-cta {
  display: flex;
  margin-block: clamp(80px, 10vw, 140px);
  padding: clamp(28px, 5vw, 54px);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  border: 1px solid rgb(241 197 106 / 20%);
  border-radius: 36px;
  background:
    linear-gradient(115deg, rgb(241 197 106 / 9%), transparent 45%),
    var(--sky-light);
  box-shadow: var(--shadow);
}

.final-copy {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 38px);
}

.final-copy img {
  width: clamp(84px, 10vw, 120px);
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 1;
  border-radius: 26%;
  box-shadow: 0 16px 36px rgb(0 0 0 / 32%);
  object-fit: cover;
}

.final-copy .eyebrow {
  margin-bottom: 10px;
}

.final-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.final-copy p:last-child {
  margin-bottom: 0;
  color: rgb(247 240 222 / 55%);
}

.site-footer {
  padding: 72px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--sky-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 0.65fr;
  gap: 50px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid > div > p {
  max-width: 350px;
  color: rgb(247 240 222 / 45%);
  font-size: 13px;
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-grid nav a {
  color: rgb(247 240 222 / 56%);
  font-size: 13px;
  font-weight: 650;
  transition: color 180ms ease;
}

.footer-grid nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  margin-top: 55px;
  padding-top: 24px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: rgb(247 240 222 / 32%);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  padding: 11px 16px;
  transform: translateY(24px);
  border: 1px solid rgb(241 197 106 / 24%);
  border-radius: 12px;
  background: var(--surface-high);
  box-shadow: 0 18px 50px rgb(0 0 0 / 35%);
  color: var(--cream);
  font-size: 13px;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.js .reveal {
  transform: translateY(28px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 700ms ease;
}

.js .reveal[data-delay="1"] { transition-delay: 100ms; }
.js .reveal[data-delay="2"] { transition-delay: 180ms; }
.js .reveal[data-delay="3"] { transition-delay: 260ms; }

.js .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes float-block {
  0%, 100% { transform: translateY(-7px) rotate(-6deg); }
  50% { transform: translateY(8px) rotate(-3deg); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.75fr);
    gap: 38px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .phone {
    width: 320px;
  }

  .orbit-one { width: 480px; height: 480px; }
  .orbit-two { width: 390px; height: 390px; }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 300px;
  }

  .feature-icon {
    margin-bottom: 42px;
  }

  .gallery-rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    grid-template-columns: repeat(4, minmax(270px, 32vw));
    scrollbar-width: none;
  }

  .gallery-rail::-webkit-scrollbar { display: none; }
  .gallery-item { scroll-snap-align: center; }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .site-header {
    background: rgb(9 17 31 / 80%);
    backdrop-filter: blur(16px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-of-type(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:not(.sr-only):nth-of-type(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: grid;
    padding: 16px;
    transform: translateY(-10px) scale(0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgb(17 29 49 / 97%);
    box-shadow: var(--shadow);
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-support {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .quick-facts {
    justify-content: center;
  }

  .hero-lede {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 670px;
  }

  .score-float { right: 2%; }
  .block-float { left: 2%; }

  .gameplay-stage,
  .support-layout,
  .donate-layout,
  .gallery-heading {
    grid-template-columns: 1fr;
  }

  .gallery-heading,
  .support-layout,
  .donate-layout {
    gap: 46px;
  }

  .gameplay-copy {
    order: 2;
  }

  .gameplay-shot {
    order: 1;
  }

  .gallery-intro {
    margin: 0;
  }

  .support-layout,
  .donate-layout {
    max-width: 680px;
    margin-inline: auto;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .section {
    padding-block: 90px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-name {
    font-size: 18px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.55rem, 13vw, 3.6rem);
  }

  .hero {
    padding-top: 125px;
    padding-bottom: 62px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-note {
    justify-content: center;
  }

  .quick-facts {
    display: grid;
    margin-top: 38px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 620px;
  }

  .phone {
    width: min(302px, 83vw);
    border-radius: 50px;
  }

  .phone video,
  .phone img,
  .phone::after {
    border-radius: 41px;
  }

  .orbit-one { width: 120vw; height: 120vw; }
  .orbit-two { width: 96vw; height: 96vw; }

  .score-float {
    top: 19%;
    right: 0;
  }

  .block-float {
    bottom: 18%;
    left: -5px;
    width: 98px;
    height: 52px;
  }

  .marquee-track {
    min-height: 66px;
  }

  .gameplay-stage {
    gap: 50px;
  }

  .gameplay-copy article {
    padding: 21px;
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

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

  .feature-card {
    min-height: 280px;
  }

  .gallery-rail {
    width: 100%;
    padding-inline: 18px;
    grid-template-columns: repeat(4, minmax(250px, 78vw));
  }

  .gallery-item-raised {
    transform: none;
  }

  .support-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .email-row {
    width: 100%;
    justify-content: space-between;
  }

  .faq {
    padding: 12px 20px;
  }

  .donate-layout {
    gap: 36px;
  }

  .donation-card {
    min-height: 96px;
    padding: 16px;
    grid-template-columns: 52px 1fr 20px;
    gap: 13px;
  }

  .donation-icon {
    width: 50px;
    height: 50px;
  }

  .donation-card strong {
    font-size: 17px;
  }

  .final-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta .button {
    width: 100%;
  }

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

  .footer-grid > div {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    transform: none;
  }
}
