/* ==========================================================
   LuckLeopard Casino – Custom CSS
   ========================================================== */

/* Base */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  word-break: break-word;
}

body {
  overflow-x: hidden;
  word-break: break-word;
}

/* ==================== PROSE STYLING ==================== */
.prose-casino {
  color: #d1d5db;
  max-width: 100%;
  line-height: 1.8;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #f0c040;
  font-weight: 800;
  margin-top: 1em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; }
.prose-casino h3 { font-size: 1.25rem; }

.prose-casino p {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose-casino a {
  color: #4fc3f7;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose-casino a:hover {
  color: #a8d8f0;
}

.prose-casino ul,
.prose-casino ol {
  padding-left: 1.5rem;
  margin: 0.75em 0;
}

.prose-casino ul li {
  list-style-type: disc;
  margin-bottom: 0.4em;
}

.prose-casino ol li {
  list-style-type: decimal;
  margin-bottom: 0.4em;
}

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

.prose-casino blockquote {
  border-left: 4px solid #d4a017;
  padding-left: 1rem;
  color: #9ca3af;
  font-style: italic;
  margin: 1em 0;
}

.prose-casino hr {
  border-color: #1a4a8a;
  margin: 1.5em 0;
}

/* Table scroll wrapper */
.prose-casino .prose-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 1.5em 0;
  border-radius: 0.5rem;
}

.prose-casino .prose-table-scroll table {
  margin-top: 0;
  margin-bottom: 0;
}

/* Prose tables */
.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: #0a1628;
  border-radius: 0.5rem;
  overflow: hidden;
}

.prose-casino thead tr {
  background: rgba(26, 74, 138, 0.4);
}

.prose-casino th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: #d4a017;
  font-weight: 700;
  border-bottom: 1px solid rgba(26, 74, 138, 0.4);
}

.prose-casino td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(26, 74, 138, 0.15);
  color: #d1d5db;
}

.prose-casino tr:last-child td {
  border-bottom: none;
}

.prose-casino tr:hover td {
  background: rgba(26, 74, 138, 0.1);
}

/* ==================== ANIMATIONS ==================== */

/* Parallax hero background */
.parallax-bg {
  will-change: transform;
  transform: translateZ(0);
  transition: transform 0.1s linear;
}

/* Aurora shimmer overlay */
@keyframes auroraShimmer {
  0%   { opacity: 0; background-position: 0% 50%; }
  50%  { opacity: 0.08; background-position: 100% 50%; }
  100% { opacity: 0; background-position: 0% 50%; }
}

.aurora-shimmer {
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(79, 195, 247, 0.15) 30%,
    rgba(26, 74, 138, 0.2) 50%,
    rgba(79, 195, 247, 0.1) 70%,
    transparent 100%
  );
  background-size: 300% 300%;
  animation: auroraShimmer 8s ease-in-out infinite;
}

/* Bonus badge glow */
@keyframes bonusGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 23, 0.3), 0 0 40px rgba(212, 160, 23, 0.1); }
  50%       { box-shadow: 0 0 30px rgba(212, 160, 23, 0.6), 0 0 60px rgba(212, 160, 23, 0.2); }
}

.bonus-badge-glow {
  background: linear-gradient(135deg, #d4a017, #f0c040, #d4a017, #c8860a);
  background-size: 200% 200%;
  animation: bonusGlow 3s ease-in-out infinite;
  border-radius: 1rem;
}

/* Scroll indicator dot */
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.3; }
}

.scroll-dot {
  animation: scrollDot 1.5s ease-in-out infinite;
}

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

.marquee-wrapper {
  position: relative;
  overflow: hidden;
}

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
  padding: 0 1.5rem;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==================== CARD EFFECTS ==================== */

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

.promo-card:hover {
  transform: translateY(-4px);
}

/* Review blocks */
.review-block {
  transition: transform 0.3s ease;
}

.review-block:hover {
  transform: translateY(-2px);
}

/* Game cards */
.game-card {
  cursor: pointer;
}

/* Step cards */
.step-card {
  animation: fadeInUp 0.6s ease both;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.25s; }
.step-card:nth-child(3) { animation-delay: 0.4s; }

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

/* ==================== PROVIDER WORD CLOUD ==================== */
.provider-tag {
  display: inline-block;
  font-weight: 700;
  color: #a8d8f0;
  line-height: 1.2;
  padding: 0.2em 0.1em;
  transition: color 0.2s;
  cursor: default;
}

.provider-tag:hover {
  color: #f0c040;
}

/* ==================== CTA BUTTON PULSE ==================== */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(212, 160, 23, 0.3); }
  50%       { box-shadow: 0 4px 40px rgba(212, 160, 23, 0.6); }
}

.cta-primary-btn {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

/* ==================== FAQ ==================== */
.faq-item {
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(79, 195, 247, 0.4);
}

.faq-answer {
  transition: all 0.3s ease;
}

/* ==================== PARALLAX JS HOOK ==================== */
/* Parallax handled via JS scroll event */

/* ==================== RESPONSIVE UTILITIES ==================== */
@media (max-width: 768px) {
  .prose-casino h1 { font-size: 1.5rem; }
  .prose-casino h2 { font-size: 1.25rem; }
  .prose-casino h3 { font-size: 1.1rem; }

  .bonus-badge-glow {
    width: 100%;
  }
}

/* Ensure tables are always scrollable */
.overflow-x-auto {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* ==================== SCROLLBAR STYLING ==================== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #030810;
}

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

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

/* ==================== SELECTION COLOR ==================== */
::selection {
  background: rgba(212, 160, 23, 0.3);
  color: #f0c040;
}

/* ==================== FOCUS STYLES ==================== */
:focus-visible {
  outline: 2px solid #d4a017;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==================== PARALLAX SCRIPT ==================== */
