/* Keyframe Animations */
@keyframes pulse-glow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes jackpot-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

/* Animation Classes */
.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.marquee-content {
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Jackpot Glow Effect */
.jackpot-glow {
  background: radial-gradient(
    ellipse at center,
    rgba(236, 72, 153, 0.3) 0%,
    rgba(250, 204, 21, 0.2) 30%,
    transparent 70%
  );
  animation: jackpot-pulse 4s ease-in-out infinite;
}

/* Parallax Base */
.parallax {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Prose Styling for Readability */
.prose-content {
  font-size: 1rem;
  line-height: 1.75;
}

.prose-content h1,
.prose-content h2,
.prose-content h3,
.prose-content h4 {
  font-weight: 800;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose-content h1 {
  font-size: 2.5rem;
}

.prose-content h2 {
  font-size: 2rem;
}

.prose-content h3 {
  font-size: 1.5rem;
}

.prose-content h4 {
  font-size: 1.25rem;
}

.prose-content p {
  margin-bottom: 1.5rem;
}

.prose-content a {
  text-decoration: underline;
  text-decoration-color: rgba(236, 72, 153, 0.5);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.prose-content a:hover {
  text-decoration-color: rgba(250, 204, 21, 0.8);
}

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

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

.prose-content strong {
  font-weight: 700;
  color: rgba(250, 204, 21, 0.95);
}

.prose-content code {
  background: rgba(236, 72, 153, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.prose-content blockquote {
  border-left: 4px solid rgba(250, 204, 21, 0.5);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: rgba(250, 204, 21, 0.8);
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

.table-responsive table {
  min-width: 600px;
}

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

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

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ec4899, #facc15);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #facc15, #ec4899);
}

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

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

details summary::after {
  content: "+";
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #facc15;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
details:focus {
  outline: 2px solid #facc15;
  outline-offset: 2px;
}

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

/* Prevent horizontal scroll */
body {
  overflow-x: clip;
}
