
* { box-sizing: border-box; }

:root {
  --sky: #6cc6e8;
  --sky-soft: #aee3f4;
  --field: #16a83d;
  --field-dark: #08752a;
  --field-deep: #04541f;
  --navy: #10232a;
  --navy-2: #18343d;
  --cream: #f4f8f1;
  --paper: #ffffff;
  --ink: #10212a;
  --muted: #516065;
  --yellow: #ffdf55;
  --orange: #ffa51f;
  --blue: #238ce3;
  --red: #ef3338;
  --green: #1fa944;
  --line: rgba(16, 33, 42, 0.14);
  --white-line: rgba(255, 255, 255, 0.66);
  --shadow: 0 18px 0 rgba(8, 84, 31, 0.22), 0 22px 50px rgba(5, 34, 22, 0.16);
  --radius-xl: 38px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(180deg, var(--sky) 0 34%, var(--field) 34% 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 34% 0 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 30%, transparent 0 150px, rgba(255,255,255,.5) 152px 156px, transparent 158px),
    linear-gradient(90deg, transparent 49.75%, rgba(255,255,255,.65) 49.75% 50.25%, transparent 50.25%),
    linear-gradient(0deg, transparent 49.6%, rgba(255,255,255,.65) 49.6% 50.1%, transparent 50.1%);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  opacity: .7;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.35), transparent 20rem),
    radial-gradient(circle at 92% 4%, rgba(255,223,85,.32), transparent 16rem);
  z-index: -2;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--paper);
  padding: .75rem 1rem; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(108, 198, 232, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 2px solid rgba(16, 35, 42, 0.12);
}

.nav-wrap, .site-footer, .section-pad {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}

.brand strong, .footer-brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-shadow: 0 3px 0 rgba(0,0,0,.18);
}

.brand small, .footer-brand small {
  display: block;
  color: rgba(16, 33, 42, .76);
  font-size: .82rem;
  margin-top: .15rem;
  font-weight: 900;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 7px 0 rgba(0,0,0,.18);
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.18);
}
.brand-mark.small { width: 42px; height: 42px; border-radius: 15px; }

.ball-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 43%, #111 44% 56%, transparent 57%),
    linear-gradient(0deg, transparent 43%, #111 44% 56%, transparent 57%),
    #fff;
  border: 3px solid #111;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--paper);
  font-weight: 1000;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.nav-links a {
  padding: .72rem .86rem;
  border-radius: 999px;
  background: rgba(16, 35, 42, .22);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
}

.nav-links a:hover, .nav-links a.active {
  background: var(--navy);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,.3);
  background: var(--navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 18px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
}

.section-pad { padding: 86px 0; }
.hero { padding-top: 70px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--paper);
  background: var(--red);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  box-shadow: 0 5px 0 rgba(0,0,0,.16);
}

h1 {
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.035em;
  margin-bottom: 1.35rem;
  color: var(--paper);
  text-shadow: 0 6px 0 rgba(6, 32, 38, .18);
  font-weight: 1000;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: -.028em;
  margin-bottom: 1.05rem;
  color: var(--ink);
  font-weight: 1000;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: .02em;
  margin-bottom: .65rem;
  font-weight: 1000;
}

.hero-text, .section-head p, .page-hero p, .showcase-copy p, .story-copy p, .split-card p, .support-card p, .legal-card p {
  font-size: 1.08rem;
  max-width: 720px;
  font-weight: 760;
}

.hero-copy {
  background: rgba(16, 35, 42, 0.08);
  border-radius: var(--radius-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 2rem 0 1.5rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  border-radius: 999px;
  padding: 0 1.35rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 4px solid rgba(255,255,255,.72);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow: 0 7px 0 rgba(0,0,0,.16);
}

.btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
}

.btn.primary {
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  color: var(--navy);
}

.btn.secondary {
  background: var(--cream);
  color: var(--navy);
  border-color: rgba(16, 35, 42, .14);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.trust-row span {
  background: rgba(16,35,42,.62);
  color: var(--paper);
  border: 2px solid rgba(255,255,255,.12);
  padding: .55rem .85rem;
  border-radius: 999px;
  font-weight: 1000;
  font-size: .86rem;
  box-shadow: 0 5px 0 rgba(0,0,0,.12);
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.stadium-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--navy);
  border: 3px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.score-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: var(--paper);
  padding: 1.2rem 1.4rem;
  font-weight: 1000;
  letter-spacing: .08em;
  font-size: .86rem;
  text-transform: uppercase;
}

.score-strip strong {
  background: var(--yellow);
  color: var(--navy);
  border-radius: 999px;
  padding: .45rem .9rem;
  min-width: 74px;
  text-align: center;
  font-size: 1.15rem;
  box-shadow: 0 5px 0 rgba(0,0,0,.14);
}

.pixel-scene {
  position: relative;
  min-height: 390px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(180deg, var(--sky) 0 43%, var(--field) 43% 100%);
  background-size: 42px 42px, 42px 42px, auto;
  overflow: hidden;
}

.pixel-scene::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 43%;
  height: 4px;
  background: rgba(255,255,255,.55);
}

.goal {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 210px;
  height: 96px;
  transform: translateX(-50%);
  border: 10px solid rgba(255,255,255,.92);
  border-bottom: 0;
  opacity: .3;
}

.football {
  position: absolute;
  left: 54%;
  top: 138px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 43%, #111 44% 56%, transparent 57%),
    linear-gradient(0deg, transparent 43%, #111 44% 56%, transparent 57%),
    #fff;
  border: 5px solid #111;
  box-shadow: 0 18px 24px rgba(0,0,0,.22);
  animation: floatBall 2.6s ease-in-out infinite;
}

.wind-line {
  position: absolute;
  height: 6px;
  width: 100px;
  background: rgba(16,35,42,.24);
  border-radius: 999px;
  animation: wind 3s linear infinite;
}
.wind-line.one { top: 112px; left: -120px; }
.wind-line.two { top: 210px; left: -200px; animation-delay: .8s; width: 140px; }

.player {
  position: absolute;
  left: 50%;
  bottom: 62px;
  width: 128px;
  height: 150px;
  transform: translateX(-50%);
}
.head, .body, .leg { position: absolute; display: block; background: var(--navy); }
.head { width: 42px; height: 42px; border-radius: 50%; left: 43px; top: 0; }
.body {
  width: 58px;
  height: 64px;
  left: 35px;
  top: 48px;
  border-radius: 18px 18px 10px 10px;
  background: var(--cream);
  border: 6px solid var(--navy);
}
.leg { width: 20px; height: 62px; bottom: 0; border-radius: 999px; }
.leg.left { left: 35px; transform: rotate(24deg); }
.leg.right { right: 35px; transform: rotate(-24deg); }

.target {
  position: absolute;
  background: var(--yellow);
  color: var(--navy);
  border: 4px solid var(--navy);
  border-radius: 999px;
  padding: .45rem .75rem;
  font-weight: 1000;
  font-size: .8rem;
  box-shadow: 0 7px 0 rgba(0,0,0,.16);
}
.target-one { left: 50px; top: 140px; }
.target-two { right: 38px; top: 228px; background: var(--orange); }

.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--navy);
  padding: .8rem;
}
.controls span {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 18px;
  color: var(--paper);
  font-weight: 1000;
  letter-spacing: .08em;
}
.controls span:first-child { background: var(--blue); }
.controls span:last-child { background: var(--orange); }

.ticker-section { padding-top: 0; padding-bottom: 24px; overflow: hidden; }
.ticker {
  display: flex;
  gap: .8rem;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: .75rem;
  background: rgba(16, 35, 42, .75);
  box-shadow: 0 10px 0 rgba(0,0,0,.12);
}
.ticker span {
  white-space: nowrap;
  background: rgba(255,255,255,.13);
  color: white;
  border-radius: 999px;
  padding: .55rem .85rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
  animation: pulseTag 2.5s ease-in-out infinite;
}

.section-head {
  margin-bottom: 2rem;
  background: rgba(244,248,241,.94);
  border: 3px solid rgba(16,35,42,.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 0 rgba(8, 84, 31, .18);
}
.section-head.compact { max-width: 800px; }

.cards-grid { display: grid; gap: 1rem; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }

.info-card, .feature-card, .mode-card, .support-card, .split-card, .legal-card, .timeline, .principles, .feature-list {
  background: rgba(244,248,241,.96);
  border: 3px solid rgba(255,255,255,.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.info-card, .feature-card, .mode-card {
  padding: 1.45rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.info-card p, .feature-card p, .mode-card p {
  margin-bottom: 1rem;
  font-weight: 780;
}

.info-card:nth-child(1), .mode-card:nth-child(1) {
  background: #1fa944;
  color: var(--paper);
}
.info-card:nth-child(1) p, .mode-card:nth-child(1) p { color: rgba(255,255,255,.82); }

.info-card:nth-child(2), .mode-card:nth-child(2) {
  background: #238ce3;
  color: var(--paper);
}
.info-card:nth-child(2) p, .mode-card:nth-child(2) p { color: rgba(255,255,255,.84); }

.info-card:nth-child(3), .mode-card:nth-child(3) {
  background: #ffdf55;
  color: var(--navy);
}

.card-icon, .mode-card span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(16,35,42,.14);
  color: currentColor;
  font-weight: 1000;
  font-size: 1rem;
}

.text-link {
  color: currentColor;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.split-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--navy);
  color: var(--paper);
}
.split-card h2 { color: var(--paper); }
.split-card p { color: rgba(255,255,255,.78); }

.page-hero { padding-bottom: 44px; }
.page-hero-inner {
  max-width: 960px;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--navy);
  color: var(--paper);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.14);
}
.page-hero-inner::before {
  content: "";
  position: absolute;
  right: 52px;
  top: 52px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 43%, #111 44% 56%, transparent 57%),
    linear-gradient(0deg, transparent 43%, #111 44% 56%, transparent 57%),
    #fff;
  border: 8px solid #111;
  opacity: .13;
  transform: rotate(18deg);
}
.page-hero .eyebrow { color: var(--paper); }
.page-hero p { color: rgba(255,255,255,.78); max-width: 760px; }
.page-hero h1 { font-size: clamp(2.7rem, 8vw, 5.2rem); }

.game-showcase, .story-grid, .feature-wall, .support-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.phone-frame {
  margin: auto;
  width: min(360px, 100%);
  padding: 14px;
  border-radius: 40px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.phone-screen {
  min-height: 600px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--sky);
  display: flex;
  flex-direction: column;
}
.phone-top {
  padding: 1rem;
  background: rgba(16,35,42,.55);
  color: #fff;
  font-weight: 1000;
  text-align: center;
  letter-spacing: .07em;
}
.mini-field {
  flex: 1;
  position: relative;
  background: linear-gradient(180deg, var(--sky) 0 43%, var(--field-dark) 43% 100%);
}
.mini-field::before {
  content: "";
  position: absolute;
  inset: 43% 0 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 36px 36px;
}
.mini-ball {
  position: absolute;
  left: 54%;
  top: 24%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid #111;
  animation: floatBall 2.3s ease-in-out infinite;
}
.mini-player {
  position: absolute;
  left: 50%;
  bottom: 68px;
  width: 70px;
  height: 100px;
  transform: translateX(-50%);
  background: #fff;
  border: 6px solid #111;
  border-radius: 18px;
}
.mini-target {
  position: absolute;
  right: 34px;
  top: 42%;
  background: var(--yellow);
  border: 4px solid #111;
  border-radius: 999px;
  padding: .35rem .6rem;
  font-weight: 1000;
}
.phone-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: var(--field-dark);
  padding: 14px;
}
.phone-controls span {
  min-height: 72px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 1000;
  font-size: 1.4rem;
  border-radius: 20px;
}
.phone-controls span:first-child { background: var(--blue); }
.phone-controls span:last-child { background: var(--orange); }

.showcase-copy, .story-copy, .feature-wall-copy {
  background: rgba(244,248,241,.96);
  border: 3px solid rgba(255,255,255,.8);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1.5rem;
}
.mini-stats div {
  padding: 1rem;
  border: 3px solid rgba(255,255,255,.7);
  border-radius: 20px;
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 7px 0 rgba(0,0,0,.12);
}
.mini-stats strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}
.mini-stats span {
  color: rgba(255,255,255,.75);
  font-weight: 900;
  font-size: .9rem;
}

.feature-wall { align-items: start; }
.feature-list {
  display: grid;
  gap: .7rem;
  padding: 1rem;
}
.feature-list div {
  padding: 1rem;
  border-radius: 18px;
  background: var(--navy);
  color: var(--paper);
  border: 2px solid rgba(255,255,255,.12);
}
.feature-list strong, .feature-list span { display: block; }
.feature-list span {
  color: rgba(255,255,255,.74);
  margin-top: .2rem;
  font-weight: 750;
}

.story-grid { grid-template-columns: 1fr .8fr; }
.principles {
  padding: 1rem;
  display: grid;
  gap: .8rem;
}
.principles div {
  background: var(--navy);
  color: var(--paper);
  padding: 1rem;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,.12);
}
.principles span {
  color: var(--yellow);
  font-weight: 1000;
}
.principles strong {
  display: block;
  margin: .35rem 0;
  font-size: 1.1rem;
}
.principles p {
  margin: 0;
  color: rgba(255,255,255,.74);
}

.identity-section { padding-top: 36px; }
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 3px solid rgba(255,255,255,.14);
}
.identity-grid h2 { color: var(--paper); }
.identity-grid .eyebrow { color: var(--paper); }
.identity-grid p { color: rgba(255,255,255,.74); }
.palette { display: grid; gap: .8rem; }
.swatch {
  min-height: 74px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-weight: 1000;
  border: 3px solid rgba(255,255,255,.3);
  box-shadow: 0 7px 0 rgba(0,0,0,.12);
}
.swatch.green { background: var(--field); }
.swatch.black { background: #000; color: #fff; }
.swatch.white { background: #fff; color: #111; }

.timeline {
  padding: 1rem;
  display: grid;
  gap: .85rem;
}
.timeline-item {
  border: 3px solid rgba(255,255,255,.7);
  background: var(--cream);
  border-radius: 24px;
  padding: 1.2rem;
}
.timeline-item span {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 1000;
  font-size: .78rem;
}
.timeline-item h2 {
  font-size: 1.6rem;
  margin-top: .35rem;
}
.timeline-item p { margin-bottom: 0; }

.support-layout {
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
}
.support-card { padding: 2rem; }
.faq-list {
  display: grid;
  gap: .8rem;
}
.faq-list div {
  background: var(--cream);
  border: 3px solid rgba(255,255,255,.75);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.faq-list p { margin-bottom: 0; }
.faq-list a, .legal-card a {
  color: var(--field-dark);
  font-weight: 1000;
}

.legal-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  max-width: 900px;
  margin: auto;
}
.legal-card h2 {
  font-size: 1.7rem;
  margin-top: 1.4rem;
}

.site-footer {
  width: 100%;
  padding: 46px max(16px, calc((100% - 1120px) / 2)) 28px;
  border-top: 3px solid rgba(255,255,255,.15);
  background: rgba(3, 23, 13, .94);
  color: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr;
  gap: 2rem;
}
.footer-grid h2 {
  color: var(--paper);
  font-size: 1rem;
  margin-bottom: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-grid a {
  display: block;
  color: rgba(255,255,255,.82);
  font-weight: 900;
  margin-bottom: .5rem;
}
.footer-note {
  max-width: 420px;
  margin-top: 1rem;
  color: rgba(255,255,255,.7);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatBall {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(16deg); }
}
@keyframes wind {
  from { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  to { transform: translateX(760px); opacity: 0; }
}
@keyframes pulseTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-wrap {
    min-height: 74px;
    flex-wrap: wrap;
    padding: .85rem 0;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: .5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { background: rgba(16,35,42,.42); }
  .hero-grid, .game-showcase, .story-grid, .feature-wall, .support-layout, .identity-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid.three, .cards-grid.two, .footer-grid {
    grid-template-columns: 1fr;
  }
  .split-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .section-pad {
    width: min(100% - 22px, 1120px);
    padding: 62px 0;
  }
  .hero { padding-top: 44px; }
  h1 { font-size: clamp(2.55rem, 17vw, 4rem); }
  .hero-actions, .mini-stats {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .btn { width: 100%; }
  .pixel-scene { min-height: 320px; }
  .goal { width: 170px; }
  .target-two { right: 18px; }
  .target-one { left: 20px; }
  .footer-bottom { flex-direction: column; }
}


.screenshots-grid .info-card {
  min-height: auto;
  overflow: hidden;
  padding: 1rem;
}
.screenshots-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top;
  border-radius: 22px;
  border: 3px solid rgba(255,255,255,.7);
  margin-bottom: 1rem;
  box-shadow: 0 8px 0 rgba(0,0,0,.12);
}
.screenshots-grid .info-card:nth-child(3) img {
  object-position: center;
}
@media (max-width: 620px) {
  .screenshots-grid img { height: 420px; }
}


.screenshots-preview-section {
  padding-top: 72px;
}

.screenshot-showcase {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 1rem;
  align-items: stretch;
}

.screenshot-tile {
  display: block;
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255,255,255,.82);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.screenshot-tile.tall {
  min-height: 560px;
}

.screenshot-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .3s ease;
}

.screenshot-tile:hover img {
  transform: scale(1.035);
}

.screenshot-tile span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--navy);
  color: var(--paper);
  border: 3px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: .7rem 1rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 6px 0 rgba(0,0,0,.16);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.gallery-page-section {
  padding-top: 44px;
}

.gallery-grid {
  display: grid;
  gap: 1.4rem;
}

.gallery-card {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 1.5rem;
  align-items: center;
  background: rgba(244,248,241,.96);
  border: 4px solid rgba(255,255,255,.82);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.gallery-card:nth-child(2) {
  background: var(--blue);
  color: var(--paper);
}

.gallery-card:nth-child(2) h2,
.gallery-card:nth-child(2) p {
  color: var(--paper);
}

.gallery-card:nth-child(3) {
  background: var(--yellow);
}

.gallery-card img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: top;
  border-radius: 28px;
  border: 4px solid rgba(16,35,42,.14);
  box-shadow: 0 9px 0 rgba(0,0,0,.14);
  background: var(--navy);
}

.gallery-card:nth-child(3) img {
  object-position: center;
}

@media (max-width: 980px) {
  .screenshot-showcase {
    grid-template-columns: 1fr;
  }

  .screenshot-tile,
  .screenshot-tile.tall {
    min-height: 520px;
  }

  .gallery-card {
    grid-template-columns: 1fr;
  }

  .gallery-card img {
    height: 720px;
  }
}

@media (max-width: 620px) {
  .screenshot-tile,
  .screenshot-tile.tall {
    min-height: 540px;
  }

  .gallery-card img {
    height: 640px;
  }
}
