/* =============================================================
   Daler Casino – Custom CSS
   Theme: Deep Sapphire + Antique Gold + Velvet Backdrop
   ============================================================= */

/* ---- Google Font fallback + Base ---- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Georgia, serif;
  background-color: #0d0518;
  color: #f5f0e8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- CSS Custom Properties ---- */
:root {
  --sapphire: #0f2a5e;
  --sapphire-light: #1a3d8a;
  --sapphire-dark: #091a3d;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dark: #9a7a2e;
  --velvet: #1a0a2e;
  --velvet-dark: #0d0518;
  --cream: #f5f0e8;
  --max-w: 1440px;
}

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

/* =============================================================
   HERO SECTION
   ============================================================= */
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax effect */
  min-height: 100vh;
}

.hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(9, 26, 61, 0.88) 0%,
    rgba(13, 5, 24, 0.80) 50%,
    rgba(9, 26, 61, 0.92) 100%
  );
}

.sapphire-pattern {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(26, 61, 138, 0.15) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(201, 168, 76, 0.03) 30px,
      rgba(201, 168, 76, 0.03) 31px
    );
}

.hero-title {
  font-family: 'Cinzel', Georgia, serif;
  text-shadow: 0 2px 20px rgba(9, 26, 61, 0.8);
  animation: fadeInDown 0.9s ease both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Bonus Badge ---- */
.bonus-badge {
  background: linear-gradient(135deg, rgba(15, 42, 94, 0.9) 0%, rgba(13, 5, 24, 0.9) 100%);
  border: 2px solid var(--gold);
  border-radius: 1.25rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.25), inset 0 1px 0 rgba(201, 168, 76, 0.2);
  animation: pulseGlow 3s ease-in-out infinite;
  max-width: 520px;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.25), inset 0 1px 0 rgba(201, 168, 76, 0.2); }
  50%       { box-shadow: 0 0 60px rgba(201, 168, 76, 0.45), inset 0 1px 0 rgba(201, 168, 76, 0.3); }
}

/* =============================================================
   CTA BUTTONS
   ============================================================= */
.cta-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--sapphire-dark) !important;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.cta-btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.cta-btn-primary:active {
  transform: translateY(0);
}

.cta-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--cream) !important;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
}

.cta-btn-secondary:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
}

.shadow-gold-glow {
  box-shadow: 0 4px 30px rgba(201, 168, 76, 0.35);
}

/* =============================================================
   PAYMENT TABLE
   ============================================================= */
table {
  border-collapse: collapse;
  width: 100%;
}

thead th {
  font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.05em;
}

tbody tr:nth-child(even) {
  background-color: rgba(15, 42, 94, 0.2);
}

/* =============================================================
   PROMO CARDS
   ============================================================= */
.promo-card {
  background: linear-gradient(160deg, rgba(15, 42, 94, 0.5) 0%, rgba(26, 10, 46, 0.7) 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

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

/* =============================================================
   STEP CARDS
   ============================================================= */
.step-card {
  background: linear-gradient(160deg, rgba(15, 42, 94, 0.4) 0%, rgba(26, 10, 46, 0.6) 100%);
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.12);
}

.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--sapphire-dark);
  font-weight: 700;
  font-size: 1.25rem;
  font-family: 'Cinzel', Georgia, serif;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

/* =============================================================
   REVIEW BLOCKS
   ============================================================= */
.review-block {
  background: linear-gradient(160deg, rgba(15, 42, 94, 0.4) 0%, rgba(13, 5, 24, 0.6) 100%);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

/* =============================================================
   PROVIDER WORD CLOUD
   ============================================================= */
.provider-tag {
  display: inline-block;
  background: rgba(15, 42, 94, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--cream);
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
}

.provider-tag:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}

.provider-tag--lg {
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  font-weight: 600;
  color: var(--gold-light);
}

.provider-tag--sm {
  font-size: 0.65rem;
  opacity: 0.75;
}

/* =============================================================
   GAME CARDS
   ============================================================= */
.game-card {
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: var(--sapphire-dark);
}

.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.2);
  border-color: var(--gold);
}

.game-img-overlay {
  background: rgba(9, 26, 61, 0.7);
}

.game-img-wrap img {
  transition: transform 0.4s;
}

.game-card:hover .game-img-wrap img {
  transform: scale(1.05);
}

/* =============================================================
   MARQUEE ANIMATION
   ============================================================= */
.marquee-wrap {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  flex-shrink: 0;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(201, 168, 76, 0.15);
}

.marquee-track span:last-child {
  border-right: none;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

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

/* =============================================================
   FAQ ACCORDION
   ============================================================= */
.faq-item {
  background: linear-gradient(160deg, rgba(15, 42, 94, 0.35) 0%, rgba(26, 10, 46, 0.5) 100%);
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: border-color 0.2s;
}

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

.faq-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-btn:hover span {
  color: var(--gold-light);
}

.faq-btn[aria-expanded="true"] {
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.faq-answer {
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   AGE BADGE
   ============================================================= */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--gold-dark);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: 'Cinzel', Georgia, serif;
}

/* =============================================================
   STICKY HEADER
   ============================================================= */
#site-header {
  transition: background 0.3s, box-shadow 0.3s;
}

/* =============================================================
   PARALLAX ENHANCEMENT (JS-free via CSS)
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero-section {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll; /* mobile fix */
  }
}

/* =============================================================
   PROSE STYLES (for .Content in single.html)
   ============================================================= */
.prose {
  color: rgba(245, 240, 232, 0.85);
  max-width: 72ch;
  font-size: 1rem;
  line-height: 1.8;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  font-family: 'Cinzel', Georgia, serif;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.3rem; }
.prose h4 { font-size: 1.1rem; }

.prose p {
  margin-bottom: 1.25em;
}

.prose a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.prose ul, .prose ol {
  margin: 1em 0 1.25em 1.5em;
}

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

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

.prose strong {
  color: var(--cream);
  font-weight: 600;
}

.prose em {
  font-style: italic;
  color: rgba(245, 240, 232, 0.7);
}

.prose blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1em;
  color: rgba(245, 240, 232, 0.6);
  font-style: italic;
  margin: 1.5em 0;
}

.prose code {
  background: rgba(15, 42, 94, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--gold-light);
}

.prose pre {
  background: rgba(9, 26, 61, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 1em 1.5em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9em;
}

.prose thead th {
  background: var(--sapphire);
  color: var(--gold);
  padding: 0.6em 1em;
  text-align: left;
  font-family: 'Cinzel', Georgia, serif;
}

.prose tbody tr {
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.prose tbody tr:hover {
  background: rgba(15, 42, 94, 0.25);
}

.prose tbody td {
  padding: 0.6em 1em;
  color: rgba(245, 240, 232, 0.8);
}

.prose hr {
  border: none;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  margin: 2em 0;
}

.prose img {
  border-radius: 0.5rem;
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

/* prose-invert already set via body background, these reinforce */
.prose-invert {
  color: rgba(245, 240, 232, 0.85);
}

.prose-gold h1,
.prose-gold h2,
.prose-gold h3,
.prose-gold h4 {
  color: var(--gold);
}

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

  .step-badge {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .marquee-track {
    animation-duration: 20s;
  }
}

/* =============================================================
   SHIMMER ANIMATION (decorative)
   ============================================================= */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

/* =============================================================
   FOCUS RING (accessibility)
   ============================================================= */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* =============================================================
   SECTION DIVIDERS
   ============================================================= */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* =============================================================
   CARD HOVER SHINE EFFECT
   ============================================================= */
.promo-card::after,
.step-card::after,
.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.promo-card,
.step-card,
.game-card {
  position: relative;
}

/* =============================================================
   PRINT RESET
   ============================================================= */
@media print {
  .hero-section { background-attachment: scroll !important; }
  .marquee-track { animation: none !important; }
}