/* ============================================================
   NanaCasino – Custom CSS
   Royal Fortune: Deep Emerald + Antique Gold
   ============================================================ */

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

body {
  word-break: break-word;
  overflow-x: hidden;
  background-color: #071e12;
  color: #e5e7eb;
}

/* ── Gold Button ── */
.btn-gold {
  background: linear-gradient(135deg, #c8922a 0%, #e8b84b 50%, #c8922a 100%);
  color: #082a1a;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(200,146,42,0.4);
}
.btn-gold:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(232,184,75,0.55);
}

/* ── Bonus Badge Glow ── */
.bonus-badge {
  animation: badgePulse 3s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(200,146,42,0.3), 0 0 60px rgba(200,146,42,0.1);
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 30px rgba(200,146,42,0.3), 0 0 60px rgba(200,146,42,0.1); }
  50% { box-shadow: 0 0 50px rgba(200,146,42,0.55), 0 0 90px rgba(200,146,42,0.2); }
}

/* ── Step Badge ── */
.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #c8922a, #e8b84b);
  color: #082a1a;
  font-weight: 900;
  font-size: 1.25rem;
  font-family: Georgia, serif;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(200,146,42,0.35);
}

/* ── Provider Tag Cloud ── */
.provider-tag {
  background: rgba(13,74,46,0.6);
  border: 1px solid #c8922a40;
  color: #f5d98e;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}
.provider-tag:hover {
  background: rgba(200,146,42,0.15);
  border-color: #c8922a;
}

/* ── Game Card ── */
.game-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.55);
}

/* ── Promo Card ── */
.promo-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ── Review Block ── */
.review-block {
  transition: border-color 0.3s ease;
}
.review-block:hover {
  border-color: #c8922a;
}

/* ── Hero Parallax ── */
.hero-section {
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
  }
}

/* ── Marquee Animation ── */
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-wrapper {
  overflow: hidden;
  position: relative;
}

/* ── Table Wrapping (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;
}

/* ── Prose Casino Styling ── */
.prose-casino {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 65ch;
}
.prose-casino h1 {
  color: #e8b84b;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.prose-casino h2 {
  color: #c8922a;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200,146,42,0.25);
  padding-bottom: 0.4rem;
}
.prose-casino h3 {
  color: #f5d98e;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-casino p {
  margin-bottom: 1rem;
  color: #d1d5db;
}
.prose-casino a {
  color: #e8b84b;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.prose-casino a:hover {
  color: #f5d98e;
}
.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;
  top: 0.6rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #c8922a;
  border-radius: 9999px;
}
.prose-casino ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose-casino ol li {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}
.prose-casino strong {
  color: #f5d98e;
  font-weight: 700;
}
.prose-casino em {
  color: #e8b84b;
  font-style: italic;
}
.prose-casino blockquote {
  border-left: 4px solid #c8922a;
  padding-left: 1rem;
  color: #9ca3af;
  font-style: italic;
  margin: 1.5rem 0;
}
.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: #d1d5db;
}
.prose-casino thead tr {
  background: #145c38;
  color: #f5d98e;
}
.prose-casino th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}
.prose-casino td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(20,92,56,0.4);
}
.prose-casino tr:hover td {
  background: rgba(17,45,30,0.5);
}
.prose-casino hr {
  border: none;
  border-top: 1px solid rgba(200,146,42,0.2);
  margin: 2rem 0;
}

/* ── FAQ ── */
.faq-answer {
  transition: max-height 0.35s ease, padding 0.35s ease;
}

/* ── Scrollbar Styling ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #071e12;
}
::-webkit-scrollbar-thumb {
  background: #c8922a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e8b84b;
}

/* ── Overflow table wrapper ── */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

/* ── Mobile safety ── */
@media (max-width: 640px) {
  .prose-casino {
    font-size: 0.95rem;
  }
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.25rem !important; }
}

/* ── Gradient text utility ── */
.text-gold-gradient {
  background: linear-gradient(135deg, #c8922a, #e8b84b, #f5d98e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero CTA pulse ── */
.cta-primary {
  animation: ctaPulse 2.5s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(200,146,42,0.4); }
  50% { box-shadow: 0 0 40px rgba(232,184,75,0.7); }
}

/* ── Neon border for review block on hover ── */
.review-block:hover {
  box-shadow: 0 0 25px rgba(200,146,42,0.15);
}
