/* Keyframe Animations */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 255, 136, 0.4);
  }
}

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

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Utility Classes */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.floating-hero {
  animation: float 6s ease-in-out infinite;
}

.game-card {
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
}

.category-btn {
  transition: all 0.3s ease;
}

.category-btn:hover {
  transform: scale(1.05);
}

.feature-card {
  transition: all 0.3s ease;
}

.provider-glow {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

/* Scrollbar Hide */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Smooth Transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Prose Styling for Content Pages */
.prose {
  color: #e5e7eb;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #00ff88;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 1em;
}

.prose h1 {
  font-size: 2.5em;
}

.prose h2 {
  font-size: 2em;
}

.prose h3 {
  font-size: 1.5em;
}

.prose p {
  margin-bottom: 1.5em;
  line-height: 1.75;
}

.prose a {
  color: #00ff88;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #00cc6a;
}

.prose ul,
.prose ol {
  margin: 1.5em 0;
  padding-left: 2em;
}

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

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

.prose code {
  background-color: #2d2d2d;
  padding: 0.2em 0.4em;
  border-radius: 0.25em;
  font-size: 0.875em;
}

.prose pre {
  background-color: #2d2d2d;
  padding: 1em;
  border-radius: 0.5em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose blockquote {
  border-left: 4px solid #00ff88;
  padding-left: 1em;
  margin: 1.5em 0;
  font-style: italic;
  color: #9ca3af;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.prose th,
.prose td {
  border: 1px solid #4b5563;
  padding: 0.75em;
}

.prose th {
  background-color: #2d2d2d;
  color: #00ff88;
  font-weight: bold;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5em;
  margin: 1.5em 0;
}

/* Parallax Effect */
.floating-hero {
  will-change: transform;
}

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

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

details[open] summary {
  border-bottom: 1px solid #4b5563;
}

/* Fade Animation for Withdrawal Demo */
#withdrawalDemo {
  transition: opacity 0.3s ease;
}

/* Mobile Menu Animation */
#mobileMenu {
  transition: transform 0.3s ease-in-out;
}

/* Gradient Backgrounds */
.bg-pattern-dots {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #00ff88;
  outline-offset: 2px;
}

/* Loading States */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading-shimmer {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(to right, #2d2d2d 0%, #3d3d3d 50%, #2d2d2d 100%);
  background-size: 1000px 100%;
}

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

  body {
    background: white;
    color: black;
  }
}
