/* ============================================================
   TycoonWin Casino – Custom CSS
   Theme: Elite Fortune (Emerald & Gold)
============================================================ */

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

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

/* ============================================================
   Prose / Article Styles
============================================================ */

.prose-casino {
  color: #d1d5db;
  line-height: 1.75;
}

.prose-casino h1 {
  color: #c9a84c;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  font-family: Georgia, serif;
}

.prose-casino h2 {
  color: #c9a84c;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.prose-casino h3 {
  color: #f0d080;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose-casino p {
  margin-bottom: 1rem;
  color: #d1d5db;
}

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

.prose-casino ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.prose-casino ul li::before {
  content: '♦';
  position: absolute;
  left: 0;
  color: #c9a84c;
  font-size: 0.75rem;
  top: 0.35rem;
}

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

.prose-casino ol li {
  margin-bottom: 0.5rem;
}

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

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

.prose-casino strong {
  color: #f0d080;
  font-weight: 600;
}

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

.prose-casino hr {
  border-color: rgba(201,168,76,0.2);
  margin: 2rem 0;
}

/* Table scroll wrapper – mandatory */
.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;
}

/* General prose table styles */
.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.prose-casino table thead tr {
  background-color: #0f5c2e;
}

.prose-casino table th {
  color: #c9a84c;
  font-weight: 700;
  padding: 0.625rem 0.75rem;
  text-align: left;
  white-space: nowrap;
}

.prose-casino table td {
  color: #d1d5db;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.prose-casino table tr:hover td {
  background-color: rgba(15,92,46,0.2);
}

/* ============================================================
   Hero Shimmer Animation
============================================================ */

.hero-shimmer {
  background: linear-gradient(
    135deg,
    rgba(201,168,76,0.0) 0%,
    rgba(201,168,76,0.04) 50%,
    rgba(201,168,76,0.0) 100%
  );
  animation: shimmer-move 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer-move {
  0%, 100% { opacity: 0.3; transform: translateX(-5%) translateY(-5%); }
  50% { opacity: 1; transform: translateX(5%) translateY(5%); }
}

/* ============================================================
   Marquee / Game Strip
============================================================ */

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

.marquee-outer::before,
.marquee-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, #0a3d1f, transparent);
}

.marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, #0a3d1f, transparent);
}

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

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

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

/* ============================================================
   Bonus Badge
============================================================ */

.bonus-badge-box {
  position: relative;
}

.bonus-badge-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  background: linear-gradient(135deg, #c9a84c, #f0d080, #c9a84c);
  background-size: 200% 200%;
  animation: gold-shimmer 3s linear infinite;
  z-index: -1;
}

@keyframes gold-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================================
   Animate Pulse Slow
============================================================ */

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

/* ============================================================
   Game Cards
============================================================ */

.game-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.2);
}

/* ============================================================
   Promo Cards
============================================================ */

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

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.15);
}

/* ============================================================
   Provider Word Cloud
============================================================ */

.provider-tag {
  transition: all 0.2s ease;
  user-select: none;
}

.provider-tag:nth-child(3n+1) { color: #c9a84c; }
.provider-tag:nth-child(3n+2) { color: #f0d080; opacity: 0.7; }
.provider-tag:nth-child(3n+3) { color: #c9a84c; opacity: 0.5; }

/* ============================================================
   FAQ Accordion
============================================================ */

.faq-answer {
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* ============================================================
   Step Connector
============================================================ */

@media (min-width: 768px) {
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(201,168,76,0.4);
  }
}

/* ============================================================
   Sticky Header
============================================================ */

#site-header {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ============================================================
   Scrollbar Styling
============================================================ */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #060e07;
}

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

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

/* ============================================================
   Responsive Overrides
============================================================ */

@media (max-width: 640px) {
  .prose-casino h1 { font-size: 1.5rem; }
  .prose-casino h2 { font-size: 1.25rem; }
  .bonus-badge-box { margin-left: 0; margin-right: 0; }
}

/* ============================================================
   Overflow tables everywhere
============================================================ */

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  word-break: normal;
}
