:root {
  --bg-deep: #0a0a0a;
}

* {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(245, 158, 11, 0.08), transparent 45%),
    radial-gradient(circle at 85% 100%, rgba(245, 158, 11, 0.05), transparent 50%),
    #0a0a0a;
  color: #e5e5e5;
  min-height: 100vh;
}

/* Monospace for URLs — keep Latin glyphs crisp, fall back to Vazirmatn */
.font-mono,
input.font-mono {
  font-family: 'SFMono-Regular', 'JetBrains Mono', Consolas, 'Vazirmatn', monospace;
}

/* Page-load reveals */
.form-reveal {
  animation: slideDown 0.45s ease both;
}

.card-reveal {
  animation: fadeUp 0.3s ease both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth focus rings and buttons already handled by Tailwind transitions */
button {
  cursor: pointer;
}

button:active {
  transform: scale(0.97);
}

/* Nice scrollbar for the dark theme */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #444;
}