:root {
  --berry: #e11d48;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Vazirmatn', system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(225,29,72,0.10), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(251,113,133,0.12), transparent 40%),
    linear-gradient(180deg, #fff7f8 0%, #fdf2f4 100%);
  color: #1c1c1e;
  min-height: 100vh;
}

.title-font { font-family: 'Vazirmatn', sans-serif; }
.code-font { font-family: 'Space Grotesk', monospace; }

.berry {
  display: inline-block;
  animation: wobble 3s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.1); }
}

/* Staggered page load reveal */
#root > div > div > * {
  animation: rise 0.5s ease both;
}
#root > div > div > *:nth-child(1) { animation-delay: 0.02s; }
#root > div > div > *:nth-child(2) { animation-delay: 0.08s; }
#root > div > div > *:nth-child(3) { animation-delay: 0.14s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #f9a8b6; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

select:focus, input:focus, button:focus { outline: 2px solid rgba(225,29,72,0.4); outline-offset: 1px; }