/* Yoko Casino - Custom CSS */
:root {
  --navy-900: #08111f;
  --navy-800: #0d1b2e;
  --navy-700: #112240;
  --gold-400: #c9a227;
  --gold-300: #dbb94a;
  --gold-200: #f0d080;
  --gold-100: #fdf3c0;
}

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

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

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

@keyframes pulseBorder {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(201,162,39,0); }
}

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

.hero-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.gold-shimmer {
  background: linear-gradient(90deg, var(--gold-400) 25%, var(--gold-200) 50%, var(--gold-400) 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.pulse-border {
  animation: pulseBorder 2s ease-in-out infinite;
}

/* Prose styles for Markdown pages */
.prose {
  color: #e8d8a0;
  max-width: 100%;
  line-height: 1.75;
  font-size: 1rem;
}

.prose h2 {
  color: var(--gold-300);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201,162,39,0.3);
  padding-bottom: 0.4rem;
}

.prose h3 {
  color: var(--gold-200);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1.2rem;
  color: #ddd0a0;
}

.prose a {
  color: var(--gold-300);
  text-decoration: underline;
  text-decoration-color: rgba(201,162,39,0.4);
}

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

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: #ddd0a0;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: #ddd0a0;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  border-left: 4px solid var(--gold-400);
  padding-left: 1rem;
  color: #b8a060;
  font-style: italic;
  margin: 1.5rem 0;
  background: rgba(201,162,39,0.06);
  border-radius: 0 0.4rem 0.4rem 0;
  padding: 0.8rem 1rem;
}

.prose img {
  max-width: 100%;
  border-radius: 0.75rem;
  margin: 1.5rem auto;
  display: block;
  border: 1px solid rgba(201,162,39,0.25);
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5rem;
}

.prose thead th {
  background: rgba(201,162,39,0.15);
  color: var(--gold-300);
  padding: 0.6rem 1rem;
  text-align: left;
  border-bottom: 2px solid rgba(201,162,39,0.4);
  font-weight: 700;
}

.prose tbody td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(201,162,39,0.12);
  color: #ddd0a0;
}

.prose tbody tr:hover {
  background: rgba(201,162,39,0.05);
}

.prose-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--gold-400); border-radius: 3px; }

/* Marquee: hide horizontal scroll / bleed only; do not clip hover on cards */
.featured-games-strip {
  overflow-x: hidden; /* fallback; next line avoids vertical clipping side effect where supported */
  overflow-x: clip;
  overflow-y: visible;
  max-width: 100%;
  /* Space for translateY (-3px) + ~28px shadow blur (cancelled with negative margin) */
  padding: 1.25rem 0;
  margin: -1.25rem 0;
}

/* Featured Games marquee cards: equal width + hover */
.featured-game-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.featured-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 162, 39, 0.4);
  border-color: rgba(201, 162, 39, 0.5) !important;
}

/* FAQ accordion row hover */
details[open] summary,
details summary {
  transition: color 0.2s ease, opacity 0.2s ease;
}
details summary:hover {
  color: #fff8e0 !important;
  opacity: 0.98;
}

.faq-details summary i {
  margin-left: 0.75rem;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.faq-details:hover summary i {
  color: #f0d080 !important;
  transform: scale(1.08);
}

/* Primary gold CTA buttons */
a.btn-gold {
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
a.btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(201, 162, 39, 0.42);
  transform: translateY(-1px);
}
a.btn-gold:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* Outline / secondary CTA (hero) */
a.btn-outline-gold {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease, transform 0.15s ease;
}
a.btn-outline-gold:hover {
  border-color: rgba(201, 162, 39, 0.95) !important;
  background-color: rgba(234, 179, 8, 0.12) !important;
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.2);
  transform: translateY(-1px);
}

/* Content cards: promotions & review blocks */
.card-hover {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card-hover:hover {
  border-color: rgba(201, 162, 39, 0.55) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* FAQ item container */
.faq-details {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-details:hover {
  border-color: rgba(201, 162, 39, 0.45) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

/* Payments table: row highlight */
.payments-table tbody tr {
  transition: background-color 0.15s ease;
}
.payments-table tbody tr:hover {
  background: rgba(201, 162, 39, 0.1) !important;
}

#mobile-menu a {
  transition: color 0.2s ease, background-color 0.2s ease, padding 0.2s ease;
}
#mobile-menu a:hover {
  background-color: rgba(201, 162, 39, 0.08);
}

/* Focus visibility for keyboard users */
a[href]:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}
