/* Piratepots Custom CSS */
/* Animations: Shimmer + Float */

/* Shimmer effect for CTAs and highlights */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
}

/* Float animation for cards and images */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) 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;
}

/* Subtle glow pulse for accent elements */
@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
  }
  50% {
    box-shadow: 0 0 35px rgba(220, 38, 38, 0.6);
  }
}

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

/* Prose readability enhancements */
.prose-custom {
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

.prose-custom h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prose-custom h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

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

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

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #dc2626;
}

/* Tab active states */
.tab-btn.active {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  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(220, 38, 38, 0.2);
}

/* Badge styles */
.badge-jackpot {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
}

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

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

.badge-popular {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: #fff;
}

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

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

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

/* Pirate-themed decorative elements */
.pirate-border {
  border-image: linear-gradient(135deg, #dc2626, #7f1d1d) 1;
}

/* Trust badge styling */
.trust-badge {
  filter: grayscale(100%) brightness(0.8);
  transition: filter 0.3s ease;
}

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