/* --------------------------------------------------------------------------
   Jahrestags-Overlay
   -------------------------------------------------------------------------- */
.anniversary-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 600ms ease;
  z-index: 200;
  overflow: hidden;
}

.anniversary-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.anniversary-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(85% 70% at 50% 30%, rgba(126, 31, 56, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(18, 11, 16, 0.96), rgba(13, 7, 9, 0.98));
}

.anniversary-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(46% 34% at 50% 44%, rgba(233, 200, 126, 0.22), transparent 75%);
  animation: candleBreath 4.5s ease-in-out infinite alternate;
}

.anniversary-rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  border: 1px solid rgba(233, 200, 126, 0.35);
  border-radius: 50%;
  width: 240px;
  height: 240px;
  animation: ringPulse 3.2s ease-out infinite;
}

.ring--2 { animation-delay: 0.9s; }
.ring--3 { animation-delay: 1.8s; }

@keyframes ringPulse {
  0%   { transform: scale(0.55); opacity: 0; }
  25%  { opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.anniversary-beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.55;
}

.anniversary-beam {
  position: absolute;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, hsla(var(--h, 40), 70%, 70%, 0.65), transparent);
  transform-origin: bottom center;
  animation: beamSway 2.8s ease-in-out infinite alternate;
}

@keyframes beamSway {
  from { transform: rotate(-2deg) scaleY(0.9); opacity: 0.4; }
  to   { transform: rotate(2deg) scaleY(1); opacity: 0.9; }
}

.anniversary-stars {
  position: absolute;
  inset: 0;
}

.anniversary-star {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6e0 0%, rgba(233, 200, 126, 0.7) 50%, transparent 75%);
  animation: starTwinkle 2.2s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  from { opacity: 0.15; }
  to   { opacity: 1; }
}

.anniversary-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 480px;
}

.anniversary-kicker {
  margin: 0 0 4px;
  font-family: var(--font-script);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(233, 200, 126, 0.5);
}

.anniversary-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--text);
}

.anniversary-body {
  margin: 0 0 22px;
  font-size: 1.12rem;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.7;
}

.anniversary-meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--gold-faint);
  background: rgba(212, 164, 76, 0.1);
  color: var(--gold-bright);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.pill:empty {
  display: none;
}

.anniversary-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -6%;
  background: var(--c, var(--gold-bright));
  width: 9px;
  height: 14px;
  border-radius: 3px;
  opacity: 0;
  transform: translateX(var(--tx, 0)) rotate(var(--rx, 0deg)) scale(var(--s, 1));
  animation: confettiFall var(--d, 3s) ease-in var(--dl, 0ms) forwards;
}

@keyframes confettiFall {
  0%   { opacity: 0; transform: translate3d(var(--tx, 0), -40px, 0) rotate(var(--rx, 0deg)) scale(var(--s, 1)); }
  12%  { opacity: 0.95; }
  100% { opacity: 0; transform: translate3d(calc(var(--tx, 0) * 2), 110vh, 0) rotate(calc(var(--rx, 0deg) + 540deg)) scale(var(--s, 1)); }
}

