/* Betpro360 — redesigned 2026-12-04
   Mobile-first, dark green brand, one restrained sage accent.
   No external fonts, images or JavaScript: fast, CSP-friendly. */
:root {
  color-scheme: dark;
  --bg: #0d1410;
  --bg-soft: #111a14;
  --panel: #16241b;
  --panel-2: #1a2c20;
  --line: #2b4032;
  --line-strong: #3c5645;
  --text: #f3f7f1;
  --muted: #bdcbbf;
  --muted-2: #9fb3a3;
  --accent: #9fd698;
  --accent-soft: rgba(159, 214, 152, .12);
  --accent-ink: #122417;
  --radius: .9rem;
  --radius-lg: 1.1rem;
  font: 106.25%/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.frame { width: min(70rem, calc(100% - 2rem)); margin-inline: auto; }

/* Skip link — visible on keyboard focus only */
.skip { position: fixed; top: .6rem; left: .6rem; z-index: 10; transform: translateY(-300%);
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: .6rem .9rem; border-radius: .5rem; text-decoration: none; }
.skip:focus { transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(13, 20, 16, .94);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between;
  gap: .75rem 1.25rem; flex-wrap: wrap; padding-block: .8rem; }
.brand { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none;
  color: var(--text); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand-logo { display: block; height: 2.5rem; width: auto; }
.mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font: italic 800 1.4rem/1 Georgia, serif; }
.accent, em { color: var(--accent); }
nav { display: flex; align-items: center; gap: .25rem .5rem; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; padding: .45rem .6rem; border-radius: .45rem; font-size: .97rem; }
nav a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
nav a[aria-current] { color: var(--text); background: var(--panel); box-shadow: inset 0 -2px 0 var(--accent); }
.header-support { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text);
  text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.header-support:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* Layout */
.main { min-height: 60vh; padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.main > * + * { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
h1, h2, h3 { margin: 0 0 .6rem; line-height: 1.14; letter-spacing: -.028em; font-weight: 800; }
h1 { max-width: 20ch; font-size: clamp(2.35rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }
.lead { max-width: 52ch; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.6; color: var(--muted); }
.eyebrow { margin: 0 0 .8rem; font-size: .78rem; font-weight: 750; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); }
.intro { margin-bottom: 2.25rem; max-width: 48rem; }

/* Hero */
.hero { display: grid; gap: 1.5rem; align-items: start; }
.hero h1 em { font-style: normal; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.25rem; border: 1px solid var(--accent); border-radius: .6rem;
  background: var(--accent); color: var(--accent-ink); font-weight: 750; font-size: 1rem;
  line-height: 1.25; text-decoration: none; }
.button:hover { text-decoration: underline; filter: brightness(1.06); }
.button.secondary { background: transparent; color: var(--accent); }
.button.secondary:hover { background: var(--accent-soft); }
.hero-panel { border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 90% 0%, #2b4634 0%, transparent 68%), var(--panel);
  padding: clamp(1.25rem, 3vw, 1.9rem); }
.hero-panel h2 { font-size: 1.35rem; }
.hero-panel a { font-weight: 700; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none;
  color: var(--muted-2); font-size: .93rem; }
.trust li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* Sections / cards */
.section-head { display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.section-head h2 { margin-bottom: .25rem; }
.section-head p { margin: 0; }
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.4rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); padding: 1.35rem 1.4rem 1.25rem; transition: border-color .15s ease, transform .15s ease; }
.card:hover, .card:focus-within { border-color: var(--line-strong); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.card p { flex: 1; font-size: .99rem; }
.card .read { margin-top: 1rem; font-weight: 700; font-size: .95rem; }
.split { display: grid; gap: 1rem; }
.split > div { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 1.25rem 1.35rem; }
.split h3 { font-size: 1.1rem; }
.split ul { margin: .25rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.split li + li { margin-top: .35rem; }

/* Articles */
.article { max-width: 46rem; }
.article h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.article section { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.article section + section { margin-top: 1.6rem; }
.article section:first-of-type { border-top: 0; padding-top: 0; }
.back { display: inline-block; margin-bottom: 1.25rem; font-weight: 650; }
.note { border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--accent-soft);
  padding: 1.1rem 1.25rem; margin-top: 2rem; }
.note p, .note a { color: var(--text); }
.pager { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager a { font-weight: 700; }
.pager span { display: block; color: var(--muted-2); font-size: .85rem; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-inner { display: grid; gap: 1.75rem; padding-block: 2.25rem 2.5rem; }
.footer-inner p { margin: .7rem 0 0; font-size: .92rem; max-width: 38ch; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.footer-nav h3 { font-size: .82rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .7rem; }
.footer-nav nav { flex-direction: column; align-items: flex-start; gap: .15rem; }
.footer-nav nav a { padding: .3rem 0; }
.footer-note { border-top: 1px solid var(--line); padding-top: 1.25rem; font-size: .88rem; color: var(--muted-2); }
.footer-note p { margin: 0; max-width: none; }

a, p, li { overflow-wrap: anywhere; }

/* Tablet and up */
@media (min-width: 40rem) {
  .frame { width: min(70rem, calc(100% - 3rem)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.2fr 1fr; }
}
/* Desktop */
@media (min-width: 60rem) {
  .hero { grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 26rem) {
  .actions .button { flex: 1 1 100%; }
  .header-support { display: none; }
}
/* ============================================================
   Full motion package — 2026-12-04
   Transform/opacity only. No layout shift. Everything below
   is switched off by the reduced-motion block at the end.
   ============================================================ */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

/* Page entrance */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body.is-leaving { opacity: 0; transition: opacity .18s ease; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: pageIn .3s ease both; }
::view-transition-new(root) { animation: pageIn .3s ease both; }

/* Film grain, barely there */
body::after { content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Reading progress + shrinking header */
#read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 20;
  background: var(--accent); transition: width .1s linear; }
.site-header { transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.site-header.is-scrolled .header-inner { padding-block: .3rem; }
.site-header.is-scrolled .brand-logo { height: 1.8rem; }
.brand-logo { transition: height .3s ease; }
.header-inner { transition: padding-block .3s ease; }

/* Hero: word-by-word entrance + slow glow */
@keyframes fadeUp { from { opacity: 0; transform: translateY(.8em); } to { opacity: 1; transform: translateY(0); } }
.hero-word { display: inline-block; opacity: 0; transform: translateY(.6em);
  animation: fadeUp 1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 150ms); }
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: -4rem -2rem auto auto; width: 26rem; height: 26rem;
  pointer-events: none; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .28;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  animation: heroGlow 14s ease-in-out infinite alternate; }
@keyframes heroGlow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-3rem, 2rem) scale(1.15); } }
@keyframes floatPanel { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.hero-panel { animation: floatPanel 6s ease-in-out infinite alternate; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px);
  transition: opacity .9s ease, transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Buttons + links: lift, shadow, underline sweep */
.button { transition: transform .2s var(--ease-out), box-shadow .2s ease, filter .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.button:active { transform: translateY(0) scale(.97); }
nav a, .card h3 a, .read a { background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease-out), color .2s ease, background-color .2s ease; }
nav a:hover, .card h3 a:hover, .read a:hover { background-size: 100% 2px; }
.card { transition: border-color .2s ease, transform .25s var(--ease-out), box-shadow .25s ease; }
.card:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .3); }

/* Stats counters */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft);
  padding: 1.4rem 1.5rem; text-align: center; }
.stat strong { display: block; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; color: var(--accent); }
.stat span { display: block; margin-top: .3rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 40rem) { .stats { grid-template-columns: 1fr; gap: .75rem; text-align: left; } }

/* Interactive widgets: calculators + checklist */
.widget { border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--panel); padding: clamp(1.25rem, 3vw, 1.75rem); margin-top: 2rem; }
.widget h3 { margin-bottom: .4rem; }
.widget p { margin-bottom: 1.1rem; }
.widget label { display: block; font-weight: 700; font-size: .95rem; margin: 1rem 0 .4rem; }
.widget input[type="number"] { width: 100%; max-width: 12rem; padding: .6rem .75rem; border-radius: .5rem;
  border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; }
.widget input[type="range"] { width: 100%; accent-color: var(--accent); }
.widget output { font-weight: 800; color: var(--accent); }
.widget .result { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 1.1rem; font-size: 1.02rem; }
.widget .result strong { color: var(--text); }
.bar { height: .7rem; border-radius: 999px; background: var(--bg); overflow: hidden; margin-top: .6rem; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: var(--accent);
  transition: width .5s var(--ease-out); }
.bar-fill.is-loss { background: #e8b04b; }
.bar-label { display: block; margin-top: .5rem; font-size: .9rem; color: var(--muted-2); }
.checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.checklist li { margin-top: .6rem; }
.checklist label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600;
  border: 1px solid var(--line); border-radius: .6rem; padding: .7rem .85rem; margin: 0;
  cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.checklist label:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.checklist input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; accent-color: var(--accent); flex: none; }
.checklist input:checked + span { color: var(--accent); }

/* Cursor ring (fine pointers only, JS-gated) */
#cursor-ring { position: fixed; top: 0; left: 0; width: 28px; height: 28px; z-index: 30;
  pointer-events: none; border: 2px solid var(--accent); border-radius: 50%; opacity: .55;
  transition: width .2s ease, height .2s ease, opacity .2s ease; }
#cursor-ring.is-hover { width: 44px; height: 44px; opacity: .9; }
@media (pointer: coarse) { #cursor-ring { display: none; } }

/* Reduced motion: everything off, content fully visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; }
  body, .hero-word, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero::before, .hero-panel { animation: none !important; }
  .card { transition: none; }
  #cursor-ring { display: none !important; }
}
