/* ─── Hero section ───────────────────────────────────────────────────────── */
.hero-section {
  text-align: center;
  padding: 4px 0 20px;
}

.hero-tagline {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: .01em;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

/* Clickable suggestion card */
.example-card {
  background: var(--card);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, border-color .15s;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
}
.example-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--sh-lg);
  border-color: rgba(124,77,255,.3);
}
.example-card:active {
  transform: translateY(-2px) scale(.98);
  transition-duration: .08s;
}

/* Gradient art area */
.example-card-art {
  padding: 18px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.example-emoji {
  font-size: 2.8rem;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.1));
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
  line-height: 1;
}
.example-card:hover .example-emoji {
  transform: scale(1.15) rotate(-6deg);
}

/* Subject label */
.example-label {
  font-family: var(--ff-brand);
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  padding: 6px 8px 10px;
  line-height: 1.3;
  text-align: center;
}

/* Shuffle button */
.shuffle-cards-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, border-color .15s;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
}
.shuffle-cards-btn:hover {
  transform: scale(1.12);
  box-shadow: var(--sh-md);
  border-color: rgba(124,77,255,.35);
}
.shuffle-cards-btn:active {
  transform: scale(.92);
  transition-duration: .08s;
}
.shuffle-cards-btn.spinning {
  animation: diceSpin .45s cubic-bezier(.34,1.56,.64,1);
}
@keyframes diceSpin {
  0%   { transform: rotate(0deg) scale(1); }
  40%  { transform: rotate(220deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Card deal-in animation */
.example-card.deal-in {
  animation: cardDeal .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes cardDeal {
  0%   { opacity: 0; transform: translateY(18px) scale(.85) rotate(-4deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@media (max-width: 600px) {
  .examples-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 340px; }
  .hero-tagline { font-size: .95rem; }
  .example-emoji { font-size: 2.4rem; }
}
@media (max-width: 360px) {
  .examples-grid { gap: 8px; }
}
