:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #171714;
  --muted: #5a5955;
  --line: #d8d3c8;
  --accent: #ff6b2e;
  --accent-2: #1f9d8d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 5% 10%, rgba(255, 107, 46, 0.18), transparent 35%),
    radial-gradient(circle at 90% 15%, rgba(31, 157, 141, 0.16), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.45;
  padding: 0 1.25rem;
}

.bg-shape {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.45;
  z-index: -1;
}

.bg-shape--one {
  width: 280px;
  height: 280px;
  background: var(--accent);
  top: -120px;
  left: -80px;
}

.bg-shape--two {
  width: 240px;
  height: 240px;
  background: var(--accent-2);
  bottom: -80px;
  right: -60px;
}

.site-header,
main,
.site-footer {
  max-width: 1100px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  font-family: "Archivo", "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand__dot {
  width: 0.6rem;
  height: 0.6rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--text);
}

.hero {
  padding: 4rem 0 2.5rem;
}

.hero__kicker,
.section-heading__kicker {
  margin: 0 0 0.5rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-family: "Archivo", "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
}

.hero__subtitle {
  margin: 1.1rem 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-block;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--text);
  color: #fff;
}

.button--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.games,
.hobby,
.about {
  padding: 1.8rem 0 2.2rem;
}

.section-heading h2 {
  margin: 0;
  font-family: "Archivo", "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.game-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.game-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  padding: 1.1rem;
  overflow: hidden;
}

.game-card__image {
  display: block;
  width: calc(100% + 2.2rem);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: -1.1rem -1.1rem 1rem;
}

.game-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.8rem;
}

.game-card__tag {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.8rem;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: #efeae0;
  color: var(--muted);
}

.game-card__tags .game-card__tag {
  margin: 0;
}

.game-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Archivo", "Space Grotesk", sans-serif;
}

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

.game-card__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.game-card__link {
  display: inline-flex;
  align-items: center;
  color: #3c3a36;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.game-card__link:hover {
  color: var(--accent-2);
}

.about p {
  max-width: 760px;
  color: var(--muted);
}

.credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 1rem;
  margin: 1.2rem 0 0;
}

.credits div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 0.72rem 0.9rem;
}

.credits dt {
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.credits dd {
  margin: 0.18rem 0 0;
  color: var(--text);
  font-weight: 700;
}

.credit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.credit-tags span {
  border-radius: 999px;
  background: #efeae0;
  color: var(--muted);
  padding: 0.18rem 0.46rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.support {
  padding: 1.8rem 0 3rem;
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.support-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  padding: 0.72rem 1rem;
  text-decoration: none;
  font-weight: 700;
}

.support-links a:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.policy {
  max-width: 820px;
  padding: 3rem 0 4rem;
}

.policy h1 {
  margin: 0 0 1.4rem;
  font-family: "Archivo", "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.policy h2 {
  margin: 2rem 0 0.7rem;
  font-family: "Archivo", "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.policy p,
.policy li {
  color: var(--muted);
}

.policy p {
  margin: 0 0 1rem;
}

.policy ul {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
}

.policy li + li {
  margin-top: 0.35rem;
}

.policy a {
  color: var(--text);
  font-weight: 700;
}

.policy a:hover {
  color: var(--accent-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-2);
}

@media (max-width: 840px) {
  .main-nav {
    display: none;
  }

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

  .hero {
    padding-top: 2.6rem;
  }

  .site-footer {
    flex-direction: column;
  }

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

  .footer-links {
    flex-direction: column;
  }
}
