/* ============================================================
   home.css — Stijlen voor de homepagina van Sophie
   ============================================================ */

.hero {
  text-align: center;
  max-width: 640px;
  animation: fadeUp 0.8s ease both;
}

.hero-emoji {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  animation: fadeUp 0.6s 0.1s ease both, float 3s ease-in-out infinite;
  opacity: 0;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  animation: fadeUp 0.8s 0.2s ease both;
  opacity: 0;
}
.hero h1 .pink  { color: var(--accent); text-shadow: 0 0 20px rgba(255,94,203,0.4); }
.hero h1 .gold  { color: var(--accent2); text-shadow: 0 0 20px rgba(255,224,102,0.4); }

.hero .tagline {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.35s ease both;
  opacity: 0;
}

/* --- Cards grid (voor huiswerkopdrachten etc.) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 640px;
  animation: fadeUp 0.8s 0.5s ease both;
  opacity: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.card .card-icon { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.card h3 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.card p  { font-size: 0.75rem; color: var(--muted); }
