/* Crazy Tower - Custom CSS */
/* Animations: Shimmer + Float */

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(59, 130, 246, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

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

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

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

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

.float-slow {
  animation: float-slow 4s 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 */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
  }
}

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

/* Prose Readability */
.prose {
  line-height: 1.75;
  color: #d1d5db;
}

.prose h2 {
  color: #f9fafb;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

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

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

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

.prose a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: #93c5fd;
}

/* Tab Active State */
.tab-btn.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.tab-content {
  display: none;
}

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

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

/* Slot Badge Styles */
.badge-jackpot {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1f2937;
}

.badge-rtp {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
}

.badge-popular {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* Feature Glow Border */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #3b82f6);
  border-radius: inherit;
  z-index: -1;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Quiz Styles */
.quiz-option {
  transition: all 0.2s ease;
}

.quiz-option:hover {
  background-color: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.quiz-option.selected {
  background-color: rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
}

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

/* Mobile Menu Animation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

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

/* Bento Grid Styles */
.bento-item {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Trust Badge */
.trust-badge {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  filter: grayscale(0%);
  opacity: 1;
}
