:root {
  --bg: #090d12;
  --bg-soft: #101821;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f7fbff;
  --muted: #aeb9c6;
  --teal: #18d5c2;
  --coral: #ff6f61;
  --yellow: #ffd34d;
  --green: #84df75;
  --ink: #121821;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(24, 213, 194, 0.22), transparent 30%),
    linear-gradient(180deg, #090d12 0%, #101821 40%, #0b1017 100%);
  font-family: "Inter", system-ui, sans-serif;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 56px);
  color: #fff;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--teal));
  font-size: 13px;
}

.brand-name {
  overflow: hidden;
  max-width: 210px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  gap: clamp(12px, 3vw, 26px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  background: #090d12;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 18, 0.94) 0%, rgba(9, 13, 18, 0.72) 42%, rgba(9, 13, 18, 0.2) 100%),
    linear-gradient(0deg, rgba(9, 13, 18, 0.9) 0%, rgba(9, 13, 18, 0.12) 54%, rgba(9, 13, 18, 0.65) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 94svh;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 128px 0 36px;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 8vw, 90px);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.65;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button,
.store-row a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 20px;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.store-row a:hover,
.game-card:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--teal));
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(760px, 100%);
  margin-top: auto;
  padding-top: 46px;
}

.hero-strip span,
.logo-wall span {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-strip span {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: clamp(70px, 9vw, 122px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.split,
.contact-layout,
.career-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.section h2,
.contact h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

.copy-stack p,
.section p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

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

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.metrics {
  display: grid;
  margin-top: 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.glass-card,
.game-card,
.career-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.metric-card {
  padding: 24px;
}

.metric-card strong {
  display: block;
  color: #fff;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.metric-card span:last-child {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.services,
.why {
  background:
    linear-gradient(135deg, rgba(24, 213, 194, 0.14), transparent 34%),
    #0c1219;
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

.glass-card {
  min-height: 240px;
  padding: 26px;
}

.glass-card h3 {
  margin: 20px 0 12px;
  font-size: 22px;
}

.glass-card p {
  margin: 0;
  font-size: 15px;
}

.card-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 900;
}

.games {
  background:
    linear-gradient(180deg, #101821 0%, #090d12 100%);
}

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

.game-card {
  overflow: hidden;
  transition: transform 180ms ease;
}

.game-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.game-body {
  padding: 20px;
}

.game-body > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-body h3 {
  margin: 10px 0 10px;
  font-size: 22px;
}

.game-body p {
  min-height: 84px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.store-row {
  margin-top: 18px;
}

.store-row a {
  min-height: 38px;
  flex: 1 1 112px;
  border: 1px solid var(--line);
  padding: 0 12px;
  font-size: 13px;
}

.expertise {
  background:
    linear-gradient(135deg, rgba(255, 111, 97, 0.12), transparent 34%),
    #101821;
}

.partners {
  text-align: center;
  background: #090d12;
}

.partners h2 {
  max-width: 760px;
  margin: 0 auto;
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px auto 0;
}

.logo-wall span {
  min-width: 132px;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 900;
}

.careers {
  background:
    linear-gradient(rgba(16, 24, 33, 0.84), rgba(16, 24, 33, 0.84)),
    url("assets/hero-games.png") center / cover fixed;
}

.career-panel {
  padding: clamp(26px, 5vw, 46px);
}

.career-panel p {
  margin-top: 18px;
}

.career-panel .button {
  justify-self: end;
}

.contact {
  padding: clamp(74px, 10vw, 128px) 0;
  background:
    linear-gradient(135deg, rgba(24, 213, 194, 0.2), transparent 40%),
    linear-gradient(180deg, #090d12, #101821);
}

.contact p {
  margin-top: 18px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.contact-card a {
  display: grid;
  gap: 6px;
  border-radius: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.contact-card span {
  color: var(--yellow);
  font-size: 12px;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 32px clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--line);
  background: #070a0e;
  color: var(--muted);
  font-size: 13px;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 800;
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

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

  .reveal,
  .button,
  .store-row a,
  .game-card {
    transition: none;
  }
}

@media (max-width: 1020px) {
  .card-grid.four,
  .games-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-name {
    max-width: 132px;
    font-size: 14px;
  }

  .site-nav {
    gap: 10px;
    font-size: 12px;
  }

  .hero-art {
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 13, 18, 0.94) 0%, rgba(9, 13, 18, 0.78) 78%, rgba(9, 13, 18, 0.36) 100%),
      linear-gradient(0deg, rgba(9, 13, 18, 0.92) 0%, rgba(9, 13, 18, 0.12) 62%, rgba(9, 13, 18, 0.76) 100%);
  }

  .hero-inner {
    padding-top: 108px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .split,
  .contact-layout,
  .career-panel {
    grid-template-columns: 1fr;
  }

  .career-panel .button {
    justify-self: stretch;
  }

  .card-grid.four,
  .games-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .game-body p {
    min-height: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-nav a:first-child {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    max-width: 118px;
  }

  .hero h1 {
    font-size: 41px;
  }

  .hero-copy {
    font-size: 16px;
  }
}
