/* Custom animations and overrides for Arubabet Hugo theme */

/* Keyframe animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bubble-rise {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(1deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}

/* Animation classes */
.float-animation {
  animation: float 3s ease-in-out infinite;
}

.bubble-animation {
  animation: bubble-rise 8s linear infinite;
}

.shimmer-effect {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

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

/* Parallax container */
.parallax-container {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.parallax-element {
  transform: translateZ(-1px) scale(2);
}

/* Tilt effect */
.tilt-hover {
  transition: transform 0.3s ease;
}

.tilt-hover:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Custom scrollbar for webkit browsers */
.custom-scrollbar::-webkit-scrollbar {
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(139, 69, 19, 0.1);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #4fd1c7, #a855f7);
  border-radius: 4px;
}

/* Table responsive wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Enhanced prose styling for markdown content readability */
.prose {
  max-width: 100%;
  line-height: 1.7;
  color: #1e293b;
  font-size: 1.1rem;
}

.prose h2 {
  color: #0f172a;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(79, 209, 199, 0.3);
  position: relative;
}

.prose h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, #4fd1c7, #a855f7);
}

.prose h3 {
  color: #334155;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.5rem;
  text-align: justify;
  hyphens: auto;
}

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

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prose ul li::marker {
  color: #4fd1c7;
}

.prose ol li::marker {
  color: #a855f7;
  font-weight: 600;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.prose th {
  background: linear-gradient(135deg, #4fd1c7, #a855f7);
  color: white;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
}

.prose td {
  padding: 1rem;
  border-bottom: 1px solid rgba(79, 209, 199, 0.2);
}

.prose tr:hover {
  background: rgba(79, 209, 199, 0.05);
}

.prose blockquote {
  border-left: 4px solid #4fd1c7;
  background: rgba(79, 209, 199, 0.05);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin: 2rem 0;
}

.prose a {
  color: #4fd1c7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #a855f7;
  text-decoration: underline;
}

.prose strong {
  color: #0f172a;
  font-weight: 700;
}

.prose em {
  color: #475569;
  font-style: italic;
}

/* Responsive prose adjustments */
@media (max-width: 768px) {
  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }

  .prose h3 {
    font-size: 1.25rem;
  }

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

  .prose table {
    font-size: 0.9rem;
  }

  .prose th,
  .prose td {
    padding: 0.75rem;
  }
}

/* Coral reef decorative elements */
.coral-decoration::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 70%, rgba(79, 209, 199, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Seashell glow effect */
.seashell-glow {
  box-shadow: 0 0 20px rgba(79, 209, 199, 0.3), 0 0 40px rgba(168, 85, 247, 0.2);
}

/* Pearl scatter symbols */
.pearl-symbol {
  background: radial-gradient(circle, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  border: 2px solid rgba(79, 209, 199, 0.3);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Golden bubble effects */
.golden-bubble {
  background: radial-gradient(circle, #fbbf24 0%, #f59e0b 70%, #d97706 100%);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

/* Underwater gradient backgrounds */
.underwater-gradient {
  background: linear-gradient(
    135deg,
    rgba(79, 209, 199, 0.1) 0%,
    rgba(168, 85, 247, 0.1) 50%,
    rgba(148, 163, 184, 0.1) 100%
  );
}

/* Mobile burger menu styling */
.burger-menu {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #4fd1c7 0%, #a855f7 100%);
  box-shadow: 0 8px 32px rgba(79, 209, 199, 0.3);
}

/* CTA button enhancements */
.cta-primary {
  background: linear-gradient(135deg, #4fd1c7 0%, #06b6d4 100%);
  box-shadow: 0 4px 15px rgba(79, 209, 199, 0.4);
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 209, 199, 0.5);
}

.cta-secondary {
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

/* Game card styling */
.game-card {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(79, 209, 199, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(79, 209, 199, 0.2);
}

/* Payment method icons */
.payment-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* FAQ styling */
.faq-item {
  border-bottom: 1px solid rgba(79, 209, 199, 0.2);
}

.faq-question {
  background: linear-gradient(90deg, rgba(79, 209, 199, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
}

/* Responsible gaming badges */
.responsible-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-weight: bold;
}

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

/* Custom focus styles for accessibility */
.focus-visible:focus {
  outline: 2px solid #4fd1c7;
  outline-offset: 2px;
}
