:root {
  color-scheme: dark;
  --bg: #101316;
  --panel: #1b2228;
  --line: #34404a;
  --text: #edf3f8;
  --muted: #a8b5bf;
  --accent: #2fbf9b;
  --orange: #f08a4b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(47, 191, 155, 0.13), transparent 30rem),
    radial-gradient(circle at 86% 8%, rgba(240, 138, 75, 0.12), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 30px 0;
}

.topbar {
  margin-bottom: 22px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 0.95;
}

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

.game-card {
  background: rgba(27, 34, 40, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  overflow: hidden;
}

.game-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.thumb {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.sea {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #15384a, #10232f);
  background-size: 26px 26px, 26px 26px, auto;
}

.ship {
  background: linear-gradient(180deg, #8996a0, #53616d);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  height: 20px;
  position: absolute;
}

.ship-a {
  left: 12%;
  top: 34%;
  width: 118px;
}

.ship-b {
  bottom: 24%;
  right: 18%;
  transform: rotate(90deg);
  width: 86px;
}

.ping {
  border-radius: 50%;
  height: 20px;
  position: absolute;
  width: 20px;
}

.ping-a {
  background: #e0564f;
  right: 24%;
  top: 24%;
}

.ping-b {
  background: #e5d083;
  bottom: 20%;
  left: 24%;
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.card-body h2 {
  font-size: 1.2rem;
}

.card-body p {
  color: var(--muted);
  line-height: 1.45;
}

.card-body span {
  color: var(--orange);
  font-weight: 800;
}
