/* ===================================================================
   STICKY CTA — Floating "Wishlist on Steam" — AAA interactive
   =================================================================== */

.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-cyan);
  color: var(--color-bg);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease,
              background 0.2s ease,
              filter 0.2s ease;
}

/* Light sweep beam */
.sticky-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.3) 48%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.3) 52%,
    transparent 80%
  );
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  animation: idleGlow 3s ease-in-out infinite;
}

.sticky-cta:hover {
  background: var(--color-cyan-light);
  transform: translateY(-3px);
  filter: brightness(1.1);
  animation: edgeFlare 2s ease infinite;
}

.sticky-cta:hover::before {
  animation: lightSweep 0.6s ease forwards;
}

.sticky-cta.visible:hover {
  transform: translateY(-3px);
}

.sticky-cta:active {
  transform: scale(0.94);
  filter: brightness(1.3);
  animation: snapPunch 0.35s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.sticky-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
