@font-face {
  font-family: "Jomhuria";
  src: url("../fonts/Jomhuria-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hind";
  src: url("../fonts/Hind-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hind";
  src: url("../fonts/Hind-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hind";
  src: url("../fonts/Hind-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hind";
  src: url("../fonts/Hind-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amaranth";
  src: url("../fonts/Amaranth-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amaranth";
  src: url("../fonts/Amaranth-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Carlito";
  src: url("../fonts/Carlito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Calibri Light";
  src: local("Calibri Light"), local("Calibri-Light");
  font-weight: 300;
  font-style: normal;
}

:root {
  --bg: #040a26;
  --bg-elevated: #161634;
  --surface: #242a42;
  --surface-2: #202045;
  --text: #ffffff;
  --text-soft: #e4dfff;
  --text-muted: #cbc5cf;
  --text-dim: #8d8896;
  --text-faint: #5f5b6c;
  --nav: #425399;
  --cyan: #3bf3fb;
  --cyan-2: #21d2fa;
  --link: #17b6ea;
  --lead: #7eadff;
  --gold: #ecc02c;
  --grad-welcome: linear-gradient(90deg, #350bfb 0%, #9606f2 50%, #e701e9 100%);
  --grad-title: linear-gradient(90deg, #02dce0 0%, #00fcf9 21.26%, #28a1ff 50%, #fe6ff3 93.87%);
  --grad-tagline: linear-gradient(90deg, #bef8f8 0%, #3ff4fb 50%, #3bf3fb 100%);
  --grad-primary: linear-gradient(90deg, #1e0b5e 0%, #360b6e 50%, #490966 100%);
  --grad-store: linear-gradient(90deg, #2c0efa 0%, #7507f6 48%, #e203ea 100%);
  --grad-follow: linear-gradient(90deg, #350BFB 0%, #9606F2 50%, #E701E9 100%);
  --grad-signup: linear-gradient(90deg, #350bfb 0%, #9606f2 50%, #e701e9 100%);
  --grad-neon: linear-gradient(90deg, #3014ff 0%, #a205ff 50%, #ff0cff 100%);
  --grad-card: linear-gradient(180deg, #242a42 0%, #242a42 63%, #343b53 100%);
  --grad-service: linear-gradient(180deg, #161634 0%, #171838 42%, #1d2149 76%, #353974 100%);
  --grad-bar: linear-gradient(90deg, #1a1c34 0%, #181a36 52%, #21234d 100%);
  --font-display: "Jomhuria", cursive;
  --font-title: "Hind", "Segoe UI", sans-serif;
  --font-tagline: "Amaranth", "Hind", sans-serif;
  --font-body: "Hind", "Segoe UI", sans-serif;
  --font-btn: "Hind", "Segoe UI", sans-serif;
  --font-note: "Hind", "Segoe UI", sans-serif;
  --font-age: "Hind", "Segoe UI", sans-serif;
  --container: min(1320px, calc(100% - 2.5rem));
  --radius: 18px;
  --header-h: 130px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 40% at 78% 12%, rgba(110, 44, 242, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 30% at 15% 35%, rgba(44, 14, 250, 0.12), transparent 70%),
    var(--bg);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header — transparent over hero bg; solid after scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(4, 10, 38, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(59, 243, 251, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand img {
  width: 127px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(59, 243, 251, 0.35));
  transition: transform 0.35s ease;
}

.brand:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  margin-left: auto;
  margin-right: 1rem;
}

.site-nav a {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--nav);
  position: relative;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--cyan);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  font-family: var(--font-btn);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(0);
}

.btn-signup {
  min-width: 160px;
  height: 46px;
  padding: 0 1.25rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  background: var(--grad-signup);
  box-shadow: 0 8px 22px rgba(150, 6, 242, 0.35);
}

.btn-primary {
  position: relative;
  isolation: isolate;
  width: 462px;
  max-width: 100%;
  min-width: 0;
  height: 78px;
  padding: 0 2rem;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0;
  border-radius: 14px;
  background: var(--grad-primary);
  box-shadow: 0 0 18px rgba(162, 5, 255, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  background: var(--grad-neon);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.btn-primary > span {
  position: relative;
  z-index: 1;
}

.btn-primary.wide {
  width: 100%;
  max-width: 632px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 570px);
  height: 80px;
  padding: 0 1.5rem;
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  line-height: 1;
  background: var(--grad-store);
  box-shadow: 0 12px 28px rgba(44, 14, 250, 0.28);
}

.btn-store-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 40px;
  line-height: 1;
  transform: translateY(3px);
}

.store-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  display: block;
  transform: translateY(-3px);
}

.btn-store-label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 40px;
  line-height: 1;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transform: translateY(2px);
}

.btn-follow {
  min-width: 218px;
  height: 58px;
  padding: 0 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #350BFB 0%, #9606F2 50%, #E701E9 100%);
  box-shadow: 0 10px 24px rgba(117, 7, 246, 0.28);
  flex-shrink: 0;
  border-radius: 12px;
}

/* Hero — Figma artboard 1920×894，导航叠在底图上 */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 0.5rem) 0 3rem;
  min-height: 894px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("../images/hero-bg.png") right center / cover no-repeat;
  opacity: 0.85;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1rem 2rem;
  align-items: center;
}

.hero-welcome {
  margin: 0;
  display: inline-block;
  font-family: "Jomhuria", cursive;
  font-weight: 400;
  font-synthesis: none;
  font-size: 94px;
  line-height: 0.72;
  letter-spacing: 0;
  background: linear-gradient(90deg, #350BFB 0%, #9606F2 50%, #E701E9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: none;
  -webkit-font-smoothing: antialiased;
}

.hero-welcome.compact {
  font-size: 72px;
  line-height: 0.75;
}

.hero-title,
.signup-title {
  margin: 0 0 -0.2em;
  font-family: "Jomhuria", cursive;
  font-weight: 400;
  font-synthesis: none;
  font-size: 120px;
  line-height: 0.72;
  letter-spacing: 0;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero-subtitle,
.signup-subtitle {
  margin: -0.2em 0 0;
  font-family: "Jomhuria", cursive;
  font-weight: 400;
  font-synthesis: none;
  font-size: 70px;
  line-height: 0.76;
  letter-spacing: 0;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero-lead,
.signup-lead {
  margin: 0.35rem 0 1.5rem;
  max-width: none;
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  font-size: 30px;
  line-height: 40px;
  letter-spacing: 0;
  color: #7eadff;
}

.hero-lead > span,
.signup-lead > span {
  white-space: nowrap;
}

.hero-copy .hero-lead {
  margin-top: 0.25rem;
  margin-bottom: 5.1rem; /* Figma: lead y439 → button y602 */
}

.hero-visual {
  justify-self: end;
  width: min(100%, 758px);
  aspect-ratio: 758 / 630;
  overflow: visible;
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-visual img,
.signup-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: brightness(0.92) contrast(0.97) saturate(0.96) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.signup-visual {
  justify-self: end;
  width: min(100%, 560px);
  aspect-ratio: 758 / 630;
  overflow: visible;
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Download */
.download {
  padding: 1rem 0 5rem;
  text-align: center;
}

.tagline {
  margin: 0 0 1.25rem;
  font-family: "Amaranth", "Hind", sans-serif;
  font-size: 54px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 40px;
  text-align: center;
  background: linear-gradient(90deg, #BEF8F8 0%, #3FF4FB 50%, #3BF3FB 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.download-copy {
  margin: 0 auto 2.5rem;
  max-width: 1318px;
  font-family: "Calibri Light", "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: 34px;
  font-weight: 300;
  font-synthesis: none;
  line-height: 51px;
  text-align: center;
  color: #e4dfff;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2.25rem;
}

.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #02DCE0 0%, #00FCF9 21.26%, #28A1FF 50%, #FE6FF3 93.87%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.section-desc {
  margin: 0;
  max-width: 52rem;
  color: var(--text-soft);
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.875rem);
  font-weight: 400;
  font-synthesis: none;
}

/* Games */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.game-card {
  background: var(--grad-card);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.5rem;
  border: 1px solid rgba(122, 108, 255, 0.18);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 243, 251, 0.35);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.game-thumb {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 358 / 234;
  background: #11152b;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.05);
}

.game-card h3 {
  margin: 1.15rem 0 0.45rem;
  color: #21d2fa;
  font-family: "Hind", "Segoe UI", sans-serif;
  font-size: 30px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 40px;
  text-align: center;
}

.game-card p {
  margin: 0 auto;
  width: 353px;
  max-width: 100%;
  color: #cbc5cf;
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  line-height: 27px;
  text-align: center;
}

.view-more-bar {
  margin-top: 1.75rem;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-bar);
  border: 1px solid rgba(122, 108, 255, 0.15);
}

.view-more {
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.view-more:hover {
  color: var(--cyan);
}

/* Services */
.service-list {
  display: grid;
  gap: 1.5rem;
}

.service-row {
  display: grid;
  grid-template-columns: 226px 1fr;
  gap: 1.75rem;
  align-items: center;
  min-height: 272px;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  background: var(--grad-service);
  border: 1px solid rgba(122, 108, 255, 0.18);
}

.service-row-reverse {
  grid-template-columns: 1fr 226px;
}

.service-row-reverse .service-art {
  order: 2;
}

.service-row-reverse .service-copy {
  order: 1;
  text-align: right;
}

.service-art {
  width: 226px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.4s ease;
}

.service-row:hover .service-art {
  transform: scale(1.04) rotate(-1deg);
}

.service-copy h3 {
  margin: 0 0 0.75rem;
  color: #21d2fa;
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: 30px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 1.2;
}

.service-copy p {
  margin: 0;
  color: #cbc5cf;
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.45;
  max-width: 42rem;
}

.service-row-reverse .service-copy p {
  margin-left: auto;
}

/* Rewards */
.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.reward-card {
  background: var(--grad-card);
  border-radius: var(--radius);
  padding: 0.75rem 0.75rem 1.5rem;
  border: 1px solid rgba(122, 108, 255, 0.18);
  cursor: pointer;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.reward-card:hover {
  transform: translateY(-10px);
  border-color: rgba(236, 192, 44, 0.55);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(236, 192, 44, 0.18);
}

.reward-media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 636 / 370;
  background: #11152b;
}

.reward-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.reward-card:hover .reward-media img {
  transform: scale(1.06);
}

.reward-card h3 {
  margin: 1rem 1rem 0.5rem;
  color: #ecc02c;
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: 30px;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0;
  line-height: 1.2;
}

.reward-card p {
  margin: 0 1rem;
  color: #cbc5cf;
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.45;
}

/* Social */
.social-banner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-height: 260px;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  background: var(--grad-service);
  border: 1px solid rgba(122, 108, 255, 0.18);
}

.social-icon {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.social-banner-copy {
  flex: 1;
  min-width: 0;
}

.social-banner-copy h3 {
  margin: 0 0 0.45rem;
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 700;
  font-synthesis: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.social-banner-copy p {
  margin: 0;
  color: #fff;
  font-family: "Calibri", "Carlito", "Segoe UI", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.4;
}

/* Signup */
.signup {
  padding-top: 2rem;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.signup-card {
  background: var(--grad-service);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(122, 108, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Avoid transform+opacity compositing that makes gradient text look reflective */
.signup-card.reveal {
  transform: none;
}

.signup-card.reveal.is-visible {
  transform: none;
}

.signup-card .hero-welcome {
  background: linear-gradient(90deg, #350BFB 0%, #9606F2 50%, #E701E9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.field span {
  color: var(--text-soft);
  font-size: 1.15rem;
  font-weight: 600;
}

.field input {
  height: 62px;
  padding: 0 1.1rem;
  border: 1px solid rgba(122, 108, 255, 0.2);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input::placeholder {
  color: rgba(228, 223, 255, 0.45);
}

.field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(59, 243, 251, 0.15);
}

.signup-note {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--text-soft);
  font-family: var(--font-note);
  font-size: 1rem;
}

.form-message {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--cyan);
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(122, 108, 255, 0.12);
}

.footer-disclaimer {
  margin: 0 0 1rem;
  color: var(--text-faint);
  font-size: clamp(0.95rem, 1.5vw, 1.35rem);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  margin-bottom: 1.75rem;
}

.footer-links a {
  color: var(--link);
  font-size: clamp(0.95rem, 1.4vw, 1.35rem);
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-age {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.age-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-age);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--text-faint);
}

.age-badge span {
  font-size: 2rem;
  margin-left: 0.1rem;
}

.footer-age-copy {
  max-width: 36rem;
}

.footer-age-copy p {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.45;
}

.footer-legal {
  margin: 0 auto 1.5rem;
  max-width: 56rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}

.footer-legal p {
  margin: 0 0 0.5rem;
}

.footer-legal a {
  color: var(--link);
}

.footer-legal a:hover {
  color: var(--cyan);
}

.footer-copy {
  margin: 0 auto;
  max-width: 56rem;
  color: var(--text-dim);
  font-size: 1rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  color: var(--text);
  text-decoration: none;
}

.social-btn {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #27253b;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.footer-social a:hover .social-btn,
.footer-social a:focus-visible .social-btn {
  background: var(--grad-welcome);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(117, 7, 246, 0.35);
}

.footer-social a:first-child .social-btn {
  background: var(--grad-welcome);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

/* Responsive */
@media (max-width: 1400px) {
  .hero-welcome { font-size: 80px; }
  .hero-title, .signup-title { font-size: 100px; }
  .hero-subtitle, .signup-subtitle { font-size: 60px; }
  .hero-lead, .signup-lead { font-size: 26px; line-height: 1.35; }
  .btn-primary { font-size: 34px; height: 70px; width: 400px; }
  .tagline { font-size: 44px; }
  .download-copy { font-size: 28px; }
}

@media (max-width: 1100px) {
  .hero-grid,
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .signup-visual {
    justify-self: center;
    order: -1;
    width: min(100%, 480px);
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 0.75rem) 0 2.5rem;
  }

  .hero-welcome { font-size: 64px; }
  .hero-title, .signup-title { font-size: 80px; }
  .hero-subtitle, .signup-subtitle { font-size: 48px; }
  .hero-lead, .signup-lead { font-size: 22px; }
  .site-nav a { font-size: 18px; }
  .tagline { font-size: 36px; }
  .download-copy { font-size: 20px; }

  .game-grid,
  .reward-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .service-row,
  .service-row-reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-row-reverse .service-art,
  .service-row-reverse .service-copy {
    order: initial;
  }

  .service-row-reverse .service-copy,
  .service-row-reverse .service-copy p {
    text-align: center;
    margin-inline: auto;
  }

  .service-art {
    margin-inline: auto;
  }

  .social-banner {
    flex-direction: column;
    text-align: center;
  }

  .footer-age {
    flex-wrap: wrap;
    text-align: center;
  }

  .footer-age-copy {
    text-align: left;
  }

  .footer-social {
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 88px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: rgba(4, 10, 38, 0.96);
    border-bottom: 1px solid rgba(59, 243, 251, 0.1);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    font-size: 16px;
  }

  .site-nav a::after {
    display: none;
  }

  .btn-signup {
    min-width: 110px;
    height: 40px;
    font-size: 16px;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand img {
    width: 86px;
  }

  .btn-primary {
    width: 100%;
    height: 64px;
    font-size: 22px;
  }

  .btn-store {
    width: 100%;
    min-width: 0;
    height: 68px;
  }

  .hero-welcome { font-size: 48px; }
  .hero-title, .signup-title { font-size: 56px; }
  .hero-subtitle, .signup-subtitle { font-size: 36px; }
  .hero-lead, .signup-lead { font-size: 18px; max-width: none; }
  .hero-lead > span,
  .signup-lead > span { white-space: normal; }
  .tagline { font-size: 28px; }
  .download-copy { font-size: 16px; }

  .section {
    padding: 3.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .btn,
  .hero-visual,
  .signup-visual,
  .social-icon,
  .game-thumb img {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
