:root { --accent: #10b981; }

* { scroll-behavior: smooth; }

body { -webkit-font-smoothing: antialiased; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0e14; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* Hero atmospheric background */
.hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 30% 0%, rgba(16,185,129,0.10), transparent),
    radial-gradient(ellipse 50% 50% at 90% 30%, rgba(212,175,55,0.08), transparent);
}

/* Ticker scroll (RTL friendly) */
.ticker-track {
  animation: ticker 30s linear infinite;
  width: max-content;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.ticker-track:hover { animation-play-state: paused; }

/* Fade up on load */
.fade-up {
  animation: fadeUp .8s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Growing bars for win-rate */
.bar-grow {
  width: 0;
  animation: barGrow 1.4s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes barGrow { to { width: var(--w); } }

/* Growing columns for monthly chart */
.col-grow {
  height: 0;
  animation: colGrow 1.2s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes colGrow { to { height: var(--hh); } }

/* Persian text refinements */
h1, h2, h3 { line-height: 1.5; }
input { font-family: 'Vazirmatn', sans-serif; }
button { font-family: 'Vazirmatn', sans-serif; }