/* BetSuna Casino - Custom CSS */

:root {
  --color-emerald: #34d399;
  --color-gold: #fbbf24;
  --color-dark: #030712;
  --color-card: #1f2937;
}

body {
  background-color: #030712;
  color: #f3f4f6;
}

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

/* Featured Games: custom horizontal scroll (mobile; desktop uses wrap, no track) */
.featured-games-scroll {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--color-emerald) #1f2937;
}
@media (min-width: 768px) {
  .featured-games-scroll {
    scroll-snap-type: none;
    scrollbar-width: auto;
  }
}
.featured-games-scroll > * {
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .featured-games-scroll > * {
    scroll-snap-align: unset;
  }
}
.featured-games-scroll::-webkit-scrollbar {
  height: 8px;
}
.featured-games-scroll::-webkit-scrollbar-track {
  background: #1f2937;
  border-radius: 9999px;
}
.featured-games-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #059669, #fbbf24);
  border-radius: 9999px;
}
.featured-games-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #10b981, #fcd34d);
}
@media (min-width: 768px) {
  .featured-games-scroll::-webkit-scrollbar {
    display: none;
    height: 0;
  }
}

/* Marquee animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee {
  animation: marquee 30s linear infinite;
  display: flex;
  width: max-content;
}

/* Parallax handled via inline CSS on hero */

/* Sparkle animation */
@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
.sparkle {
  animation: sparkle 2.5s ease-in-out infinite;
}

/* Glow pulse */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px #34d39988; }
  50% { box-shadow: 0 0 30px #34d399cc, 0 0 60px #fbbf2455; }
}
.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Prose styles for Markdown content */
.prose {
  color: #e5e7eb;
  max-width: 100%;
  line-height: 1.75;
  font-size: 1rem;
}

.prose h2 {
  color: #34d399;
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #065f46;
  padding-bottom: 0.4rem;
}

.prose h3 {
  color: #fbbf24;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  color: #d1d5db;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.prose a {
  color: #34d399;
  text-decoration: underline;
}
.prose a:hover {
  color: #fbbf24;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.25rem;
  color: #d1d5db;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  border-left: 4px solid #34d399;
  background: #1f2937;
  padding: 1em 1.5em;
  margin: 1.5em 0;
  color: #9ca3af;
  font-style: italic;
  border-radius: 0 0.5rem 0.5rem 0;
}

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

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5rem;
}

.prose thead tr {
  background-color: #064e3b;
  color: #a7f3d0;
}

.prose th {
  padding: 0.6em 1em;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid #065f46;
}

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

.prose tbody tr:nth-child(even) {
  background-color: #1e2533;
}
.prose tbody tr:hover {
  background-color: #1f3a2a;
}

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

.prose code {
  background: #1f2937;
  color: #34d399;
  padding: 0.15em 0.4em;
  border-radius: 0.3em;
  font-size: 0.9em;
}

.prose pre {
  background: #111827;
  padding: 1.5em;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

/* Max width constraint */
.max-w-screen-xl {
  max-width: 1440px;
}

/* Details/summary styling for FAQ */
details > summary {
  user-select: none;
}
details[open] > summary {
  color: #34d399;
}
