/* ============================================
   Gambleton Casino – Custom CSS
   Deep Emerald & Antique Gold Theme
   ============================================ */

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

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #071a0f;
  color: #e8f5ee;
}

/* ============ TYPOGRAPHY ============ */

.font-display {
  font-family: Georgia, 'Times New Roman', serif;
}

/* ============ ANIMATIONS ============ */

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.6); }
}

@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}

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

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

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

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

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

.sparkle-delay {
  animation: sparkle 3s ease-in-out infinite 1.5s;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* ============ PARALLAX HERO ============ */

.hero-bg {
  will-change: transform;
  transform: translateZ(0);
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(7,26,15,0.4) 0%,
    rgba(26,92,58,0.2) 50%,
    rgba(201,168,76,0.1) 100%
  );
}

/* ============ BONUS BADGE ============ */

.bonus-badge {
  background: linear-gradient(
    135deg,
    rgba(12,41,24,0.95) 0%,
    rgba(26,92,58,0.8) 100%
  );
  border: 2px solid #c9a84c;
  box-shadow:
    0 0 30px rgba(201,168,76,0.3),
    inset 0 1px 0 rgba(201,168,76,0.2);
  animation: gold-pulse 3s ease-in-out infinite;
}

/* ============ CTA BUTTON ============ */

.cta-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: rgba(255,255,255,0.15);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.cta-btn:hover::after {
  left: 125%;
}

.shadow-gold {
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}

.shadow-gold:hover {
  box-shadow: 0 6px 30px rgba(201,168,76,0.6);
  transform: translateY(-2px);
}

/* ============ STEP CARDS ============ */

.step-card {
  background: linear-gradient(
    135deg,
    rgba(12,41,24,0.9) 0%,
    rgba(7,26,15,0.95) 100%
  );
  border: 1px solid rgba(26,92,58,0.6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 8px 32px rgba(201,168,76,0.15);
  transform: translateY(-4px);
}

.step-card:hover::before {
  opacity: 1;
}

.step-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #c9a84c, #a8832a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #071a0f;
  box-shadow: 0 4px 12px rgba(201,168,76,0.5);
}

/* ============ PROMO CARDS ============ */

.promo-card {
  background: linear-gradient(
    135deg,
    rgba(12,41,24,0.9) 0%,
    rgba(7,26,15,0.95) 100%
  );
  border: 1px solid rgba(26,92,58,0.6);
  transition: all 0.3s ease;
}

.promo-card:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 8px 32px rgba(201,168,76,0.15);
  transform: translateY(-4px);
}

.promo-featured {
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 0 20px rgba(201,168,76,0.1);
}

/* ============ GAME CARDS ============ */

.game-card {
  background: #0c2918;
  border: 1px solid rgba(26,92,58,0.6);
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 8px 24px rgba(201,168,76,0.2);
}

/* ============ REVIEW BLOCKS ============ */

.review-block {
  background: linear-gradient(
    135deg,
    rgba(7,26,15,0.95) 0%,
    rgba(12,41,24,0.9) 100%
  );
  border: 1px solid rgba(26,92,58,0.6);
  transition: border-color 0.3s ease;
}

.review-block:hover {
  border-color: rgba(201,168,76,0.3);
}

/* ============ PROVIDER WORD CLOUD ============ */

.provider-cloud {
  line-height: 2;
}

.provider-tag {
  color: #7eb89a;
  font-weight: 500;
  transition: color 0.2s ease;
  cursor: default;
  padding: 2px 4px;
  border-radius: 4px;
}

.provider-tag:hover {
  color: #c9a84c;
  background: rgba(201,168,76,0.1);
}

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

.faq-item {
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(201,168,76,0.3);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* ============ MARQUEE ============ */

.marquee-track {
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  display: inline-flex;
  min-width: 200%;
}

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

/* ============ NAV LINK ============ */

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #c9a84c;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* ============ PROSE (Content Pages) ============ */

.prose-casino {
  color: #e8f5ee;
  max-width: none;
  line-height: 1.75;
}

.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.75em;
  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 {
  color: #7eb89a;
  margin-bottom: 1.25em;
}

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

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

.prose-casino ul,
.prose-casino ol {
  color: #7eb89a;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.prose-casino ul li { list-style-type: disc; }
.prose-casino ol li { list-style-type: decimal; }

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

.prose-casino blockquote {
  border-left: 4px solid #c9a84c;
  padding-left: 1em;
  color: #7eb89a;
  font-style: italic;
  background: rgba(201,168,76,0.05);
  border-radius: 0 8px 8px 0;
  padding: 1em 1.5em;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.prose-casino th {
  background: rgba(26,92,58,0.4);
  color: #c9a84c;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid rgba(201,168,76,0.3);
}

.prose-casino td {
  padding: 0.75rem 1rem;
  color: #7eb89a;
  border-bottom: 1px solid rgba(26,92,58,0.4);
}

.prose-casino tr:hover td {
  background: rgba(26,92,58,0.2);
}

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

.prose-casino code {
  background: rgba(26,92,58,0.4);
  color: #c9a84c;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
}

.prose-casino hr {
  border-color: rgba(26,92,58,0.5);
  margin: 2em 0;
}

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

/* ============ GEOMETRIC PATTERN BG ============ */

.geo-pattern {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(201,168,76,0.08) 1px, transparent 0);
  background-size: 32px 32px;
}

/* ============ SCROLLBAR ============ */

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

::-webkit-scrollbar-track {
  background: #071a0f;
}

::-webkit-scrollbar-thumb {
  background: #1a5c3a;
  border-radius: 3px;
}

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

/* ============ RESPONSIVE UTILITIES ============ */

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

@media (max-width: 640px) {
  .bonus-badge {
    padding: 1.25rem 1rem;
  }
}
