/* CuppaWins Custom Styles */

/* Base prose readability */
.prose {
  max-width: 65ch;
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

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

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

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

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(16, 185, 129, 0.15) 25%,
    rgba(16, 185, 129, 0.3) 50%,
    rgba(16, 185, 129, 0.15) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #10b981 0%,
    #34d399 25%,
    #6ee7b7 50%,
    #34d399 75%,
    #10b981 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s ease-in-out infinite;
}

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

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

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

.float-slow {
  animation: floatSlow 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 pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4),
                0 0 40px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6),
                0 0 60px rgba(16, 185, 129, 0.3);
  }
}

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

/* Subtle card hover lift */
@keyframes cardLift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-4px);
  }
}

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

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

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

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

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

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

/* Tab panel transitions */
.tab-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.tab-content.active {
  opacity: 1;
  max-height: 2000px;
}

/* Mobile menu transitions */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 500px;
}

/* Card shimmer overlay */
.card-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(16, 185, 129, 0.08) 50%,
    transparent 60%
  );
  background-size: 300% 300%;
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

/* Badge styles */
.badge-hot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

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

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

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

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

.star-empty {
  color: #374151;
}

/* Glow effect for hero */
.hero-glow {
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.15),
              0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Inner page specific */
.single-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.single-content h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}
