/* Custom animations and styling for TurboWins Casino */

/* Keyframe animations */
@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-20px) rotateX(5deg);
  }
}

@keyframes tiltHover {
  0% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
  }
  50% {
    transform: perspective(1000px) rotateX(-5deg) rotateY(5deg);
  }
  75% {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  }
  100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  }
}

@keyframes neonGlow {
  0%,
  100% {
    box-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 60px #00d4ff;
  }
  50% {
    box-shadow: 0 0 30px #0099cc, 0 0 50px #0099cc, 0 0 70px #0099cc;
  }
}

@keyframes isometricPulse {
  0%,
  100% {
    transform: translateZ(0px) rotateX(45deg) rotateY(-45deg) scale(1);
  }
  50% {
    transform: translateZ(10px) rotateX(45deg) rotateY(-45deg) scale(1.05);
  }
}

/* Parallax animation class */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

/* Tilt animation class */
.tilt-hover {
  transition: transform 0.3s ease;
}

.tilt-hover:hover {
  animation: tiltHover 0.6s ease-in-out;
}

/* 3D Isometric effects */
.isometric-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.isometric-card:hover {
  animation: isometricPulse 0.8s ease-in-out;
}

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

/* Custom electric blue gradient backgrounds */
.electric-gradient {
  background: linear-gradient(135deg, #001122 0%, #003366 25%, #0066cc 50%, #00aaff 75%, #00d4ff 100%);
}

.electric-gradient-reverse {
  background: linear-gradient(315deg, #001122 0%, #003366 25%, #0066cc 50%, #00aaff 75%, #00d4ff 100%);
}

/* 3D button effects */
.btn-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  box-shadow: 0 6px 0 #0066cc, 0 12px 20px rgba(0, 100, 204, 0.3);
}

.btn-3d:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #0066cc, 0 15px 25px rgba(0, 100, 204, 0.4);
}

.btn-3d:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #0066cc, 0 6px 10px rgba(0, 100, 204, 0.2);
}

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

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #00d4ff;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.5rem;
  color: #b8c5d1;
}

.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: #b8c5d1;
}

.prose strong {
  color: #00d4ff;
  font-weight: 600;
}

.prose a {
  color: #00aaff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #00d4ff;
}

/* Table styling */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(0, 51, 102, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.prose th,
.prose td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 170, 255, 0.2);
}

.prose th {
  background: rgba(0, 170, 255, 0.2);
  color: #00d4ff;
  font-weight: 600;
}

.prose td {
  color: #b8c5d1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #001122;
}

::-webkit-scrollbar-thumb {
  background: #0066cc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00aaff;
}

/* Mobile burger menu animation */
.burger-line {
  transition: all 0.3s ease;
}

.burger-open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.game-card:hover {
  transform: translateY(-10px) rotateX(10deg) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 170, 255, 0.3);
}

/* Trustpilot star styling */
.star-rating {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* FAQ accordion styling */
.faq-item {
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: rgba(0, 51, 102, 0.2);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 170, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 170, 255, 0.1);
}

.faq-question {
  cursor: pointer;
  padding: 1.5rem;
  color: #00d4ff;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #b8c5d1;
  line-height: 1.6;
  display: none;
}

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

/* Responsive utilities */
@media (max-width: 1023px) {
  .mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(45deg, #ff6b00, #ff8c00, #ffa500);
  border: 3px solid #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: neonGlow 3s ease-in-out infinite alternate;
}

/* Payment method icons */
.payment-icon {
  filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(1000%) hue-rotate(180deg) brightness(100%)
    contrast(101%);
  transition: filter 0.3s ease;
}

.payment-icon:hover {
  filter: brightness(0) saturate(100%) invert(84%) sepia(98%) saturate(1000%) hue-rotate(180deg) brightness(120%)
    contrast(101%);
}
