/* Custom animations and overrides */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes parallax-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
  }
}

/* Tropical gradient backgrounds */
.tropical-gradient {
  background: linear-gradient(135deg, #14b8a6 0%, #ec4899 50%, #f97316 100%);
}

.sunset-gradient {
  background: linear-gradient(180deg, #f97316 0%, #ec4899 50%, #14b8a6 100%);
}

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

/* Parallax elements */
.parallax-palm {
  animation: parallax-float 6s ease-in-out infinite;
}

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

/* Marquee animation */
.marquee {
  animation: marquee 30s linear infinite;
}

/* Custom button styles */
.btn-tropical {
  background: linear-gradient(45deg, #14b8a6, #ec4899);
  transition: all 0.3s ease;
}

.btn-tropical:hover {
  background: linear-gradient(45deg, #0d9488, #db2777);
  transform: translateY(-2px);
}

.btn-golden {
  background: linear-gradient(45deg, #f59e0b, #d97706);
  animation: pulse-glow 2s infinite;
}

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

.prose h2 {
  color: #0d9488;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  background: linear-gradient(135deg, #0d9488, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.prose ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.prose ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

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

.prose li::marker {
  color: #14b8a6;
  font-weight: 600;
}

.prose strong {
  color: #1f2937;
  font-weight: 700;
}

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

.prose blockquote {
  border-left: 0.25rem solid #14b8a6;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #4b5563;
  background: rgba(20, 184, 166, 0.05);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.prose th {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border: 1px solid #0d9488;
}

.prose td {
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  background: white;
}

.prose tr:nth-child(even) td {
  background: rgba(20, 184, 166, 0.03);
}

.prose tr:hover td {
  background: rgba(20, 184, 166, 0.08);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.prose a {
  color: #14b8a6;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #ec4899;
}

/* Prose styling for readability */
.prose-casino {
  line-height: 1.7;
  color: #1f2937;
}

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

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

.prose-casino ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

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

/* Table responsive wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table-responsive table {
  min-width: 37.5rem;
}

/* Tropical decorative elements */
.palm-frame::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, #14b8a6, transparent, #ec4899);
  border-radius: 1rem;
  z-index: -1;
}

/* Mobile burger menu */
.burger-menu {
  background: rgba(20, 184, 166, 0.95);
  backdrop-filter: blur(10px);
}

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

.game-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2);
}

/* Bonus badge styling */
.bonus-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
  animation: pulse-glow 3s infinite;
}

/* FAQ accordion */
.faq-item {
  border-left: 4px solid #14b8a6;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-left-color: #ec4899;
  background: rgba(20, 184, 166, 0.05);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .marquee {
    animation-duration: 20s;
  }

  .parallax-palm,
  .parallax-coin {
    animation-duration: 4s;
  }

  .prose {
    font-size: 1rem;
  }

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

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

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

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