/* ═══════════════════════════════════════════════════════════════════
   RLSS Boost — the cosmic theme (the RLSSBOOST banner, as a website)
   Loaded LAST on every page, after rb.css and the page's own sheets.

   Deep space from the banner's own nebula, violet on the left and fire
   on the right, icy chrome headings, glass panels whose edge runs
   violet -> fire. The particles (stars, dust, orbiting sparks round
   every page title, crystals) are drawn by cosmic.js.
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --rb-bg: #05030b;
  --rb-ink: #f2f3ff;
  --rb-ink2: #cbc3e8;
  --rb-ink3: #9a8fbd;
  --rb-line: rgba(190, 160, 255, .11);
  --rb-line2: rgba(190, 160, 255, .2);
  --rb-panel: rgba(12, 7, 28, .6);
  --rb-panel2: rgba(28, 16, 58, .6);
  --rb-blue: #9b4dff;
  --rb-blue-rgb: 155, 77, 255;
  --rb-cyan: #cfe6ff;
  --rb-deep: #6a2cff;
  --rb-violet-rgb: 255, 122, 26;
  --cx-vio: #9b4dff; --cx-vio2: #c38eff; --cx-mag: #e052c8; --cx-fire: #ff7a1a; --cx-fire2: #ffb35c;
  --cx-d: "Chakra Petch", "Rajdhani", system-ui, sans-serif;
  --cx-ice: linear-gradient(180deg, #fff 6%, #e6f4ff 40%, #a9d4ff 52%, #f2f9ff 61%, #8dbaff 100%);
  --cx-fireg: linear-gradient(90deg, #b26bff 0%, #e255c4 30%, #ff7a3a 60%, #ffb35c 80%, #b26bff 100%);
  --cx-btn: linear-gradient(100deg, #6a2cff 0%, #a93cf2 38%, #f0508f 70%, #ff8a2a 100%);
  --cx-edge: linear-gradient(125deg, rgba(175, 115, 255, .75), rgba(170, 110, 255, .08) 35%, rgba(255, 140, 60, .08) 65%, rgba(255, 140, 60, .7));
}
html.rb-html { background: var(--rb-bg); }
body.rb ::selection { background: rgba(155, 77, 255, .4); color: #fff; }
html.rb-html { scrollbar-color: #6a3bb8 #07040f; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #07040f; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #7a3cff, #c2479e, #ff7a2a); border-radius: 10px; border: 2px solid #07040f; }

/* ── the sky: the banner's nebula, its two glows, a vignette, grain ── */
.rb-sky { background: var(--rb-bg); }
.rb-sky .rb-nebula { inset: -8%; filter: saturate(1.25); opacity: 1; background: url(images/cosmic-bg.webp) center/cover;
  animation: cxNeb 70s ease-in-out infinite alternate; }
@keyframes cxNeb { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-2.5%, 1.5%, 0); } }
.rb-sky .rb-milky, .rb-sky .rb-stars { display: none; }
.rb-sky::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(55% 45% at 6% 28%, rgba(130, 60, 255, .24), transparent 70%), radial-gradient(50% 45% at 96% 72%, rgba(255, 110, 30, .17), transparent 70%);
  animation: cxBreathe 9s ease-in-out infinite alternate; }
@keyframes cxBreathe { from { opacity: .7; } to { opacity: 1; } }
.rb-sky .rb-vignette { z-index: 2; background: radial-gradient(120% 90% at 50% 40%, transparent 25%, rgba(3, 2, 8, .88) 100%);
  background-color: rgba(5, 3, 11, var(--cx-shade, .32)); transition: background-color .6s; }
.rb-sky::after { content: ""; position: absolute; inset: 0; z-index: 4; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.rb-sky .cx-bg { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; }
@media (max-width: 700px) { .rb-sky .rb-nebula { filter: saturate(1.2); animation: none; } }

/* ── type: icy chrome headings, the key word on fire ── */
.rb-eyebrow { font: 700 12.5px/1 var(--cx-d); letter-spacing: .32em; color: #dccbff; }
.rb-eyebrow::before { background: linear-gradient(90deg, transparent, var(--cx-vio2)); }
.rb-eyebrow::after { transform: none; background: linear-gradient(90deg, var(--cx-fire2), transparent); }
.rb-h2, .rb-pagehead h1 {
  font-family: var(--cx-d); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.04;
  background: var(--cx-ice); background-size: 100% 1.04em; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(110, 170, 255, .3)); }
body.rb-tool .hero h1, .bst-hero h1 {
  font-family: var(--cx-d); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.04;
  background: var(--cx-ice); background-size: 100% 1.04em; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rb-h2 { font-size: clamp(30px, 4.4vw, 54px); }
.rb-pagehead h1 { font-size: clamp(36px, 6.2vw, 78px); }
body.rb-tool .hero h1 { font-size: clamp(38px, 6.4vw, 78px); }
.bst-hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.rb-h2 em, .rb-pagehead h1 em, body.rb-tool .hero h1 em, .bst-hero h1 em, .cx-fire {
  font-style: normal; background: var(--cx-fireg); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; animation: cxFlow 8s linear infinite; }
@keyframes cxFlow { to { background-position: -250% 0; } }
.cx-ice { background: var(--cx-ice); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rb-lead, .rb-pagehead p { color: var(--rb-ink2); }
.rb-pagehead { isolation: isolate; }
.rb-pagehead::after { background: radial-gradient(50% 50% at 35% 50%, rgba(140, 70, 255, .2), transparent 70%), radial-gradient(40% 50% at 70% 55%, rgba(255, 120, 40, .1), transparent 70%); }

/* ── buttons: violet into fire, with a light that runs across ── */
.rb-btn { font: 700 14.5px/1 var(--cx-d); letter-spacing: .07em; text-transform: uppercase; isolation: isolate; overflow: hidden; }
.rb-btn.pri { background: var(--cx-btn) border-box; background-size: 170% 100%; background-position: 0 0; border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 0 24px -4px rgba(130, 60, 255, .9), 0 0 46px -10px rgba(255, 120, 40, .8);
  text-shadow: 0 1px 10px rgba(60, 0, 90, .45); transition: transform .25s var(--rb-e), box-shadow .3s, background-position .6s, filter .2s; }
.rb-btn.pri:hover { background-position: 100% 0; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 32px -2px rgba(150, 70, 255, 1), 0 0 60px -8px rgba(255, 130, 50, .95); }
.rb-btn.pri::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-130%); }
.rb-btn.pri:hover::after { transition: transform .8s ease; transform: translateX(130%); }
.cx-hero .rb-btn.pri::after, .rb-pagehead .rb-btn.pri::after { animation: cxShine 5s ease-in-out 2.4s infinite; }
@keyframes cxShine { 0%, 72% { transform: translateX(-130%); } 92%, 100% { transform: translateX(130%); } }
.rb-btn.ghost { background: rgba(22, 13, 48, .5); border-color: rgba(185, 150, 255, .3); }
.rb-btn.ghost:hover { background: rgba(40, 22, 80, .55); border-color: rgba(205, 175, 255, .65); box-shadow: 0 0 28px -4px rgba(150, 90, 255, .65); }
.rb-btn.discord { font-family: var(--cx-d); }
/* the booster tool page keeps its own button classes */
body.rb-tool .btn-primary, body.rb-tool .btn-buy, body.rb-tool .btn-secondary, body.rb-tool .btn-buy-outline {
  font: 700 14.5px/1 var(--cx-d); letter-spacing: .07em; text-transform: uppercase; }
body.rb-tool .btn-primary, body.rb-tool .btn-buy { background: var(--cx-btn); background-size: 170% 100%; background-position: 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 24px -4px rgba(130, 60, 255, .9), 0 0 46px -10px rgba(70, 130, 255, .8);
  transition: transform .25s var(--rb-e), box-shadow .3s, background-position .6s; }
body.rb-tool .btn-primary:hover, body.rb-tool .btn-buy:hover { background-position: 100% 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 32px -2px rgba(150, 70, 255, 1), 0 0 60px -8px rgba(70, 140, 255, .95); }
body.rb-tool .btn-secondary, body.rb-tool .btn-buy-outline { background: rgba(22, 13, 48, .5); border-color: rgba(185, 150, 255, .3); }
.rb-btn:focus-visible { outline: 2px solid var(--cx-vio2); outline-offset: 3px; }
.rb-btn.closed, .rb-btn[aria-disabled="true"] { background: rgba(255, 255, 255, .04); }
.rb-btn.closed::after, .rb-btn[aria-disabled="true"]::after { display: none; }

/* ── panels: purple glass, the edge runs violet -> fire ── */
.rb-panel { background: linear-gradient(180deg, var(--rb-panel2), var(--rb-panel)); border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 80px -36px rgba(0, 0, 0, .9); }
.rb-panel::before { background: var(--cx-edge); }
.rb-spot::after { background: radial-gradient(440px circle at var(--mx) var(--my), rgba(165, 105, 255, .15), transparent 60%); }

/* ── nav ── */
.rb-brand { font-family: var(--cx-d); }
/* the logo: the banner's own icy letter colours (brand-word-ice), its glow, and the same frost glint running across */
.rb-brand .rb-brand-word, html.halloween .rb-brand .rb-brand-word { content: normal;
  filter: drop-shadow(0 0 7px rgba(130, 185, 255, .55)) drop-shadow(0 0 1px rgba(225, 240, 255, .6)); }
.rb-nav .rb-brand { position: relative; --bb: 34px; --bw: 30px; }
.rb-nav .rb-brand::after { content: ""; position: absolute; left: calc(var(--bb) + 9px); top: 50%; height: var(--bw); aspect-ratio: 317 / 96; translate: 0 -50%;
  pointer-events: none; -webkit-mask: url(images/brand-word-ice.webp) 0 0 / 100% 100% no-repeat; mask: url(images/brand-word-ice.webp) 0 0 / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 0 41%, rgba(190, 225, 255, .5) 46%, #fff 50%, rgba(190, 225, 255, .5) 54%, transparent 59% 100%) no-repeat;
  background-size: 300% 100%; background-position: 100% 0; mix-blend-mode: screen; animation: cxGlint 6s cubic-bezier(.45, 0, .2, 1) 2.5s infinite; }
@media (max-width: 560px) { .rb-nav .rb-brand { --bb: 30px; --bw: 25px; } }
@media (max-width: 440px) { .rb-nav .rb-brand { --bb: 28px; --bw: 22px; } }
.rb-links a:hover { background: rgba(160, 120, 255, .12); }
.rb-links a.on::after { background: linear-gradient(90deg, var(--cx-vio), var(--cx-fire)); box-shadow: 0 0 10px rgba(200, 100, 230, .9); }
.rb-nav.scrolled .rb-nav-in { background: linear-gradient(180deg, rgba(62, 36, 112, .36), rgba(14, 8, 30, .5)); border-color: rgba(200, 170, 255, .16); }
.rb-burger { border-color: rgba(190, 160, 255, .25); background: rgba(40, 22, 80, .35); }
.rb-menu { background: radial-gradient(70% 50% at 0% 20%, rgba(120, 50, 255, .25), transparent 70%), radial-gradient(60% 50% at 100% 85%, rgba(255, 110, 30, .16), transparent 70%), rgba(5, 3, 11, .95); }
.rb-menu a { font-family: var(--cx-d); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }

/* ── footer ── */
.rb-foot { background: linear-gradient(180deg, transparent, rgba(10, 5, 24, .85)); border-top-color: rgba(190, 160, 255, .12); }
.rb-foot h4 { font-family: var(--cx-d); color: #b9a8e6; }

/* ── status pills, numbers ── */
.rb-status.open, .orders-closed-note.open { border-color: rgba(77, 255, 154, .3); }
.climb-stats b, .statband b { font-family: var(--cx-d); background: var(--cx-ice); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.climb-stats > div > b + small { color: var(--cx-fire2); font-family: var(--cx-d); }

/* ── crystals (cosmic.js places them) ── */
.cx-shard { position: absolute; pointer-events: none; width: var(--w); aspect-ratio: 100 / 120; color: var(--c, #9b4dff); overflow: visible; opacity: var(--o, 1);
  filter: drop-shadow(0 0 var(--g, 14px) currentColor) drop-shadow(0 0 3px currentColor) blur(var(--b, 0px));
  animation: cxBob var(--t, 9s) ease-in-out var(--dl, 0s) infinite alternate; will-change: transform; }
@keyframes cxBob { from { transform: translate3d(0, -10px, 0) rotate(var(--r0, -8deg)); } to { transform: translate3d(0, 12px, 0) rotate(var(--r1, 7deg)); } }
.cx-drift { position: absolute; left: 0; top: 0; width: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
/* depth: each drifting crystal crosses the screen a little slower (or faster) than the page. Run by the
   browser's scroll thread, so it never lags behind the scroll; cosmic.js sets --pd per crystal */
@supports (animation-timeline: view()) {
  .cx-drift .cx-shard { animation: cxBob var(--t, 9s) ease-in-out var(--dl, 0s) infinite alternate, cxDrift linear both; animation-timeline: auto, view(); }
}
@keyframes cxDrift { from { translate: 0 calc(var(--pd, 0) * -50vh); } to { translate: 0 calc(var(--pd, 0) * 50vh); } }
@media (max-width: 760px) { .cx-drift .cx-shard { --o: .5; } }

/* the orbit of sparks behind every page title */
.cx-orbit { position: absolute; left: 0; top: 0; width: 100%; z-index: -1; pointer-events: none; }
.cx-headshards { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* ═══ the homepage hero: the banner itself, alive ═══════════════════ */
.cx-hero { --ah: clamp(300px, min(68vw, 100svh - 250px), 1100px); --vh: var(--ah); position: relative; padding: 0; }
@media (max-width: 760px) { .cx-hero { --ah: 68vw; --vh: max(68vw + 130px, min(118vw, 66svh)); } }
.cx-vis { position: relative; height: var(--vh); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%); }
.cx-art { position: absolute; left: 50%; top: 50%; width: max(100%, var(--ah) * 2.6667); aspect-ratio: 2048 / 768; translate: -50% -50%; will-change: transform, opacity; }
.cx-art-in { position: absolute; inset: 0; animation: cxArtIn 2s cubic-bezier(.16, .84, .24, 1) both; }
.cx-art-in img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
@media (max-width: 760px) {
  .cx-art-in { -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }
}
@keyframes cxArtIn { 0% { opacity: 0; transform: scale(1.16); filter: blur(16px) brightness(1.9) saturate(1.5); } 50% { opacity: 1; } 100% { opacity: 1; transform: none; filter: none; } }
.cx-glint, .cx-frost { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(images/cosmic-glint.webp) 0 0 / 100% 100% no-repeat; mask: url(images/cosmic-glint.webp) 0 0 / 100% 100% no-repeat; }
.cx-glint { background: linear-gradient(105deg, transparent 0 41%, rgba(170, 215, 255, .4) 46%, #fff 50%, rgba(170, 215, 255, .4) 54%, transparent 59% 100%) no-repeat;
  background-size: 300% 100%; background-position: 100% 0; mix-blend-mode: screen; animation: cxGlint 7s cubic-bezier(.45, 0, .2, 1) 1.5s infinite; }
.cx-frost { background: #cfe6ff; mix-blend-mode: screen; opacity: 0; animation: cxFrost 4.6s ease-in-out 2s infinite; }
@keyframes cxGlint { 0% { background-position: 100% 0; } 42%, 100% { background-position: 0 0; } }
@keyframes cxFrost { 0%, 100% { opacity: 0; } 50% { opacity: .22; } }
.cx-core { position: absolute; left: 50.5%; top: 64.6%; width: 7.5%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240, 248, 255, .95) 0 6%, rgba(120, 180, 255, .6) 18%, rgba(80, 120, 255, .2) 40%, transparent 68%);
  mix-blend-mode: screen; animation: cxCore 2.8s ease-in-out infinite; }
@keyframes cxCore { 0%, 100% { opacity: .5; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.18); } }
.cx-flare { position: absolute; width: 3.4%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(circle, #fff 0 5%, rgba(170, 215, 255, .7) 11%, transparent 38%),
    linear-gradient(90deg, transparent, rgba(225, 242, 255, .95) 50%, transparent) center / 100% 2px no-repeat,
    linear-gradient(0deg, transparent, rgba(225, 242, 255, .95) 50%, transparent) center / 2px 100% no-repeat;
  animation: cxFlare var(--t, 6s) ease-in-out var(--d, 0s) infinite; }
@keyframes cxFlare { 0%, 74% { opacity: 0; transform: scale(.2) rotate(0); } 84% { opacity: 1; transform: scale(1) rotate(45deg); } 100% { opacity: 0; transform: scale(.3) rotate(90deg); } }
.cx-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* as you scroll away the banner sinks and fades - on the browser's scroll thread, not in JS, so it stays
   glued to the scroll; the sparks' canvas sinks with it so they stay on the rings */
@supports (animation-timeline: scroll()) {
  .cx-art { animation: cxSink linear both; animation-timeline: scroll(root block); animation-range: 0px var(--vh); }
  .cx-fx { animation: cxSinkFx linear both; animation-timeline: scroll(root block); animation-range: 0px var(--vh); }
}
@keyframes cxSink { to { translate: -50% calc(-50% + var(--vh) * .32); opacity: .2; } }
@keyframes cxSinkFx { to { translate: 0 calc(var(--vh) * .32); } }
.cx-hshards { position: absolute; left: 0; right: 0; top: 0; height: var(--vh); pointer-events: none; z-index: 3; }
.cx-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px;
  margin: calc(-1 * clamp(26px, 6vw, 74px)) auto 0; padding: 0 16px clamp(30px, 5vw, 60px); }
.cx-copy .hw-deal { margin-bottom: 18px; }
.cx-title { margin: 18px 0 0; font: 700 clamp(30px, 4.5vw, 62px)/1.02 var(--cx-d); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; max-width: 22ch; }
.cx-title .cx-ice { filter: drop-shadow(0 0 18px rgba(110, 170, 255, .38)); }
.cx-title .cx-fire { filter: drop-shadow(0 0 16px rgba(230, 90, 190, .4)); }
.cx-sub { margin: 16px auto 0; max-width: 52ch; color: var(--rb-ink2); font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.55; }
.cx-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cx-in { opacity: 0; transform: translateY(18px); animation: cxIn 1.1s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes cxIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .cx-glint, .cx-frost, .cx-flare, .rb-nav .rb-brand::after { display: none; }
  .cx-art-in, .cx-in { animation: none; opacity: 1; transform: none; }
  .cx-art, .cx-fx, .cx-drift .cx-shard { animation: none; }
  .cx-shard, .rb-sky .rb-nebula, .rb-sky::before, .rb-h2 em, .rb-pagehead h1 em, .cx-fire { animation: none; }
}
