/* ============================================================
   V3 — design polish pass
   ============================================================ */

/* Subtle body texture for depth */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(10,27,46,.025) 1px, transparent 1px);
  background-size: 22px 22px;
}
:root[data-theme="dark"] body::before { background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px); }

/* ===== ODDS TICKER (ambient scoreboard) ===== */
.odds-ticker { position: relative; z-index: 5; background: #071627; border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; display: flex; align-items: center; height: 52px; }
.odds-ticker .tk-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg,#0072CE,#0059A6);
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; height: 100%; padding: 0 18px; z-index: 2; }
.odds-ticker .tk-label .pulse { width: 8px; height: 8px; border-radius: 50%; background: #35d68a; box-shadow: 0 0 0 0 rgba(53,214,138,.6); animation: tkpulse 1.6s infinite; }
@keyframes tkpulse { 0%{ box-shadow:0 0 0 0 rgba(53,214,138,.6);} 70%{ box-shadow:0 0 0 8px rgba(53,214,138,0);} 100%{ box-shadow:0 0 0 0 rgba(53,214,138,0);} }
.tk-track { display: flex; align-items: center; gap: 0; white-space: nowrap; animation: tkscroll 40s linear infinite; will-change: transform; }
.odds-ticker:hover .tk-track { animation-play-state: paused; }
@keyframes tkscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 24px; color: #cddcec; font-size: 13.5px; font-weight: 600; border-right: 1px solid rgba(255,255,255,.06); }
.tk-item .tk-sport { opacity: .7; }
.tk-item .tk-teams { color: #fff; }
.tk-item .tk-odds { display: inline-flex; gap: 6px; }
.tk-item .tk-odds b { background: rgba(255,255,255,.08); color: #eaf3fc; padding: 3px 9px; border-radius: 6px; font-weight: 700; font-size: 12.5px; }
.tk-item .tk-odds b.up { color: #7be0af; }
.tk-fade { position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.tk-fade.r { right: 0; background: linear-gradient(90deg, transparent, #071627); }

/* ===== MATCH CARDS (educational example) ===== */
.match-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.match-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: .3s; }
.match-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,114,206,.3); }
.mc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mc-league { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--muted-2); }
.mc-league .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.mc-time { font-size: 11.5px; font-weight: 700; color: var(--blue); background: var(--sky-soft); padding: 3px 9px; border-radius: 20px; }
.mc-teams { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.mc-team { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.mc-team .dot { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.mc-odds { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.mc-odd { text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: 11px; padding: 9px 6px; cursor: pointer; transition: .2s; text-decoration: none; }
.mc-odd:hover { border-color: var(--blue); background: var(--sky-soft); transform: translateY(-2px); }
.mc-odd .lab { display: block; font-size: 11px; font-weight: 700; color: var(--muted-2); }
.mc-odd .val { display: block; font-size: 16px; font-weight: 800; color: var(--ink); }
.mc-odd.best { border-color: var(--blue); background: var(--sky-soft); }
.mc-odd.best .val { color: var(--blue); }
@media (max-width: 900px){ .match-grid { grid-template-columns: 1fr; } }

/* ===== SECTION RHYTHM ===== */
.band-white { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band-tint { background:
    radial-gradient(700px 340px at 12% 0%, rgba(0,114,206,.05), transparent 60%),
    radial-gradient(700px 340px at 90% 100%, rgba(91,127,219,.05), transparent 60%); }

/* Elegant motif divider */
.divider-motif { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 0 2px; opacity: .8; }
.divider-motif .ln { height: 1px; width: 90px; background: linear-gradient(90deg, transparent, var(--line)); }
.divider-motif .ln.r { background: linear-gradient(90deg, var(--line), transparent); }
.divider-motif svg { width: 26px; height: 18px; }

/* ===== OPERATOR CARD brand-glow on hover ===== */
.op-card[data-accent]:hover { box-shadow: 0 20px 50px -12px color-mix(in srgb, var(--accent-c) 40%, transparent), var(--shadow-md); }
@supports not (background: color-mix(in srgb, red, blue)) {
  .op-card[data-accent]:hover { box-shadow: var(--shadow-md); }
}

/* ===== STAGGERED REVEAL ===== */
.method-grid > .reveal:nth-child(2), .guide-grid > .reveal:nth-child(2), .blog-grid > .reveal:nth-child(2),
.sports-grid > .reveal:nth-child(2), .match-grid > .reveal:nth-child(2), .testi-grid > .reveal:nth-child(2) { transition-delay: .08s; }
.method-grid > .reveal:nth-child(3), .guide-grid > .reveal:nth-child(3), .blog-grid > .reveal:nth-child(3),
.sports-grid > .reveal:nth-child(3), .match-grid > .reveal:nth-child(3), .testi-grid > .reveal:nth-child(3) { transition-delay: .16s; }
.method-grid > .reveal:nth-child(4), .guide-grid > .reveal:nth-child(4), .sports-grid > .reveal:nth-child(4) { transition-delay: .24s; }
.sports-grid > .reveal:nth-child(5) { transition-delay: .32s; }

/* ===== COOKIE CONSENT ===== */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 500; max-width: 720px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  transform: translateY(140%); transition: transform .45s cubic-bezier(.2,.8,.3,1); }
.cookie.show { transform: translateY(0); }
.cookie p { flex: 1; min-width: 240px; font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.cookie p a { color: var(--blue); font-weight: 600; }
.cookie .ck-btns { display: flex; gap: 10px; }
.cookie button { border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 13.5px; border-radius: 10px; padding: 11px 18px; }
.ck-accept { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
.ck-decline { background: var(--cream); color: var(--muted); border: 1px solid var(--line) !important; }
@media (max-width: 520px){ .cookie { flex-direction: column; align-items: stretch; text-align: center; } .cookie .ck-btns { justify-content: center; } }

/* Section intro helper */
.sec-lead { text-align:center; max-width: 640px; margin: -18px auto 34px; color: var(--muted); font-size: 15px; }
