/* -----------------------------------------------------------------
 * Pawnbet — custom CSS. Tailwind CDN handles utilities.
 * Animations chosen for this build: marquee + shimmer.
 * Palette: deep blue background, orange CTA.
 * ----------------------------------------------------------------- */

:root {
  --accent: #f97316;        /* orange CTA */
  --accent-2: #fb923c;      /* gradient pair */
  --bg: #0a1736;            /* deep blue page background */
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.08);
  --text: #f1f5f9;
  --muted: rgba(241,245,249,0.65);
}

/* ----- 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; }
.prose h2, .prose-invert h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; line-height: 1.3; color: #fdba74; }
.prose h3, .prose-invert h3 { font-size: 1.2rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.prose p, .prose-invert p { margin: 0.75rem 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.25rem 0; }
.prose a, .prose-invert a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose-invert strong { font-weight: 700; }
.prose table, .prose-invert table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.prose th, .prose td, .prose-invert th, .prose-invert td { padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: left; }
.prose th, .prose-invert th { background: var(--surface); font-weight: 600; }
.prose details, .prose-invert 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 summary, .prose-invert summary { cursor: pointer; font-weight: 600; }
.prose .cta-card a, .prose-invert .cta-card a { color: #fff; text-decoration: none; }

html { scroll-behavior: smooth; }

/* ----- Header navigation 3D buttons ----- */
.nav-3d-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(251, 146, 60, 0.75);
  background: linear-gradient(180deg, #ffb26b 0%, #f97316 58%, #d95f0a 100%);
  color: #fff7ed;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 3px 0 #9a3e06,
    0 8px 14px rgba(4, 10, 24, 0.35);
  transform: translateY(0);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.nav-3d-link:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 4px 0 #9a3e06,
    0 10px 18px rgba(4, 10, 24, 0.4);
}

.nav-3d-link:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 0 #9a3e06,
    0 4px 8px rgba(4, 10, 24, 0.32);
}

.nav-3d-link--mobile {
  width: 100%;
}

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

/* =================================================================
 * ANIMATIONS — marquee + shimmer
 * ================================================================= */

/* marquee — odds / latest bets ticker */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

/* shimmer — sweeping light across the orange CTA accent text */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(110deg, var(--accent) 0%, #ffe7d1 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Slot / game card aspect ratio + hover glow ----- */
.slot-card { position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 1; display: block; background: var(--surface); }
.slot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.slot-card:hover img { transform: scale(1.05); }
.slot-card .badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: var(--accent); color: #fff; font-size: 0.65rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 999px; z-index: 2;
}
.slot-card .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(8,18,41,0.95));
  padding: 1.5rem 0.6rem 0.6rem;
}

/* ----- "Recent big winner" overlay ----- */
.big-winner { position: relative; }
.big-winner__overlay {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(8,18,41,0.7); backdrop-filter: blur(8px);
  padding: 0.75rem 1rem; border-radius: 1rem;
  font-size: 0.95rem;
}

/* ----- Odds buttons (sportsbook) ----- */
.odds-btn {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(249,115,22,0.25);
  border-radius: 0.6rem; padding: 0.5rem 0.25rem; transition: all 0.2s ease; min-width: 0;
}
.odds-btn:hover { background: rgba(249,115,22,0.18); border-color: var(--accent); }
.odds-btn .label { font-size: 0.65rem; opacity: 0.7; }
.odds-btn .val { font-weight: 700; color: #fdba74; }
