


/* فارسی: کانتینر برای کنترل مقیاس ریسپانسیو */
/* EN: Wrapper to help responsive scaling */
.neon-wrap { text-align: center; padding: 2rem; }

/* فارسی: متن نئونی با چندین text-shadow برای درخشش */
/* EN: Neon text using multiple text-shadows for glow */
.neon {
  font-size: clamp(1.2rem, 6vw, 4rem);
  letter-spacing: .10em;
  color: #ff97b2; 
  text-transform: uppercase;
  text-shadow:
    0 0 1px #ff3399,
    0 0 4px #ff3399,
    0 0 10px #e60073,
    0 0 18px #cc0066,
    0 0 38px #99004d,
    0 0 60px #660033; /* سایه‌های تیره‌تر برای عمق بیشتر */
  filter: saturate(115%);
  margin: 0;
  display: inline-block;
}

/* فارسی: فاصله بین دو کلمه؛ قابل تنظیم */
/* EN: Space between words; adjustable */
.neon .spacer { display: inline-block; width: .55em; }

/* فارسی: افکت چشمک/نوسان ملایم نئون (واقع‌گرایانه) */
/* EN: Subtle neon flicker/variance for realism */
.neon span {
  display: inline-block;
  animation: flicker 4.5s infinite steps(1, end);
}

/* فارسی: کمی تصادفی‌سازی با فاصله‌های متفاوت هر حرف */
/* EN: Slight randomness with different delays per letter */
.neon span:nth-child(1) { animation-delay: .2s; }
.neon span:nth-child(2) { animation-delay: 1.1s; }
.neon span:nth-child(3) { animation-delay: 2.0s; }
.neon span:nth-child(4) { animation-delay: .6s; }
.neon span:nth-child(5) { animation-delay: 1.8s; }
.neon span:nth-child(6) { animation-delay: 2.6s; }
.neon span:nth-child(7) { animation-delay: .0s; }   /* spacer */
.neon span:nth-child(8) { animation-delay: .9s; }
.neon span:nth-child(9) { animation-delay: 2.3s; }
.neon span:nth-child(10){ animation-delay: 1.4s; }
.neon span:nth-child(11){ animation-delay: 3.1s; }

@keyframes flicker {
  0%, 100% { opacity: 1; filter: blur(.2px); }
  5%       { opacity: .95; }
  7%       { opacity: .4;  }  /* quick blink */
  8%       { opacity: 1;   }
  35%      { opacity: .98; }
  36%      { opacity: .5;  }  /* micro flick */
  37%      { opacity: 1;   }
  60%      { opacity: .97; }
  61%      { opacity: .6;  }
  62%      { opacity: 1;   }
}
