/* ============================================================
   JossCasino – Custom CSS
   Theme: Emerald, Antique Gold, Platinum
============================================================ */

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

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #040f0a;
  color: #e5e4e2;
}

/* ---- Gold Text Gradient ---- */
.gold-text-gradient {
  background: linear-gradient(135deg, #b8972e 0%, #d4af37 40%, #f0d060 60%, #b8972e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn-gold {
  background: linear-gradient(135deg, #b8972e 0%, #d4af37 40%, #f0d060 60%, #b8972e 100%);
  color: #040f0a;
  font-weight: 700;
  transition: filter 0.2s, transform 0.15s;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-gold:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.btn-outline:hover {
  background: #d4af37;
  color: #040f0a;
  transform: translateY(-1px);
}

/* ---- Hero ---- */
.hero-bg {
  background-color: #022c22;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(4, 15, 10, 0.55) 0%,
    rgba(4, 15, 10, 0.80) 60%,
    rgba(4, 15, 10, 0.97) 100%
  );
}

/* ---- Bonus Badge ---- */
.bonus-badge {
  background: linear-gradient(135deg, #071a10 0%, #0a2e18 50%, #071a10 100%);
  border: 2px solid #d4af37;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.05);
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Step Cards ---- */
.step-card {
  background: linear-gradient(135deg, #071a10 0%, #0a2918 100%);
  border: 1px solid #1a3a24;
  transition: border-color 0.3s, transform 0.3s;
}

.step-card:hover {
  border-color: #d4af37;
  transform: translateY(-4px);
}

.step-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b8972e, #d4af37, #f0d060);
  color: #040f0a;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
}

/* ---- Promo Cards ---- */
.promo-card {
  background: linear-gradient(160deg, #071a10 0%, #040f0a 100%);
  border: 1px solid #1a3a24;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  border-color: #d4af37;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.promo-card-top {
  border-bottom: 1px solid #1a3a24;
}

/* ---- Game Cards ---- */
.game-card {
  border: 1px solid #1a3a24;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.game-card:hover {
  border-color: #d4af37;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}

.game-card-overlay {
  background: linear-gradient(to top, rgba(4,15,10,0.92) 0%, rgba(4,15,10,0.3) 60%, transparent 100%);
}

/* ---- Review Blocks ---- */
.review-block {
  background: linear-gradient(160deg, #071a10 0%, #040f0a 100%);
  border: 1px solid #1a3a24;
  transition: border-color 0.3s;
}

.review-block:hover {
  border-color: #d4af37;
}

/* ---- Provider Cloud ---- */
.provider-tag {
  background: #071a10;
  border: 1px solid #1a3a24;
  color: #d4af37;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.provider-tag:hover {
  background: #0a2918;
  border-color: #d4af37;
}

/* ---- FAQ ---- */
.faq-item {
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

.faq-icon {
  font-size: 8px;
  transition: transform 0.3s;
}

/* ---- Table Scroll ---- */
.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;
}

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

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

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

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

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

/* ---- Glow pulse animation ---- */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
  50%       { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

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

/* ---- Shine sweep ---- */
@keyframes shine {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.btn-gold {
  background-size: 200% auto;
  animation: shine 4s linear infinite;
}

/* ---- Prose Styling ---- */
.prose-casino h2 {
  color: #d4af37;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-casino h3 {
  color: #f0d060;
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-casino p {
  color: #a8a9ad;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.925rem;
}

.prose-casino ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: #a8a9ad;
  font-size: 0.925rem;
  margin-bottom: 1rem;
}

.prose-casino li {
  margin-bottom: 0.35rem;
  line-height: 1.7;
}

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

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

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}

.prose-casino th {
  background: #071a10;
  color: #d4af37;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid #1a3a24;
  font-weight: 700;
}

.prose-casino td {
  padding: 9px 14px;
  border-bottom: 1px solid #1a3a24;
  color: #a8a9ad;
}

.prose-casino tr:hover td {
  background: #071a10;
}

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

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

/* ---- Nav Link Active ---- */
.nav-link.active {
  color: #d4af37;
}

/* ---- Scrollbar Styling ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #040f0a;
}
::-webkit-scrollbar-thumb {
  background: #1a3a24;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8972e;
}

/* ---- Responsive Table ---- */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- Mobile Utility ---- */
@media (max-width: 640px) {
  .bonus-badge {
    padding: 1.5rem 1.25rem;
  }

  .step-badge {
    top: -16px;
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
  }
}
