@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --deep-black: #1288f6;
  --deep-black-rgb: 18, 136, 246;
  --midnight-blue: #1288f6;
  --midnight-blue-rgb: 18, 136, 246;
  --electric-blue: #1288f6;
  --electric-blue-rgb: 18, 136, 246;
  --neon-purple: #14a7ef;
  --neon-purple-rgb: 20, 167, 239;
  --cyan-glow: #18b9e6;
  --cyan-glow-rgb: 24, 185, 230;
  --blue-cta: #1288f6;
  --blue-cta-rgb: 18, 136, 246;
  --accent-blue: #1288f6;
  --accent-blue-rgb: 18, 136, 246;
  --soft-blue: #18b9e6;
  --soft-blue-rgb: 24, 185, 230;
  --lime-highlight: #5fd6f6;
  --lime-highlight-rgb: 95, 214, 246;
  --sky-accent: #dff7ff;
  --sky-accent-rgb: 223, 247, 255;
  --surface: #f4fcff;
  --surface-strong: #e5f7ff;
  --text-soft: rgba(18, 136, 246, 0.82);
  --text-faint: rgba(18, 136, 246, 0.68);
  --border: rgba(18, 136, 246, 0.18);
  --shadow-lg: 0 30px 90px rgba(18, 136, 246, 0.16);
  --shadow-md: 0 24px 60px rgba(18, 136, 246, 0.12);
  --aqua-gradient: linear-gradient(180deg, #18b9e6 0%, #139ff1 48%, #1288f6 100%);
  --blue-gradient: linear-gradient(135deg, #18b9e6 0%, #1288f6 58%, #075f9f 100%);
  --aqua-surface-gradient: linear-gradient(180deg, #ffffff 0%, #e8f9ff 50%, #caedff 100%);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 22px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--cyan-glow-rgb), 0.22), transparent 26%),
    linear-gradient(180deg, #fbfeff 0%, #e9f9ff 34%, #c7efff 66%, #88c9fb 100%);
  background-size: 150% 150%, 100% 100%;
  background-attachment: fixed;
  color: var(--deep-black);
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  animation: siteBackdropShift 18s ease-in-out infinite;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(var(--electric-blue-rgb), 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(var(--electric-blue-rgb), 0.05) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: 0.42;
  animation: blueprintDrift 34s linear infinite;
}

body::after {
  content: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 2;
  padding: 88px 0;
}

.section-tight {
  padding: 52px 0;
}

.page-section {
  padding-top: 32px;
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fdff, #ffffff);
  color: var(--midnight-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}

.eyebrow::after {
  content: '';
  position: absolute;
  inset: auto 16px 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.22;
  transform: scaleX(0);
  transform-origin: left center;
}

.reveal.is-visible .eyebrow::after,
.page-hero .container.reveal.is-visible .eyebrow::after {
  animation: eyebrowUnderline 720ms cubic-bezier(0.2, 1, 0.32, 1) 160ms both;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-blue);
  box-shadow: 0 0 0 4px rgba(var(--electric-blue-rgb), 0.14);
}

.font-display,
h1,
h2,
h3,
h4 {
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
}

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

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

.section-heading h2,
.page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p,
.page-hero p,
.copy {
  margin: 20px 0 0;
  color: var(--text-soft);
  line-height: 1.9;
  font-size: 1rem;
}

.page-hero {
  position: relative;
  padding-top: 132px;
  padding-bottom: 36px;
  text-align: center;
  overflow: hidden;
}

.page-hero .container {
  position: relative;
}

.games-hero-pop-icons {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p,
.page-hero .cta-row,
.games-icon-marquee {
  position: relative;
  z-index: 2;
}

.hero-pop-icon {
  position: absolute;
  display: block;
  width: clamp(46px, 6vw, 72px);
  aspect-ratio: 1;
  opacity: 0;
  filter: drop-shadow(0 18px 24px rgba(var(--midnight-blue-rgb), 0.2));
  transform: translateY(50px) scale(0.5) rotate(var(--rotate, 0deg));
  animation: iconPopIn 640ms cubic-bezier(0.21, 1.34, 0.42, 1) var(--delay, 0ms) forwards;
}

.hero-pop-icon .game-app-icon {
  width: 100%;
  animation: iconBob 5.8s ease-in-out infinite;
  animation-delay: var(--bob-delay, 700ms);
}

.pop-icon-one {
  --delay: 160ms;
  --bob-delay: 660ms;
  --rotate: 9deg;
  top: 24%;
  right: 8%;
}

.pop-icon-two {
  --delay: 280ms;
  --bob-delay: 780ms;
  --rotate: -12deg;
  top: 37%;
  left: 9%;
}

.pop-icon-three {
  --delay: 400ms;
  --bob-delay: 900ms;
  --rotate: 7deg;
  right: 19%;
  bottom: 14%;
}

.games-icon-marquee {
  width: min(1080px, 100%);
  margin: 48px auto 0;
  display: grid;
  gap: 10px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
}

.games-icon-row {
  height: clamp(74px, 9vw, 110px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  animation: iconRowReveal 680ms ease var(--row-delay, 320ms) forwards;
}

.games-icon-row:nth-child(2) {
  --row-delay: 420ms;
}

.games-icon-row:nth-child(3) {
  --row-delay: 520ms;
}

.games-icon-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: gamesIconMarquee 46s linear infinite;
}

.games-icon-track.slow {
  animation-duration: 56s;
}

.games-icon-row.reverse .games-icon-track {
  animation-name: gamesIconMarqueeReverse;
  animation-duration: 50s;
}

.games-icon-marquee:hover .games-icon-track {
  animation-play-state: paused;
}

.games-icon-set {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}

.game-app-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(72px, 8vw, 100px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: var(--aqua-gradient);
  box-shadow:
    0 20px 42px rgba(var(--electric-blue-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  transform: translateZ(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.game-app-icon img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.game-app-icon b {
  position: relative;
  z-index: 3;
  color: #ffffff;
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
}

.games-icon-marquee .game-app-icon:hover {
  transform: translateY(-6px) rotate(3deg) scale(1.04);
  box-shadow:
    0 26px 54px rgba(var(--electric-blue-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.app-icon-neon {
  background: linear-gradient(145deg, #06345f 0%, #1288f6 46%, #18b9e6 100%);
}

.app-icon-lunar {
  background: linear-gradient(145deg, #064b7d 0%, #139ff1 48%, #7de4fb 100%);
}

.app-icon-mythic {
  background: linear-gradient(145deg, #06345f 0%, #0fa2d8 45%, #94ecfb 100%);
}

.app-icon-rivals {
  background: linear-gradient(145deg, #075f9f 0%, #1288f6 46%, #18b9e6 100%);
}

.app-icon-echo {
  background: linear-gradient(145deg, #06345f 0%, #0c94cf 45%, #c4fff9 100%);
}

.app-icon-blitz {
  background: linear-gradient(145deg, #06345f 0%, #139ff1 48%, #18b9e6 100%);
}

.app-icon-merge {
  background: linear-gradient(145deg, #064b7d 0%, #14a7ef 45%, #b7f4ff 100%);
}

.app-icon-rocket {
  background: linear-gradient(145deg, #06345f 0%, #1288f6 50%, #7de4fb 100%);
}

.app-icon-kingdom {
  background: linear-gradient(145deg, #075f9f 0%, #139ff1 45%, #a5f1ff 100%);
}

.app-icon-racer {
  background: linear-gradient(145deg, #111827 0%, #334155 44%, #38bdf8 100%);
}

.app-icon-orbit {
  background: linear-gradient(145deg, #073b4c 0%, #118ab2 45%, #06d6a0 100%);
}

.app-icon-pixel {
  background: linear-gradient(145deg, #06345f 0%, #1288f6 50%, #18b9e6 100%);
}

.app-icon-storm {
  background: linear-gradient(145deg, #06345f 0%, #1288f6 48%, #9df0ff 100%);
}

.app-icon-garden {
  background: linear-gradient(145deg, #064b7d 0%, #14a7ef 48%, #baf5ff 100%);
}

.app-icon-water {
  background: linear-gradient(145deg, #075985 0%, #0ea5e9 50%, #bae6fd 100%);
}

.app-icon-ace {
  background: linear-gradient(145deg, #06345f 0%, #139ff1 48%, #78e3fb 100%);
}

.app-icon-castle {
  background: linear-gradient(145deg, #075f9f 0%, #1288f6 42%, #a5f1ff 100%);
}

.app-icon-drop {
  background: linear-gradient(145deg, #164e63 0%, #14b8a6 48%, #ccfbf1 100%);
}

.hero {
  padding-top: 132px;
  padding-bottom: 72px;
}

.hero::before,
.page-hero::before {
  content: none;
}

body:not([data-page="home"]) .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(var(--electric-blue-rgb), 0.12) 8% 8.5%, transparent 8.5% 18%),
    linear-gradient(180deg, transparent 0 18%, rgba(var(--cyan-glow-rgb), 0.12) 18% 18.5%, transparent 18.5% 38%);
  background-size: 160px 110px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
  animation: pageGridDrift 18s linear infinite;
}

body:not([data-page="home"]) .page-hero .container {
  animation: pageHeroEntrance 820ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.hero-brand-lockup {
  display: block;
  width: fit-content;
  margin-bottom: 18px;
}

.hero-brand-wordmark {
  width: min(320px, 66vw);
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(var(--midnight-blue-rgb), 0.12));
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

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

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-blue-rgb), 0.72);
  background: var(--blue-gradient);
  background-size: 180% 100%;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(var(--accent-blue-rgb), 0.3);
  isolation: isolate;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  white-space: nowrap;
  animation: buttonGradientShift 5.8s ease-in-out infinite;
}

.btn::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -55%;
  z-index: 1;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-20deg);
  transition: left 620ms ease, opacity 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(var(--accent-blue-rgb), 0.4);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn:hover::after {
  left: 112%;
  opacity: 1;
}

.btn.secondary {
  border-color: rgba(var(--electric-blue-rgb), 0.2);
  background: #ffffff;
  color: var(--midnight-blue);
  box-shadow: none;
}

.btn.secondary:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.48);
  color: var(--accent-blue);
}

.glass {
  background: var(--aqua-surface-gradient);
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(var(--electric-blue-rgb), 0.12);
  backdrop-filter: none;
}

.stats-grid,
.route-grid,
.service-grid,
.metric-grid,
.role-grid,
.contact-cards {
  display: grid;
  gap: 18px;
}

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

.route-grid,
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.role-grid,
.contact-cards {
  grid-template-columns: 1fr;
}

.card,
.stat-card,
.service-card,
.role-card,
.metric-card,
.contact-card,
.route-card {
  border-radius: var(--radius-xl);
  padding: 26px;
}

.stat-card strong {
  display: block;
  font-size: clamp(2.8rem, 4vw, 4rem);
  letter-spacing: 0;
  color: var(--accent-blue);
}

body:not([data-page="home"]) .stat-card {
  transform-style: preserve-3d;
}

body:not([data-page="home"]) .stat-card::after {
  content: '';
  position: absolute;
  inset: auto 24px 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-blue), var(--cyan-glow));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms ease;
}

body:not([data-page="home"]) .stat-card.is-visible::after,
body:not([data-page="home"]) .stat-card:hover::after {
  transform: scaleX(1);
}

.muted {
  color: var(--text-soft);
}

.faint {
  color: var(--text-faint);
}

.pill-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-blue-rgb), 0.22);
  background: linear-gradient(180deg, rgba(var(--soft-blue-rgb), 0.12), rgba(var(--sky-accent-rgb), 0.36));
  color: var(--midnight-blue);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.pill:hover,
.tag:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.42);
  color: var(--accent-blue);
  box-shadow: 0 14px 28px rgba(var(--accent-blue-rgb), 0.12);
  transform: translateY(-2px);
}

.hero-orbit {
  position: relative;
  margin-inline: auto;
  width: min(100%, 390px);
}

.phone-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border-radius: 40px;
}

.phone-screen {
  min-height: 650px;
  padding: 24px;
  border-radius: 32px;
  background: var(--aqua-surface-gradient);
  border: 1px solid rgba(var(--electric-blue-rgb), 0.18);
}

.phone-status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-feature-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 28px;
  background: var(--aqua-surface-gradient);
}

.hero-feature-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.hero-feature-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-feature-title {
  margin-top: 10px;
  font-size: 2rem;
}

.hero-feature-head > .mini-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 20px;
  flex-shrink: 0;
  line-height: 1;
  background: rgba(var(--sky-accent-rgb), 0.7);
  color: var(--midnight-blue);
}

.hero-game-thumb {
  margin-top: 18px;
  background: var(--aqua-surface-gradient);
}

.hero-download-pill {
  width: max-content;
}

.hero-event-card {
  position: absolute;
  inset: auto 18px 18px;
}

.hero-event-label {
  color: var(--midnight-blue);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-event-title {
  margin-top: 12px;
  font-size: 2rem;
}

.hero-stats-grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-float,
.mini-card,
.showcase-visual,
.dashboard-panel {
  border: 1px solid var(--border);
  background: #f8fcff;
  backdrop-filter: none;
}

.hero-float {
  position: absolute;
  width: 210px;
  padding: 18px;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  animation: bob 7s ease-in-out infinite;
}

.hero-float.one {
  left: -48px;
  top: 84px;
}

.hero-float.two {
  right: -38px;
  top: 150px;
  animation-duration: 8s;
}

.hero-float.three {
  right: -46px;
  bottom: 80px;
  animation-duration: 9s;
}

.section-cards {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.section-cards .card {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card:hover .section-cards .card {
  border-color: rgba(var(--electric-blue-rgb), 0.22);
}

.service-card:hover .section-cards .card:nth-child(1) {
  transform: translateX(4px);
}

.service-card:hover .section-cards .card:nth-child(2) {
  transform: translateX(10px);
}

.service-card:hover .section-cards .card:nth-child(3) {
  transform: translateX(16px);
}

.route-card,
.service-card,
.gallery-card,
.about-card,
.role-card,
.metric-card,
.stat-card,
.contact-card {
  position: relative;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.stat-card.reveal.is-visible,
.service-card.reveal.is-visible,
.games-card.reveal.is-visible,
.team-lead.reveal.is-visible,
.team-person.reveal.is-visible,
.metric-card.reveal.is-visible,
.contact-card.reveal.is-visible,
.route-card.reveal.is-visible {
  animation: cardArrive 760ms cubic-bezier(0.2, 1, 0.32, 1);
}

.section-heading.reveal.is-visible h2,
.gd-section-head.reveal.is-visible h2 {
  animation: headingSettle 720ms cubic-bezier(0.2, 1, 0.32, 1);
}

.section-heading.reveal.is-visible .eyebrow,
.gd-section-head.reveal.is-visible .eyebrow,
.page-hero .container.reveal.is-visible .eyebrow {
  animation: eyebrowPop 540ms cubic-bezier(0.2, 1, 0.32, 1);
}

.route-card::before,
.service-card::before,
.gallery-card::before,
.metric-card::before,
.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(var(--electric-blue-rgb), 0.1), transparent 32%);
  pointer-events: none;
}

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

.gallery-card {
  min-height: 220px;
  border-radius: var(--radius-xl);
  padding: 22px;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.showcase-visual {
  margin-top: 18px;
  min-height: 130px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--aqua-surface-gradient);
}

.service-card h3,
.route-card h3,
.gallery-card h3,
.about-card h3,
.role-card h3,
.metric-card strong {
  margin: 0;
}

.about-visual {
  position: relative;
  min-height: 540px;
  border-radius: 40px;
  padding: 24px;
  overflow: hidden;
  background: var(--aqua-surface-gradient);
}

.about-visual .core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  padding: 28px;
  border-radius: 28px;
  text-align: center;
}

.about-placeholder-card {
  inset: auto 24px 24px;
  transform: none;
  width: auto;
}

.about-core-title {
  margin-top: 18px;
  font-size: clamp(2.2rem, 6vw, 3rem);
}

.orbital-ring,
.orbital-ring-two {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(var(--sky-accent-rgb), 0.22);
}

.orbital-ring {
  width: 380px;
  height: 380px;
}

.orbital-ring-two {
  width: 460px;
  height: 460px;
  border-color: rgba(var(--cyan-glow-rgb), 0.14);
}

.orbital-chip {
  position: absolute;
  padding: 16px 18px;
  border-radius: 22px;
}

.orbital-chip-title {
  margin-top: 10px;
  font-size: 1.8rem;
}

.orbital-chip.one {
  top: 14%;
  left: 14%;
}

.orbital-chip.two {
  right: 12%;
  bottom: 18%;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-step {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-xl);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.timeline-step::after {
  content: '';
  position: absolute;
  left: 47px;
  top: 76px;
  bottom: -19px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--accent-blue-rgb), 0.58), rgba(var(--electric-blue-rgb), 0.08));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 520ms ease var(--reveal-delay, 0ms);
}

.timeline-step:last-child::after {
  content: none;
}

.timeline-step.is-visible::after {
  transform: scaleY(1);
}

.timeline-step:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.3);
  box-shadow: 0 26px 62px rgba(var(--electric-blue-rgb), 0.16);
  transform: translateX(8px);
}

.timeline-step .index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(var(--sky-accent-rgb), 0.42);
  border: 1px solid var(--border);
  font-weight: 700;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease, box-shadow 260ms ease;
}

.timeline-step:hover .index,
.timeline-step.is-visible .index {
  background: var(--blue-gradient);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(var(--accent-blue-rgb), 0.2);
}

.timeline-step:hover .index {
  transform: rotate(-5deg) scale(1.05);
}

.dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr;
}

.dashboard-panel {
  border-radius: 28px;
  padding: 22px;
  overflow: hidden;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 190px;
  margin-top: 28px;
}

.bar {
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(var(--cyan-glow-rgb), 0.88), rgba(var(--electric-blue-rgb), 0.78));
  transform-origin: bottom center;
  transform: scaleY(0.12);
}

.dashboard-panel.is-visible .bar {
  animation: chartBarRise 860ms cubic-bezier(0.2, 1, 0.32, 1) forwards;
}

.dashboard-panel.is-visible .bar:nth-child(2) {
  animation-delay: 90ms;
}

.dashboard-panel.is-visible .bar:nth-child(3) {
  animation-delay: 180ms;
}

.dashboard-panel.is-visible .bar:nth-child(4) {
  animation-delay: 270ms;
}

.dashboard-panel.is-visible .bar:nth-child(5) {
  animation-delay: 360ms;
}

.dashboard-panel.is-visible .bar:nth-child(6) {
  animation-delay: 450ms;
}

.line-chart {
  margin-top: 22px;
  width: 100%;
  height: 100px;
}

.line-chart path {
  stroke-dasharray: 540;
  stroke-dashoffset: 540;
}

.dashboard-panel.is-visible .line-chart path {
  animation: lineDraw 1.35s ease 420ms forwards;
}

.carousel-shell {
  margin-top: 42px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.carousel-buttons {
  display: flex;
  gap: 10px;
}

.carousel-button {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #f4fcff;
  color: var(--midnight-blue);
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.carousel-button:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.4);
  box-shadow: 0 16px 34px rgba(var(--electric-blue-rgb), 0.18);
  color: var(--accent-blue);
  transform: translateY(-2px) scale(1.04);
}

.carousel-viewport {
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 0 18px;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 18px;
}

.slide {
  scroll-snap-align: start;
}

.carousel-track .slide {
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, opacity 300ms ease;
}

.carousel-track .slide:not(.is-current) {
  opacity: 1;
}

.carousel-track .slide.is-current {
  border-color: rgba(var(--accent-blue-rgb), 0.36);
  box-shadow: 0 32px 78px rgba(var(--electric-blue-rgb), 0.2);
  opacity: 1;
  transform: translateY(-8px);
}

.games-card {
  height: 100%;
}

.games-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.games-card::after,
.gd-feature-card::after,
.dashboard-card::after,
.studio-card::after,
.gd-phone-card::after,
.gd-growth-panel::after,
.gd-career-band::after {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0 44%, rgba(var(--accent-blue-rgb), 0.18) 49%, transparent 55%);
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 820ms cubic-bezier(0.2, 1, 0.32, 1);
}

.games-card:hover::after,
.gd-feature-card:hover::after,
.dashboard-card:hover::after,
.studio-card:hover::after,
.gd-phone-card:hover::after,
.gd-growth-panel:hover::after,
.gd-career-band:hover::after {
  transform: translateX(120%);
}

.games-card:hover,
.service-card:hover,
.metric-card:hover,
.contact-card:hover,
.route-card:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.3);
  box-shadow: 0 28px 70px rgba(var(--electric-blue-rgb), 0.18);
  transform: translateY(-6px);
}

.game-thumb {
  aspect-ratio: 1.08;
  min-height: 0;
  border-radius: 26px;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.14);
  background: linear-gradient(180deg, #f5fdff 0%, #d9f7ff 35%, #bde9ff 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.games-card:hover .placeholder-art,
.games-card.is-current .placeholder-art {
  transform: scale(1.055);
  filter: saturate(1.14) contrast(1.04);
}

.game-thumb::after {
  content: none;
}

.placeholder-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) contrast(1.02);
  transition: transform 760ms cubic-bezier(0.2, 1, 0.32, 1), filter 760ms ease;
}

.game-thumb .placeholder-art,
.about-visual .placeholder-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.showcase-visual .placeholder-art {
  width: 100%;
  height: 100%;
}

.game-card-badges,
.game-thumb > .glass.card {
  position: absolute;
  z-index: 1;
}

.game-card-badges {
  inset: 16px 16px auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.game-card-badges .pill {
  max-width: min(100%, 190px);
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(244, 252, 255, 0.92);
  box-shadow: 0 14px 34px rgba(var(--accent-blue-rgb), 0.16);
  color: var(--accent-blue);
  font-weight: 800;
}

.game-card-badges .download-pill {
  margin-left: auto;
  background: var(--blue-gradient);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 36px rgba(var(--accent-blue-rgb), 0.28);
}

.game-thumb > .glass.card {
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.14);
  background: #f4fcff;
  box-shadow: 0 28px 64px rgba(var(--electric-blue-rgb), 0.12);
}

.game-thumb > .glass.card p {
  margin: 0;
  color: rgba(var(--deep-black-rgb), 0.8);
}

.game-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 4px 0;
}

.game-card-content h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1;
}

.game-card-content .tag-row {
  margin-top: 16px;
}

.games-card .cta-row {
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
}

.games-card .btn {
  min-width: 178px;
}

.games-card .tag-row {
  min-height: 40px;
  align-items: flex-start;
}

.team-showcase {
  min-height: 100vh;
  padding-top: 128px;
  padding-bottom: 92px;
  background: transparent;
  color: var(--deep-black);
  text-align: center;
}

.team-showcase .container {
  width: min(calc(100% - 32px), 1320px);
}

.team-top-quote {
  margin: 0 auto 112px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
}

.team-lead {
  max-width: 560px;
  margin: 0 auto;
  transition: transform 260ms ease;
}

.team-lead:hover {
  transform: translateY(-4px);
}

.team-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 142px;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 4px solid rgba(var(--accent-blue-rgb), 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 26%, #ffffff, transparent 22%),
    linear-gradient(145deg, #fbfbfb 0%, #e7f9ff 48%, #b7e8ff 100%);
  box-shadow: 0 18px 44px rgba(var(--electric-blue-rgb), 0.16);
}

.team-avatar-large {
  width: 190px;
}

.team-avatar img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.team-lead:hover .team-avatar img,
.team-person:hover .team-avatar img {
  transform: scale(1.05);
}

.team-avatar span {
  position: relative;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(var(--accent-blue-rgb), 0.12);
}

.team-lead h1,
.team-person h2 {
  font-family: inherit;
  color: var(--deep-black);
  letter-spacing: 0;
}

.team-lead h1 {
  margin: 30px 0 0;
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1;
}

.team-role {
  margin: 10px 0 0;
  color: var(--text-faint);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.48em;
  line-height: 1.5;
  text-transform: uppercase;
}

.team-lead blockquote {
  max-width: 500px;
  margin: 36px auto 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.75;
}

.team-members-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 104px;
}

.team-person {
  position: relative;
  min-height: 320px;
  padding: 26px 28px 12px;
  transition: transform 260ms ease;
}

.team-person::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent-blue), var(--cyan-glow), transparent);
  box-shadow: 0 0 18px rgba(var(--accent-blue-rgb), 0.2);
}

.team-person:hover {
  transform: translateY(-6px);
}

.team-person h2 {
  display: grid;
  min-height: 2.16em;
  place-items: center;
  margin: 32px auto 0;
  max-width: 12ch;
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.team-person .team-role {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.contact-grid {
  align-items: start;
}

body[data-page="contact"] main > .section:not(.page-hero) {
  padding-top: 56px;
  padding-bottom: 64px;
}

.contact-panel {
  position: relative;
  align-self: start;
  overflow: hidden;
  border-radius: 34px;
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form .btn {
  width: 100%;
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: block;
  transition: transform 220ms ease;
}

.field span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--deep-black);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(var(--electric-blue-rgb), 0.42);
  box-shadow: 0 0 0 4px rgba(var(--electric-blue-rgb), 0.08);
  background: #ffffff;
  transform: translateY(-2px);
}

.field:focus-within {
  transform: translateY(-2px);
}

.contact-form .btn:disabled {
  cursor: progress;
  opacity: 1;
}

.contact-form.is-sending .btn {
  animation: submitPulse 720ms ease-in-out infinite alternate;
}

.status {
  display: none;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
}

.status.show {
  display: block;
  animation: statusPop 360ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.status.success {
  border: 1px solid rgba(var(--sky-accent-rgb), 0.32);
  background: rgba(var(--electric-blue-rgb), 0.14);
  color: var(--midnight-blue);
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 20px 0 28px;
}

.footer-panel {
  border-radius: 32px;
  padding: 34px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
}

.footer-columns {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: rgba(var(--midnight-blue-rgb), 0.62);
  font-size: 14px;
}

.nav-wrap {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 20;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 4px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), var(--cyan-glow), var(--electric-blue));
  box-shadow: 0 0 18px rgba(var(--cyan-glow-rgb), 0.56);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1px;
  padding: 2px 18px;
  border-radius: 26px;
  overflow: hidden;
  animation: navDrop 760ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.nav-shell::after {
  content: '';
  position: absolute;
  top: 0;
  left: -42%;
  width: 42%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-blue-rgb), 0.62), transparent);
  pointer-events: none;
  animation: navTrace 5.5s ease-in-out infinite;
}

.nav-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: clamp(100px, 10vw, 150px);
  aspect-ratio: 2.38;
  display: grid;
  place-items: center;
  overflow: visible;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: none;
}

.brand-mark img,
.brand-copy strong {
  position: relative;
  z-index: 1;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 10px rgba(var(--midnight-blue-rgb), 0.14));
  transition: transform 260ms ease, filter 260ms ease;
}

.nav-brand:hover .brand-mark img {
  transform: translateY(-2px) scale(1.035);
  filter: drop-shadow(0 12px 16px rgba(var(--midnight-blue-rgb), 0.2));
}

.brand-copy {
  display: flex;
  min-width: 0;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 0;
}

.brand-copy strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-copy small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(var(--midnight-blue-rgb), 0.62);
}

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

.nav-link {
  position: relative;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(var(--deep-black-rgb), 0.74);
  transition: color 180ms ease, background 180ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--midnight-blue);
  background: rgba(var(--sky-accent-rgb), 0.42);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  color: var(--midnight-blue);
}

.mobile-menu {
  display: none;
  margin-top: 10px;
  padding: 18px;
  border-radius: 28px;
}

.mobile-menu.open {
  display: block;
  animation: menuDrop 260ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  color: rgba(var(--deep-black-rgb), 0.8);
}

.mobile-menu a.active,
.mobile-menu a:hover {
  background: rgba(var(--sky-accent-rgb), 0.42);
  color: var(--midnight-blue);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.motion-ready .motion-parallax {
  translate: 0 var(--parallax-y, 0px);
  will-change: translate;
}

.motion-ready :is(.btn, .carousel-button, .nav-link, .pill, .tag) {
  translate: var(--magnet-x, 0px) var(--magnet-y, 0px);
  transition-property: translate, transform, color, background, border-color, box-shadow;
  transition-duration: 180ms, 220ms, 180ms, 180ms, 220ms, 220ms;
  transition-timing-function: ease;
}

.motion-ready .motion-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.motion-ready .reveal.motion-card:not(.is-visible) {
  transform: translateY(28px) scale(0.985);
}

.motion-ready .reveal.is-visible.motion-card,
.motion-ready .motion-card:not(.reveal) {
  transform:
    perspective(920px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(0, 0, 0);
}

.motion-ready .reveal.is-visible.motion-card:hover,
.motion-ready .motion-card:not(.reveal):hover {
  transform:
    perspective(920px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(0, -7px, 18px);
}

.motion-ready .carousel-track .slide.is-current.motion-card {
  transform:
    perspective(920px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(0, -8px, 18px);
}

.motion-ready .section-heading.reveal.is-visible,
.motion-ready .gd-section-head.reveal.is-visible {
  animation: sectionHeaderFloat 820ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.motion-ready .contact-panel.reveal.is-visible .field,
.motion-ready .contact-panel.reveal.is-visible .contact-card,
.motion-ready .contact-panel.reveal.is-visible .contact-form .btn {
  animation: fieldSlideIn 640ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.motion-ready .contact-panel.reveal.is-visible .contact-card:nth-child(2),
.motion-ready .contact-panel.reveal.is-visible .form-row .field:nth-child(2) {
  animation-delay: 90ms;
}

.motion-ready .contact-panel.reveal.is-visible .contact-card:nth-child(3),
.motion-ready .contact-panel.reveal.is-visible textarea,
.motion-ready .contact-panel.reveal.is-visible .contact-form .btn {
  animation-delay: 180ms;
}

.motion-ready .service-card.reveal.is-visible .section-cards .card {
  animation: stepCardSlide 580ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.motion-ready .service-card.reveal.is-visible .section-cards .card:nth-child(2) {
  animation-delay: 90ms;
}

.motion-ready .service-card.reveal.is-visible .section-cards .card:nth-child(3) {
  animation-delay: 180ms;
}

.motion-ready .gd-metric-strip article.reveal.is-visible,
.motion-ready .stats-grid .stat-card.reveal.is-visible {
  animation: metricPop 760ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.motion-ready .category-rail.reveal.is-visible span,
.motion-ready .tag-row .tag,
.motion-ready .pill-row .pill {
  animation: chipSettle 3.8s ease-in-out infinite;
}

.motion-ready .category-rail span:nth-child(2n),
.motion-ready .tag-row .tag:nth-child(2n),
.motion-ready .pill-row .pill:nth-child(2n) {
  animation-delay: 240ms;
}

.motion-ready .category-rail span:nth-child(3n),
.motion-ready .tag-row .tag:nth-child(3n),
.motion-ready .pill-row .pill:nth-child(3n) {
  animation-delay: 480ms;
}

.motion-ready .studio-card.reveal.is-visible .studio-art::before {
  animation: studioSweep 5.4s ease-in-out infinite;
}

.motion-ready .dashboard-card strong,
.motion-ready .metric-card strong,
.motion-ready .stat-card strong {
  animation: numberFloat 4.8s ease-in-out infinite;
}

.motion-ready .gd-phone-card,
.motion-ready .dashboard-card,
.motion-ready .gd-feature-card {
  animation: softDrift 6.8s ease-in-out infinite;
}

.motion-ready .gd-phone-card:nth-child(2),
.motion-ready .dashboard-card:nth-child(2),
.motion-ready .gd-feature-card:nth-child(2) {
  animation-delay: -1.8s;
}

.motion-ready .gd-phone-card:nth-child(3),
.motion-ready .dashboard-card:nth-child(3),
.motion-ready .gd-feature-card:nth-child(3) {
  animation-delay: -3.2s;
}

.motion-ready .footer-panel.reveal.is-visible {
  animation: footerRise 780ms cubic-bezier(0.2, 1, 0.32, 1) both;
}

.footer-columns a {
  display: inline-block;
  transition: translate 200ms ease, color 180ms ease;
}

.footer-columns a:hover {
  translate: 6px 0;
  color: var(--accent-blue);
}

@keyframes siteBackdropShift {
  0%,
  100% {
    background-position: 0% 0%, center;
  }

  50% {
    background-position: 100% 28%, center;
  }
}

@keyframes buttonGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes navTrace {
  0%,
  38% {
    left: -42%;
  }

  72%,
  100% {
    left: 100%;
  }
}

@keyframes cardArrive {
  0% {
    transform: translateY(18px) scale(0.985);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes headingSettle {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes eyebrowPop {
  0% {
    transform: translateY(6px) scale(0.96);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes menuDrop {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes iconPopIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.5) rotate(var(--rotate, 0deg));
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(var(--rotate, 0deg));
  }
}

@keyframes iconBob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@keyframes iconRowReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gamesIconMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes gamesIconMarqueeReverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes navDrop {
  0% {
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroWash {
  0%,
  100% {
    opacity: 0.82;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes tileFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 var(--float-distance, -12px);
  }
}

@keyframes sparkSweep {
  0%,
  45% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.92);
  }

  50% {
    transform: scaleY(1.06);
  }
}

@keyframes pageGridDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 160px 110px, -160px 110px;
  }
}

@keyframes pageHeroEntrance {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chartBarRise {
  0% {
    transform: scaleY(0.12);
  }

  100% {
    transform: scaleY(1);
  }
}

@keyframes lineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes submitPulse {
  0% {
    box-shadow: 0 18px 46px rgba(var(--accent-blue-rgb), 0.22);
  }

  100% {
    box-shadow: 0 24px 62px rgba(var(--accent-blue-rgb), 0.42);
  }
}

@keyframes statusPop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes blueprintDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 78px 78px, -78px 78px;
  }
}

@keyframes eyebrowUnderline {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

@keyframes sectionHeaderFloat {
  0% {
    opacity: 0.75;
    translate: 0 12px;
  }

  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes fieldSlideIn {
  0% {
    opacity: 0;
    translate: 18px 0;
  }

  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes stepCardSlide {
  0% {
    opacity: 0;
    translate: -16px 0;
  }

  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes metricPop {
  0% {
    opacity: 0;
    scale: 0.96;
    translate: 0 16px;
  }

  100% {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes chipSettle {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -3px;
  }
}

@keyframes studioSweep {
  0%,
  100% {
    transform: translateX(-8%) rotate(0deg);
  }

  50% {
    transform: translateX(8%) rotate(3deg);
  }
}

@keyframes numberFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@keyframes softDrift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@keyframes footerRise {
  0% {
    opacity: 0;
    translate: 0 24px;
  }

  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .dashboard-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .team-members-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 72px;
  }

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

  .hero-float {
    display: none;
  }

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

@media (max-width: 820px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .route-grid,
  .service-grid,
  .metric-grid,
  .stats-grid,
  .gallery-grid,
  .footer-columns,
  .form-row {
    grid-template-columns: 1fr;
  }

  .team-showcase {
    padding-top: 116px;
  }

  .team-top-quote {
    margin-bottom: 72px;
  }

  .team-members-row {
    grid-template-columns: 1fr;
    gap: 56px;
    margin-top: 72px;
  }

  .team-person {
    min-height: 0;
    padding: 0 18px;
  }

  .team-person::before {
    display: none;
  }

  .gallery-card.wide,
  .gallery-card.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 44px 0;
  }

  .hero,
  .page-hero {
    padding-top: 116px;
  }

  .page-hero {
    padding-bottom: 42px;
  }

  .hero-pop-icon {
    width: 44px;
  }

  .pop-icon-one {
    top: -18px;
    right: 9%;
  }

  .pop-icon-two {
    top: 17%;
    left: 1%;
  }

  .pop-icon-three {
    right: 4%;
    bottom: 38%;
  }

  .games-icon-marquee {
    width: calc(100vw - 24px);
    margin-top: 36px;
    gap: 8px;
  }

  .games-icon-row {
    height: 78px;
  }

  .games-icon-set {
    gap: 12px;
    padding-right: 12px;
  }

  .game-app-icon {
    width: 70px;
    border-radius: 22px;
  }

  .phone-screen {
    min-height: auto;
    padding: 20px;
  }

  .hero-feature-head {
    align-items: flex-start;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .carousel-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-buttons {
    align-self: flex-end;
  }

  .carousel-track {
    grid-auto-columns: calc(100% - 28px);
  }

  .games-card {
    min-height: 0;
  }

  .game-thumb {
    aspect-ratio: 1.16;
    min-height: 0;
  }

  .about-visual {
    min-height: 420px;
    padding: 20px;
  }

  .about-visual .core {
    width: min(100%, 220px);
    padding: 22px;
  }

  .orbital-ring {
    width: 290px;
    height: 290px;
  }

  .orbital-ring-two {
    width: 350px;
    height: 350px;
  }

  .orbital-chip {
    padding: 12px 14px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .team-showcase {
    padding-top: 178px;
  }

  .team-top-quote {
    max-width: 30ch;
    margin-bottom: 58px;
    font-size: 1rem;
  }

  .team-avatar-large {
    width: 168px;
  }

  .team-lead h1 {
    max-width: 100%;
    font-size: 2.05rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .team-role,
  .team-person .team-role {
    font-size: 0.82rem;
    letter-spacing: 0.34em;
  }

  .team-lead blockquote {
    max-width: 24ch;
    font-size: 1rem;
  }

  .team-person h2 {
    max-width: 14ch;
    font-size: 1.85rem;
  }

  .section-heading h2,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.8vw, 2.25rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .section-heading p,
  .page-hero p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .nav-wrap {
    inset: 12px 0 auto;
  }

  .nav-shell {
    padding: 12px 14px;
  }

  .brand-mark {
    width: min(154px, 42vw);
  }

  .brand-copy strong {
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .brand-copy small {
    display: block;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .hero-brand-lockup {
    margin-bottom: 14px;
  }

  .hero-brand-wordmark {
    width: min(240px, 72vw);
  }

  .games-hero-pop-icons {
    display: none;
  }

  .games-icon-marquee {
    margin-top: 32px;
    -webkit-mask-image: linear-gradient(90deg, #000, #000);
    mask-image: linear-gradient(90deg, #000, #000);
  }

  .games-icon-row {
    height: 68px;
  }

  .games-icon-track {
    animation-duration: 40s;
  }

  .games-icon-row.reverse .games-icon-track {
    animation-duration: 44s;
  }

  .games-icon-track.slow {
    animation-duration: 48s;
  }

  .game-app-icon {
    width: 62px;
    border-radius: 18px;
  }

  .phone-card {
    border-radius: 32px;
  }

  .phone-screen {
    padding: 18px;
    border-radius: 26px;
  }

  .phone-status-row {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .hero-feature-card {
    padding: 18px;
  }

  .hero-feature-head {
    flex-direction: column;
  }

  .hero-feature-title,
  .hero-event-title {
    font-size: 1.6rem;
  }

  .hero-feature-head > .mini-card {
    align-self: stretch;
    justify-content: center;
  }

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

  .hero-event-card {
    inset-inline: 14px;
    bottom: 14px;
    padding: 18px;
  }

  .carousel-track {
    grid-auto-columns: 100%;
  }

  .carousel-buttons {
    width: 100%;
    justify-content: flex-end;
  }

  .carousel-button {
    width: 42px;
    height: 42px;
  }

  .game-thumb {
    aspect-ratio: 1.05;
    min-height: 0;
  }

  .game-card-badges {
    inset: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .game-card-badges .pill {
    max-width: 100%;
    padding: 8px 10px;
    font-size: 10px;
  }

  .game-card-badges .download-pill {
    margin-left: 0;
  }

  .about-visual {
    min-height: 360px;
  }

  .about-visual .core {
    width: min(100%, 190px);
    padding: 18px;
  }

  .about-core-title {
    font-size: 2rem;
  }

  .orbital-ring {
    width: 220px;
    height: 220px;
  }

  .orbital-ring-two {
    width: 280px;
    height: 280px;
  }

  .orbital-chip {
    max-width: 132px;
    border-radius: 18px;
  }

  .orbital-chip.one {
    top: 10%;
    left: 5%;
  }

  .orbital-chip.two {
    right: 5%;
    bottom: 14%;
  }

  .orbital-chip-title {
    font-size: 1.25rem;
  }

  .timeline-step {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pop-icon,
  .hero-pop-icon .game-app-icon,
  .games-icon-row,
  .games-icon-track {
    animation: none;
  }

  .hero-pop-icon,
  .games-icon-row {
    opacity: 1;
    transform: none;
  }
}

/* Game District inspired homepage */
.gd-hero {
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 44px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(var(--cyan-glow-rgb), 0.22) 0%, rgba(255, 255, 255, 0.52) 42%, rgba(var(--electric-blue-rgb), 0.18) 100%),
    radial-gradient(circle at 12% 18%, rgba(var(--cyan-glow-rgb), 0.24), transparent 18%),
    radial-gradient(circle at 88% 22%, rgba(var(--electric-blue-rgb), 0.22), transparent 18%);
}

.gd-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(205, 238, 255, 0.64) 70%);
  animation: heroWash 12s ease-in-out infinite;
  pointer-events: none;
}

.gd-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.gd-hero .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.gd-hero-logo {
  width: min(550px, 100vw);
  margin: 0 auto 18px;
  filter: drop-shadow(0 16px 22px rgba(var(--midnight-blue-rgb), 0.14));
  animation: logoFloat 6.8s ease-in-out infinite;
}

.gd-hero h1 {
  margin: 0;
  color: var(--deep-black);
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.gd-hero p,
.gd-section-head p,
.gd-career-band p,
.studio-card p,
.gd-feature-card p {
  color: rgba(var(--deep-black-rgb), 0.72);
  line-height: 1.85;
}

.gd-hero-copy > p {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.gd-centered-actions {
  justify-content: center;
}

.gd-orbit-stage {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: none;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 16px;
  box-sizing: border-box;
  height: min(44vw, 470px);
  min-height: 330px;
  margin-top: 34px;
  perspective: 1000px;
}

.game-tile,
.game-cover {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.22);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.92), transparent 20%),
    linear-gradient(150deg, #f7fdff 0%, #98ddf8 45%, #1288f6 100%);
  box-shadow: 0 26px 70px rgba(var(--electric-blue-rgb), 0.22);
  transition: border-color 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.game-tile img,
.game-cover img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 1, 0.32, 1), filter 700ms ease;
}

.game-tile:hover,
.game-cover:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.42);
  box-shadow: 0 34px 88px rgba(var(--electric-blue-rgb), 0.28);
  filter: saturate(1.04);
}

.game-tile:hover img,
.game-cover:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.04);
}

.studio-art::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, 0.64) 43% 46%, transparent 47%),
    radial-gradient(circle at 74% 32%, rgba(255, 255, 255, 0.92) 0 9%, transparent 10%),
    radial-gradient(circle at 34% 66%, rgba(var(--deep-black-rgb), 0.28) 0 15%, transparent 16%);
  opacity: 0.9;
}

.game-tile span,
.game-cover span {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: 0 18px 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--midnight-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-tile strong,
.game-cover strong {
  position: relative;
  z-index: 1;
  margin: 0 18px 18px;
  color: #ffffff;
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1;
  text-shadow: 0 4px 18px rgba(var(--deep-black-rgb), 0.42);
}

.game-tile {
  width: clamp(150px, 18vw, 240px);
  height: clamp(210px, 25vw, 330px);
  border-radius: 36px;
  --float-distance: -12px;
  animation: tileFloat 7.8s ease-in-out infinite;
}

.tile-main {
  left: 50%;
  top: 16%;
  width: clamp(190px, 22vw, 300px);
  height: clamp(250px, 29vw, 380px);
  --float-distance: -18px;
  animation-delay: -1.2s;
  animation-duration: 8.6s;
  transform: translateX(-50%) rotate(1deg);
}

.tile-arcade {
  left: 7%;
  top: 14%;
  animation-delay: -0.4s;
  transform: rotate(-12deg);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.92), transparent 20%),
    linear-gradient(150deg, #f4fcff 0%, #7de4fb 42%, #1288f6 100%);
}

.tile-strategy {
  left: 27%;
  bottom: 2%;
  animation-delay: -2.1s;
  transform: rotate(8deg);
}

.tile-puzzle {
  right: 26%;
  bottom: 4%;
  animation-delay: -3.2s;
  transform: rotate(-7deg);
}

.tile-racing {
  right: 6%;
  top: 16%;
  animation-delay: -1.7s;
  transform: rotate(12deg);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.92), transparent 20%),
    linear-gradient(150deg, #f4fcff 0%, #7de4fb 45%, #075f9f 100%);
}

.tile-strategy,
.cover-merge {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.92), transparent 20%),
    linear-gradient(150deg, #f7fdff 0%, #a9e6fb 42%, #1288f6 100%);
}

.tile-puzzle,
.cover-racer {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.92), transparent 20%),
    linear-gradient(150deg, #f7fdff 0%, #90e2f9 48%, #075f9f 100%);
}

.gd-metrics {
  position: relative;
  z-index: 3;
}

.gd-metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.18);
  border-radius: 34px;
  background: rgba(var(--electric-blue-rgb), 0.14);
  box-shadow: 0 22px 70px rgba(var(--electric-blue-rgb), 0.12);
}

.gd-metric-strip article {
  min-height: 160px;
  padding: 28px 22px;
  background: #f4fcff;
  text-align: center;
}

.gd-metric-strip strong {
  display: block;
  color: var(--accent-blue);
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.gd-metric-strip span {
  display: block;
  margin-top: 12px;
  color: rgba(var(--midnight-blue-rgb), 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gd-section-head {
  max-width: 780px;
}

.gd-section-head.center {
  margin: 0 auto;
  text-align: center;
}

.gd-section-head h2,
.gd-career-band h2 {
  margin: 18px 0 0;
  color: var(--deep-black);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.gd-section-head p {
  margin: 22px 0 0;
  font-size: 1.06rem;
}

.gd-game-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(14px, 4vw, 34px);
  margin-top: 46px;
  padding: 26px 0;
}

.gd-phone-card {
  position: relative;
  overflow: hidden;
  width: min(28vw, 280px);
  min-width: 180px;
  padding: 10px;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.18);
  border-radius: 38px;
  background: var(--aqua-surface-gradient);
  box-shadow: 0 28px 70px rgba(var(--electric-blue-rgb), 0.16);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.gd-phone-card.lifted {
  transform: translateY(-34px);
}

.gd-phone-card:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.32);
  box-shadow: 0 34px 86px rgba(var(--electric-blue-rgb), 0.24);
  transform: translateY(-8px) scale(1.015);
}

.gd-phone-card.lifted:hover {
  transform: translateY(-42px) scale(1.015);
}

.game-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 0.72;
  border-radius: 30px;
}

.category-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.category-rail span {
  padding: 12px 18px;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.18);
  border-radius: 999px;
  background: #f4fcff;
  color: var(--deep-black);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.category-rail span:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.36);
  color: var(--accent-blue);
  box-shadow: 0 16px 34px rgba(var(--accent-blue-rgb), 0.12);
  transform: translateY(-3px);
}

.gd-feature-grid {
  display: grid;
  gap: 18px;
}

.gd-feature-card,
.gd-growth-panel,
.gd-career-band,
.studio-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.16);
  background: var(--aqua-surface-gradient);
  box-shadow: 0 24px 70px rgba(var(--electric-blue-rgb), 0.1);
}

.gd-feature-card {
  padding: 28px;
  border-radius: 28px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.gd-feature-card:hover,
.dashboard-card:hover,
.studio-card:hover {
  border-color: rgba(var(--accent-blue-rgb), 0.32);
  box-shadow: 0 32px 80px rgba(var(--electric-blue-rgb), 0.18);
  transform: translateY(-6px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--blue-gradient);
  color: #ffffff;
  font-weight: 900;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.gd-feature-card:hover .feature-icon {
  box-shadow: 0 14px 30px rgba(var(--accent-blue-rgb), 0.26);
  transform: rotate(-4deg) scale(1.06);
}

.gd-feature-card h3,
.studio-card h3 {
  margin: 22px 0 0;
  color: var(--deep-black);
  font-size: 1.7rem;
}

.gd-feature-card p,
.studio-card p {
  margin: 14px 0 0;
}

.gd-growth-panel {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 28px;
  align-items: center;
  border-radius: 42px;
  padding: clamp(24px, 5vw, 54px);
}

.gd-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(var(--cyan-glow-rgb), 0.46), transparent 42%),
    #f4fcff;
  border: 1px solid rgba(var(--electric-blue-rgb), 0.14);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.dashboard-card.wide {
  grid-column: span 2;
}

.dashboard-card span {
  color: rgba(var(--midnight-blue-rgb), 0.7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-card strong {
  display: block;
  margin-top: 12px;
  color: var(--deep-black);
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.sparkline {
  position: relative;
  height: 74px;
  margin-top: 20px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 0 20%, rgba(var(--electric-blue-rgb), 0.18) 21% 22%, transparent 23% 45%, rgba(var(--electric-blue-rgb), 0.44) 46% 48%, transparent 49%),
    linear-gradient(180deg, #f4fcff, #ffffff);
}

.sparkline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: translateX(-110%);
  animation: sparkSweep 3.8s ease-in-out infinite;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 100px;
  margin-top: 18px;
}

.mini-bars i {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: var(--aqua-gradient);
  transform-origin: bottom;
  animation: barPulse 2.8s ease-in-out infinite;
}

.mini-bars i:nth-child(2) {
  animation-delay: 120ms;
}

.mini-bars i:nth-child(3) {
  animation-delay: 240ms;
}

.mini-bars i:nth-child(4) {
  animation-delay: 360ms;
}

.mini-bars i:nth-child(5) {
  animation-delay: 480ms;
}

.mini-bars i:nth-child(6) {
  animation-delay: 600ms;
}

.gd-career-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 42px;
  padding: clamp(26px, 5vw, 54px);
}

.gd-career-band > div {
  max-width: 760px;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.studio-card {
  overflow: hidden;
  border-radius: 32px;
  padding: 18px 18px 26px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.studio-art {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.94), transparent 18%),
    linear-gradient(145deg, #f7fdff 0%, #9be2f9 45%, #1288f6 100%);
}

.studio-art.art-blue {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.94), transparent 18%),
    linear-gradient(145deg, #f7fdff 0%, #9be2f9 45%, #1288f6 100%);
}

.studio-art.art-cyan {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.94), transparent 18%),
    linear-gradient(145deg, #f7fdff 0%, #90e2f9 42%, #075f9f 100%);
}

.studio-art.art-navy {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.94), transparent 18%),
    linear-gradient(145deg, #f7fdff 0%, #8dd9f8 44%, #075f9f 100%);
}

.studio-art.art-blue-bright {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.94), transparent 18%),
    linear-gradient(145deg, #f4fcff 0%, #7de4fb 42%, #1288f6 100%);
}

@media (max-width: 1100px) {
  .gd-growth-panel,
  .gd-partners .split-grid {
    grid-template-columns: 1fr;
  }

  .gd-metric-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .gd-hero {
    min-height: 0;
    padding-top: 124px;
  }

  .gd-orbit-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    min-height: 0;
    gap: 14px;
  }

  .game-tile,
  .tile-main {
    position: relative;
    inset: auto;
    width: 100%;
    height: 240px;
    transform: none;
  }

  .gd-metric-strip {
    grid-template-columns: 1fr;
  }

  .gd-game-showcase {
    align-items: stretch;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .gd-phone-card {
    width: 74vw;
    min-width: 230px;
    scroll-snap-align: center;
  }

  .gd-phone-card.lifted {
    transform: none;
  }

  .gd-dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard-card.wide {
    grid-column: auto;
  }

  .gd-career-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .gd-hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9.5vw, 2.85rem);
    line-height: 1;
    overflow-wrap: break-word;
  }

  .gd-section-head h2,
  .gd-career-band h2 {
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }

  .game-tile {
    height: 210px;
    border-radius: 28px;
  }

  .gd-metric-strip article {
    min-height: 130px;
  }

  .category-rail {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .nav-shell {
    gap: 10px;
  }

  .nav-brand {
    gap: 5px;
  }

  .brand-mark {
    width: min(132px, 37vw);
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    flex: 0 0 auto;
  }

  .gd-hero-logo {
    width: min(300px, 84vw);
  }

  .gd-hero h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.2rem);
    line-height: 1.04;
  }

  .gd-hero-copy > p {
    font-size: 0.98rem;
  }
}

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

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

  .reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .scroll-progress span {
    transition: none !important;
  }
}
