/* ═══════════════════════════════════════════════════════════════════
   RLSS Boost — design system v2 ("The Climb")
   Loaded LAST on every page (after style.css and any page <style>), so
   it only has to win, never to fight: everything is scoped to body.rb.

   One sky behind the whole site (nebula, Milky Way, two star layers,
   grain - built by rb.js), graphite glass panels whose top edge catches
   the light, one accent (the brand blue), Geist for words, Rajdhani for
   the gamer bits (eyebrows, numbers, rank names).
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --rb-bg: #03050b;
  --rb-ink: #eef3ff;
  --rb-ink2: #a6b2cc;
  --rb-ink3: #79668e;
  --rb-line: rgba(199, 150, 255, .09);
  --rb-line2: rgba(199, 150, 255, .17);
  --rb-panel: rgba(14, 20, 38, .55);
  --rb-panel2: rgba(20, 28, 52, .62);
  --rb-blue: #a14fff;
  --rb-blue-rgb: 26, 163, 255;
  --rb-cyan: #b7d9ff;
  --rb-deep: #9f4aff;
  --rb-violet-rgb: 124, 92, 255;
  --rb-gold: #ffcf5a;
  --rb-red: #ff6b6b;
  --rb-r: 20px;
  --rb-f: "Geist", "Inter", system-ui, sans-serif;
  --rb-d: "Rajdhani", "Geist", sans-serif;
  --rb-e: cubic-bezier(.16, 1, .3, 1);
}

html.rb-html { background: var(--rb-bg); scroll-behavior: smooth; scroll-padding-top: 88px; }
body.rb { background: transparent; color: var(--rb-ink); font: 400 16px/1.6 var(--rb-f); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100dvh; }
body.rb::after { display: none; }                                  /* the old flat gradient: the sky replaces it */
body.rb #stars, body.rb canvas#starfield, body.rb .stars-canvas, body.rb #cin-progress { display: none !important; }
body.rb ::selection { background: rgba(var(--rb-blue-rgb), .35); }

/* ── the sky ─────────────────────────────────────────────────────── */
.rb-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--rb-bg); }
.rb-nebula { position: absolute; inset: -12%; filter: blur(34px); opacity: .95;
  background:
    radial-gradient(34% 30% at 16% 14%, rgba(var(--rb-blue-rgb), .20), transparent 70%),
    radial-gradient(30% 26% at 86% 22%, rgba(var(--rb-violet-rgb), .16), transparent 70%),
    radial-gradient(40% 32% at 70% 88%, rgba(157, 71, 255, .14), transparent 70%),
    radial-gradient(26% 22% at 30% 70%, rgba(var(--rb-violet-rgb), .07), transparent 70%);
  animation: rbNebula 80s ease-in-out infinite alternate; }
@keyframes rbNebula { to { transform: translate3d(3%, -2%, 0) rotate(4deg) scale(1.05); } }
.rb-milky { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.rb-stars { position: absolute; inset: -80px; background-repeat: repeat; transition: transform 1.4s var(--rb-e); }
.rb-stars.near { animation: rbTwinkle 7s ease-in-out infinite alternate; }
@keyframes rbTwinkle { to { opacity: .55; } }
.rb-vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)); }

/* cursor light: any .rb-spot panel follows the pointer with a soft glow */
.rb-spot { --mx: 50%; --my: 0%; }
.rb-spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--rb-blue-rgb), .10), transparent 60%); }
.rb-spot:hover::after { opacity: 1; }

/* ── type ────────────────────────────────────────────────────────── */
.rb-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 13px/1 var(--rb-d); letter-spacing: .32em; text-transform: uppercase;
  color: var(--rb-cyan); }
.rb-eyebrow::before, .rb-eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(183, 217, 255, .7)); }
.rb-eyebrow::after { transform: scaleX(-1); }
.rb-h2 { margin: 18px 0 0; font: 650 clamp(34px, 5.4vw, 64px)/1.02 var(--rb-f); letter-spacing: -.045em; color: #fff; text-wrap: balance; text-transform: none; }
.rb-h2 em { font-style: normal; background: linear-gradient(100deg, #fff 0%, var(--rb-cyan) 45%, var(--rb-blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.rb-lead { margin: 18px auto 0; max-width: 560px; color: var(--rb-ink2); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.rb-head { text-align: center; margin-bottom: 56px; }
.rb-section { position: relative; padding: 140px 24px; }
@media (max-width: 700px) { .rb-section { padding: 84px 16px; } .rb-head { margin-bottom: 36px; } }
.rb-wrap { max-width: 1180px; margin: 0 auto; }

/* ── buttons ─────────────────────────────────────────────────────── */
.rb-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 14px; border: 1px solid transparent; font: 600 15.5px/1 var(--rb-f); letter-spacing: -.01em; color: #fff; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--rb-e), box-shadow .25s, background .2s, border-color .2s, filter .2s; white-space: nowrap; }
.rb-btn svg { width: 19px; height: 19px; flex: none; }
.rb-btn.pri { background: linear-gradient(180deg, #a556ff, var(--rb-deep)) border-box; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 28px -6px rgba(var(--rb-blue-rgb), .85); }
.rb-btn.pri:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 38px -4px rgba(var(--rb-blue-rgb), 1); }
.rb-btn.ghost { background: rgba(255, 255, 255, .045); border-color: var(--rb-line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rb-btn.ghost:hover { background: rgba(255, 255, 255, .085); border-color: rgba(var(--rb-blue-rgb), .45); transform: translateY(-2px); }
.rb-btn.discord { background: linear-gradient(180deg, #6f7dff, #4b55e8) border-box; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 28px -6px rgba(88, 101, 242, .9); }
.rb-btn.discord:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 38px -4px rgba(88, 101, 242, 1); }
.rb-btn.closed, .rb-btn[aria-disabled="true"] { cursor: not-allowed; color: #c9cfdd; background: rgba(255, 255, 255, .04); border-color: var(--rb-line2);
  box-shadow: none; transform: none; filter: none; }
.rb-btn.closed i { width: 8px; height: 8px; border-radius: 50%; background: var(--rb-red); box-shadow: 0 0 10px var(--rb-red); }
/* opening soon: amber, pulsing */
.rb-btn.closed.soon { color: #ffe9c2; border-color: rgba(255, 196, 90, .32); background: rgba(40, 28, 8, .38); }
.rb-btn.closed.soon i, .rb-status.soon i, .orders-closed-note i { background: #ffc24a !important; box-shadow: 0 0 0 0 rgba(255, 194, 74, .6) !important;
  animation: rbPingSoon 2.2s infinite !important; }
.rb-status.soon { color: #ffe9c2; border-color: rgba(255, 196, 90, .32); background: rgba(40, 28, 8, .4); }
@keyframes rbPingSoon { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 74, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 194, 74, 0); } }

/* status pill (orders closed) */
.rb-status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 13px; border-radius: 99px; font: 600 13.5px/1 var(--rb-f);
  color: #ffd9d9; border: 1px solid rgba(255, 107, 107, .3); background: rgba(40, 10, 16, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rb-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--rb-red); box-shadow: 0 0 0 0 rgba(255, 107, 107, .6); animation: rbPing 2.2s infinite; }
@keyframes rbPing { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 107, 107, 0); } }

/* ── panels: graphite glass, the top edge catches the light ───────── */
.rb-panel { position: relative; border-radius: var(--rb-r); background: linear-gradient(180deg, var(--rb-panel2), var(--rb-panel));
  border: 1px solid var(--rb-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 80px -40px rgba(0, 0, 0, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.rb-panel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(183, 217, 255, .38), rgba(var(--rb-blue-rgb), .08) 28%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* ── nav ─────────────────────────────────────────────────────────── */
.rb-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.rb-nav.scrolled { background: rgba(4, 7, 15, .72); border-bottom-color: var(--rb-line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.rb-nav-in { max-width: 1280px; margin: 0 auto; height: 72px; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.rb-brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font: 700 17px/1 var(--rb-d); letter-spacing: .14em; white-space: nowrap; }
.rb-brand svg { width: 30px; height: 30px; filter: drop-shadow(0 0 12px rgba(var(--rb-blue-rgb), .6)); }
.rb-brand b { font-weight: 700; color: var(--rb-cyan); }
/* the logo: the real ball as an emblem beside the icy wordmark - no glow, it just turns, slowly */
.rb-brand { gap: 9px; }
.rb-brand .rb-brand-ball { width: 46px; height: 46px; margin: -6px 0; flex: none; border-radius: 0; filter: drop-shadow(0 0 10px rgba(70, 140, 255, .9)); animation: rbBallTurn 40s linear infinite; }
.rb-brand .rb-brand-word { height: 30px; width: auto; filter: drop-shadow(0 0 6px rgba(197, 224, 255, .35)); }
@keyframes rbBallTurn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rb-brand .rb-brand-ball { animation: none; } }
@media (max-width: 560px) { .rb-brand .rb-brand-ball { width: 38px; height: 38px; margin: -4px 0; } .rb-brand .rb-brand-word { height: 25px; } }
.rb-links { display: flex; gap: 4px; margin: 0 auto; }
.rb-links a { position: relative; padding: 9px 13px; border-radius: 10px; font: 500 14.5px/1 var(--rb-f); color: var(--rb-ink2); text-decoration: none; transition: color .2s, background .2s; }
.rb-links a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.rb-links a.on { color: #fff; }
.rb-links a.on::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--rb-blue); box-shadow: 0 0 10px var(--rb-blue); }
.rb-nav-act { display: flex; align-items: center; gap: 10px; }
.rb-nav-act .rb-btn { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.rb-burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--rb-line2); background: rgba(255, 255, 255, .04); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.rb-burger i { width: 18px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .3s var(--rb-e), opacity .2s; }
.rb-menu { position: fixed; inset: 0; z-index: 899; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 90px 28px 40px;
  background: rgba(3, 5, 11, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility 0s .3s; }
.rb-menu a { font: 650 34px/1.25 var(--rb-f); letter-spacing: -.04em; color: #fff; text-decoration: none; opacity: 0; transform: translateY(14px);
  transition: opacity .4s, transform .5s var(--rb-e); }
.rb-menu .rb-btn { margin-top: 26px; align-self: flex-start; font: 600 16px/1 var(--rb-f); letter-spacing: -.01em; }
body.rb-menu-open .rb-menu { opacity: 1; visibility: visible; transition: opacity .3s; }
body.rb-menu-open .rb-menu a { opacity: 1; transform: none; }
body.rb-menu-open .rb-menu a:nth-child(2) { transition-delay: .04s; } body.rb-menu-open .rb-menu a:nth-child(3) { transition-delay: .08s; }
body.rb-menu-open .rb-menu a:nth-child(4) { transition-delay: .12s; } body.rb-menu-open .rb-menu a:nth-child(5) { transition-delay: .16s; }
body.rb-menu-open .rb-menu a:nth-child(6) { transition-delay: .2s; } body.rb-menu-open .rb-menu a:nth-child(7) { transition-delay: .24s; }
body.rb-menu-open .rb-burger i:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.rb-menu-open .rb-burger i:nth-child(2) { opacity: 0; }
body.rb-menu-open .rb-burger i:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
@media (max-width: 1060px) {
  .rb-links { display: none; }
  .rb-burger { display: flex; }
  .rb-nav-act { margin-left: auto; }
}
@media (max-width: 560px) { .rb-nav-act .rb-btn.ghost { display: none; } .rb-nav-in { height: 64px; padding: 0 16px; } }

/* ── footer ──────────────────────────────────────────────────────── */
.rb-foot { position: relative; margin-top: 40px; padding: 80px 24px 34px; border-top: 1px solid var(--rb-line);
  background: linear-gradient(180deg, transparent, rgba(4, 8, 18, .8)); }
.rb-foot-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.rb-foot p { margin: 16px 0 22px; max-width: 320px; color: var(--rb-ink3); font-size: 14.5px; }
.rb-foot h4 { margin: 4px 0 16px; font: 700 12.5px/1 var(--rb-d); letter-spacing: .26em; text-transform: uppercase; color: var(--rb-ink3); }
.rb-foot nav { display: grid; gap: 11px; }
.rb-foot nav a { color: var(--rb-ink2); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.rb-foot nav a:hover { color: #fff; }
.rb-foot-bot { max-width: 1180px; margin: 60px auto 0; padding-top: 24px; border-top: 1px solid var(--rb-line); display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; color: var(--rb-ink3); font-size: 13px; }
@media (max-width: 860px) { .rb-foot-in { grid-template-columns: 1fr 1fr; } .rb-foot-in > div:first-child { grid-column: 1 / -1; } }

/* ── reveal on scroll (CSS-driven: plays even with reduced motion on, just softer) ── */
.rb-rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--rb-e), transform 1.1s var(--rb-e); transition-delay: var(--d, 0s); }
.rb-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rb-rv { transform: none; transition: opacity .6s ease; } }
html.rb-noreveal .rb-rv { opacity: 1; transform: none; }

/* ── page header for inner pages ─────────────────────────────────── */
.rb-pagehead { position: relative; padding: 168px 24px 0; text-align: center; }
.rb-pagehead h1 { margin: 20px 0 0; font: 650 clamp(42px, 7vw, 84px)/1 var(--rb-f); letter-spacing: -.05em; color: #fff; }
.rb-pagehead h1 em { font-style: normal; background: linear-gradient(100deg, #fff, var(--rb-cyan) 50%, var(--rb-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rb-pagehead p { margin: 20px auto 0; max-width: 600px; color: var(--rb-ink2); font-size: 18px; }
.rb-pagehead::after { content: ""; position: absolute; left: 50%; top: 110px; width: min(900px, 90vw); height: 380px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--rb-blue-rgb), .16), transparent 70%); filter: blur(10px); pointer-events: none; }

/* pages with their own footer / .container rules must not restyle the v2 footer */
body.rb footer.rb-foot { text-align: left; font-size: 15px; color: var(--rb-ink2); display: block; }
body.rb footer.rb-foot a { color: inherit; }
body.rb footer.rb-foot .rb-btn { color: #fff; }

/* ── the top bar, once you scroll: a floating capsule of frosted glass (iOS style) - the page shows
   through it blurred and brightened, a light rim catches its top edge ── */
.rb-nav-in { border: 1px solid transparent; border-radius: 0; transition: margin .45s var(--rb-e), height .45s var(--rb-e), border-radius .45s var(--rb-e),
  background .35s, border-color .35s, box-shadow .35s, max-width .45s var(--rb-e); }
.rb-nav.scrolled { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.rb-nav.scrolled .rb-nav-in { position: relative; max-width: 1240px; height: 62px; margin: 10px auto 0; border-radius: 22px;
  background: linear-gradient(180deg, rgba(63, 40, 90, .34), rgba(10, 14, 30, .42));
  border-color: rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 14px 40px -14px rgba(0, 0, 0, .8);
  backdrop-filter: blur(22px) saturate(180%) brightness(1.08); -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.08); }
.rb-nav.scrolled .rb-nav-in::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 45%); }
@media (max-width: 1280px) { .rb-nav.scrolled .rb-nav-in { margin: 10px 14px 0; } }
@media (max-width: 560px) {
  .rb-nav.scrolled .rb-nav-in { height: 56px; margin: 8px 10px 0; padding: 0 8px 0 12px; border-radius: 20px; }
  .rb-nav.scrolled .rb-burger { width: 40px; height: 40px; border-radius: 13px; }
}

/* never sideways: nothing may make the page wider than the screen (iOS lets you pan to anything that does) */
html.rb-html { overflow-x: hidden; }
.rb-btn .ob-s { display: none; }
@media (max-width: 440px) {
  .rb-nav-in, .rb-nav.scrolled .rb-nav-in { gap: 10px; }
  .rb-nav-act { gap: 8px; min-width: 0; }
  .rb-nav-act .rb-btn.closed { padding: 0 12px; font-size: 13px; gap: 8px; }
  .rb-btn .ob-l { display: none; }
  .rb-btn .ob-s { display: inline; }
  .rb-brand { min-width: 0; flex-shrink: 1; }
  .rb-brand .rb-brand-word { height: 22px; }
  .rb-brand .rb-brand-ball { width: 34px; height: 34px; margin: -3px 0; }
}

/* phones: a field under 16px makes iOS zoom in (and then the page pans sideways); and fewer live blurs,
   which iPhones pay for in graphics memory */
@media (max-width: 700px) {
  body.rb input, body.rb textarea, body.rb select { font-size: 16px !important; }
  body.rb .rb-panel, body.rb .rb-btn.ghost, body.rb .rb-status { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .rb-nebula { animation: none; filter: blur(24px); }
  .rb-stars.near { animation: none; }
}

/* phones: live background blur only on the top bar (every other one costs graphics memory, and the
   scrolling reviews strip alone had 24 of them) */
@media (max-width: 700px) {
  body.rb *:not(.rb-nav-in):not(.rb-nav):not(.rb-menu) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
/* the old spinning ring round the order box (style.css) never runs under the v2 design */
body.rb .order-builder::after { animation: none !important; }
