:root {
  --ink: #201a18;
  --muted: #6f625d;
  --orange: #ffa817;
  --orange-dark: #e98500;
  --peach: #ffc35b;
  --cream: #fff8f1;
  --yellow: #ffd653;
  --purple: #8f72ff;
  --green: #74dca3;
  --line: rgba(32, 26, 24, 0.1);
  --shadow: 0 26px 70px rgba(105, 50, 25, 0.16);
  --radius: 28px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::selection {
  color: #fff;
  background: var(--orange);
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 100px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 36px), var(--max));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 20px;
  border: 1px solid transparent;
  border-radius: 100px;
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(32, 26, 24, 0.08);
  box-shadow: 0 12px 38px rgba(76, 36, 17, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
}

.brand-logo {
  position: relative;
  width: 110px;
  height: 37px;
  display: block;
  overflow: hidden;
}

.brand-logo img {
  position: absolute;
  top: -60px;
  left: -23px;
  width: 156px;
  max-width: none;
  mix-blend-mode: multiply;
}

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

.nav a {
  padding: 10px 14px;
  border-radius: 100px;
  color: #514541;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--orange-dark);
  background: rgba(255, 103, 43, 0.08);
}

.nav .nav-cta {
  padding-inline: 20px;
  color: #fff;
  background: var(--ink);
}

.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  color: #fff;
  background: var(--orange);
}

.hero {
  position: relative;
  min-height: 800px;
  height: min(900px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
  padding: 120px max(24px, calc((100vw - var(--max)) / 2)) 84px;
  background: linear-gradient(150deg, #fff 52%, #fff6eb 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 23px;
  height: 8px;
  border-radius: 100px;
  background: var(--orange);
  transform: rotate(-8deg);
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1,
h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

h1 {
  max-width: 780px;
  font-size: clamp(4.3rem, 7.6vw, 8.2rem);
}

h1 em,
h2 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.hero-subtitle {
  max-width: 580px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

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

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 0.94rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

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

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--orange), #ffc03f);
  box-shadow: 0 13px 28px rgba(233, 133, 0, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 34px rgba(233, 133, 0, 0.34);
}

.button-secondary {
  border-color: rgba(32, 26, 24, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--orange-dark);
  border-color: rgba(255, 103, 43, 0.28);
  background: #fff;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  z-index: 3;
  width: clamp(252px, 22vw, 314px);
  aspect-ratio: 0.53;
  padding: 11px;
  border: 4px solid #2a211f;
  border-radius: 48px;
  background: #2a211f;
  box-shadow: 0 35px 70px rgba(72, 37, 22, 0.3), 0 7px 0 #130f0e;
  transform: rotate(5deg);
  animation: phone-float 5.5s ease-in-out infinite;
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 35px;
}

.phone-speaker {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 8;
  width: 70px;
  height: 22px;
  border-radius: 100px;
  background: #2a211f;
  transform: translateX(-50%);
}

.game-world {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: linear-gradient(#ffb97a 0 48%, #f8efc8 48% 100%);
  overflow: hidden;
}

.game-sun {
  position: absolute;
  top: 14%;
  right: 14%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 13px rgba(255, 214, 83, 0.18);
}

.cloud {
  position: absolute;
  width: 72px;
  height: 23px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.78);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  left: 13px;
  width: 32px;
  height: 36px;
}

.cloud::after {
  right: 11px;
  width: 26px;
  height: 28px;
}

.cloud-a { top: 23%; left: -5%; }
.cloud-b { top: 34%; right: -12%; transform: scale(0.75); }

.hill {
  position: absolute;
  bottom: 32%;
  border-radius: 52% 50% 0 0;
}

.hill-back {
  left: -18%;
  width: 95%;
  height: 34%;
  background: #96e0aa;
  transform: rotate(10deg);
}

.hill-front {
  right: -35%;
  width: 105%;
  height: 28%;
  background: #4fc58b;
  transform: rotate(-9deg);
}

.path {
  position: absolute;
  bottom: -13%;
  left: 28%;
  width: 45%;
  height: 61%;
  border-radius: 50% 50% 0 0;
  background: #ffe4ad;
  transform: perspective(150px) rotateX(24deg) rotate(4deg);
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
}

.player {
  position: absolute;
  bottom: 21%;
  left: 50%;
  z-index: 5;
  width: 76px;
  height: 82px;
  border: 6px solid #352724;
  border-radius: 48% 48% 43% 43%;
  background: var(--orange);
  box-shadow: 0 12px 0 rgba(64, 36, 26, 0.16);
  transform: translateX(-50%);
}

.player-ear {
  position: absolute;
  top: -20px;
  width: 25px;
  height: 32px;
  border: 6px solid #352724;
  border-radius: 70% 30% 30% 30%;
  background: var(--orange);
}

.player-ear-left { left: 2px; transform: rotate(-14deg); }
.player-ear-right { right: 2px; transform: scaleX(-1) rotate(-14deg); }

.player-face {
  position: absolute;
  top: 32px;
  left: 50%;
  display: flex;
  gap: 17px;
  transform: translateX(-50%);
}

.player-face i {
  width: 7px;
  height: 9px;
  border-radius: 50%;
  background: #352724;
}

.coin {
  position: absolute;
  z-index: 6;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid #e6a91e;
  border-radius: 50%;
  color: #d99a13;
  background: var(--yellow);
  font-size: 0.85rem;
  box-shadow: 0 5px 0 rgba(139, 92, 10, 0.2);
  animation: coin-bob 2.4s ease-in-out infinite;
}

.coin-one { top: 42%; left: 24%; }
.coin-two { top: 33%; left: 43%; animation-delay: -0.7s; }
.coin-three { top: 43%; right: 19%; animation-delay: -1.4s; }

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 103, 43, 0.18);
  border-radius: 50%;
}

.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 625px; height: 625px; }

.spark {
  position: absolute;
  z-index: 4;
  color: var(--orange);
}

.spark-one { top: 10%; right: 13%; font-size: 3rem; transform: rotate(13deg); }
.spark-two { bottom: 12%; left: 10%; color: var(--purple); font-size: 2rem; }

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  border: 1px solid rgba(32, 26, 24, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.floating-card-top {
  top: 17%;
  left: 1%;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 24px;
  transform: rotate(-8deg);
}

.tiny-label {
  color: var(--orange-dark);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.floating-card-top strong {
  font-size: 1.85rem;
  letter-spacing: -0.06em;
}

.floating-card-bottom {
  right: -1%;
  bottom: 17%;
  gap: 10px;
  padding: 12px 17px;
  transform: rotate(7deg);
}

.floating-card-bottom .heart {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--orange);
}

.floating-card-bottom div {
  display: flex;
  flex-direction: column;
}

.floating-card-bottom strong { font-size: 0.78rem; }
.floating-card-bottom small { color: var(--muted); font-size: 0.66rem; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.75;
}

.hero-glow-one {
  top: -16%;
  right: -4%;
  width: 510px;
  height: 510px;
  background: radial-gradient(circle, rgba(255, 186, 123, 0.28), transparent 70%);
}

.hero-glow-two {
  bottom: -25%;
  left: 19%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(143, 114, 255, 0.12), transparent 70%);
}

.scroll-cue {
  position: absolute;
  bottom: 35px;
  left: max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8d7e78;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.scroll-cue i::before {
  content: "↓";
  font-style: normal;
}

.play-strip {
  width: 110%;
  margin-left: -5%;
  padding: 17px 0;
  color: var(--ink);
  background: var(--orange);
  overflow: hidden;
  transform: rotate(-1.25deg);
}

.play-strip div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 34px;
  animation: marquee 24s linear infinite;
}

.play-strip span {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.play-strip b { color: var(--yellow); }

.section {
  padding: 130px max(24px, calc((100vw - var(--max)) / 2));
}

.games {
  padding-top: 165px;
  background: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 66px;
}

.section-heading h2,
.about-intro h2,
.closing h2 {
  font-size: clamp(3.7rem, 7vw, 7.2rem);
}

.section-heading > p {
  max-width: 440px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.game-feature {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid rgba(32, 26, 24, 0.08);
  border-radius: 36px;
  background: var(--cream);
  box-shadow: 0 22px 80px rgba(109, 65, 38, 0.1);
  overflow: hidden;
}

.game-art {
  position: relative;
  min-height: 500px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(135deg, #f89708, #ffbd35 52%, #ed8000);
  overflow: hidden;
}

.game-art::before,
.game-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.game-art::before { inset: 10%; }
.game-art::after { inset: 23%; }

.game-status {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 6;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  color: #fff;
  background: rgba(51, 25, 16, 0.2);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.portal {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(52%, 330px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 47% 53% 54% 46%;
  background: #ffcf63;
  box-shadow: 0 0 0 22px rgba(255, 226, 148, 0.18), 0 24px 60px rgba(81, 30, 9, 0.2);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.portal-inner {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50% 44% 50% 46%;
  background: linear-gradient(150deg, #5f47c5, #a07dff 58%, #5140b8);
  box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.11);
}

.planet {
  position: absolute;
  z-index: 4;
  border-radius: 50%;
  box-shadow: 0 13px 28px rgba(75, 30, 11, 0.2);
}

.planet::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 145%;
  height: 26%;
  border: 8px solid rgba(255, 255, 255, 0.65);
  border-top-color: transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.planet-left {
  bottom: 16%;
  left: 13%;
  width: 72px;
  height: 72px;
  background: var(--green);
}

.planet-right {
  top: 17%;
  right: 12%;
  width: 54px;
  height: 54px;
  background: var(--purple);
}

.mini-star {
  position: absolute;
  z-index: 5;
  color: #fff;
}

.star-a { top: 21%; left: 18%; font-size: 2.1rem; }
.star-b { right: 18%; bottom: 18%; color: var(--yellow); font-size: 2.7rem; }
.star-c { top: 57%; right: 8%; font-size: 1.2rem; }

.game-info {
  align-self: center;
  padding: clamp(40px, 6vw, 84px);
}

.game-kicker {
  margin: 0 0 22px;
  color: var(--orange-dark);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.game-info h3 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.game-info > p:not(.game-kicker) {
  margin: 26px 0 30px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(32, 26, 24, 0.1);
  border-radius: 100px;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.about {
  position: relative;
  color: var(--ink);
  background: linear-gradient(145deg, #e98500 0%, #ffa817 48%, #ffc044 100%);
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -250px;
  right: -180px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(255, 255, 255, 0.035), 0 0 0 200px rgba(255, 255, 255, 0.025);
}

.about-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 80px;
}

.about-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -44px;
}

.eyebrow-light {
  color: rgba(32, 26, 24, 0.7);
}

.eyebrow-light span { background: var(--yellow); }

.about-intro h2 em {
  color: #fff8df;
}

.about-intro > p:last-child {
  max-width: 460px;
  margin: 0 0 8px;
  color: rgba(32, 26, 24, 0.76);
  font-size: 1.08rem;
  line-height: 1.7;
}

.values {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 76px;
}

.value-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid rgba(32, 26, 24, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  transition: transform 200ms ease, background 200ms ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-6px);
}

.value-number {
  position: absolute;
  top: 27px;
  right: 28px;
  color: rgba(32, 26, 24, 0.52);
  font-size: 0.72rem;
  font-weight: 800;
}

.value-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 18px;
  color: var(--orange);
  background: #fff;
  font-size: 1.45rem;
  box-shadow: 0 12px 24px rgba(89, 28, 8, 0.14);
}

.value-icon-phone i {
  width: 19px;
  height: 30px;
  border: 3px solid currentColor;
  border-radius: 6px;
}

.value-card h3 {
  margin: 38px 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.value-card p {
  margin: 0;
  color: rgba(32, 26, 24, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

.closing {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  background: #fffaf6;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 30px rgba(255, 103, 43, 0.3);
}

.closing-inner > p {
  margin: 0 0 20px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.closing h2 {
  margin-bottom: 42px;
}

.closing-shape {
  position: absolute;
  border-radius: 40% 60% 46% 54%;
  filter: blur(0.2px);
}

.closing-shape-left {
  bottom: -180px;
  left: -170px;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(255, 183, 116, 0.32), rgba(255, 103, 43, 0.08));
  transform: rotate(25deg);
}

.closing-shape-right {
  top: -190px;
  right: -140px;
  width: 460px;
  height: 460px;
  background: linear-gradient(135deg, rgba(143, 114, 255, 0.16), rgba(255, 103, 43, 0.1));
  transform: rotate(-20deg);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer > span {
  justify-self: end;
  color: #9d8e88;
  font-size: 0.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}

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

.reveal-delay-short { transition-delay: 100ms; }
.reveal-delay { transition-delay: 180ms; }

.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: radial-gradient(circle at 60% 20%, #fff0e0, transparent 38%), #fff;
}

.not-found {
  max-width: 780px;
  text-align: center;
}

.not-found .brand {
  margin-bottom: 70px;
}

.not-found h1 {
  font-size: clamp(6rem, 20vw, 13rem);
  color: var(--orange);
}

.not-found h2 {
  margin: 14px 0 22px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.not-found p {
  margin: 0 auto 32px;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes phone-float {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-13px); }
}

@keyframes coin-bob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-9px) rotate(5deg); }
}

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

@media (max-width: 980px) {
  .hero {
    height: auto;
    min-height: 900px;
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-copy { max-width: 800px; }
  .hero-visual { min-height: 520px; }
  .scroll-cue { display: none; }

  .section-heading,
  .about-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-intro .eyebrow {
    grid-column: auto;
    margin-bottom: -8px;
  }

  .game-feature { grid-template-columns: 1fr; }
  .game-art { min-height: 500px; }
  .values { grid-template-columns: 1fr; }
  .value-card { min-height: 280px; }

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

  .site-footer p { display: none; }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding-left: 14px;
  }

  .nav > a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding-inline: 16px; }

  .hero {
    min-height: 980px;
    gap: 20px;
    padding: 120px 20px 80px;
  }

  h1 { font-size: clamp(3.65rem, 17vw, 5.4rem); }
  .hero-subtitle { margin-top: 24px; }
  .hero-actions { margin-top: 28px; }
  .button { width: 100%; }
  .hero-visual { min-height: 430px; transform: scale(0.9); }
  .phone-shell { width: 230px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 500px; height: 500px; }
  .floating-card-top { left: -3%; }
  .floating-card-bottom { right: -7%; }

  .section { padding: 92px 20px; }
  .games { padding-top: 120px; }
  .section-heading { margin-bottom: 42px; }

  .section-heading h2,
  .about-intro h2,
  .closing h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .game-feature { border-radius: 25px; }
  .game-art { min-height: 350px; }
  .game-info { padding: 36px 26px 44px; }
  .game-info h3 { font-size: 2.4rem; }

  .about-intro { gap: 28px; }
  .values { margin-top: 54px; }

  .closing { min-height: 620px; }

  .site-footer {
    padding: 28px 20px;
  }

  .footer-brand .brand-logo {
    width: 92px;
    height: 31px;
  }

  .footer-brand .brand-logo img {
    top: -50px;
    left: -19px;
    width: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
