/* ==========================================================================
   nbazens.com - Limitless for NBA 2K27
   Design system lifted from elitecronus.com, tinted for basketball.
   ========================================================================== */

:root {
  --bg: #0a0015;
  --ink: #ffffff;
  --ink-2: rgba(255,255,255,0.7);
  --ink-3: rgba(255,255,255,0.5);
  --line: rgba(255,255,255,0.08);

  --violet: #8B3DFF;
  --violet-2: #b994ff;
  --gold: #ffcf7a;
  --gold-2: #ffb347;
  --court: #ff9142;
  --green: #4ade80;
  --green-2: #22c55e;

  --slab: linear-gradient(180deg, #2a1550 0%, #1f0f3d 52%, #190c33 100%);
  --slab-edge: inset 0 1.5px 0 rgba(255,255,255,0.18), inset 0 -2px 0 rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02);
  --slab-float: 0 14px 24px -14px rgba(0,0,0,0.62), 0 34px 64px -26px rgba(0,0,0,0.7), 0 2px 0 rgba(255,255,255,0.02);

  --face: linear-gradient(180deg, #ffffff 0%, #efeaf8 58%, #cdc2e4 100%);
  --kiss: linear-gradient(180deg, #ffffff 0%, #e0c2ff 24%, #a855f7 56%, #e045ff 100%);
  --kiss-gold: linear-gradient(180deg, #ffffff 0%, #ffe9b8 22%, #ffcf7a 52%, #ff9142 100%);
  --kiss-green: linear-gradient(180deg, #ffffff 0%, #d4ffe4 22%, #4ade80 56%, #16a34a 100%);

  --buy: linear-gradient(180deg, #ff9142 0%, #f06a0a 100%);
  --buy-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 8px 24px -6px rgba(240,106,10,0.5);
  --buy-shadow-hover: inset 0 1px 0 rgba(255,255,255,0.32), 0 12px 30px -6px rgba(240,106,10,0.65);

  --font-display: 'Sora', 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fade: cubic-bezier(0.33, 1, 0.68, 1);
  --container: 1180px;
  --pad: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html { overflow-x: hidden; } }
/* clip, not hidden: overflow-x hidden on body turns body into a scroll container and position: sticky never engages */
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16.5px; line-height: 1.62; letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* the store's ambient wash, warmed toward the court */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 38% at 50% -6%, rgba(139,61,255,0.30) 0%, transparent 62%),
    radial-gradient(52% 40% at 82% 16%, rgba(255,145,66,0.17) 0%, transparent 64%),
    radial-gradient(46% 34% at 8% 46%, rgba(139,61,255,0.15) 0%, transparent 62%),
    radial-gradient(44% 30% at 88% 62%, rgba(74,222,128,0.055) 0%, transparent 66%),
    radial-gradient(50% 36% at 22% 90%, rgba(255,207,122,0.10) 0%, transparent 64%),
    var(--bg);
}

.container { width: min(var(--container), 100% - var(--pad) * 2); margin-inline: auto; }
.section { padding: clamp(1.7rem, 3vw, 2.8rem) 0; position: relative; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   TYPE
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-block; font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 0.9rem;
}
.kicker--gold { color: var(--gold); opacity: 0.9; }

/* the white-slab 3D face. drop-shadow chain, never text-shadow: text-shadow
   paints over a clipped face and destroys it */
.h3d {
  font-family: var(--font-display); font-weight: 800;
  line-height: 1.12; letter-spacing: -0.028em; margin: 0;
  background: var(--face);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter:
    drop-shadow(0 0.022em 0 #2a1850)
    drop-shadow(0 0.022em 0 #241243)
    drop-shadow(0 0.022em 0 #1e0e38)
    drop-shadow(0 0.12em 0.22em rgba(0,0,0,0.5));
}
.h3d { text-wrap: balance; }
.h3d--hero { font-size: clamp(2.3rem, 5.4vw, 4.05rem); line-height: 1.06; letter-spacing: -0.035em; }
.h3d--xl   { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.h3d--lg   { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.h3d--md   { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.kiss--gold {
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.kiss--gold { background-image: var(--kiss-gold); }
.kiss--green { background-image: var(--kiss-green); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
/* background-image, never the background shorthand: the shorthand resets
   background-clip to border-box and the gradient paints as a solid block */
.sub {
  font-size: clamp(1.02rem, 1.4vw, 1.14rem); line-height: 1.65; color: var(--ink-2);
  max-width: 62ch; margin: 1rem auto 0;
}
.sub--left { margin-inline: 0; }

/* --------------------------------------------------------------------------
   SURFACES
   -------------------------------------------------------------------------- */
.slab {
  position: relative;
  background: var(--slab);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: var(--slab-edge), var(--slab-float);
}
.pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1.1rem; border-radius: 999px;
  background: var(--slab); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--slab-edge), var(--slab-float);
  font-size: 0.82rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.pill svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.7rem; border-radius: 12px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; color: #fff; white-space: nowrap; line-height: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}
.btn svg { flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn--buy { background: var(--buy); box-shadow: var(--buy-shadow); min-height: 56px; padding-inline: 2.1rem; font-size: 1.05rem; }
.btn--buy:hover { box-shadow: var(--buy-shadow-hover); filter: brightness(1.05); transform: translateY(-1px); }
.btn--buy:hover svg { transform: translateX(4px); }
.btn--buy:active { transform: translateY(0); filter: brightness(0.98); }

/* --------------------------------------------------------------------------
   PRICE
   -------------------------------------------------------------------------- */
.price { display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.price__now { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; background-image: var(--face); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0.022em 0 #2a1850) drop-shadow(0 0.022em 0 #241243) drop-shadow(0 0.09em 0.16em rgba(0,0,0,0.55)); }
.price__now em { font-style: normal; font-size: 0.62em; vertical-align: 0.28em; margin-right: 0.05em; background-image: linear-gradient(180deg,#ffc98a,#ff9142); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price__now i  { font-style: normal; font-size: 0.5em; color: rgba(255,255,255,0.6); }
.price__was { font-size: 1.05rem; color: rgba(255,255,255,0.45); text-decoration: line-through; text-decoration-color: rgba(255,90,90,0.75); text-decoration-thickness: 1.6px; }
.price__save {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; padding: 0.3rem 0.55rem; border-radius: 6px;
  color: #6ee7a0; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

/* --------------------------------------------------------------------------
   RATING PILL
   -------------------------------------------------------------------------- */
.rating {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem; flex-wrap: wrap;
  width: fit-content; margin: 0 auto; padding: 0.72rem 1.6rem; border-radius: 999px;
  background: var(--slab); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--slab-edge), var(--slab-float);
}
.rating__num {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  background: var(--kiss-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
}
.rating__stars { display: block; filter: drop-shadow(0 1.5px 2px rgba(60,30,0,0.5)); }
.rating__sep { width: 1px; height: 24px; background: rgba(255,255,255,0.13); }
.rating__faces { display: inline-flex; align-items: center; }
.rating__faces img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #1a0b36; object-fit: cover; }
.rating__faces img + img { margin-left: -8px; }
.rating__count { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: #fff; font-variant-numeric: tabular-nums; }
.rating__label { font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 480px) {
  .rating { padding-inline: 1.2rem; gap: 0.75rem; }
  .rating__faces, .rating__label { display: none; }
}

/* --------------------------------------------------------------------------
   CODE EDITOR (the Lab)
   -------------------------------------------------------------------------- */
.lab {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #0a0417; border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.12), 0 30px 60px -28px rgba(0,0,0,0.9), 0 0 0 1px rgba(139,61,255,0.08);
}
.lab__bar { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1rem; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06); }
.lab__dots { display: inline-flex; gap: 0.4rem; }
.lab__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.lab__dots i:nth-child(1) { background: #ff5f57; } .lab__dots i:nth-child(2) { background: #febc2e; } .lab__dots i:nth-child(3) { background: #28c840; }
.lab__tab { font-family: var(--font-mono); font-size: 0.78rem; padding: 0.3rem 0.7rem; border-radius: 6px; color: var(--gold); background: rgba(255,255,255,0.07); }
.lab__chip { white-space: nowrap; margin-left: auto; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: #ffb347; opacity: 0; transition: opacity 0.25s; display: inline-flex; align-items: center; gap: 0.4rem; }
.lab__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffb347; box-shadow: 0 0 6px #ffb347; }
.lab__chip.is-done { opacity: 1; color: var(--green); }
.lab__chip.is-done::before { background: var(--green); box-shadow: 0 0 6px rgba(74,222,128,0.8); }
.lab.is-compiling .lab__chip { opacity: 1; }
.lab__body { position: relative; }
.lab__code {
  margin: 0; padding: 1.1rem 1.2rem 1.2rem; overflow-x: auto; scrollbar-width: none;
  font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.75; color: rgba(255,255,255,0.88);
  white-space: pre; min-height: calc(1.75em * 12 + 2.3rem);
}
.lab__code::-webkit-scrollbar { display: none; }
.ln { display: inline-block; width: 2.4em; color: rgba(255,255,255,0.22); user-select: none; }
.k { color: #c9b8ff; } .f { color: #7fdcff; } .n { color: #ffcf7a; } .c { color: rgba(255,255,255,0.48); }
.caret { display: inline-block; width: 0.55em; height: 1.1em; vertical-align: -0.2em; background: var(--violet-2); margin-left: 1px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.lab__rail { position: absolute; left: 0; right: 0; height: 1.75em; background: rgba(139,61,255,0.08); border-left: 2px solid var(--violet-2); pointer-events: none; opacity: 0; transition: top 0.25s var(--ease), opacity 0.25s; }
.lab__status { display: flex; align-items: center; gap: 1.4rem; padding: 0.6rem 1rem; background: rgba(0,0,0,0.35); border-top: 1px solid rgba(255,255,255,0.05); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.lab__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(74,222,128,0.8); display: inline-block; margin-right: 0.4rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faqhead { max-width: 760px; margin: 0 auto 1.6rem; }
.faqhead .sub { margin-top: 0.6rem; }
.faq { display: grid; gap: 0.5rem; max-width: 820px; margin: 0 auto; }
.faq__item { position: relative; border-radius: 14px; background: var(--slab); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--slab-edge), var(--slab-float); transition: border-color 0.35s var(--ease), transform 0.35s var(--ease); }
.faq__item:hover { border-color: rgba(255,255,255,0.14); }
.faq__item.open { border-color: rgba(255,207,122,0.26); }
.faq__item.open::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(255,145,66,0.2)); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; font-weight: 600; font-size: 1rem; }
.faq__q::after { content: "+"; content: "+" / ""; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  font-size: 1.15rem; font-weight: 300; line-height: 1; color: var(--ink-2); background: rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease); flex-shrink: 0; }
.faq__item.open .faq__q::after { transform: rotate(45deg); color: #1a0a00; background: var(--gold); }
/* collapsed only once app.js is running (html.faq-js); with no JS every answer is simply visible */
.faq__a { overflow: hidden; }
html.faq-js .faq__a { max-height: 0; transition: max-height 0.4s var(--ease); }
.faq__a p { margin: 0; padding: 0 1.3rem 1.2rem 1.3rem; color: var(--ink-2); font-size: 0.94rem; line-height: 1.7; max-width: 64ch; }

/* --------------------------------------------------------------------------
   STICKY BUY BAR (phones): thumb / name / price / button
   -------------------------------------------------------------------------- */
.sticky {
  position: fixed; left: 0; right: 0; z-index: 90;
  bottom: 0;
  background: rgba(10,0,21,0.97); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid rgba(139,61,255,0.22);
  box-shadow: 0 -14px 40px -20px rgba(0,0,0,0.8);
  transform: translateY(100%);
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
html.buybar-js .sticky:not(.visible) { transform: translateY(100%); pointer-events: none; }
.sticky.visible { transform: translateY(0); pointer-events: auto; }
.sticky__in { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding: 0.75rem 0; }
.sticky__info { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.sticky__img { width: 50px; height: 50px; object-fit: contain; border-radius: 10px; flex-shrink: 0; filter: drop-shadow(-2px 4px 5px rgba(0,0,0,0.55)); }
.sticky__details { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.sticky__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.sticky__meta { display: flex; align-items: center; gap: 0.4rem; }
.sticky__stars { font-size: 0.72rem; color: #fbbf24; letter-spacing: 1px; line-height: 1; }
.sticky__rating { font-family: var(--font-mono); font-size: 0.66rem; color: var(--ink-3); }
.sticky__pricing { display: flex; align-items: baseline; gap: 0.5rem; padding-left: 0.4rem; border-left: 1px solid rgba(255,255,255,0.1); margin-left: 0.4rem; flex-shrink: 0; }
.sticky__price { font-family: var(--font-display); font-weight: 800; font-size: 1.24rem; letter-spacing: -0.02em; color: #fff; }
.sticky__price em { font-style: normal; color: var(--court); font-size: 0.6em; vertical-align: 0.3em; }
.sticky__price i { font-style: normal; font-size: 0.56em; color: var(--ink-3); }
.sticky__old { font-size: 0.8rem; color: var(--ink-3); text-decoration: line-through; }
.sticky__save { font-size: 0.56rem; font-weight: 800; letter-spacing: 0.08em; padding: 0.16rem 0.4rem; border-radius: 5px; color: #7df0aa; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.3); }
.sticky__trust { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.3rem; }
.sticky__trust li { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--ink-2); white-space: nowrap; }
.sticky__btn { min-height: 52px; padding-inline: 2.4rem; font-size: 1rem; flex-shrink: 0; }
@media (max-width: 900px) { .sticky__trust { display: none; } }
@media (max-width: 620px) {
  .sticky__in { gap: 0.6rem; padding: 0.6rem 0; }
  .sticky__pricing { display: none; }
  .sticky__meta { display: none; }
  .sticky__name { font-size: 0.92rem; }
  .sticky__img { width: 42px; height: 42px; }
  .sticky__btn { padding-inline: 1rem; font-size: 0.82rem; min-height: 46px; }
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL - nothing hides unless the head script has armed it
   -------------------------------------------------------------------------- */
[data-reveal] { visibility: visible !important; pointer-events: auto !important; }
html:not(.motion-ready) [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
html.motion-ready [data-reveal]:not(.reveal-done) {
  --rv-delay: calc(var(--rv-i, 0) * 65ms);
  transition: opacity 420ms var(--ease-fade) var(--rv-delay), transform 780ms var(--ease) var(--rv-delay);
}
html.motion-ready [data-reveal]:not(.reveal-in) { opacity: 0; transform: translate3d(0, 14px, 0); }
html.motion-ready [data-reveal].reveal-in:not(.reveal-done) { transform: translate3d(0, 0, 0); }
html.motion-ready [data-reveal].reveal-done { opacity: 1 !important; }
html.motion-ready [data-reveal="slab"]:not(.reveal-done) { transform-origin: 50% 100%; }
html.motion-ready [data-reveal="slab"]:not(.reveal-in) { transform: perspective(1200px) translate3d(0, 16px, 0) rotateX(1.8deg); }
html.motion-ready [data-reveal="slab"].reveal-in:not(.reveal-done) { transform: perspective(1200px) translate3d(0,0,0) rotateX(0deg); }
html.motion-ready [data-reveal="lead"]:not(.reveal-in) { transform: translate3d(0, 10px, 0); }
html.motion-ready .buycard[data-reveal]:not(.reveal-done) { transition: opacity 260ms var(--ease-fade) var(--rv-delay), transform 620ms var(--ease) var(--rv-delay), box-shadow 0.6s ease; }
@media (max-width: 768px) {
  html.motion-ready [data-reveal]:not(.reveal-in) { transform: translate3d(0, 10px, 0); }
  html.motion-ready [data-reveal="slab"]:not(.reveal-in) { transform: translate3d(0, 12px, 0); }
  html.motion-ready [data-reveal="slab"].reveal-in:not(.reveal-done) { transform: translate3d(0,0,0); }
}
@media print { [data-reveal] { opacity: 1 !important; transform: none !important; } }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 3px; }
