:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-elevated: rgba(15, 21, 44, 0.7);
  --line: rgba(143, 225, 255, 0.16);
  --line-strong: rgba(143, 225, 255, 0.34);
  --text: #f6f7fb;
  --muted: #a8b4d3;
  --accent: #8de9ff;
  --accent-strong: #7a7dff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(92, 108, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 80% 15%, rgba(39, 224, 255, 0.22), transparent 24rem),
    linear-gradient(160deg, #09101f 0%, #060a14 52%, #02040b 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at center, transparent 0, rgba(4, 7, 16, 0.15) 45%, rgba(4, 7, 16, 0.85) 100%);
  pointer-events: none;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: 0.75rem 0 2rem;
}

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero {
  display: flex;
  justify-content: center;
  padding-bottom: 2rem;
}

.hero-copy {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  width: min(100%, 42rem);
  text-align: center;
}

.robot-face {
  display: grid;
  place-items: center;
  width: min(16rem, 48vw);
  aspect-ratio: 1;
  border-radius: 28px;
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  background: linear-gradient(180deg, rgba(15, 21, 44, 0.82), rgba(9, 14, 30, 0.7));
  box-shadow:
    0 0 0 1px rgba(141, 233, 255, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.45);
  filter:
    drop-shadow(0 0 22px rgba(141, 233, 255, 0.22))
    drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.brand-mark {
  width: min(100%, 38rem);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 18px rgba(141, 233, 255, 0.18))
    drop-shadow(0 14px 36px rgba(0, 0, 0, 0.55));
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3.5rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid rgba(141, 233, 255, 0.35);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background:
    linear-gradient(135deg, rgba(122, 125, 255, 0.24), rgba(141, 233, 255, 0.14));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 16px 40px rgba(0, 0, 0, 0.3);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(141, 233, 255, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.4);
  background:
    linear-gradient(135deg, rgba(122, 125, 255, 0.34), rgba(141, 233, 255, 0.22));
}

/* ── Games section ──────────────────────────────────────────────────────── */

.games {
  padding: 3rem 0;
  border-top: 1px solid var(--line-strong);
  display: flex;
  justify-content: center;
}

.game-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

.game-cover {
  width: auto;
  height: auto;
  max-height: 8rem;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.game-card-footer {
  display: flex;
  justify-content: center;
}

.game-policy-link {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 180ms ease, color 180ms ease;
}

.game-policy-link:hover {
  color: var(--accent);
  opacity: 1;
}

.store-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(141, 233, 255, 0.3);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(122, 125, 255, 0.18), rgba(141, 233, 255, 0.1));
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(141, 233, 255, 0.75);
  background: linear-gradient(135deg, rgba(122, 125, 255, 0.28), rgba(141, 233, 255, 0.18));
}

.store-badge-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: block;
}

/* ── Site footer ────────────────────────────────────────────────────────── */

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}

/* ─────────────────────────────────────────────────────────────────────────── */

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

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 1.5rem, 42rem);
  }

  .site-header {
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 560px) {
  body {
    background-size: 42px 42px;
  }

  .page-shell {
    width: min(100% - 1rem, 36rem);
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
