/* Custom CSS Animations and Styles */

/* Floating Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-emoji {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: float 20s infinite linear;
}

.floating-emoji:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.floating-emoji:nth-child(2) {
  left: 20%;
  animation-delay: -5s;
  animation-duration: 30s;
}

.floating-emoji:nth-child(3) {
  left: 30%;
  animation-delay: -10s;
  animation-duration: 20s;
}

.floating-emoji:nth-child(4) {
  left: 40%;
  animation-delay: -15s;
  animation-duration: 35s;
}

.floating-emoji:nth-child(5) {
  left: 60%;
  animation-delay: -20s;
  animation-duration: 25s;
}

.floating-emoji:nth-child(6) {
  left: 70%;
  animation-delay: -25s;
  animation-duration: 30s;
}

.floating-emoji:nth-child(7) {
  left: 80%;
  animation-delay: -30s;
  animation-duration: 20s;
}

.floating-emoji:nth-child(8) {
  left: 90%;
  animation-delay: -35s;
  animation-duration: 40s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

/* Spotlight Effects */
.spotlight {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  animation: spotlight 8s infinite ease-in-out;
}

.spotlight-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.spotlight-2 {
  bottom: 20%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes spotlight {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5) translate(50px, -30px);
    opacity: 0.6;
  }
}

/* 3D Text Effects */
.text-3d {
  text-shadow:
    0 1px 0 #7c3aed,
    0 2px 0 #6d28d9,
    0 3px 0 #5b21b6,
    0 4px 0 #4c1d95,
    0 5px 0 #3c1361,
    0 6px 1px rgba(0, 0, 0, 0.1),
    0 0 5px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 3px 5px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.25);
}

.text-3d-main {
  text-shadow:
    0 1px 0 #06b6d4,
    0 2px 0 #0891b2,
    0 3px 0 #0e7490,
    0 4px 0 #155e75,
    0 5px 0 #164e63,
    0 6px 1px rgba(0, 0, 0, 0.1),
    0 0 5px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 3px 5px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.25);
}

/* Button Styles */
.cta-button,
.cta-button-primary {
  background: linear-gradient(45deg, #06b6d4, #8b5cf6);
  border: 2px solid transparent;
  border-radius: 1.5rem;
  padding: 1rem 2rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.cta-button:hover,
.cta-button-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.cta-button-secondary {
  background: transparent;
  border: 2px solid #8b5cf6;
  border-radius: 1.5rem;
  padding: 1rem 2rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.cta-button-secondary:hover {
  background: #8b5cf6;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.cta-button-small {
  background: linear-gradient(45deg, #ec4899, #8b5cf6);
  border: none;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  font-weight: bold;
  color: white;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.cta-button-small:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}

/* Card Styles */
.bonus-box {
  animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
  }
}

.step-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.step-icon {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Game Cards */
.game-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.play-btn {
  background: linear-gradient(45deg, #ec4899, #8b5cf6);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
}

/* Stat Cards */
.stat-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

/* Provider Cards */
.provider-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.provider-card:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

/* Support Cards */
.support-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* Promo Cards */
.promo-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* Trust Badges */
.trust-badge {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  min-width: 150px;
}

.trust-badge:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

/* FAQ Styles */
.faq-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(139, 92, 246, 0.1);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #d1d5db;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Payment Tables */
.payment-table {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
}

/* VIP Levels */
.vip-level {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.vip-level:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

/* Hero Image Animation */
.hero-image-container {
  position: relative;
  animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Navigation Link Hover */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #06b6d4, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-emoji {
    font-size: 1.5rem;
  }

  .text-3d,
  .text-3d-main {
    text-shadow: 0 1px 0 #7c3aed, 0 2px 0 #6d28d9, 0 3px 0 #5b21b6, 0 0 5px rgba(0, 0, 0, 0.1);
  }

  .spotlight {
    width: 200px;
    height: 200px;
  }
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Parallax Effect */
.parallax {
  transform: translateZ(0);
  will-change: transform;
}
