/* AI Is Nuts: styles for the Oct 3 features (leaderboard, cast pages, Nuts of the Week, newsletter box, form honeypot).
   Loaded after custom.css by bz/_layout. */

/* Honeypot: off-screen, never visible, skipped by keyboard and screen readers */
.bz-hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
form .hiddenFields { display: none; }

/* Nuts Meter gauge ring (leaderboard, Nuts of the Week): --v = score 0-10, --c = tone colour */
.bz-gauge {
  --v: 0; --c: var(--bs-warning); --size: 4.5rem;
  position: relative; flex: 0 0 auto; width: var(--size); height: var(--size); border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--v) * 36deg), rgba(var(--bs-body-color-rgb), .10) 0);
  display: inline-flex; align-items: center; justify-content: center;
}
.bz-gauge::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: var(--bs-body-bg); }
.bz-gauge > span { position: relative; font-family: Rubik, sans-serif; font-weight: 700; font-size: calc(var(--size) * .34); line-height: 1; }
.bz-gauge > span small { font-size: .45em; opacity: .6; font-weight: 500; }
.bz-gauge.tone-danger { --c: var(--bs-danger); } .bz-gauge.tone-warning { --c: var(--bs-warning); } .bz-gauge.tone-success { --c: var(--bs-success); }
.bz-gauge-sm { --size: 3.25rem; }
.bz-gauge-lg { --size: 6rem; }
.bz-on-dark .bz-gauge::before { background: #12102a; }
.bz-on-dark .bz-gauge { background: conic-gradient(var(--c) calc(var(--v) * 36deg), rgba(255,255,255,.14) 0); }

/* Leaderboard rows */
.bz-lb-row { transition: box-shadow .2s ease, transform .2s ease; }
.bz-lb-row:hover { box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.08); transform: translateY(-2px); }
.bz-lb-rank { font-family: Rubik, sans-serif; font-weight: 700; font-size: 1.6rem; width: 3.25rem; text-align: center; flex: 0 0 auto; opacity: .55; }
.bz-lb-rank.top { opacity: 1; }
.bz-lb-rank.r1 { color: #e0a800; } .bz-lb-rank.r2 { color: #8f9bb3; } .bz-lb-rank.r3 { color: #c26d36; }
.bz-lb-thumb { width: 220px; flex: 0 0 auto; }
.bz-lb-thumb .bz-media-link { border-radius: .5rem; }
.bz-lb-first { box-shadow: inset 0 0 0 2px rgba(224,168,0,.55); }
@media (max-width: 767.98px) {
  .bz-lb-thumb { width: 100%; }
  .bz-lb-rank { width: auto; font-size: 1.25rem; text-align: left; }
}

/* Nuts of the Week (home) */
.bz-notw { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, #2a2456 0%, #12102a 55%, #07060f 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.bz-notw::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,59,92,.22) 0%, rgba(140,132,255,.08) 50%, rgba(47,212,196,.18) 100%); }
.bz-notw > .row { position: relative; z-index: 1; }
.bz-notw .bz-media-link { border-radius: .75rem; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.45); }
.bz-notw a.bz-notw-title { color: #fff; }
.bz-notw a.bz-notw-title:hover { color: #ffd34d; }
.bz-notw-kicker { letter-spacing: .2em; color: #ffd34d; }

/* Cast */
.bz-cast-card .bz-cast-img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; display: block; }
.bz-cast-card { transition: transform .2s ease, box-shadow .2s ease; }
.bz-cast-card:hover { transform: translateY(-3px); box-shadow: 0 .75rem 2rem rgba(0,0,0,.12); }
.bz-cast-hero img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.bz-cast-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; opacity: .65; font-weight: 700; }
.bz-cast-facts dd { margin-bottom: .9rem; }
.bz-cast-quote { border-left: 4px solid var(--bs-primary); padding: .25rem 0 .25rem 1rem; font-size: 1.15rem; font-style: italic; }
.bz-cast-nav .btn { white-space: nowrap; }

/* Newsletter box ("Get the weekly Nuts Report") */
.bz-nl { position: relative; overflow: hidden; }
.bz-nl-dark { color: #fff; background: radial-gradient(120% 140% at 10% 0%, #2a2456 0%, #12102a 60%, #07060f 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.bz-nl-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(47,212,196,.18), rgba(140,132,255,.06) 50%, rgba(255,59,92,.18)); }
.bz-nl > * { position: relative; z-index: 1; }
.bz-nl-dark .form-control { background: rgba(255,255,255,.95); color: #191a1f; border: 0; }
.bz-nl-dark .text-muted-light { color: rgba(255,255,255,.7); }
.bz-nl-icon { width: 3rem; height: 3rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem;
  background: linear-gradient(135deg, #2fd4c4, #8c84ff 55%, #ff3b5c); color: #fff; flex: 0 0 auto; }
.bz-nl-side { background: rgba(var(--bs-primary-rgb), .08); }
.bz-nl .input-group > .form-control { min-width: 0; }
footer .bz-nl { text-align: left; }
.bz-lb-text .bz-cat, .bz-lb-thumb .bz-media-link { position: relative; z-index: 2; }
@media (max-width: 767.98px) { .bz-lb-text { width: 100%; } }
