/* assets/css/animations.css - 3D Gyroscope & Luxury Metallic Animations */

@keyframes gyroSpinX {
  0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  50% { transform: rotateX(180deg) rotateY(180deg) rotateZ(90deg); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg); }
}

@keyframes gyroSpinY {
  0% { transform: rotateY(0deg) rotateX(45deg); }
  50% { transform: rotateY(180deg) rotateX(15deg); }
  100% { transform: rotateY(360deg) rotateX(45deg); }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.8deg);
  }
}

@keyframes goldShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes luxuryPulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(197, 155, 39, 0.2);
  }
  50% {
    box-shadow: 0 15px 45px rgba(197, 155, 39, 0.4);
  }
}

.anim-float {
  animation: floatSlow 6s ease-in-out infinite;
}

.anim-luxury-pulse {
  animation: luxuryPulse 4s ease-in-out infinite;
}

.anim-gold-shimmer {
  background: linear-gradient(90deg, #d4af37 0%, #fff 50%, #d4af37 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}

/* 3D Interactive Card Showcase */
.luxury-3d-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(197, 155, 39, 0.4);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06), 0 0 35px rgba(197, 155, 39, 0.15);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.luxury-3d-card:hover {
  border-color: rgba(197, 155, 39, 0.8);
  box-shadow: 0 35px 70px rgba(197, 155, 39, 0.25);
}

/* Orbiting Rings CSS Gyroscope */
.gyro-container {
  width: 140px;
  height: 140px;
  position: relative;
  transform-style: preserve-3d;
  margin: 0 auto 20px auto;
  perspective: 600px;
}

.gyro-ring-1 {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid rgba(197, 155, 39, 0.8);
  border-radius: 50%;
  animation: gyroSpinX 8s linear infinite;
  box-shadow: 0 0 15px rgba(197, 155, 39, 0.3);
}

.gyro-ring-2 {
  position: absolute;
  width: 85%;
  height: 85%;
  top: 7.5%;
  left: 7.5%;
  border: 2px dashed rgba(100, 116, 139, 0.7);
  border-radius: 50%;
  animation: gyroSpinY 6s linear infinite reverse;
}

.gyro-core-img {
  position: absolute;
  width: 65%;
  height: 65%;
  top: 17.5%;
  left: 17.5%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(197, 155, 39, 0.4);
  border: 2px solid #ffffff;
}

.gyro-core-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
