/* BetWest — black bg, emerald-green CTAs, kiwi wild-west vibe */

:root {
  --accent: #10b981;        /* emerald-500 — CTA green */
  --accent-2: #047857;      /* emerald-700 — gradient pair */
  --leather: #8a4b18;       /* saddle brown */
  --tan: #d4a574;           /* dusty tan */
  --bone: #f5ecd7;          /* parchment */
  --bg: #050505;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.08);
  --text: #f5ecd7;
  --muted: rgba(245,236,215,0.65);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(16,185,129,0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(138,75,24,0.15), transparent 60%);
  background-attachment: fixed;
}

/* ---------- Prose readability ---------- */
.prose, .prose-invert { line-height: 1.7; }
.prose h1, .prose-invert h1 { font-size: 2.25rem; font-weight: 800; margin: 1rem 0 1.25rem; line-height: 1.2; color: var(--bone); }
.prose h2, .prose-invert h2 { font-size: 1.55rem; font-weight: 700; margin: 2rem 0 0.75rem; line-height: 1.3; color: var(--bone); border-left: 3px solid var(--accent); padding-left: 0.75rem; }
.prose h3, .prose-invert h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--tan); }
.prose p, .prose-invert p { margin: 0.85rem 0; }
.prose ul, .prose-invert ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose ol, .prose-invert ol { list-style: decimal; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose li, .prose-invert li { margin: 0.3rem 0; }
.prose a, .prose-invert a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose-invert strong { font-weight: 700; color: var(--bone); }
.prose table, .prose-invert table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.prose th, .prose td, .prose-invert th, .prose-invert td { padding: 0.65rem 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; }
.prose th, .prose-invert th { background: var(--surface); font-weight: 600; color: var(--tan); }
.prose details { background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 0.75rem; padding: 0.75rem 1rem; margin: 0.5rem 0; }
.prose details summary { cursor: pointer; font-weight: 600; color: var(--bone); }

/* ---------- Responsible gambling quiz ---------- */
.rg-quiz {
  background: var(--surface);
  border: 1px solid rgba(16,185,129,0.20);
  border-radius: 1.5rem;
  padding: 1.5rem;
}
.rg-quiz fieldset { border: 0; padding: 0; }
.rg-quiz label { cursor: pointer; }

/* ---------- Animations: parallax + shimmer ---------- */

/* parallax — fixed background on chosen panels */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* shimmer — sweeping light pass for accent text + CTAs */
@keyframes shimmer-text {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-text {
  background: linear-gradient(110deg, var(--accent) 0%, #d1fae5 45%, #ffffff 50%, #d1fae5 55%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-text 4s linear infinite;
}
@keyframes shimmer-sweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}
.shimmer-cta { position: relative; overflow: hidden; isolation: isolate; }
.shimmer-cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  animation: shimmer-sweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Slot / Live cards ---------- */
.slot-card, .live-card {
  position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 1;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  border: 1px solid rgba(245,236,215,0.07);
  display: block;
}
.slot-card img, .live-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.slot-card:hover img, .live-card:hover img { transform: scale(1.06); }
.slot-card .meta, .live-card .meta {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 0.75rem; color: var(--bone);
}
.slot-card .meta h3, .live-card .meta h3 { font-size: 0.95rem; font-weight: 600; margin: 0; line-height: 1.2; }
.slot-card .meta p, .live-card .meta p { font-size: 0.75rem; opacity: 0.7; margin: 0.15rem 0 0; }
.slot-card .badge {
  position: absolute; top: 0.55rem; left: 0.55rem;
  background: var(--accent); color: #052e1f; font-size: 0.65rem; font-weight: 800;
  padding: 0.2rem 0.55rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}

/* ---------- Big winner overlay ---------- */
.big-winner { position: relative; }
.big-winner__overlay {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
  padding: 0.85rem 1.1rem; border-radius: 1rem;
  font-size: 0.95rem; color: var(--bone);
  border: 1px solid rgba(16,185,129,0.25);
}

/* ---------- Wild-west flourishes ---------- */
.rope-divider {
  height: 6px;
  background-image: repeating-linear-gradient(45deg, var(--leather) 0 8px, var(--tan) 8px 16px);
  border-radius: 999px; opacity: 0.5;
}
.brand-stamp {
  display: inline-block; padding: 0.25rem 0.75rem;
  border: 2px solid var(--accent); border-radius: 999px;
  color: var(--accent); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
}

/* ---------- CTA card ---------- */
.cta-card {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #052e1f;
  box-shadow: 0 25px 50px -20px rgba(16,185,129,0.4);
}
.cta-card h2, .cta-card h3 { color: #052e1f; }
.cta-card a.btn {
  display: inline-block; background: #052e1f; color: var(--bone);
  font-weight: 700; padding: 0.75rem 2rem; border-radius: 999px;
}

/* ---------- Quick nav pills ---------- */
.quick-nav a {
  display: inline-block; padding: 0.4rem 0.9rem; margin: 0.2rem;
  border: 1px solid rgba(245,236,215,0.15); border-radius: 999px;
  font-size: 0.85rem; color: var(--bone); transition: all 0.2s;
}
.quick-nav a:hover { border-color: var(--accent); background: rgba(16,185,129,0.1); }

/* ---------- Tabs ---------- */
.tab-btn { padding: 0.5rem 1.25rem; border-radius: 999px; font-weight: 600; }
.tab-btn[aria-selected="true"] { background: var(--accent); color: #052e1f; }
.tab-btn[aria-selected="false"] { background: var(--surface); color: var(--bone); }
