/* Betwest — wild west saloon vibe, dark woody bg, green CTAs */

:root {
  --accent: #22c55e;          /* CTA green */
  --accent-2: #15803d;         /* darker green for gradients */
  --accent-glow: rgba(34,197,94,0.35);
  --bg: #1a0e07;               /* deep wood */
  --bg-2: #2a1810;             /* lighter wood */
  --plank: #3b2418;            /* plank tone */
  --gold: #d4a24a;             /* saloon brass */
  --cream: #f5e8c7;            /* parchment */
  --surface: rgba(245,232,199,0.05);
  --surface-2: rgba(245,232,199,0.09);
  --text: #f5e8c7;
  --muted: rgba(245,232,199,0.7);
  --rope: #8b5a2b;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.18) 0px,
      rgba(0,0,0,0.18) 1px,
      transparent 1px,
      transparent 9px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.12) 0px,
      rgba(0,0,0,0.12) 2px,
      transparent 2px,
      transparent 64px
    ),
    radial-gradient(ellipse at 20% 0%, #3b2418 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, #2a1810 0%, transparent 60%),
    linear-gradient(180deg, #1a0e07 0%, #120a04 100%);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
}

/* Wood panel surface */
.wood-panel {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 7px),
    linear-gradient(180deg, #3b2418, #2a1810);
  border: 1px solid #4a2e1c;
  box-shadow: inset 0 1px 0 rgba(245,232,199,0.05), 0 4px 14px rgba(0,0,0,0.4);
}

/* Saloon plaque heading */
.saloon-plaque {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 1px, transparent 1px, transparent 8px),
    linear-gradient(180deg, #4a2e1c, #2a1810);
  border: 2px solid var(--gold);
  border-radius: 1rem;
  position: relative;
}
.saloon-plaque::before, .saloon-plaque::after {
  content: '★';
  color: var(--gold);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}
.saloon-plaque::before { left: 0.75rem; }
.saloon-plaque::after  { right: 0.75rem; }

/* Wanted poster */
.wanted-poster {
  background:
    radial-gradient(ellipse at center, #e8d5a0 0%, #c9a96b 100%);
  color: #2a1810;
  border: 3px solid #6b3a14;
  font-family: Georgia, serif;
}

/* CTA — green sheriff's badge style */
.btn-cta {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #0a1f0d;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #166534;
  border-radius: 9999px;
  padding: 0.85rem 1.6rem;
  box-shadow: 0 4px 0 #14532d, 0 8px 18px var(--accent-glow);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  display: inline-block;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #14532d, 0 10px 22px var(--accent-glow); }
.btn-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 #14532d, 0 4px 8px var(--accent-glow); }

.btn-ghost {
  display: inline-block;
  color: var(--cream);
  border: 1px solid var(--gold);
  background: rgba(212,162,74,0.08);
  border-radius: 9999px;
  padding: 0.7rem 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.btn-ghost:hover { background: rgba(212,162,74,0.16); }

/* Heading display font feel */
.display {
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 #000, 0 4px 14px rgba(0,0,0,0.6);
}
.gold-text { color: var(--gold); }
.cream-text { color: var(--cream); }

/* Rope divider */
.rope-divider {
  height: 8px;
  background-image: repeating-linear-gradient(45deg, var(--rope) 0 6px, #6b3a14 6px 12px);
  border-top: 1px solid #2a1810;
  border-bottom: 1px solid #2a1810;
}

/* ------------------- Prose ------------------- */
.prose {
  line-height: 1.75;
  color: var(--cream);
}
.prose h1 { font-size: 2.4rem; font-weight: 800; margin: 1rem 0 1.5rem; line-height: 1.15; color: var(--gold); text-shadow: 0 2px 0 #000; }
.prose h2 { font-size: 1.6rem; font-weight: 700; margin: 2.25rem 0 0.85rem; color: var(--gold); border-bottom: 1px dashed rgba(212,162,74,0.4); padding-bottom: 0.35rem; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--cream); }
.prose p  { margin: 0.85rem 0; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin: 0.85rem 0; }
.prose ol { list-style: decimal; padding-left: 1.4rem; margin: 0.85rem 0; }
.prose li { margin: 0.3rem 0; }
.prose a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #4ade80; }
.prose strong { color: #fff; font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.95rem; background: var(--surface); border: 1px solid rgba(212,162,74,0.25); border-radius: 0.5rem; overflow: hidden; }
.prose th, .prose td { padding: 0.7rem 0.85rem; border-bottom: 1px solid rgba(245,232,199,0.08); text-align: left; }
.prose th { background: rgba(212,162,74,0.12); color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8rem; }
.prose tr:last-child td { border-bottom: 0; }
.prose details {
  background: var(--surface);
  border: 1px solid rgba(212,162,74,0.25);
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  margin: 0.6rem 0;
}
.prose summary { cursor: pointer; font-weight: 700; color: var(--gold); }
.prose dl { margin: 1rem 0; }
.prose dt { font-weight: 700; color: var(--gold); margin-top: 0.6rem; }
.prose dd { margin-left: 1rem; color: var(--muted); }

/* ----------- RG quiz ----------- */
.rg-quiz {
  background: var(--surface-2);
  border: 1px solid rgba(212,162,74,0.3);
  border-radius: 1.25rem;
  padding: 1.5rem;
}
.rg-quiz fieldset { border: 0; padding: 0; }
.rg-quiz label { cursor: pointer; color: var(--cream); }

/* ============ ANIMATIONS (parallax + shimmer) ============ */

/* 1. parallax */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
@media (max-width: 768px) {
  .parallax-bg { background-attachment: scroll; }
}

/* 2. shimmer — gold sheen across saloon plaques */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-text {
  background: linear-gradient(110deg, var(--gold) 20%, #fff8d6 50%, var(--gold) 80%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shimmer-bar {
  position: relative;
  overflow: hidden;
}
.shimmer-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 3.5s linear infinite;
  pointer-events: none;
}

/* ------- Slot cards ------- */
.slot-card {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(212,162,74,0.3);
  background: var(--surface);
  display: block;
}
.slot-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.slot-card:hover img { transform: scale(1.06); }
.slot-card .meta {
  position: absolute; inset: auto 0 0 0;
  padding: 0.6rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: #fff;
}
.slot-card h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.15; }
.slot-card p  { font-size: 0.7rem; opacity: 0.8; }
.slot-card .badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: var(--accent); color: #0a1f0d;
  font-size: 0.65rem; font-weight: 800;
  padding: 0.15rem 0.55rem; border-radius: 9999px;
  text-transform: uppercase;
}
.slot-card .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  background:
    repeating-linear-gradient(45deg, #3b2418 0 8px, #2a1810 8px 16px);
  color: var(--gold);
}

/* ------- Big winner ------- */
.big-winner { position: relative; border-radius: 1rem; overflow: hidden; border: 2px solid var(--gold); }
.big-winner__overlay {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(26,14,7,0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold);
  padding: 0.9rem 1.1rem;
  border-radius: 0.85rem;
  color: var(--cream);
  font-size: 0.95rem;
}
.big-winner__placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 30% 40%, rgba(212,162,74,0.35), transparent 55%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.2) 0 2px, transparent 2px 12px),
    linear-gradient(180deg, #3b2418, #1a0e07);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}

/* ------- Latest bets ------- */
.bets-table { font-size: 0.85rem; }
.bets-table th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); padding: 0.4rem 0.5rem; text-align: left; }
.bets-table td { padding: 0.5rem; border-top: 1px solid rgba(212,232,199,0.06); }
.bets-table tr { transition: background 0.3s ease; }
.bets-table tr:hover { background: rgba(212,162,74,0.06); }

/* ------- Tabs (deposit/withdraw) ------- */
.pm-tab-btn {
  padding: 0.55rem 1.2rem; border-radius: 9999px;
  border: 1px solid rgba(212,162,74,0.4);
  color: var(--cream);
  font-weight: 600;
  background: transparent;
  cursor: pointer;
}
.pm-tab-btn.active {
  background: var(--accent);
  color: #0a1f0d;
  border-color: var(--accent);
}

/* ------- Comparison ------- */
.compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px dashed rgba(212,162,74,0.25); }
.compare-row strong { color: var(--gold); }
.compare-row .yes { color: var(--accent); font-weight: 700; }
.compare-row .no  { color: #b45c5c; font-weight: 700; }

/* ------- Logo placeholder (cowboy hat) ------- */
.logo-placeholder {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: Georgia, serif; font-weight: 900;
  color: var(--gold); font-size: 1.4rem;
  letter-spacing: 0.05em;
}
.logo-placeholder::before { content: '🤠'; font-size: 1.6rem; }

/* ------- Provider pills ------- */
.provider-pill {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(212,162,74,0.4);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: var(--cream);
  background: rgba(245,232,199,0.04);
}

/* ------- Feature cards ------- */
.feature-card {
  background: var(--surface);
  border: 1px solid rgba(212,162,74,0.25);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}
.feature-card .emoji { font-size: 2.2rem; display: block; margin-bottom: 0.5rem; }
.feature-card h3 { color: var(--gold); font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { color: var(--muted); font-size: 0.92rem; }

/* ------- Bento ------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.bento article {
  background: var(--surface);
  border: 1px solid rgba(212,162,74,0.22);
  border-radius: 1rem;
  padding: 1.25rem;
}
.bento article h3 { color: var(--gold); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.55rem; }
.bento article p  { color: var(--muted); font-size: 0.95rem; }
.bento-1 { grid-column: span 6; }
.bento-2 { grid-column: span 4; }
.bento-3 { grid-column: span 2; }
.bento-4 { grid-column: span 3; }
.bento-5 { grid-column: span 3; }
.bento-6 { grid-column: span 2; }
.bento-7 { grid-column: span 4; }
@media (max-width: 768px) {
  .bento { grid-template-columns: 1fr; }
  .bento article { grid-column: span 1 !important; }
}

/* ------- Trust badge inline ------- */
.trust-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 800; font-size: 0.85rem;
}

/* ------- CTA card on inner pages ------- */
.cta-card {
  background:
    radial-gradient(circle at 50% 30%, rgba(34,197,94,0.25), transparent 60%),
    linear-gradient(180deg, #2a1810, #1a0e07);
  border: 2px solid var(--accent);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
}
.cta-card h2 { color: var(--gold); font-size: 1.8rem; font-weight: 800; margin-bottom: 0.5rem; }
.cta-card p { color: var(--cream); margin-bottom: 1.2rem; }

/* ------- Star rating ------- */
.stars { color: var(--gold); letter-spacing: 0.1em; }

/* ------- Review card ------- */
.review-card {
  background: var(--surface);
  border: 1px solid rgba(212,162,74,0.25);
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
}
.review-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.9rem; }
.review-card footer { margin-top: 0.6rem; font-size: 0.75rem; color: var(--muted); }

/* ------- Timeline ------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0.75rem; top: 0; bottom: 0; width: 2px; background: var(--gold); }
.timeline li { position: relative; padding-bottom: 1rem; list-style: none; }
.timeline li::before { content: '★'; position: absolute; left: -1.7rem; top: 0; color: var(--gold); background: var(--bg); padding: 0 0.2rem; }
