/* Slotshopper Casino - Custom CSS */

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

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 40px rgba(212, 175, 55, 0.1); }
  50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6), 0 0 80px rgba(212, 175, 55, 0.2); }
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Marquee */
.marquee-container {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}

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

/* Hero Parallax */
.hero-parallax {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-parallax {
    background-attachment: scroll;
  }
}

/* Game Card Glow */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
}

/* Prose Content Styling */
.prose-content {
  color: rgba(243, 240, 250, 0.88);
  line-height: 1.8;
  font-size: 1rem;
}

.prose-content h2 {
  color: #D4AF37;
  font-size: 1.75rem;
  font-weight: 900;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 0.5rem;
}

.prose-content h3 {
  color: #E8CC6A;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.prose-content p {
  margin-bottom: 1.25rem;
  color: rgba(243, 240, 250, 0.85);
}

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

.prose-content a:hover {
  color: #F5E6A3;
}

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

.prose-content ul li {
  padding: 0.35rem 0 0.35rem 1.75rem;
  position: relative;
  color: rgba(243, 240, 250, 0.85);
}

.prose-content ul li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: #D4AF37;
  font-size: 0.75rem;
  top: 0.55rem;
}

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

.prose-content ol li {
  padding: 0.25rem 0;
  color: rgba(243, 240, 250, 0.85);
}

.prose-content blockquote {
  border-left: 4px solid #D4AF37;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 0 0.75rem 0.75rem 0;
  color: rgba(243, 240, 250, 0.8);
  font-style: italic;
}

.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  display: table;
}

.prose-content .table-wrapper {
  overflow-x: auto;
  max-width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.prose-content table th {
  background: linear-gradient(135deg, #3D1152, #5C1A78);
  color: #D4AF37;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
}

.prose-content table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  color: rgba(243, 240, 250, 0.8);
  font-size: 0.875rem;
}

.prose-content table tr:nth-child(even) {
  background: rgba(61, 17, 82, 0.3);
}

.prose-content table tr:hover {
  background: rgba(212, 175, 55, 0.07);
}

.prose-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.5rem 0;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

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

.prose-content em {
  color: rgba(243, 240, 250, 0.75);
  font-style: italic;
}

.prose-content code {
  background: rgba(212, 175, 55, 0.12);
  color: #E8CC6A;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

/* Prose Casino Container */
.prose-casino {
  max-width: 100%;
}

/* Responsive Table Wrapper */
.prose-content table {
  min-width: 400px;
}

.prose-content > table {
  overflow-x: auto;
  display: block;
}

/* FAQ Details/Summary */
details summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  color: #D4AF37;
}

details[open] .fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.3s;
}

/* Glow on hero badge */
.bonus-badge {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* Global scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #1A0628;
}

::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #E8CC6A;
}

/* Overflow-x auto for all tables */
.overflow-x-auto {
  overflow-x: auto;
}

div.overflow-x-auto table {
  min-width: 500px;
}

/* Animation utilities */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease both;
}
