/* EktoBet Custom Styles */

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

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34, 197, 94, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #22c55e 0%,
    #4ade80 25%,
    #86efac 50%,
    #4ade80 75%,
    #22c55e 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s linear infinite;
}

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

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

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

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

/* Pulse glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.4),
                0 0 20px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6),
                0 0 40px rgba(34, 197, 94, 0.3);
  }
}

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

/* Prose readability */
.prose-readable {
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
}

.prose-readable h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9fafb;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose-readable h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.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;
}

.prose-readable a {
  color: #22c55e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-readable a:hover {
  color: #4ade80;
}

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

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.15);
}

/* Tab active state */
.tab-active {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
}

.tab-inactive {
  background: #374151;
  color: #9ca3af;
}

/* Guide tab styles */
.guide-tab--active {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

/* Guide card entrance animation */
@keyframes guideCardEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.guide-card-enter {
  animation: guideCardEnter 0.5s ease-out both;
}

/* Quiz option hover lift */
.quiz-option {
  transition: all 0.2s ease;
}
.quiz-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Badge styles */
.badge-popular {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

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

.badge-rtp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

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

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

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

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

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

/* Mobile menu animation */
.menu-open {
  max-height: 500px;
  opacity: 1;
}

.menu-closed {
  max-height: 0;
  opacity: 0;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 50%, #86efac 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glass effect */
.glass {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Bets table row animations */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bet-row-new {
  animation: fadeSlideIn 0.4s ease-out;
}
