/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #f0f4f8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 2rem;
}

.title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #1a202c;
}

.subtitle {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #718096;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 600px;
  margin-inline: auto;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.card--animal { background: linear-gradient(135deg, #f6ad55, #ed8936); }
.card--panda  { background: linear-gradient(135deg, #68d391, #38a169); }

.card__emoji  { font-size: 3rem; }
.card__title  { font-size: 1.4rem; font-weight: 700; }
.card__desc   { font-size: 0.9rem; opacity: 0.9; text-align: center; }