/* Wagerland Custom Styles - Alice in Wonderland LSD Casino Theme */

/* Keyframe Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px currentColor);
  }
  50% {
    filter: drop-shadow(0 0 20px currentColor);
  }
}

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

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.8);
  }
}

@keyframes card-flip {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Parallax Layers */
.parallax-layer {
  transition: transform 0.3s ease-out;
}

/* Marquee Container */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

/* Wonderland Patterns */
.wonderland-pattern {
  background-image: radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

.card-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(236, 72, 153, 0.05) 10px,
    rgba(236, 72, 153, 0.05) 20px
  );
}

/* Mushroom Dots Pattern */
.mushroom-dots {
  background-image: radial-gradient(circle, rgba(236, 72, 153, 0.3) 2px, transparent 2px);
  background-size: 30px 30px;
}

/* Neon Glow Effects */
.neon-text {
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
}

.neon-border {
  box-shadow: 0 0 10px currentColor, inset 0 0 10px currentColor;
}

/* Floating Animation */
.float {
  animation: float 3s ease-in-out infinite;
}

.glow-pulse {
  animation: glow 2s ease-in-out infinite;
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.4);
}

/* Prose Styling for Readability */
.prose {
  color: #e5e7eb;
  line-height: 1.7;
}

.prose h2 {
  color: #ec4899;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
}

.prose h3 {
  color: #a855f7;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

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

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

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

.prose a {
  color: #a855f7;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: #ec4899;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th {
  background: rgba(236, 72, 153, 0.2);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.prose td {
  padding: 0.75rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.prose tr:nth-child(even) {
  background: rgba(168, 85, 247, 0.1);
}

/* Bonus Badge Pulse */
.bonus-badge {
  animation: pulse-glow 2s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-track {
  background: #1a0a1f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ec4899, #a855f7);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f472b6, #c084fc);
}

/* Island Effect */
.island {
  background: rgba(30, 10, 40, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 72, 153, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Game Card Styles */
.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.4);
}

/* CTA Button Styles */
.cta-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Trustpilot Star Rating */
.star-rating {
  color: #fbbf24;
  filter: drop-shadow(0 0 5px #fbbf24);
}

/* Mobile Menu Transition */
.mobile-menu {
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.closed {
  transform: translateX(-100%);
}

/* Bottom Navigation Island */
.bottom-nav {
  backdrop-filter: blur(20px);
  background: rgba(20, 5, 30, 0.95);
  border-top: 1px solid rgba(236, 72, 153, 0.3);
}

/* Payment Method Icons */
.payment-icon {
  transition: all 0.3s ease;
}

.payment-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Calculator Input Styles */
.calculator-input {
  background: rgba(30, 10, 40, 0.8);
  border: 2px solid rgba(168, 85, 247, 0.5);
  color: #e5e7eb;
  transition: all 0.3s ease;
}

.calculator-input:focus {
  outline: none;
  border-color: #ec4899;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .prose h2 {
    font-size: 1.5rem;
  }

  .prose h3 {
    font-size: 1.25rem;
  }

  .prose p {
    font-size: 1rem;
  }
}
