:root {
  --bg: #0b1a24;
  --panel: rgba(8, 15, 24, 0.65);
  --border: rgba(130, 179, 207, 0.35);
  --text: #eef7fc;
  --muted: #9cb5c4;
  --accent: #ffb347;
  --accent-2: #66d9c5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 15% 12%, #1f3e54 0%, transparent 35%),
    radial-gradient(circle at 78% 84%, #1a4a4a 0%, transparent 42%),
    linear-gradient(135deg, #071018, #0d2431 48%, #11131f 100%);
  color: var(--text);
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.22;
  pointer-events: none;
}

.orb-a {
  top: -10rem;
  left: -8rem;
  background: #9ad9d2;
}

.orb-b {
  right: -8rem;
  bottom: -8rem;
  background: #f2bf7e;
}

.home {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.hero {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(6px);
  border-radius: 1.2rem;
  padding: 2rem;
  animation: rise-in 650ms ease-out;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  margin: 0.35rem 0 0.25rem;
  line-height: 1;
}

.hero p {
  margin: 0.35rem 0 0;
  max-width: 50ch;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  font-size: 0.74rem;
  margin: 0;
}

.games {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.game-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(
    160deg,
    rgba(6, 15, 24, 0.85),
    rgba(16, 32, 44, 0.78)
  );
  padding: 1.2rem;
  text-decoration: none;
  color: inherit;
  transform: translateY(0);
  transition: transform 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
  animation: rise-in 700ms ease-out 100ms both;
}

.game-thumb {
  margin: -0.2rem -0.2rem 0.82rem;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(163, 200, 222, 0.24);
  background: rgba(7, 16, 25, 0.7);
}

.game-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 191, 104, 0.75);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

.game-tag {
  margin: 0;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.game-card h2 {
  margin: 0.45rem 0 0.45rem;
  font-family: "Fraunces", Georgia, serif;
}

.game-card p {
  margin: 0;
  color: var(--muted);
}

.game-desc {
  min-height: 2.5em;
}

.cta {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
