* {
  box-sizing: border-box;
}

:root {
  --bg: #eaf8ff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-hover: #ffffff;
  --text: #17324a;
  --muted: #5b7891;
  --line: rgba(76, 164, 220, 0.22);
  --accent: #49b9f5;
  --accent-2: #9aa8ff;
  --shadow: 0 16px 42px rgba(79, 157, 207, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(95, 196, 255, 0.28), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(164, 174, 255, 0.22), transparent 25rem),
    linear-gradient(180deg, #eaf8ff 0%, #dff3ff 48%, #f7fcff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 36px;
}

.hero {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0 72px;
}

.logo {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(145deg, #59c3fb, #9d9cff);
  box-shadow: 0 12px 30px rgba(80, 163, 220, 0.22);
}

.eyebrow,
.tag {
  margin: 0;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  color: #278cc8;
}

h1 {
  margin: 10px 0 18px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: .94;
  letter-spacing: -.05em;
  color: var(--text);
}

h1 span {
  background: linear-gradient(90deg, #3fb9f4, #8c91ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  color: var(--text);
}

.section-heading p {
  margin: 0;
  max-width: 430px;
  color: var(--muted);
  line-height: 1.5;
}

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

.game-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.game-card:hover {
  transform: translateY(-5px);
  background: var(--panel-hover);
  border-color: rgba(73, 185, 245, 0.42);
  box-shadow: 0 20px 48px rgba(79, 157, 207, 0.22);
}

.icon {
  font-size: 42px;
  margin-bottom: 30px;
}

.card-copy {
  flex: 1;
}

.card-copy h3 {
  margin: 6px 0 10px;
  font-size: 28px;
  letter-spacing: -.03em;
  color: var(--text);
}

.card-copy p:not(.tag) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.play {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #278cc8;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-shell {
    padding-top: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
  }

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

  footer {
    display: block;
  }

  .footer-note {
    margin-top: 8px;
  }
}
