/* ===========================================
   CrazyPot Casino – Custom CSS
   =========================================== */

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track { background: #07190f; }
::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #f0d080; }

/* ---- Prose Casino ---- */
.prose-casino {
  color: #e8f5ee;
  font-size: 1rem;
  line-height: 1.75;
  word-break: break-word;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #c9a84c;
  font-family: Georgia, serif;
  font-weight: 700;
  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-bottom: 1em; color: rgba(232,245,238,0.85); }

.prose-casino a {
  color: #10a572;
  text-decoration: underline;
  transition: color 0.2s;
}
.prose-casino a:hover { color: #f0d080; }

.prose-casino ul, .prose-casino ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.prose-casino ul li { list-style-type: disc; color: rgba(232,245,238,0.80); margin-bottom: 0.25em; }
.prose-casino ol li { list-style-type: decimal; color: rgba(232,245,238,0.80); margin-bottom: 0.25em; }

.prose-casino blockquote {
  border-left: 4px solid #c9a84c;
  padding-left: 1em;
  color: rgba(232,245,238,0.70);
  font-style: italic;
  margin: 1.5em 0;
}

.prose-casino strong { color: #f0d080; font-weight: 700; }
.prose-casino em { color: #10a572; }

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: rgba(232,245,238,0.85);
}
.prose-casino table th {
  background: #0d6e4f;
  color: #c9a84c;
  padding: 0.6em 1em;
  text-align: left;
  font-weight: 700;
}
.prose-casino table td {
  padding: 0.5em 1em;
  border-bottom: 1px solid rgba(13,110,79,0.25);
}
.prose-casino table tr:nth-child(even) td { background: rgba(13,110,79,0.08); }

/* Prose table scroll helper */
.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;
}

/* ---- Bonus Glow ---- */
.bonus-glow {
  box-shadow:
    0 0 30px rgba(201,168,76,0.5),
    0 0 60px rgba(201,168,76,0.25),
    0 0 120px rgba(201,168,76,0.10);
  animation: bonusPulse 3s ease-in-out infinite;
}

@keyframes bonusPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(201,168,76,0.5), 0 0 60px rgba(201,168,76,0.25); }
  50%       { box-shadow: 0 0 50px rgba(201,168,76,0.7), 0 0 100px rgba(201,168,76,0.40); }
}

/* ---- Logo Shimmer ---- */
.logo-shimmer {
  background: linear-gradient(90deg, #c9a84c 20%, #f0d080 50%, #c9a84c 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

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

/* ---- Parallax Hero ---- */
.hero-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

/* ---- Marquee ---- */
.marquee-container {
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

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

/* ---- Game Cards ---- */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(201,168,76,0.25);
}

/* ---- Promo Cards ---- */
.promo-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(13,110,79,0.30);
}

/* ---- Step Cards ---- */
.step-card {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}
.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 fadeUp {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---- Provider Word Cloud ---- */
.word-cloud .provider-tag {
  display: inline-block;
  transition: transform 0.2s, color 0.2s;
  cursor: default;
}
.word-cloud .provider-tag:hover {
  transform: scale(1.12);
  color: #f0d080 !important;
}

/* ---- CTA Primary pulse ---- */
.cta-primary {
  position: relative;
  overflow: hidden;
}
.cta-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: ctaShine 2.5s linear infinite;
}
@keyframes ctaShine {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ---- FAQ ---- */
.faq-answer {
  border-top: 1px solid rgba(13,110,79,0.20);
  padding-top: 0.75rem;
}

/* ---- Tables general ---- */
.overflow-x-auto table {
  min-width: 500px;
}

/* ---- Responsive containers ---- */
@media (max-width: 640px) {
  .bonus-glow { padding: 1.25rem 1.5rem; }
}

/* ---- Utility ---- */
.text-shadow-gold {
  text-shadow: 0 2px 8px rgba(201,168,76,0.5);
}