:root {
  color-scheme: dark;
}

body {
  background: radial-gradient(circle at 20% 15%, rgba(139, 92, 246, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.14) 0%, transparent 32%),
    #09090b;
}

.glass {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gradient-text {
  background: linear-gradient(95deg, #d4af37 5%, #8b5cf6 45%, #f97316 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rubber-loop {
  border: 2px solid rgba(212, 175, 55, 0.85);
  border-radius: 999px;
  box-shadow: inset 0 0 25px rgba(212, 175, 55, 0.12), 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stretch-hover {
  transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.stretch-hover:hover {
  transform: scaleX(1.07) scaleY(0.95);
  box-shadow: 0 16px 35px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.hero-loop {
  animation: pulseFloat 6s ease-in-out infinite;
}

.hero-loop.delay {
  animation-delay: -2.5s;
}

.hero-loop.delay-more {
  animation-delay: -4s;
}

.hero-card-float {
  animation: heroCardFloat 7s ease-in-out infinite;
}

.hero-card-float.delay {
  animation-delay: -2.3s;
}

.hero-card-shell {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-card-shell img {
  filter: saturate(1.05) contrast(1.02);
}

@keyframes pulseFloat {
  0%,
  100% {
    transform: translateY(0px) scaleX(1);
    border-radius: 999px;
  }

  33% {
    transform: translateY(-14px) scaleX(1.16) scaleY(0.92);
    border-radius: 46%;
  }

  66% {
    transform: translateY(8px) scaleX(0.88) scaleY(1.08);
    border-radius: 54%;
  }
}

.soft-grid {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.loader-wrap {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: #09090b;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-band {
  width: 118px;
  height: 118px;
  border: 6px solid #d4af37;
  border-radius: 999px;
  animation: loadStretch 1.45s ease-in-out infinite;
  box-shadow: 0 0 36px rgba(212, 175, 55, 0.2);
}

@keyframes loadStretch {
  0%,
  100% {
    transform: scaleX(1) scaleY(1);
  }

  35% {
    transform: scaleX(1.34) scaleY(0.74);
  }

  65% {
    transform: scaleX(0.7) scaleY(1.25);
  }
}

@keyframes heroCardFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(-1.5deg);
  }
}
