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

:root {
  --green:       #3a7d44;
  --green-light: #52b788;
  --green-bg:    #d8f3dc;
  --gray:        #adb5bd;
  --gray-bg:     #f1f3f5;
  --dark:        #1b1b2f;
  --text:        #2d2d2d;
  --border:      #ced4da;
  --white:       #ffffff;
  --font:        'Segoe UI', Arial, sans-serif;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
}

.home-shell {
  min-height: 100vh;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 38px;
}

.hero {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.hero-copy {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 62ch;
}

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

.game-card {
  min-height: 280px;
  padding: 24px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: inherit;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-light);
  box-shadow: 0 8px 24px rgba(58, 125, 68, 0.12);
}

.card-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.game-card h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
}

.game-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
}

.card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

@media (max-width: 760px) {
  .home-shell {
    padding: 28px 16px 32px;
    gap: 28px;
  }

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

  .game-card {
    min-height: 220px;
  }
}
