/* BetStaro Casino – Custom CSS */

/* Keyframe Animations */
@keyframes starPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

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

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

@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 10px #ffd70044; }
  50% { box-shadow: 0 0 30px #ffd700aa, 0 0 60px #ffd70055; }
}

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

/* Hero Background Star Animation */
.hero-bg-anim {
  background-image:
    radial-gradient(circle at 20% 30%, #ffd70022 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, #ffd70033 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, #ffd70011 2px, transparent 2px),
    radial-gradient(circle at 10% 80%, #ffd70022 1px, transparent 1px),
    radial-gradient(circle at 90% 20%, #ffd70033 1px, transparent 1px),
    radial-gradient(circle at 35% 65%, #ffd70015 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, #ffd70025 1px, transparent 1px);
  background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px, 180px 180px, 220px 220px, 170px 170px;
  animation: starPulse 4s ease-in-out infinite;
}

/* Marquee */
.marquee-track {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

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

/* Prose Styles for Markdown Content */
.prose {
  color: #d1d5db;
  line-height: 1.8;
  font-size: 1rem;
  max-width: 100%;
}

.prose h2 {
  color: #ffd700;
  font-size: 1.75rem;
  font-weight: 900;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  border-bottom: 2px solid #ffd70033;
  padding-bottom: 0.5rem;
}

.prose h3 {
  color: #f0c040;
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.prose h4 {
  color: #e5b832;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.prose a {
  color: #ffd700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.prose ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.prose ul li {
  padding-left: 1.75em;
  position: relative;
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.prose ul li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #ffd700;
  font-size: 0.8em;
  top: 0.2em;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.75em;
  margin-bottom: 1.25rem;
}

.prose ol li {
  margin-bottom: 0.5rem;
  color: #d1d5db;
  padding-left: 0.5em;
}

.prose blockquote {
  border-left: 4px solid #ffd700;
  padding: 1em 1.5em;
  margin: 1.5rem 0;
  background: #0a1230;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #e5e7eb;
  font-style: italic;
}

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

.prose em {
  color: #f0c040;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem auto;
  display: block;
  border: 1px solid #ffd70033;
}

/* Prose Table */
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.prose thead tr {
  background-color: #0f1a45;
}

.prose th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: #ffd700;
  font-weight: 700;
  border-bottom: 2px solid #ffd70033;
}

.prose td {
  padding: 0.65rem 1rem;
  color: #d1d5db;
  border-bottom: 1px solid #ffffff1a;
}

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

.prose hr {
  border: none;
  border-top: 1px solid #ffd70033;
  margin: 2rem 0;
}

.prose code {
  background: #0f1a45;
  color: #ffd700;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.prose pre {
  background: #0f1a45;
  border: 1px solid #ffd70033;
  border-radius: 0.5rem;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.prose pre code {
  background: none;
  padding: 0;
}

/* Table wrapper utility */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Gold glow button animation */
.btn-glow {
  animation: goldGlow 2s ease-in-out infinite;
}

/* Responsive container */
.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

/* Shimmer text effect */
.text-shimmer {
  background: linear-gradient(90deg, #ffd700 0%, #fff8dc 40%, #ffd700 60%, #f0c040 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .prose h2 { font-size: 1.4rem; }
  .prose h3 { font-size: 1.15rem; }
  .prose { font-size: 0.95rem; }
}
