:root {
  color-scheme: light;
  --bg: #f3f4f6;
  --text: #1f2937;
  --muted: #687385;
  --panel: #ffffff;
  --line: #d9dee7;
  --accent: #2f7c77;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.intro {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

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

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

.game-card {
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.game-card:hover,
.game-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.card-mark {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #9ca3af;
  color: #000000;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.bubble-mark {
  position: relative;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.92) 0 11%, transparent 12%),
    radial-gradient(circle at 52% 50%, rgba(105, 217, 244, 0.12) 0 46%, rgba(82, 196, 210, 0.64) 62%, rgba(42, 137, 147, 0.75) 100%);
  border: 4px solid rgba(42, 137, 147, 0.42);
  border-radius: 50%;
}

.bubble-mark::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -16px;
  width: 12px;
  height: 44px;
  border-radius: 999px;
  background: #b98154;
  transform: rotate(-42deg);
  transform-origin: top center;
}

.game-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.1;
}

.game-card small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .shell {
    padding: 28px 0;
  }

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