/* ════════════════════════════════════════
   ANIMATIONS & KEYFRAMES
   ════════════════════════════════════════ */

/* ── Entrance ── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes titleReveal {
  from { opacity: 0; transform: translateY(40px) skewY(2deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0); }
}

/* ── Glitch ── */
@keyframes glitch1 {
  0%   { opacity: 0; transform: translate(0); }
  20%  { opacity: 0.8; transform: translate(-3px, 2px); }
  40%  { opacity: 0.6; transform: translate(3px, -1px); }
  60%  { opacity: 0.4; transform: translate(-2px, 1px); }
  80%  { opacity: 0.2; transform: translate(1px, -2px); }
  100% { opacity: 0; transform: translate(0); }
}
@keyframes glitch2 {
  0%   { opacity: 0; transform: translate(0); }
  20%  { opacity: 0.5; transform: translate(2px, -3px); }
  40%  { opacity: 0.4; transform: translate(-3px, 2px); }
  60%  { opacity: 0.3; transform: translate(1px, -1px); }
  80%  { opacity: 0.1; transform: translate(-1px, 3px); }
  100% { opacity: 0; transform: translate(0); }
}

/* ── Speed Lines ── */
@keyframes speedLine {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50%      { opacity: 0.3; }
  100%     { transform: translateX(200%); }
}

/* ── VS Pulse ── */
@keyframes vsPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

/* ════════════════════════════════════════
   HOLOGRAPHIC WHEEL KEYFRAMES
   ════════════════════════════════════════ */

/* ── Wheel Float ── */
@keyframes holoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── Ring Spin ── */
@keyframes holoRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Inner Ring Pulse ── */
@keyframes holoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.05);
  }
  50% {
    transform: scale(1.02);
    opacity: 0.5;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.1);
  }
}

/* ── X-Ray Sweep Line ── */
@keyframes xraySweep {
  0% {
    top: -10%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

/* ── Holographic Shimmer (for segments) ── */
@keyframes holoShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ── Liquid Glass Ripple ── */
@keyframes glassRipple {
  0% {
    box-shadow:
      0 0 0 0 rgba(220, 20, 60, 0.15),
      0 4px 20px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(220, 20, 60, 0),
      0 4px 20px rgba(0, 0, 0, 0.4);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(220, 20, 60, 0),
      0 4px 20px rgba(0, 0, 0, 0.4);
  }
}

/* ════════════════════════════════════════
   STAGGER DELAYS
   ════════════════════════════════════════ */

.collection-card:nth-child(1) { transition-delay: 0.05s; }
.collection-card:nth-child(2) { transition-delay: 0.1s; }
.collection-card:nth-child(3) { transition-delay: 0.15s; }
.collection-card:nth-child(4) { transition-delay: 0.2s; }
.collection-card:nth-child(5) { transition-delay: 0.25s; }
.collection-card:nth-child(6) { transition-delay: 0.3s; }

.legend-card:nth-child(1) { transition-delay: 0.05s; }
.legend-card:nth-child(2) { transition-delay: 0.15s; }
.legend-card:nth-child(3) { transition-delay: 0.25s; }
.legend-card:nth-child(4) { transition-delay: 0.35s; }

.stat-card:nth-child(1) { transition-delay: 0.05s; }
.stat-card:nth-child(2) { transition-delay: 0.15s; }
.stat-card:nth-child(3) { transition-delay: 0.25s; }
.stat-card:nth-child(4) { transition-delay: 0.35s; }

.spec-row:nth-child(1) { transition-delay: 0.0s; }
.spec-row:nth-child(2) { transition-delay: 0.1s; }
.spec-row:nth-child(3) { transition-delay: 0.2s; }
.spec-row:nth-child(4) { transition-delay: 0.3s; }
.spec-row:nth-child(5) { transition-delay: 0.4s; }

.spec-card:nth-child(1) { transition-delay: 0.05s; }
.spec-card:nth-child(2) { transition-delay: 0.1s; }
.spec-card:nth-child(3) { transition-delay: 0.15s; }
.spec-card:nth-child(4) { transition-delay: 0.2s; }
.spec-card:nth-child(5) { transition-delay: 0.25s; }
.spec-card:nth-child(6) { transition-delay: 0.3s; }

.quick-card:nth-child(1) { transition-delay: 0.0s; }
.quick-card:nth-child(2) { transition-delay: 0.06s; }
.quick-card:nth-child(3) { transition-delay: 0.12s; }
.quick-card:nth-child(4) { transition-delay: 0.18s; }
.quick-card:nth-child(5) { transition-delay: 0.24s; }
.quick-card:nth-child(6) { transition-delay: 0.30s; }

.gallery-item:nth-child(1) { transition-delay: 0.05s; }
.gallery-item:nth-child(2) { transition-delay: 0.15s; }
.gallery-item:nth-child(3) { transition-delay: 0.25s; }

/* ── Shimmer on Cards ── */
.card-image-wrapper::after {
  content: '';
  position: absolute; top: 0; left: -150%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  z-index: 2; transition: left 0.8s; pointer-events: none;
}
.collection-card:hover .card-image-wrapper::after { left: 150%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes breatheGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(220, 20, 60, 0.2); }
  50%      { box-shadow: 0 0 40px rgba(220, 20, 60, 0.4); }
}

@keyframes spin360 {
  to { transform: rotate(360deg); }
}