/* Yeni il ab-havası (header.ejs-də tarixə görə qoşulur: 2027-01-14-dən sonra özü sönür).
   Yüngül saxlanılıb: şəkil yoxdur, yalnız transform/opacity animasiyası — sayt sürətinə (Google) təsir etmir. */

/* Yuxarıda Yeni il zolağı: Yeni il turları yazısına daxili keçid */
.ny-bar {
  display: block; position: relative; overflow: hidden; text-align: center; text-decoration: none;
  padding: 9px 16px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: #1a1408;
  background: linear-gradient(90deg, #a8843f, #e9cf8e 30%, #c8a464 50%, #e9cf8e 70%, #a8843f);
  background-size: 200% 100%; animation: ny-shine 8s linear infinite;
}
.ny-bar:hover { color: #000; }
.ny-bar i { margin: 0 6px; }
.ny-bar b { text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
@keyframes ny-shine { to { background-position: -200% 0; } }

/* Menyunun altında işıqlı girlyand */
.header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 10px; pointer-events: none;
  background:
    radial-gradient(circle at 12px 5px, #ffe7a3 0 2.6px, rgba(255, 215, 120, .45) 3px, transparent 6px) 0 0 / 48px 10px repeat-x,
    radial-gradient(circle at 36px 5px, #ff6b5a 0 2.4px, rgba(255, 107, 90, .35) 3px, transparent 6px) 0 0 / 48px 10px repeat-x;
  animation: ny-twinkle 2.4s ease-in-out infinite alternate;
}
@keyframes ny-twinkle { from { opacity: .55; } to { opacity: 1; } }

/* Yavaş yağan qızılı-ağ qar dənələri */
.ny-snow { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.ny-snow i {
  position: absolute; top: -20px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle, #fff 0 35%, rgba(233, 207, 142, .55) 60%, transparent 72%);
  opacity: .85; animation: ny-fall var(--d) linear var(--w) infinite;
}
@keyframes ny-fall {
  0% { transform: translate3d(0, -20px, 0); }
  50% { transform: translate3d(24px, 50vh, 0); }
  100% { transform: translate3d(-12px, 105vh, 0); opacity: .2; }
}

/* Hero başlığında kiçik qızılı parıltı */
.hero__title, .hero h1 { text-shadow: 0 0 28px rgba(233, 207, 142, .25); }

@media (max-width: 700px) {
  .ny-bar { font-size: 12.5px; padding: 8px 12px; }
  .ny-snow i:nth-child(n+13) { display: none; }
}
/* Hərəkət istəməyən istifadəçilər üçün animasiyalar dayanır */
@media (prefers-reduced-motion: reduce) {
  .ny-snow { display: none; }
  .ny-bar, .header::after { animation: none; }
}
