/* Ektobet — classic sportsbook-first blue palette */

:root {
  --bg: #06224a;
  --bg-2: #0b3d91;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.10);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f7c948;        /* bookmaker gold */
  --accent-2: #ffd966;
  --positive: #16a34a;
  --negative: #dc2626;
  --text: #f8fafc;
  --muted: rgba(248, 250, 252, 0.7);
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1200px 600px at 10% -10%, #1d4ed8 0%, transparent 60%),
    radial-gradient(900px 500px at 90% 0%, #0b3d91 0%, transparent 55%),
    linear-gradient(180deg, #06224a 0%, #04183a 100%);
  background-attachment: fixed;
  color: var(--text);
}

/* ----- Prose ----- */
.prose { line-height: 1.75; color: var(--text); }
.prose h1 { font-size: 2.25rem; font-weight: 800; margin: 0 0 1rem; line-height: 1.2; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; line-height: 1.3; color: #fff; }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--accent); }
.prose p { margin: 0.75rem 0; color: var(--text); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin: 0.75rem 0; }
.prose li { margin: 0.3rem 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; color: #fff; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; background: var(--surface); border-radius: 0.75rem; overflow: hidden; }
.prose th, .prose td { padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: rgba(247, 201, 72, 0.12); color: var(--accent); font-weight: 600; }
.prose details { background: var(--surface); border: 1px solid var(--line); border-radius: 0.75rem; padding: 0.75rem 1rem; margin: 0.5rem 0; }
.prose details summary { cursor: pointer; font-weight: 600; color: #fff; }
.prose dl { margin: 1rem 0; }
.prose dt { font-weight: 700; color: var(--accent); margin-top: 0.5rem; }
.prose dd { margin-left: 1rem; opacity: 0.9; }

/* ----- RG quiz ----- */
.rg-quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.5rem; }
.rg-quiz fieldset { border: 0; padding: 0; }
.rg-quiz label { cursor: pointer; }

/* ----- Slot / live cards ----- */
.slot-card { position: relative; border-radius: 0.85rem; overflow: hidden; aspect-ratio: 1; background: #0b3d91; border: 1px solid var(--line); }
.slot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.slot-card:hover img { transform: scale(1.06); }
.slot-card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6rem 0.7rem; background: linear-gradient(180deg, transparent, rgba(4, 24, 58, 0.92)); }
.slot-card .meta h3 { font-size: 0.88rem; font-weight: 700; color: #fff; margin: 0; }
.slot-card .meta p { font-size: 0.72rem; color: var(--muted); margin: 0; }
.slot-card .badge { position: absolute; top: 0.5rem; left: 0.5rem; background: var(--accent); color: #04183a; font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; letter-spacing: 0.02em; }

/* ----- Big winner overlay ----- */
.big-winner { position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); }
.big-winner__overlay { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(4, 24, 58, 0.78); backdrop-filter: blur(8px); padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.95rem; border: 1px solid var(--line); }

/* ----- Odds board (classic sportsbook touch) ----- */
.odds-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 0.5rem; align-items: center; padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.odds-row:last-child { border-bottom: 0; }
.odds-row .league { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.odds-pill { background: var(--surface-2); border: 1px solid var(--line); border-radius: 0.45rem; padding: 0.3rem 0.55rem; font-weight: 700; color: var(--accent); min-width: 3rem; text-align: center; font-variant-numeric: tabular-nums; }
.odds-pill:hover { background: var(--accent); color: #04183a; }

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

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee { display: flex; gap: 2.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; white-space: nowrap; }
.marquee .chip b { color: var(--accent); font-variant-numeric: tabular-nums; }

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-text {
  background: linear-gradient(110deg, #f7c948 0%, #ffffff 50%, #f7c948 100%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shimmer-cta {
  position: relative; overflow: hidden;
}
.shimmer-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 3.5s linear infinite;
  mix-blend-mode: overlay;
}

/* ----- Latest bets table ----- */
.latest-bets { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.25rem; }
.latest-bets table { font-variant-numeric: tabular-nums; }
.latest-bets th { color: var(--muted); font-weight: 500; padding: 0.35rem 0.4rem; font-size: 0.78rem; }
.latest-bets td { padding: 0.4rem; font-size: 0.85rem; }
.win  { color: #34d399; font-weight: 700; }
.loss { color: #f87171; font-weight: 700; }

/* ----- Trust badges strip ----- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: center; }
.trust-strip .badge-item { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 0.78rem; color: var(--muted); }

/* ----- CTA card ----- */
.cta-card { background: linear-gradient(135deg, #0b3d91, #1d4ed8 60%, #f7c948); color: #04183a; }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,0.95); }

/* ----- Section spacing ----- */
.section { padding: 3.5rem 0; }
@media (max-width: 640px) { .section { padding: 2.25rem 0; } }
