/* ===============================================
   Angelspin Casino - Angelwave Radiance Theme
   Silver-white light trails, graceful motion, airy elegance
   =============================================== */

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(-10px) translateX(-10px);
  }
}

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

@keyframes particle-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(50px, -50px) scale(1.2);
    opacity: 0.6;
  }
}

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

@keyframes light-trail {
  0% {
    transform: translateX(-100%) translateY(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(200%) translateY(0) rotate(-45deg);
    opacity: 0;
  }
}

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

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

.glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

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

.light-trail {
  position: absolute;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: light-trail 4s ease-in-out infinite;
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

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

/* Prose Styling for Markdown Content */
.prose {
  max-width: 100%;
  color: #1f2937;
  line-height: 1.75;
}

.prose h2 {
  color: #111827;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 1em;
  letter-spacing: -0.02em;
}

.prose h3 {
  color: #374151;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.4;
  margin-top: 1.6em;
  margin-bottom: 0.8em;
}

.prose h4 {
  color: #4b5563;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  line-height: 1.5;
  margin-top: 1.4em;
  margin-bottom: 0.6em;
}

.prose p {
  margin-top: 0;
  margin-bottom: 1.25em;
  color: #374151;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.prose a {
  color: #3b82f6;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.prose a:hover {
  color: #2563eb;
}

.prose strong {
  color: #111827;
  font-weight: 600;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  color: #374151;
  line-height: 1.6;
}

.prose li::marker {
  color: #9ca3af;
}

.prose blockquote {
  border-left: 0.25rem solid #e5e7eb;
  padding-left: 1em;
  margin-left: 0;
  margin-right: 0;
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  font-style: italic;
  color: #6b7280;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
}

.prose thead {
  border-bottom: 2px solid #e5e7eb;
}

.prose th {
  padding: 0.75em 1em;
  text-align: left;
  font-weight: 600;
  color: #111827;
  background-color: #f9fafb;
}

.prose td {
  padding: 0.75em 1em;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

.prose tbody tr:hover {
  background-color: #f9fafb;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-top: 2em;
  margin-bottom: 2em;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.prose code {
  background-color: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #ef4444;
  font-family: ui-monospace, monospace;
}

.prose pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
}

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

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

  .prose th,
  .prose td {
    padding: 0.5em;
  }
}
