:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --ink: #151929;
  --muted: #667085;
  --line: #dde3ee;
  --panel: #ffffff;
  --violet: #4022b8;
  --cyan: #10bde8;
  --pink: #f244c4;
  --yellow: #f7bd16;
  --green: #17a56b;
  --shadow: 0 18px 48px rgba(21, 25, 41, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 227, 238, 0.78);
  background: rgba(247, 248, 251, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.filters,
.platforms,
.game-links,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-nav {
  gap: clamp(12px, 3vw, 30px);
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a,
.game-links a,
.press-grid a {
  text-decoration: none;
}

.site-nav a:hover,
.game-links a:hover,
.press-grid a:hover {
  color: var(--violet);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 62px);
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.feature-copy p,
.contact-band p {
  max-width: 610px;
  color: #475467;
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.filter {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.button.primary {
  color: #ffffff;
  background: var(--violet);
  box-shadow: 0 12px 28px rgba(64, 34, 184, 0.22);
}

.button.secondary {
  border-color: var(--line);
  color: #1d2939;
  background: #ffffff;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 590px;
}

.phone-shell {
  width: min(390px, 82vw);
  aspect-ratio: 0.56;
  padding: 13px;
  border-radius: 42px;
  background: #17112e;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}

.phone-screen {
  display: grid;
  align-content: center;
  gap: 22px;
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 18%, rgba(242, 68, 196, 0.36), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(16, 189, 232, 0.45), transparent 30%),
    linear-gradient(155deg, #230a61 0%, #120a2d 58%, #07192f 100%);
  color: #ffffff;
}

.phone-logo {
  width: 100%;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.28));
}

.guess-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.guess-theme {
  color: #d6f7ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.guess-card strong {
  font-size: 40px;
  letter-spacing: 0;
}

.guess-letters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.guess-letters span,
.score-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  color: #120a2d;
  background: #ffffff;
  font-weight: 950;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.score-row span:last-child {
  background: var(--yellow);
}

.release-card {
  position: absolute;
  right: 1%;
  bottom: 10%;
  display: grid;
  gap: 5px;
  width: min(270px, 70vw);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.release-card span,
.game-meta,
.muted-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.release-card strong {
  font-size: 25px;
}

.release-card small {
  color: #475467;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.stats-band div {
  display: grid;
  gap: 6px;
  min-height: 128px;
  align-content: center;
  padding: 24px clamp(18px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  font-size: clamp(26px, 4vw, 44px);
}

.stats-band span {
  color: var(--muted);
  font-weight: 800;
}

.section,
.feature-band,
.contact-band {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading,
.split,
.feature-band,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.filters {
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  color: #344054;
  background: #ffffff;
  border-color: var(--line);
}

.filter.is-active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

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

.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(21, 25, 41, 0.07);
}

.game-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1.45;
  background:
    radial-gradient(circle at 26% 24%, rgba(16, 189, 232, 0.28), transparent 25%),
    linear-gradient(135deg, #1d1248 0%, #32106f 52%, #083e55 100%);
}

.game-image {
  width: min(176px, 58%);
  border-radius: 24px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.game-placeholder {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 3px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 42px;
  font-weight: 950;
}

.game-body {
  padding: 22px;
}

.game-meta {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.game-body p,
.game-body li {
  color: #475467;
  line-height: 1.5;
}

.game-body ul {
  display: grid;
  gap: 6px;
  min-height: 78px;
  margin: 0 0 18px;
  padding-left: 18px;
}

.platforms,
.game-links {
  flex-wrap: wrap;
  gap: 8px;
}

.platforms span {
  padding: 6px 9px;
  border-radius: 8px;
  color: #075e45;
  background: #e7f8f1;
  font-size: 12px;
  font-weight: 900;
}

.game-links {
  min-height: 34px;
  margin-top: 18px;
}

.game-links a,
.press-grid a {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #1d2939;
  font-size: 13px;
  font-weight: 900;
}

.feature-band {
  align-items: center;
  background: #151929;
  color: #ffffff;
}

.feature-band .eyebrow {
  color: #7de8ff;
}

.feature-copy p {
  color: #cbd5e1;
}

.principles {
  display: grid;
  gap: 12px;
}

.principles article {
  display: grid;
  gap: 7px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.principles strong {
  font-size: 20px;
}

.principles span {
  color: #cbd5e1;
}

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

.contact-band {
  align-items: center;
  background:
    radial-gradient(circle at 88% 30%, rgba(247, 189, 22, 0.28), transparent 22%),
    linear-gradient(120deg, #effcff 0%, #ffffff 48%, #fff5fc 100%);
}

.contact-band .button {
  justify-self: end;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .split,
  .feature-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 540px;
  }

  .filters,
  .contact-band .button {
    justify-self: start;
    justify-content: flex-start;
  }

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

@media (max-width: 680px) {
  .site-header,
  .site-nav,
  .stats-band,
  .press-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    align-items: flex-start;
  }

  .site-nav {
    display: grid;
    gap: 8px;
    justify-items: end;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-shell {
    width: min(320px, 86vw);
  }

  .phone-screen {
    padding: 22px;
  }

  .guess-card strong {
    font-size: 30px;
  }

  .release-card {
    right: auto;
    bottom: 0;
  }

  .stats-band {
    display: grid;
  }

  .stats-band div {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }
}
