/* Slotshopper Casino - Custom CSS */

:root {
  --royal: #1a3a8f;
  --royal-dark: #0f2560;
  --royal-light: #2a50b0;
  --gold: #f5c518;
  --gold-dark: #d4a800;
  --gold-light: #ffe066;
}

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

@keyframes glowGold {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(245,197,24,0.4); }
  50% { box-shadow: 0 0 24px 8px rgba(245,197,24,0.8); }
}

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

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

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

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

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

/* Glow */
.glow-gold {
  animation: glowGold 2.5s ease-in-out infinite;
}

/* Promo card hover */
.promo-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245,197,24,0.2);
}

/* FAQ details animation */
.faq-item summary::-webkit-details-marker {
  display: none;
}

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

.prose-content h2 {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(245,197,24,0.3);
  padding-bottom: 0.4rem;
}

.prose-content h3 {
  color: var(--gold-light);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

.prose-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245,197,24,0.4);
  transition: color 0.2s;
}

.prose-content a:hover {
  color: var(--gold-light);
}

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

.prose-content ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: #cbd5e1;
}

.prose-content ul li::before {
  content: '\2022';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

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

.prose-content ol li {
  margin-bottom: 0.6rem;
  padding-left: 0.4rem;
}

.prose-content blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(26,58,143,0.4);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #e2e8f0;
  font-style: italic;
}

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

.prose-content table th {
  background: var(--royal-dark);
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid rgba(245,197,24,0.3);
  font-weight: 700;
  white-space: nowrap;
}

.prose-content table td {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(245,197,24,0.15);
  color: #cbd5e1;
  white-space: nowrap;
}

.prose-content table tr:hover td {
  background: rgba(26,58,143,0.4);
}

.prose-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.5rem 0;
  border: 2px solid rgba(245,197,24,0.3);
}

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

.prose-content em {
  color: var(--gold-light);
}

.prose-content hr {
  border: none;
  border-top: 1px solid rgba(245,197,24,0.2);
  margin: 2rem 0;
}

/* Article H1 styling */
.prose-casino h1 {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive table wrapper */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Parallax hero overlay */
@media (prefers-reduced-motion: no-preference) {
  .parallax-bg {
    will-change: transform;
    transition: transform 0.1s linear;
  }
}

/* Mobile nav menu */
@media (max-width: 1023px) {
  #mobile-menu {
    background-color: var(--royal-dark);
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--royal-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
