/* Nexus Bets home (Claude, 16 Oct 2026, Parky): matched betting and sport as their own area, in the NexusCraft page style.
   Dark, big type, a floodlit stadium behind the title, a live-looking profit card, real tools on real devices.
   Everything is scoped to .nb so the site header keeps its own look. */
.nb {
  --bg: #04070a;
  --ink: #f5f7f6;
  --muted: #a5aead;
  --dim: #6c7674;
  --line: rgba(255, 255, 255, .08);
  --g: #34d399;
  --g2: #10b981;
  --gold: #fbbf24;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.nb-home { background: #04070a !important; }
html:has(body.nb-home)::before { display: none; }
html:has(body.nb-home) { background: #04070a; }
.nb a { color: inherit; text-decoration: none; }
.nb svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nb h1, .nb h2, .nb h3 { margin: 0; color: #fff; }
.nb h2 { font: 800 clamp(34px, 5.4vw, 64px)/1.02 Outfit, Inter, sans-serif; letter-spacing: -.035em; text-wrap: balance; }
.nb-kicker { margin: 0 0 14px; color: var(--g); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nb-lede { margin: 18px auto 0; max-width: 660px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; text-wrap: pretty; }
.nb-head { max-width: 800px; margin: 0 auto; padding: 0 20px; text-align: center; }

/* buttons */
.nb-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.nb-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #5eead4, #10b981); color: #02130c !important; font: 800 16.5px Inter, sans-serif; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 16px 34px -14px rgba(16, 185, 129, .9), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.nb-go:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(16, 185, 129, 1), inset 0 1px 0 rgba(255, 255, 255, .45); }
.nb-go svg { transition: transform .25s; } .nb-go:hover svg { transform: translateX(3px); }
.nb-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 24px; border-radius: 999px; white-space: nowrap;
  border: 1.5px solid rgba(255, 255, 255, .9); background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 50%, transparent 52%), linear-gradient(180deg, #17191c, #040506);
  color: #fff !important; font: 700 16px Inter, sans-serif; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); transition: border-color .2s, transform .2s; }
.nb-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.nb-link { display: inline-flex; align-items: center; gap: 6px; color: var(--g) !important; font-weight: 700; font-size: 16px; }
.nb-link svg { width: 18px; height: 18px; transition: transform .25s; } .nb-link:hover svg { transform: translateX(3px); }

/* twinkling stars down the page */
.nb-dust { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.nb-dust i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: var(--o);
  box-shadow: 0 0 6px rgba(200, 220, 255, .7); animation: nb-twinkle var(--d) ease-in-out infinite; animation-delay: var(--t); }
@keyframes nb-twinkle { 0%, 100% { opacity: var(--o); transform: scale(1); } 50% { opacity: .08; transform: scale(.6); } }

/* ---------- hero ---------- */
.nb-stage-bg { position: absolute; top: 0; left: 0; right: 0; z-index: 0; height: min(100svh, 1000px); min-height: 640px; overflow: hidden; pointer-events: none; }
.nb-stage-bg img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 50% 60%; animation: nb-drift 38s ease-in-out infinite alternate; }
@keyframes nb-drift { from { transform: scale(1) translate(-1.5%, 0); } to { transform: scale(1.08) translate(1.5%, -1%); } }
.nb-stage-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;   /* floodlight shimmer */
  background: radial-gradient(18% 22% at 22% 22%, rgba(220, 235, 255, .22), transparent 70%), radial-gradient(18% 22% at 78% 18%, rgba(220, 235, 255, .22), transparent 70%);
  animation: nb-flood 5s ease-in-out infinite alternate; }
@keyframes nb-flood { from { opacity: .55; } to { opacity: 1; } }
.nb-stage-bg::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(60% 52% at 50% 44%, rgba(4, 7, 10, .76), rgba(4, 7, 10, .45) 62%, rgba(4, 7, 10, .2) 100%),
    linear-gradient(180deg, rgba(4, 7, 10, .5), rgba(4, 7, 10, 0) 16%, rgba(4, 7, 10, 0) 70%, #04070a 99%); }
.nb-hero { position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; min-height: calc(100svh - 70px);
  width: min(1320px, 100%); margin: 0 auto; padding: 110px 20px 70px; text-align: center; }
.nb-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.nb-hero h1 { font: 800 clamp(46px, 6.6vw, 98px)/.96 Outfit, Inter, sans-serif; letter-spacing: -.045em; text-wrap: balance; animation: nb-in 1s .06s cubic-bezier(.2, .8, .2, 1) both; }
.nb-hero h1 em { font-style: normal; background: linear-gradient(180deg, #a7f3d0 10%, #10b981 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nb-hero .nb-lede { animation: nb-in 1s .14s cubic-bezier(.2, .8, .2, 1) both; }
.nb-hero .nb-ctas { animation: nb-in 1s .22s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes nb-in { from { opacity: 0; transform: translateY(22px); } }
.nb-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .72); font-size: 13.5px; font-weight: 600;
  animation: nb-in 1s .3s cubic-bezier(.2, .8, .2, 1) both; }
.nb-trust li { display: inline-flex; align-items: center; gap: 7px; }
.nb-trust svg { width: 16px; height: 16px; color: var(--g); }

/* the floating profit card (Parky: "a balance sheet going up") */
.nb-float { position: absolute; z-index: 1; top: 15%; right: 4%; width: clamp(230px, 20vw, 300px); pointer-events: none; animation: nb-in 1.2s .3s cubic-bezier(.2, .8, .2, 1) both; }
.nb-float.l { right: auto; left: 4%; top: 52%; width: clamp(190px, 15vw, 230px); animation-delay: .45s; }
.nb-card { padding: 16px 16px 12px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 20px; text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 46%, transparent 50%), linear-gradient(180deg, rgba(23, 25, 28, .94), rgba(4, 5, 6, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(16, 185, 129, .45);
  animation: nb-bob 6s ease-in-out infinite; transform: rotate(4deg); }
.nb-float.l .nb-card { animation-duration: 7s; animation-delay: -2s; transform: rotate(-5deg); }
@keyframes nb-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
.nb-card small { display: block; color: rgba(255, 255, 255, .6); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nb-card b { display: block; margin-top: 4px; font: 800 30px/1 Outfit, Inter, sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nb-card .up { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: rgba(52, 211, 153, .16); color: #6ee7b7; font-size: 12px; font-weight: 700; }
.nb-card .up svg { width: 12px; height: 12px; }
.nb-card svg.chart { display: block; width: 100%; height: 86px; margin-top: 10px; overflow: visible; }
.nb-card .line { fill: none; stroke: #34d399; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: nb-draw 3.4s cubic-bezier(.4, 0, .2, 1) .5s forwards; }
.nb-card .area { fill: url(#nbFill); opacity: 0; animation: nb-fade 1.2s ease 2.4s forwards; }
.nb-card .dot { fill: #34d399; opacity: 0; animation: nb-fade .4s ease 3.7s forwards, nb-pulse 2s ease-in-out 4.1s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes nb-draw { to { stroke-dashoffset: 0; } }
@keyframes nb-fade { to { opacity: 1; } }
@keyframes nb-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.6); } }
.nb-card .foot { display: flex; justify-content: space-between; margin-top: 8px; color: rgba(255, 255, 255, .45); font-size: 10.5px; font-weight: 600; }
.nb-bars { display: flex; align-items: flex-end; gap: 6px; height: 62px; margin-top: 12px; }
.nb-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #6ee7b7, #059669); height: var(--h); transform-origin: bottom; transform: scaleY(0); animation: nb-grow 1s cubic-bezier(.2, .8, .2, 1) forwards; }
.nb-bars i:nth-child(2) { animation-delay: .1s; } .nb-bars i:nth-child(3) { animation-delay: .2s; } .nb-bars i:nth-child(4) { animation-delay: .3s; }
.nb-bars i:nth-child(5) { animation-delay: .4s; } .nb-bars i:nth-child(6) { animation-delay: .5s; } .nb-bars i:nth-child(7) { animation-delay: .6s; }
@keyframes nb-grow { to { transform: scaleY(1); } }

/* ---------- devices ---------- */
.nb-sv { position: relative; z-index: 1; padding: clamp(90px, 12vw, 150px) 20px 0; }
.nb-stagedev { --k: 1; position: relative; width: min(1080px, 100%); margin: 64px auto 0; padding-right: 8%; }
.nb-stagedev::before { content: ""; position: absolute; inset: 0 4% 26%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 185, 129, .22), rgba(59, 130, 246, .12) 55%, transparent); filter: blur(40px); }
.nb-mac { position: relative; }
.nb-mac > img, .nb-phone > img { position: relative; z-index: 2; display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }
.nb-mac-screen { position: absolute; z-index: 1; left: 4.54%; top: 5.816%; width: 91.203%; height: 61.064%; overflow: hidden; background: #0b0d10; }
.nb-phone { position: absolute; z-index: 3; right: 0; bottom: 2%; width: 25%; filter: drop-shadow(0 34px 44px rgba(0, 0, 0, .65));
  transform: translateY(calc((1 - var(--k)) * 160px)) rotate(calc((1 - var(--k)) * 6deg)); }
.nb-phone-screen { position: absolute; z-index: 1; left: 4.43%; top: 2.37%; width: 90.61%; height: 95.36%; overflow: hidden; border-radius: 10.2% / 4.97%; background: #0b0d10; }
.nb-mac-screen img, .nb-phone-screen img, .nb-mac-screen video, .nb-phone-screen video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- feature bento ---------- */
.nb-feat { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin: clamp(110px, 14vw, 170px) auto 0; }
.nb-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 54px; }
.nb-tile { position: relative; display: flex; flex-direction: column; grid-column: span 2; min-height: 320px; padding: 26px; overflow: hidden; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.nb-tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(var(--c) / .4), 0 30px 60px -36px rgb(var(--c) / .6); }
.nb-tile.w3 { grid-column: span 3; }
.nb-tile.w4 { grid-column: span 4; }
.nb-tile small { color: rgb(var(--c)); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nb-tile b { display: block; margin-top: 8px; font: 700 clamp(22px, 2.2vw, 28px)/1.15 Outfit, Inter, sans-serif; letter-spacing: -.02em; }
.nb-tile p { margin: 10px 0 0; max-width: 440px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.nb-tile .go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; color: rgb(var(--c)); font-weight: 700; font-size: 15px; }
.nb-tile .go svg { width: 17px; height: 17px; transition: transform .25s; } .nb-tile:hover .go svg { transform: translateX(3px); }
/* mini mock-ups inside the tiles */
.nb-mock { margin-top: 22px; display: grid; gap: 8px; }
.nb-odds { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13.5px; }
.nb-odds span { overflow: hidden; color: #e5e7eb; text-overflow: ellipsis; white-space: nowrap; }
.nb-odds i { min-width: 46px; padding: 4px 6px; border-radius: 7px; font-style: normal; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.nb-odds .bk { background: rgba(59, 130, 246, .2); color: #93c5fd; }
.nb-odds .ly { background: rgba(236, 72, 153, .2); color: #f9a8d4; }
.nb-odds .rt { background: rgba(52, 211, 153, .18); color: #6ee7b7; }
.nb-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.nb-pills span { padding: 7px 12px; border-radius: 999px; background: rgb(var(--c) / .12); color: rgb(var(--c)); font-size: 13px; font-weight: 700; }
.nb-score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 13.5px; }
.nb-score span:first-child { text-align: right; } .nb-score b { margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.nb-score em { font-style: normal; color: #f87171; font-size: 11px; font-weight: 800; }

/* ---------- calculators grid ---------- */
.nb-calc { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin: clamp(110px, 14vw, 170px) auto 0; }
.nb-cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 50px; }
.nb-c { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: background .25s, box-shadow .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.nb-c:hover { transform: translateY(-2px); background: linear-gradient(180deg, rgba(59, 130, 246, .1), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .35); }
.nb-c .ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; background: rgba(59, 130, 246, .14); color: #93c5fd; }
.nb-c .ic svg { width: 22px; height: 22px; }
.nb-c b { display: block; font: 700 16.5px/1.25 Outfit, Inter, sans-serif; }
.nb-c span.t { display: block; margin-top: 3px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.nb-c .tag { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(251, 191, 36, .14); color: #fcd34d; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.nb-c .tag svg { width: 11px; height: 11px; }
.nb-c .tag.free { background: rgba(52, 211, 153, .14); color: #6ee7b7; }

/* ---------- how it works ---------- */
.nb-how { position: relative; z-index: 1; width: min(1080px, calc(100% - 40px)); margin: clamp(110px, 14vw, 170px) auto 0; }
.nb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 50px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: s; }
.nb-steps li { padding: 30px 24px 10px; counter-increment: s; }
.nb-steps li + li { border-left: 1px solid var(--line); }
.nb-steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%; font: 800 16px Outfit, sans-serif; }
.nb-steps b { display: block; margin-top: 16px; font: 700 20px/1.25 Outfit, Inter, sans-serif; }
.nb-steps span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* membership strip */
.nb-plus { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; width: min(1080px, calc(100% - 40px)); margin: 80px auto 0;
  padding: 26px 30px; border: 1.5px solid rgba(251, 191, 36, .45); border-radius: 22px; background: linear-gradient(120deg, rgba(251, 191, 36, .12), rgba(255, 255, 255, .02) 60%); }
.nb-plus b { display: block; font: 700 22px/1.2 Outfit, Inter, sans-serif; }
.nb-plus span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.nb-plus a { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: linear-gradient(180deg, #fde68a, #f59e0b); color: #1f1300 !important; font-weight: 800; white-space: nowrap; }

/* ---------- final ---------- */
.nb-final { position: relative; z-index: 1; padding: clamp(130px, 16vw, 190px) 20px clamp(80px, 10vw, 120px); text-align: center; }
.nb-final h2 { max-width: 820px; margin: 0 auto; }
.nb-safe { max-width: 620px; margin: 40px auto 0; color: var(--dim); font-size: 13.5px; line-height: 1.6; }
.nb-safe a { color: var(--muted) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.nb-hub { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted) !important; font-size: 14.5px; transition: color .2s, border-color .2s; }
.nb-hub img { width: 30px; height: auto; }
.nb-hub:hover { color: #fff !important; border-color: rgba(255, 255, 255, .2); }

/* scroll-in */
[data-rise] { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
[data-rise].in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nb-float { width: 210px; right: 2%; top: 13%; }
  .nb-float.l { display: none; }
}
@media (max-width: 960px) {
  .nb-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-tile, .nb-tile.w3 { grid-column: span 1; }
  .nb-tile.w4 { grid-column: span 2; }
  .nb-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-stagedev { padding-right: 10%; margin-top: 44px; }
  .nb-phone { width: 30%; bottom: -2%; }
  .nb-steps { grid-template-columns: 1fr; }
  .nb-steps li { display: grid; justify-items: center; text-align: center; padding: 24px 6px; }
  .nb-steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .nb-stage-bg { height: 100%; max-height: none; }
  .nb-float { position: relative; top: auto; right: auto; width: min(300px, 82vw); margin: 34px auto 0; }
  .nb-hero { padding-bottom: 50px; }
}
@media (max-width: 600px) {
  .nb-hero { min-height: 0; padding: 92px 18px 40px; }
  .nb-hero h1 { font-size: clamp(42px, 12.4vw, 56px); }
  .nb-hero .nb-lede { font-size: 15.5px; margin-top: 14px; }
  .nb-ctas { flex-direction: row; width: 100%; max-width: 360px; margin-top: 22px; }
  .nb-ctas > * { flex: 1; height: 50px; padding: 0 12px; font-size: 14.5px; }
  .nb-ctas svg { display: none; }
  .nb-trust { gap: 6px 14px; font-size: 12.5px; }
  .nb-feat, .nb-calc, .nb-how { width: calc(100% - 32px); }
  .nb-bento { grid-template-columns: 1fr; gap: 12px; }
  .nb-tile, .nb-tile.w3, .nb-tile.w4 { grid-column: auto; min-height: 0; padding: 22px; }
  .nb-cgrid { grid-template-columns: 1fr; gap: 10px; }
  .nb-c { padding: 14px; }
  .nb-plus { width: calc(100% - 32px); padding: 22px; text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nb-stage-bg img, .nb-stage-bg::before, .nb-card, .nb-dust i, .nb-hero h1, .nb-hero .nb-lede, .nb-hero .nb-ctas, .nb-trust, .nb-float { animation: none; }
  .nb-card .line { stroke-dashoffset: 0; animation: none; } .nb-card .area, .nb-card .dot { opacity: 1; animation: none; } .nb-bars i { transform: none; animation: none; }
  [data-rise] { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 960px) {
  .nb-stage-bg { height: min(100svh, 980px); min-height: 700px; }
  .nb-float { width: min(260px, 74vw); }
  .nb-card svg.chart { height: 70px; }
}
