/* WinderLand Custom CSS - Alice in Wonderland Casino Vibe */

/* Animation 1: Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(163, 230, 53, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #a3e635 0%,
    #d9f99d 25%,
    #a3e635 50%,
    #d9f99d 75%,
    #a3e635 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Animation 2: Float Effect */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.float {
  animation: float 4s ease-in-out infinite;
}

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

.float-delay-1 {
  animation-delay: 0.5s;
}

.float-delay-2 {
  animation-delay: 1s;
}

.float-delay-3 {
  animation-delay: 1.5s;
}

/* Pulse Glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(163, 230, 53, 0.4),
                0 0 40px rgba(163, 230, 53, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(163, 230, 53, 0.6),
                0 0 60px rgba(163, 230, 53, 0.3);
  }
}

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

/* Prose Readability */
.prose-readable {
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.prose-readable h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.prose-readable h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.prose-readable p {
  margin-bottom: 1.25rem;
}

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

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

/* Card Hover Effects */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Smooth gradient border */
.gradient-border {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #a3e635 0%, #22d3ee 50%, #a3e635 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Tab Styles */
.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  color: #0f172a;
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Badge Styles */
.badge-high-rtp {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
}

.badge-jackpot {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.badge-bonus-buy {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.badge-popular {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Mobile Menu Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-open {
  animation: slideDown 0.3s ease forwards;
}

/* Star Rating */
.star-filled {
  color: #fbbf24;
}

.star-empty {
  color: #475569;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a3e635 0%, #84cc16 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #84cc16 0%, #65a30d 100%);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #a3e635;
  outline-offset: 2px;
}

/* Selection Color */
::selection {
  background: rgba(163, 230, 53, 0.3);
  color: #fff;
}
