/* Custom Animations & Keyframes */

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(132, 204, 22, 0.8);
  }
}

@keyframes jungle-shimmer {
  0% {
    text-shadow: 0 0 10px rgba(132, 204, 22, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(132, 204, 22, 0.8), 0 0 30px rgba(16, 185, 129, 0.6);
  }
  100% {
    text-shadow: 0 0 10px rgba(132, 204, 22, 0.5);
  }
}

@keyframes countdown {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Floating Hero Animation */
.floating-hero {
  animation: float 6s ease-in-out infinite;
}

/* Pulse Glow for CTAs */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Jungle Text Effect */
.jungle-text {
  animation: jungle-shimmer 3s ease-in-out infinite;
}

/* Shadow Glow Effects */
.shadow-glow-green {
  box-shadow: 0 4px 20px rgba(132, 204, 22, 0.4);
}

/* Withdrawal Demo Animation */
.withdrawal-demo {
  animation: countdown 1s ease-in-out infinite;
}

/* Prose Styling for Readability */
.prose-custom {
  line-height: 1.7;
}

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

.prose-custom h2 {
  color: rgb(163, 230, 53);
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-custom h3 {
  color: rgb(163, 230, 53);
  font-weight: bold;
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.prose-custom a {
  color: rgb(163, 230, 53);
  text-decoration: underline;
}

.prose-custom a:hover {
  color: rgb(132, 204, 22);
}

/* Details/Summary Styling */
details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  color: rgb(163, 230, 53);
}

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

/* Hover Effects */
button,
a {
  transition: all 0.3s ease;
}

/* SVG Pattern Background Alternative */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 50%, rgba(132, 204, 22, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Mobile Menu Animation */
#mobile-menu {
  transition: all 0.3s ease-in-out;
}

/* Table Responsive */
@media (max-width: 768px) {
  table {
    font-size: 0.875rem;
  }

  td,
  th {
    padding: 0.5rem !important;
  }
}

/* Card Hover Effects */
.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgb(120, 53, 15);
}

::-webkit-scrollbar-thumb {
  background: rgb(132, 204, 22);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(163, 230, 53);
}
