@keyframes loaderLine {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(240%);
  }
}

@keyframes buttonGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(199, 154, 86, 0);
  }

  50% {
    box-shadow: 0 0 34px rgba(199, 154, 86, 0.32);
  }
}

@keyframes playerProgress {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

@keyframes pinPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(199, 154, 86, 0));
    transform: translateY(0);
  }

  50% {
    filter: drop-shadow(0 0 22px rgba(199, 154, 86, 0.7));
    transform: translateY(-6px);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-140%);
  }

  100% {
    transform: translateX(140%);
  }
}

.btn-outline {
  animation: buttonGlow 2.8s ease-in-out infinite;
}

.cover::after,
.album-art::after,
.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  transform: translateX(-140%);
  transition: transform 0.7s ease;
}

.music-card:hover .cover::after,
.album-card:hover .album-art::after,
.product-card:hover .product-visual::after {
  animation: shimmer 0.9s ease forwards;
}

.hero-content,
.brand,
.primary-nav,
.social-bar,
.hero-footer,
.gold-line {
  will-change: transform, opacity;
}

.hero-media img {
  will-change: transform;
}

.reveal-up,
.reveal-left {
  will-change: transform, opacity;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: bottom;
}

.magnetic {
  will-change: transform;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(199, 154, 86, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(199, 154, 86, 0.02) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 76%, transparent);
}

.music-card:nth-child(2n) {
  animation: softFloat 7s ease-in-out infinite;
}

.music-card:nth-child(2n + 1) {
  animation: softFloat 8s ease-in-out infinite reverse;
}

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

  .cursor-dot,
  .cursor-ring,
  .mouse-light {
    display: none;
  }

  body,
  a,
  button {
    cursor: auto;
  }
}
