/* ═══════════════════════════════════════════
   NothingSerious.fun — Global Stylesheet
   ═══════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --bg: 36 33% 92%;
  --fg: 30 15% 15%;
  --card: 0 0% 100%;
  --muted: 36 25% 85%;
  --muted-fg: 30 15% 40%;
  --border: 36 20% 82%;
  --purple: 270 60% 55%;
  --blue: 210 70% 55%;
  --orange: 25 90% 55%;
  --radius: 1rem;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background: hsl(var(--bg));
  color: hsl(var(--fg));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── Font Classes ── */
.font-funky { font-family: 'Fredoka', sans-serif; }
.font-retro { font-family: 'Righteous', cursive; }

/* ── Utility ── */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: inline; } }
.hide-desktop { display: inline; }
@media (min-width: 768px) { .hide-desktop { display: none; } }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }


/* ═══════════════════════════════════════════
   GRADIENT BACKGROUND (shared)
   ═══════════════════════════════════════════ */
.bg-mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: hsl(var(--bg)); }
.bg-mesh-gradient {
  position: absolute; inset: 0; opacity: 0.4;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, hsl(270 60% 55% / 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 30%, hsl(25 90% 55% / 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 40% 80%, hsl(210 70% 55% / 0.4) 0%, transparent 50%);
}
.bg-mesh-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(hsl(270 60% 55% / 0.3) 1px, transparent 1px),
    linear-gradient(90deg, hsl(25 90% 55% / 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
}


/* ═══════════════════════════════════════════
   HOMEPAGE — Header Card
   ═══════════════════════════════════════════ */
.header-card {
  background: white; border-radius: var(--radius);
  padding: 1rem; margin-bottom: 1.5rem;
  animation: slideUp 0.4s ease-out;
}
.logo-wrap { display: flex; flex-direction: column; align-items: center; }
.logo-wrap img { height: 80px; width: auto; object-fit: contain; }
@media (min-width: 640px) { .logo-wrap img { height: 96px; } }
@media (min-width: 768px) { .logo-wrap img { height: 128px; } }
@media (min-width: 1024px) { .logo-wrap img { height: 144px; } }
.tagline {
  font-size: 1rem; font-weight: 500; letter-spacing: 0.025em; margin-top: 0.5rem;
  background: linear-gradient(to right, hsl(var(--purple)), hsl(var(--orange)), hsl(var(--blue)));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@media (min-width: 768px) { .tagline { font-size: 1.125rem; } }

/* Badges row */
.badges { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.5rem; font-size: 0.75rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: 50px;
  font-family: 'Fredoka', sans-serif; font-weight: 500;
}
.badge-purple { background: linear-gradient(to right, hsl(var(--purple) / 0.1), hsl(var(--purple) / 0.2)); border: 1px solid hsl(var(--purple) / 0.3); color: hsl(var(--purple)); }
.badge-orange { background: linear-gradient(to right, hsl(var(--orange) / 0.1), hsl(var(--orange) / 0.2)); border: 1px solid hsl(var(--orange) / 0.3); color: hsl(var(--orange)); }
.badge-tip {
  background: linear-gradient(to right, #fbbf24, #f97316); color: white;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3); transition: all 0.2s;
}
.badge-tip:hover { box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4); transform: scale(1.05); }


/* ═══════════════════════════════════════════
   HOMEPAGE — Section Header
   ═══════════════════════════════════════════ */
.section-header {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; margin-bottom: 2rem; opacity: 0; animation: slideUp 0.5s ease-out 0.3s forwards;
}
.section-header h2 { font-family: 'Fredoka', sans-serif; font-size: 1.125rem; font-weight: 600; white-space: nowrap; }
@media (min-width: 640px) { .section-header h2 { font-size: 1.5rem; } }
@media (min-width: 768px) { .section-header h2 { font-size: 1.875rem; } }
.gradient-text { background: linear-gradient(to right, hsl(var(--purple)), hsl(var(--orange))); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.divider { display: none; height: 1px; width: 2rem; background: linear-gradient(to right, transparent, hsl(var(--purple) / 0.5)); }
.divider-r { background: linear-gradient(to left, transparent, hsl(var(--orange) / 0.5)); }
@media (min-width: 640px) { .divider { display: block; } }
@media (min-width: 768px) { .divider { width: 4rem; } }


/* ═══════════════════════════════════════════
   HOMEPAGE — Daily Challenge Banner
   ═══════════════════════════════════════════ */
.daily-banner {
  display: block; position: relative; overflow: hidden; border-radius: 1.5rem;
  margin-bottom: 1.5rem; transition: transform 0.3s;
  opacity: 0; animation: slideUp 0.5s ease-out 0.35s forwards;
}
.daily-banner:hover { transform: scale(1.01); }
.daily-bg { position: absolute; inset: 0; background: linear-gradient(to right, #fbbf24, #f97316, #f43f5e, #9333ea); }
.daily-orb { position: absolute; top: 1rem; right: 2rem; width: 6rem; height: 6rem; background: rgba(255,255,255,0.15); border-radius: 50%; filter: blur(32px); }
.daily-content { position: relative; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .daily-content { flex-direction: row; align-items: center; padding: 2rem; } }
.daily-badges { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.daily-badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; border-radius: 50px; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 0.75rem; }
.daily-badge-white { background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); color: white; border: 1px solid rgba(255,255,255,0.3); }
.daily-badge-dark { background: rgba(0,0,0,0.2); backdrop-filter: blur(4px); color: rgba(255,255,255,0.9); font-weight: 500; }
.daily-title { font-family: 'Righteous', cursive; font-size: 1.875rem; font-weight: 700; color: white; margin-bottom: 0.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.15); }
@media (min-width: 768px) { .daily-title { font-size: 2.25rem; } }
.daily-theme { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.daily-theme strong { color: white; }
.daily-choices { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.daily-choice { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.2); font-size: 1.25rem; }
.daily-vs { color: rgba(255,255,255,0.6); font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 0.875rem; }
.daily-meta { display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.daily-cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.daily-emoji-box { width: 80px; height: 80px; border-radius: 1rem; background: white; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; box-shadow: 0 8px 32px rgba(0,0,0,0.15); transition: transform 0.3s; }
@media (min-width: 768px) { .daily-emoji-box { width: 96px; height: 96px; font-size: 3rem; } }
.daily-banner:hover .daily-emoji-box { transform: scale(1.1); }
.daily-play { display: flex; align-items: center; gap: 0.25rem; color: white; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.125rem; transition: gap 0.2s; }
.daily-banner:hover .daily-play { gap: 0.5rem; }
.daily-shine { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.5), transparent); }


/* ═══════════════════════════════════════════
   GAME CARDS GRID (homepage)
   ═══════════════════════════════════════════ */
.games-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .games-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }

.game-card {
  position: relative; display: block; border-radius: 1rem; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s; color: white;
}
.game-card:hover { transform: scale(1.03) translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.game-card-inner { position: relative; min-height: 200px; padding: 1.5rem; display: flex; flex-direction: column; }
.game-card.featured { grid-column: span 1; }
@media (min-width: 768px) { .game-card.featured { grid-column: span 2; grid-row: span 2; } .game-card.featured .game-card-inner { min-height: 400px; } }
.game-play {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(0,0,0,0.1); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.game-card:hover .game-play { opacity: 1; }
.game-icon { flex: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: transform 0.2s; }
.game-card:hover .game-icon { transform: scale(1.1); }
.game-card.featured .game-icon { margin-bottom: 2rem; }
.game-card h3 { font-family: 'Righteous', cursive; font-size: 1.125rem; line-height: 1.3; }
@media (min-width: 768px) { .game-card h3 { font-size: 1.25rem; } }
.game-card.featured h3 { font-size: 1.5rem; text-align: center; }
@media (min-width: 768px) { .game-card.featured h3 { font-size: 1.875rem; } }
.game-card p { margin-top: 0.5rem; opacity: 0.7; font-size: 0.875rem; }
.game-card.featured p { text-align: center; font-size: 1rem; }
.game-hover-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.1), transparent); opacity: 0; transition: opacity 0.2s; pointer-events: none; }

/* Card icon helpers */
.craft-element { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.5rem 0.75rem; border-radius: 0.75rem; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); font-size: 0.75rem; font-weight: 500; }
@media (min-width: 640px) { .craft-element { gap: 0.5rem; padding: 0.75rem 1rem; font-size: 0.875rem; } }
@media (min-width: 768px) { .craft-element { padding: 1rem; } }
.craft-icon { font-size: 1.25rem; }
@media (min-width: 640px) { .craft-icon { font-size: 1.5rem; } }
@media (min-width: 768px) { .craft-icon { font-size: 2rem; } }
.craft-plus { font-size: 1.25rem; font-weight: 700; }
@media (min-width: 640px) { .craft-plus { font-size: 1.5rem; } }
@media (min-width: 768px) { .craft-plus { font-size: 1.875rem; } }
.circle-outer { position: relative; width: 64px; height: 64px; }
.circle-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #facc15; }
.circle-inner { position: absolute; inset: 12px; border-radius: 50%; border: 2px solid #4ade80; }
.checkbox-icon { width: 56px; height: 56px; border: 2px solid rgba(255,255,255,0.8); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.2); font-size: 2rem; }
.password-field { display: flex; align-items: center; gap: 0.5rem; font-family: monospace; font-size: 1.125rem; border: 1px solid rgba(255,255,255,0.3); padding: 0.5rem 1rem; border-radius: 0.5rem; background: rgba(255,255,255,0.2); }


/* ═══════════════════════════════════════════
   CARD GRADIENT BACKGROUNDS
   ═══════════════════════════════════════════ */
.bg-infinite { background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899); }
.bg-circle { background: linear-gradient(135deg, #1f2937, #111827); }
.bg-captcha { background: linear-gradient(135deg, #8b5cf6, #9333ea); }
.bg-stimulation { background: linear-gradient(135deg, #d946ef, #9333ea); }
.bg-baby { background: linear-gradient(135deg, #bae6fd, #7dd3fc); }
.bg-lifestats { background: linear-gradient(135deg, #f87171, #dc2626); }
.bg-checklist { background: linear-gradient(135deg, #4ade80, #14b8a6); }
.bg-password { background: linear-gradient(135deg, #ec4899, #e11d48); }
.bg-billgates { background: linear-gradient(135deg, #34d399, #22c55e); }
.bg-dice { background: linear-gradient(135deg, #fbbf24, #f97316); }
.bg-alive { background: linear-gradient(135deg, #334155, #0f172a); }
.bg-logos { background: linear-gradient(135deg, #dc2626, #eab308); }
.bg-coin { background: linear-gradient(135deg, #facc15, #f59e0b); }
.bg-quiz { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.bg-reflex { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.bg-country { background: linear-gradient(135deg, #14b8a6, #0891b2); }
.bg-daily { background: linear-gradient(to right, #fbbf24, #f97316, #f43f5e, #9333ea); }
.text-dark { color: #1a1a1a; }
.text-amber-dark { color: #78350f; }


/* ═══════════════════════════════════════════
   GAME PAGE — Top Bar & Title
   ═══════════════════════════════════════════ */
.top-bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.back-btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: var(--radius);
  background: transparent; border: none; font-size: 0.875rem; color: hsl(var(--fg));
  transition: background 0.2s;
}
.back-btn:hover { background: hsl(var(--muted)); }
.top-actions { display: flex; align-items: center; gap: 0.375rem; }
.counter {
  padding: 0.25rem 0.75rem; border-radius: 50px;
  background: hsl(var(--muted)); border: 1px solid hsl(var(--border));
  font-size: 0.8125rem; color: hsl(var(--muted-fg));
}
.counter strong { color: hsl(var(--purple)); margin-left: 0.25rem; font-family: 'Fredoka', sans-serif; }
.action-btn {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: var(--radius);
  border: 1px solid hsl(var(--border)); background: white;
  font-size: 0.8125rem; transition: background 0.2s;
}
.action-btn:hover { background: hsl(var(--muted)); }

.page-title { text-align: center; margin-bottom: 1rem; }
@media (min-width: 768px) { .page-title { margin-bottom: 2rem; } }
.page-title h1 {
  font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, hsl(var(--purple)), hsl(var(--blue)));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .page-title h1 { font-size: 2.25rem; } }
.page-title p { font-size: 0.875rem; color: hsl(var(--muted-fg)); }
@media (min-width: 768px) { .page-title p { font-size: 1rem; } }


/* ═══════════════════════════════════════════
   GAME PAGE — Infinite Craft Layout
   ═══════════════════════════════════════════ */
.game-layout { display: flex; flex-direction: column; height: calc(100vh - 180px); }
@media (min-width: 768px) { .game-layout { flex-direction: row; height: calc(100vh - 220px); } }

.sidebar {
  width: 100%; flex-shrink: 0; border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.5); padding: 0.75rem; overflow-x: auto;
}
@media (min-width: 768px) {
  .sidebar { width: 256px; border-bottom: none; border-right: 1px solid hsl(var(--border)); overflow-x: visible; overflow-y: auto; padding: 1rem; }
}
.sidebar h2 {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: hsl(var(--muted-fg)); margin-bottom: 0.5rem; font-family: 'Fredoka', sans-serif;
}
@media (min-width: 768px) { .sidebar h2 { margin-bottom: 1rem; } }
.elements-scroll { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.elements-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .elements-scroll { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; overflow: visible; } }

.element-btn {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: 0.5rem; border-radius: 0.75rem; background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border)); cursor: grab; user-select: none; min-width: 60px;
  transition: all 0.2s; font-family: inherit; font-size: inherit; color: inherit;
}
.element-btn:hover { background: hsl(var(--muted)); border-color: hsl(var(--purple) / 0.3); transform: scale(1.05); }
.element-btn:active { cursor: grabbing; }
.element-btn .emoji { font-size: 1.25rem; }
@media (min-width: 768px) { .element-btn .emoji { font-size: 1.5rem; } .element-btn { padding: 0.75rem; } }
.element-btn .name { font-size: 0.625rem; color: hsl(var(--muted-fg)); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
@media (min-width: 768px) { .element-btn .name { font-size: 0.75rem; } }

.workspace {
  flex: 1; position: relative; overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--muted) / 0.3), hsl(var(--bg)));
  touch-action: none;
}
.workspace-grid {
  position: absolute; inset: 0; opacity: 0.2;
  background-image: radial-gradient(circle, hsl(var(--purple) / 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}
.empty-state {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; text-align: center; color: hsl(var(--muted-fg));
}
.empty-state svg { margin: 0 auto 1rem; opacity: 0.3; }
.empty-state p { font-size: 1.125rem; font-weight: 500; }
.empty-state .sub { font-size: 0.875rem; margin-top: 0.5rem; }

.placed-el { position: absolute; cursor: grab; user-select: none; z-index: 1; }
.placed-el:active { cursor: grabbing; z-index: 10; }
.placed-el-inner {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
  border-radius: 0.75rem; background: white; border: 1px solid hsl(var(--border));
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: border-color 0.2s, transform 0.2s;
}
.placed-el:hover .placed-el-inner { border-color: hsl(var(--purple) / 0.5); transform: scale(1.05); }
.placed-el .emoji { font-size: 1.5rem; }
.placed-el .name { font-size: 0.875rem; font-weight: 500; }
.placed-el .remove {
  opacity: 0; margin-left: 0.25rem; padding: 0.25rem; border-radius: 50%;
  background: transparent; border: none; transition: opacity 0.2s;
  font-size: 0.75rem; color: hsl(var(--muted-fg));
}
.placed-el:hover .remove { opacity: 1; }
.placed-el .remove:hover { background: hsl(var(--muted)); }

.drag-preview { position: fixed; pointer-events: none; z-index: 50; }
.drag-preview-inner {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
  border-radius: 0.75rem; background: white; border: 2px solid hsl(var(--purple));
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Toast notification */
.toast {
  position: fixed; top: 1rem; right: 1rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--radius);
  background: hsl(var(--purple)); color: white;
  font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 0.875rem;
  transform: translateX(120%); transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.toast.show { transform: translateX(0); }


/* ═══════════════════════════════════════════
   YOU MAY ALSO LIKE (shared across game pages)
   ═══════════════════════════════════════════ */
.also-like { padding: 2rem 0; }
.also-like h2 { font-family: 'Fredoka', sans-serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; padding: 0 1rem; }
.also-scroll {
  display: flex; gap: 1rem; overflow-x: auto; padding: 0 1rem 0.5rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
}
.also-scroll::-webkit-scrollbar { display: none; }
.also-card { flex-shrink: 0; width: 240px; scroll-snap-align: start; display: block; border-radius: 1rem; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.also-card:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.also-card-inner { position: relative; padding: 1.25rem; height: 160px; display: flex; flex-direction: column; color: white; }
.also-card .card-emoji { font-size: 2.5rem; margin-bottom: 0.75rem; transition: transform 0.3s; }
.also-card:hover .card-emoji { transform: scale(1.1); }
.also-card h3 { font-family: 'Libre Baskerville', Georgia, serif; font-weight: 700; font-size: 1rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.also-card p { font-size: 0.8125rem; opacity: 0.7; margin-top: 0.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.also-card-see-all {
  flex-shrink: 0; width: 160px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 160px; border-radius: 1rem; border: 2px dashed hsl(var(--border)); transition: all 0.3s;
}
.also-card-see-all:hover { border-color: hsl(var(--purple)); background: hsl(var(--muted)); }
.also-card-see-all .circle {
  width: 48px; height: 48px; border-radius: 50%; background: hsl(var(--muted));
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem;
}
.also-card-see-all span { font-family: 'Fredoka', sans-serif; font-weight: 600; }
.also-card-see-all .sub { font-size: 0.875rem; color: hsl(var(--muted-fg)); }


/* ═══════════════════════════════════════════
   SEO CONTENT SECTION (shared)
   ═══════════════════════════════════════════ */
.seo-section { padding: 2rem 0; background: hsl(var(--bg)); }
.seo-card { max-width: 56rem; margin: 0 auto; background: white; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.seo-card h2 { font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.25rem; font-weight: 700; color: #64748b; margin-bottom: 1rem; }
.seo-card h3 { font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.125rem; font-weight: 600; color: #64748b; margin: 1.5rem 0 0.75rem; }
.seo-card p { color: #475569; line-height: 1.75; font-family: 'Libre Baskerville', Georgia, serif; font-size: 0.9375rem; }


/* ═══════════════════════════════════════════
   FOOTER (shared)
   ═══════════════════════════════════════════ */
.site-footer { padding: 2rem 0; }
.footer-card {
  background: white; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04); max-width: 56rem; margin: 0 auto; text-align: center;
}
.footer-card > p { text-align: center; }
.footer-links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 0.75rem; font-size: 0.875rem;
}
.footer-links a { color: hsl(var(--muted-fg)); transition: color 0.2s; }
.footer-links a:hover { color: hsl(var(--fg)); }
.footer-heart {
  display: flex; align-items: center; justify-content: center;
  gap: 0.25rem; margin-top: 0.75rem; font-size: 0.875rem; color: hsl(var(--muted-fg));
}


/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pop-in { animation: popIn 0.3s ease-out; }
