/* Custom Persian Font - from project font/ folder */
@font-face {
  font-family: 'Samim';
  src: url('/font/Samim.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Animations & Enhancements */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-150 { animation-delay: 150ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-230 { animation-delay: 230ms; }
.animation-delay-250 { animation-delay: 250ms; }
.animation-delay-300 { animation-delay: 300ms; }
.animation-delay-310 { animation-delay: 310ms; }
.animation-delay-390 { animation-delay: 390ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-470 { animation-delay: 470ms; }
.animation-delay-500 { animation-delay: 500ms; }
.animation-delay-550 { animation-delay: 550ms; }
.animation-delay-600 { animation-delay: 600ms; }
.animation-delay-630 { animation-delay: 630ms; }
.animation-delay-700 { animation-delay: 700ms; }
.animation-delay-710 { animation-delay: 710ms; }
.animation-delay-800 { animation-delay: 800ms; }
.animation-fill-forwards { animation-fill-mode: forwards; }

/* Option card hover */
.option-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.2), 0 4px 12px -4px rgba(0, 0, 0, 0.08);
}

.option-card:active {
  transform: translateY(0) scale(0.99);
}

/* Nav logo */
.nav-logo {
  transition: transform 0.3s ease;
}

a:hover .nav-logo {
  transform: rotate(-8deg) scale(1.05);
}

/* Gradient bg pattern */
.bg-pattern {
  background-image: 
    radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.06) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(34, 211, 238, 0.05) 0px, transparent 50%);
}

/* Flash message animation */
.flash-message {
  animation: fadeInUp 0.35s ease-out;
}
