body {
  background: #0b0b0b;
  overflow-x: hidden;
  font-family: "vazir", "yekan", sans-serif;
}
.dir-ltr {
  direction: ltr;
}

.bg-animation {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;

}
.neon {
  
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  color: #000;
  -webkit-text-stroke: 3px #2bf35a;
  paint-order: stroke fill;
  text-shadow: 0 0 5px #2bf35a, 0 0 10px #2bf35a, 0 0 20px #2bf35a,
    0 0 40px #2bf35a;
}
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.count-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}
.count-box {
  background: rgba(0, 20, 10, 0.45);
  border: 1px solid rgba(0, 255, 120, 0.25);
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 255, 120, 0.2),
    inset 0 0 6px rgba(0, 255, 120, 0.15);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.count-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 255, 120, 0.4),
    inset 0 0 8px rgba(0, 255, 120, 0.2);
}

.count-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #b6ffda;
  text-shadow: 0 0 6px rgba(0, 255, 120, 0.5), 0 0 20px rgba(0, 255, 120, 0.3);
  letter-spacing: 0.1em;
}

.count-label {
  font-size: 0.75rem;
  color: #7de6b2;
  opacity: 0.8;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* 🔥 پالس ملایم روی ثانیه‌ها */
@keyframes pulseGlow {
  0%,
  100% {
    text-shadow: 0 0 6px rgba(0, 255, 120, 0.4), 0 0 16px rgba(0, 255, 120, 0.2);
    color: #b6ffda;
  }
  50% {
    text-shadow: 0 0 12px rgba(0, 255, 120, 0.8),
      0 0 28px rgba(0, 255, 120, 0.5);
    color: #d2ffe7;
  }
}

.pulse {
  animation: pulseGlow 1.5s infinite;
}

.bg-square {
  position: absolute;
  border-radius: 2px;
  opacity: 0.6;
}

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

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
.animate-fadeIn {
  animation: fadeIn 0.3s ease-out;
}
.animate-fadeOut {
  animation: fadeOut 0.5s ease-in forwards;
}

/* Left to right + zoom effect */

/* Horizontal movement */
@keyframes float-left-to-right {
  0% {
    transform: translateX(0) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateX(100vw) scale(1.2);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(200vw) scale(0.5);
    opacity: 0;
  }
}

@keyframes float-right-to-left {
  0% {
    transform: translateX(0) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateX(-100vw) scale(1.2);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(-200vw) scale(0.5);
    opacity: 0;
  }
}

/* Vertical floating (upward) */
@keyframes float-up {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-100vh) scale(1.2);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) scale(0.5);
    opacity: 0;
  }
}
