* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #1f2937;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  padding: 56px 0 48px;
}

.site-header h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.25;
}

.site-header p {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
}

.intro,
.category-section,
.seo-section {
  margin: 32px 0;
}

.category-section h2,
.intro h2,
.seo-section h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.game-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.game-card a {
  display: block;
  padding: 20px;
}

.game-thumb {
  display: grid;
  place-items: center;
  height: 120px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #e0e7ff;
  color: #3730a3;
  font-weight: 800;
  font-size: 20px;
}

.game-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.game-card p {
  margin: 0 0 16px;
  color: #4b5563;
}

.play-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.seo-section {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.seo-section a {
  color: #2563eb;
  text-decoration: underline;
}

.site-footer {
  margin-top: 48px;
  padding: 24px 0;
  background: #111827;
  color: #d1d5db;
  text-align: center;
}

.seo-section a.play-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.seo-section a.play-link:hover {
  background: #1d4ed8;
  color: #fff;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-nav a {
  color: #d1d5db;
  text-decoration: underline;
}

.footer-nav a:hover {
  color: #ffffff;
}