/* =========================================================
   KLASROYAL — Etkinlik / VIP özel hero hareket katmanları
   Bu dosyadaki tüm görsel kurallar .gc-event-motion kapsamındadır.
   ========================================================= */
.gc-event-motion {
  isolation: isolate;
}

/* Özgün <img> ölçü ve erişilebilirlik için yerinde kalır; hareketli kopya onun üzerinde görünür. */
.gc-event-motion > img {
  position: relative;
  z-index: 0;
}

.gc-event-motion .event-motion-picture,
.gc-event-motion .event-motion-glow,
.gc-event-motion .event-motion-confetti,
.gc-event-motion .event-motion-confetti i,
.gc-event-motion .event-motion-sparkles,
.gc-event-motion .event-motion-sparkles i {
  pointer-events: none;
}

.gc-event-motion .event-motion-picture {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.04);
  transform-origin: 52% 48%;
  will-change: transform;
  animation: gc-event-ken-burns 17s ease-in-out infinite alternate;
}

/* Mevcut koyu degradeyi ve başlık kontrastını bozmadan ince altın ışık geçişi. */
.gc-event-motion .event-motion-glow {
  position: absolute;
  z-index: 2;
  inset: -28% -42%;
  opacity: .38;
  background: linear-gradient(104deg, transparent 42%, rgba(251, 234, 178, .03) 47%, rgba(241, 218, 147, .34) 50%, rgba(255, 244, 203, .08) 53%, transparent 58%);
  mix-blend-mode: screen;
  transform: translate3d(-34%, 0, 0) skewX(-13deg);
  will-change: transform;
  animation: gc-event-gold-sweep 12s ease-in-out infinite;
}

.gc-event-motion .special-page-hero-copy,
.gc-event-motion .special-hero-copy,
.gc-event-motion .scene-hero-copy {
  z-index: 4;
}

/* Etkinlik sürümü: kupanın sağ alanında hafif, deterministik altın şeritler. */
.gc-event-motion .event-motion-confetti {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
}

.gc-event-motion .event-motion-confetti i {
  --confetti-width: 5px;
  --confetti-height: 13px;
  --confetti-delay: 0s;
  --confetti-duration: 11s;
  --confetti-drift: 18px;
  position: absolute;
  display: block;
  width: var(--confetti-width);
  height: var(--confetti-height);
  border-radius: 1px;
  opacity: 0;
  background: linear-gradient(135deg, #fff2bf, #d4b75a 55%, #8f7032);
  box-shadow: 0 0 8px rgba(241, 218, 147, .3);
  animation: gc-event-confetti-fall var(--confetti-duration) linear var(--confetti-delay) infinite;
  will-change: transform, opacity;
}

.gc-event-motion .event-motion-confetti i:nth-child(1) { top: -15%; left: 56%; --confetti-delay: -3.1s; --confetti-duration: 12.8s; --confetti-drift: 24px; }
.gc-event-motion .event-motion-confetti i:nth-child(2) { top: -8%; left: 64%; --confetti-width: 4px; --confetti-height: 10px; --confetti-delay: -8.8s; --confetti-duration: 13.5s; --confetti-drift: -12px; }
.gc-event-motion .event-motion-confetti i:nth-child(3) { top: -19%; left: 72%; --confetti-width: 7px; --confetti-height: 7px; --confetti-delay: -1.6s; --confetti-duration: 10.8s; --confetti-drift: 28px; }
.gc-event-motion .event-motion-confetti i:nth-child(4) { top: -12%; left: 79%; --confetti-delay: -6.2s; --confetti-duration: 12.2s; --confetti-drift: -20px; }
.gc-event-motion .event-motion-confetti i:nth-child(5) { top: -22%; left: 87%; --confetti-width: 3px; --confetti-height: 11px; --confetti-delay: -9.5s; --confetti-duration: 14.1s; --confetti-drift: 14px; }
.gc-event-motion .event-motion-confetti i:nth-child(6) { top: -9%; left: 93%; --confetti-width: 6px; --confetti-height: 6px; --confetti-delay: -4.4s; --confetti-duration: 11.6s; --confetti-drift: -25px; }
.gc-event-motion .event-motion-confetti i:nth-child(7) { top: -18%; left: 60%; --confetti-width: 4px; --confetti-height: 15px; --confetti-delay: -11.7s; --confetti-duration: 15s; --confetti-drift: 21px; }
.gc-event-motion .event-motion-confetti i:nth-child(8) { top: -11%; left: 69%; --confetti-width: 8px; --confetti-height: 4px; --confetti-delay: -2.7s; --confetti-duration: 10.4s; --confetti-drift: -16px; }
.gc-event-motion .event-motion-confetti i:nth-child(9) { top: -20%; left: 83%; --confetti-delay: -7.4s; --confetti-duration: 13.1s; --confetti-drift: 19px; }
.gc-event-motion .event-motion-confetti i:nth-child(10) { top: -13%; left: 90%; --confetti-width: 4px; --confetti-height: 9px; --confetti-delay: -5.3s; --confetti-duration: 12s; --confetti-drift: -9px; }

/* VIP sürümü: konfeti kullanılmaz; dört küçük glitter ve daha yumuşak görsel pan uygulanır. */
.gc-event-motion.gc-vip-motion .event-motion-picture {
  transform: scale(1.025) translate3d(-.35%, .2%, 0);
  transform-origin: 58% 46%;
  animation-name: gc-vip-pan;
  animation-duration: 23s;
}

.gc-event-motion.gc-vip-motion .event-motion-glow {
  opacity: .24;
  animation-duration: 17s;
}

.gc-event-motion .event-motion-sparkles {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
}

.gc-event-motion .event-motion-sparkles i {
  --sparkle-delay: 0s;
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: .16;
  background: #fff1bc;
  box-shadow: 0 0 0 2px rgba(241, 218, 147, .12), 0 0 12px rgba(241, 218, 147, .75);
  animation: gc-vip-glitter 4.8s ease-in-out var(--sparkle-delay) infinite;
  will-change: transform, opacity;
}

.gc-event-motion .event-motion-sparkles i:nth-child(1) { top: 22%; left: 61%; --sparkle-delay: -.5s; }
.gc-event-motion .event-motion-sparkles i:nth-child(2) { top: 52%; left: 74%; width: 3px; height: 3px; --sparkle-delay: -2.2s; }
.gc-event-motion .event-motion-sparkles i:nth-child(3) { top: 29%; left: 88%; width: 4px; height: 4px; --sparkle-delay: -3.7s; }
.gc-event-motion .event-motion-sparkles i:nth-child(4) { top: 68%; left: 82%; width: 3px; height: 3px; --sparkle-delay: -1.4s; }

@keyframes gc-event-ken-burns {
  0% { transform: scale(1.04) translate3d(-.45%, -.2%, 0); }
  100% { transform: scale(1.08) translate3d(.55%, .35%, 0); }
}

@keyframes gc-vip-pan {
  0% { transform: scale(1.025) translate3d(-.35%, .2%, 0); }
  100% { transform: scale(1.055) translate3d(.4%, -.25%, 0); }
}

@keyframes gc-event-gold-sweep {
  0%, 18% { transform: translate3d(-39%, 0, 0) skewX(-13deg); opacity: 0; }
  32% { opacity: 1; }
  61% { transform: translate3d(39%, 0, 0) skewX(-13deg); opacity: .7; }
  78%, 100% { transform: translate3d(43%, 0, 0) skewX(-13deg); opacity: 0; }
}

@keyframes gc-event-confetti-fall {
  0% { transform: translate3d(0, -10px, 0) rotate(0deg); opacity: 0; }
  10% { opacity: .66; }
  80% { opacity: .58; }
  100% { transform: translate3d(var(--confetti-drift), 300px, 0) rotate(440deg); opacity: 0; }
}

@keyframes gc-vip-glitter {
  0%, 100% { transform: scale(.5); opacity: .1; }
  48% { transform: scale(1.35); opacity: .72; }
  62% { transform: scale(.8); opacity: .28; }
}

@media (max-width: 700px) {
  .gc-event-motion .event-motion-confetti i:nth-child(2),
  .gc-event-motion .event-motion-confetti i:nth-child(4),
  .gc-event-motion .event-motion-confetti i:nth-child(6),
  .gc-event-motion .event-motion-confetti i:nth-child(8),
  .gc-event-motion .event-motion-confetti i:nth-child(10) {
    display: none;
  }

  .gc-event-motion .event-motion-sparkles i:nth-child(n + 3) {
    display: none;
  }

  .gc-event-motion .event-motion-glow {
    opacity: .24;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gc-event-motion .event-motion-picture,
  .gc-event-motion .event-motion-glow,
  .gc-event-motion .event-motion-confetti i,
  .gc-event-motion .event-motion-sparkles i {
    animation: none !important;
  }

  .gc-event-motion .event-motion-picture {
    transform: none;
  }

  .gc-event-motion .event-motion-confetti {
    opacity: .24;
  }

  .gc-event-motion .event-motion-glow {
    opacity: .12;
  }
}
