/* Custom animations and overrides for LuckyWagerz Rainbow Spin theme */

/* Keyframe animations */
@keyframes rainbow-spin {
  0% {
    transform: rotate(0deg);
    filter: hue-rotate(0deg);
  }
  50% {
    transform: rotate(10deg);
    filter: hue-rotate(180deg);
  }
  100% {
    transform: rotate(20deg);
    filter: hue-rotate(360deg);
  }
}



@keyframes neon-pulse {
  0%,
  100% {
    box-shadow: 0 0 5px #10b981, 0 0 10px #10b981, 0 0 15px #10b981, 0 0 20px #d946ef;
    text-shadow: 0 0 5px #10b981, 0 0 10px #10b981, 0 0 15px #d946ef;
  }
  50% {
    box-shadow: 0 0 10px #d946ef, 0 0 20px #d946ef, 0 0 30px #d946ef, 0 0 40px #10b981;
    text-shadow: 0 0 10px #d946ef, 0 0 20px #d946ef, 0 0 30px #10b981;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes tilt {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}

@keyframes jackpot-sparks {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotate(360deg);
  }
}

/* Chrome-framed elements */
.chrome-frame {
  border: 3px solid;
  border-image: linear-gradient(45deg, #c0c0c0, #ffffff, #c0c0c0, #808080) 1;
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
}

/* Rainbow spin animation class */
.rainbow-spin {
  animation: rainbow-spin 4s linear infinite;
}

/* Neon glow effects */
.neon-glow {
  animation: neon-pulse 2s ease-in-out infinite;
}

/* Marquee animation */
.marquee {
  animation: marquee 20s linear infinite;
}

/* Tilt animation */
.tilt {
  animation: tilt 3s ease-in-out infinite;
}

/* Jackpot sparks */
.jackpot-sparks::before {
  content: "✨";
  position: absolute;
  animation: jackpot-sparks 1.5s ease-in-out infinite;
}

/* Custom button styles */
.cta-button {
  background: linear-gradient(135deg, #10b981, #d946ef);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

/* Bonus badge styling */
.bonus-badge {
  background: radial-gradient(circle, #1e1b4b, #312e81);
  border: 3px solid #d946ef;
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.5), inset 0 0 20px rgba(16, 185, 129, 0.2);
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8), rgba(49, 46, 129, 0.6));
}

.game-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(217, 70, 239, 0.3);
}

/* Prose styling for readability */
.prose {
  line-height: 1.6;
  color: #e5e7eb;
}

.prose h2 {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul {
  list-style-type: none;
  padding-left: 0;
}

.prose li::before {
  content: "🎰";
  margin-right: 0.5rem;
}

/* Payment methods table */
.payment-table {
  background: rgba(30, 27, 75, 0.6);
  border: 1px solid #d946ef;
}

.payment-table td,
.payment-table th {
  border: 1px solid rgba(217, 70, 239, 0.3);
  padding: 0.75rem;
}

/* Mobile burger menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: #10b981;
  margin: 3px 0;
  transition: 0.3s;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
}

/* Responsive utilities */
@media (max-width: 1023px) {
  .burger-menu {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    display: block;
  }
}

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

body {
  overflow: auto;
  background: linear-gradient(135deg, #1e1b4b, #312e81, #1e1b4b);
  min-height: 100vh;
}

/* FAQ styling */
.faq-item {
  background: rgba(30, 27, 75, 0.4);
  border: 1px solid rgba(217, 70, 239, 0.3);
  margin-bottom: 1rem;
}

.faq-question {
  background: linear-gradient(135deg, #10b981, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
