/* ==========================================================================
   KICK'S CHICKEN - MOTION & INTERACTION SYSTEM (CULT STREET-FOOD EDITION)
   High-precision, tactile micro-interactions without cartoonish wobbles
   ========================================================================== */

/* 1. High-Impact Marquee Tickers */
@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-left 38s linear infinite;
  will-change: transform;
}

.marquee-track.reverse {
  animation: marquee-right 42s linear infinite;
}

.marquee-container:hover .marquee-track,
.marquee-container:focus-within .marquee-track,
.marquee-track.paused {
  animation-play-state: paused;
}

/* 2. Street Ticker Tape Strip */
.street-ticker-strip {
  background: var(--bg-dark, #111317);
  color: #ffffff;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  display: flex;
}

.street-ticker-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee-left 28s linear infinite;
  will-change: transform;
}

.street-ticker-item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.street-ticker-item .dot {
  color: var(--color-terracotta);
  font-size: 1.3rem;
  line-height: 0;
}

/* 3. Scroll Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* 4. Tactile Micro-Interactions */
.tactile-press {
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}

.tactile-press:hover {
  transform: translate(-1px, -1px);
}

.tactile-press:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 transparent !important;
}

/* 5. Heat Meter Animation */
@keyframes flame-pulse {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.flame-active {
  animation: flame-pulse 2s ease-in-out infinite;
}

/* 6. Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-track,
  .street-ticker-inner {
    animation: none !important;
    overflow-x: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}