/* Page-level layout + image placeholders (intentional gradients until real art). */

/* ---- Image placeholder (until AVIF/WebP art is dropped in) ---- */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(200,16,46,.5), transparent 55%),
    radial-gradient(120% 120% at 10% 90%, rgba(242,169,0,.32), transparent 55%),
    linear-gradient(135deg, #20131a 0%, #14181f 60%, #0e1116 100%);
}
.ph::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px);
}
.ph--hero { min-height: 560px; }
.ph--card { position: absolute; inset: 0; }

/* ---- Homepage strips ---- */
.strip-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); }
.strip-scroll > * { scroll-snap-align: start; }
.strip-scroll::-webkit-scrollbar { height: 8px; }
.strip-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-pill); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-7); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split__media { position: relative; border-radius: var(--r-lg); min-height: 360px; border: 1px solid var(--line); overflow: hidden; }
.split__media picture, .split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* WHY section: points list + animated bar chart (replaces count-up stats) */
.why-points { list-style: none; padding: 0; margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.why-points li { color: var(--text-dim); padding-left: var(--s-5); position: relative; }
.why-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.why-points span { color: var(--text); font-weight: 700; }

.split__chart { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: var(--s-6); }
.chart-head h3 { margin-top: var(--s-1); }
.barchart { margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-4); }
.bar__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-2); }
.bar__label { font-weight: 600; }
.bar__val { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: var(--fs-md); }
.bar__track { height: 12px; background: var(--ink-900); border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); border-radius: var(--r-pill); background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.js .bar__fill { width: 0; transition: width .9s var(--ease-out); }
.js .reveal.is-in .bar__fill { width: var(--w); }
.barchart .bar:nth-child(1) .bar__fill { transition-delay: .05s; }
.barchart .bar:nth-child(2) .bar__fill { transition-delay: .15s; }
.barchart .bar:nth-child(3) .bar__fill { transition-delay: .25s; }
.barchart .bar:nth-child(4) .bar__fill { transition-delay: .35s; }
.chart-note { margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--text-faint); }

/* ---- Vertical / sports listing pages ---- */
.listing { padding-block: var(--s-7); }
.odds-note { font-size: var(--fs-xs); color: var(--text-faint); margin: 0 0 var(--s-4); }
.subnav { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-5); }

/* ---- How to bet steps ---- */
.steps { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: var(--s-6) var(--s-5) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; font-size: var(--fs-3xl); color: var(--crimson-300); opacity: .5; }
.step h3 { margin-top: var(--s-2); }
.step p { margin-top: var(--s-2); color: var(--text-dim); }

.paymethods { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.paymethod { padding: var(--s-3) var(--s-5); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-family: var(--font-display); font-weight: 700; color: var(--text-dim); }

/* ---- RG tools ---- */
.rgtools { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .rgtools { grid-template-columns: 1fr; } }
.rgtool { padding: var(--s-6) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.rgtool svg { width: 32px; height: 32px; color: var(--gold); margin-bottom: var(--s-3); }
.callout { border: 1px solid var(--crimson); background: rgba(200,16,46,.08); border-radius: var(--r-lg); padding: var(--s-6); }
.callout h3 { color: #fff; }
.callout a { color: var(--gold-300); font-weight: 700; text-decoration: underline; }

/* ---- Contact / forms ---- */
.form-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  padding: var(--s-3) var(--s-4); min-height: 48px;
  background: var(--ink-900); border: 1px solid var(--line-strong); border-radius: var(--r);
  color: var(--text);
  transition: border-color var(--dur-1) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }

.contact-grid { display: grid; gap: var(--s-7); grid-template-columns: 1.2fr .8fr; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: flex; flex-direction: column; gap: var(--s-4); }
.info-list div { padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.info-list strong { display: block; font-family: var(--font-display); }
.info-list span { color: var(--text-dim); font-size: var(--fs-sm); }

/* ---- Legal / prose ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s-7); padding-top: var(--s-2); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--s-5); }
.prose p, .prose li { color: var(--text-dim); margin-top: var(--s-3); }
.prose ul { padding-left: var(--s-5); }
.prose li { margin-top: var(--s-2); }
.prose a { color: var(--gold); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin-top: var(--s-4); font-size: var(--fs-sm); }
@media (max-width: 600px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.prose th, .prose td { text-align: left; padding: var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-family: var(--font-display); font-weight: 700; }
.prose td { color: var(--text-dim); }
.toc { position: sticky; top: calc(var(--header-h) + var(--s-4)); align-self: start; }
.toc a { display: block; padding: var(--s-2) 0; color: var(--text-dim); font-size: var(--fs-sm); }
.toc a:hover { color: var(--gold); }
.legal-grid { display: grid; grid-template-columns: 220px 1fr; gap: var(--s-7); }
@media (max-width: 860px) { .legal-grid { grid-template-columns: 1fr; } .toc { position: static; } }
.updated { font-size: var(--fs-sm); color: var(--text-faint); }

/* ---- About stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: var(--fs-3xl); color: var(--gold); }
.stat span { color: var(--text-dim); font-size: var(--fs-sm); }
