/* Lunar v3: night sky over the banner, ice-blue accents, subtle pixel display type. Every colour lives in a token. */
:root {
  color-scheme: dark;
  --bg: #04060c;
  --bg-2: #070b16;
  --panel: rgba(14, 24, 44, 0.42);
  --panel-solid: #0a1222;
  --line: rgba(143, 203, 255, 0.10);
  --line-2: rgba(143, 203, 255, 0.18);
  --ink: #eaf4ff;
  --ink-2: #a9bcd6;
  --ink-3: #6f84a3;
  --ink-4: #46597a;

  --ice-50: #eef8ff;
  --ice-100: #d6eeff;
  --ice-200: #bfe3ff;
  --ice-300: #8fcbff;
  --ice-400: #5cb2ff;
  --ice-500: #2f93f5;
  --ice-600: #2276d6;
  --ice-700: #1a5db8;
  --ice-800: #133f80;
  --ice-900: #0b2a5c;
  --ice-rgb: 92, 178, 255;
  --deep-rgb: 26, 93, 184;

  --ok: #5bd9a6;
  --ok-rgb: 91, 217, 166;
  --warn: #f2c46d;
  --warn-rgb: 242, 196, 109;
  --err: #ff8f8f;
  --err-rgb: 255, 110, 110;
  --discord: #5865f2;

  --grad-title: linear-gradient(176deg, #f4fbff 0%, var(--ice-200) 34%, var(--ice-400) 68%, var(--ice-700) 100%);
  --grad-btn: linear-gradient(135deg, var(--ice-500), var(--ice-700));
  --grad-btn-hi: linear-gradient(135deg, var(--ice-400), var(--ice-600));
  --grad-ok: linear-gradient(135deg, #23a074, #1b7f5c);

  --font-display: "Pixelify Sans", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, "Courier New", monospace;

  --r-sm: 9px;
  --r-md: 13px;
  --r-lg: 18px;
  --r-xl: 24px;

  --ease-out: cubic-bezier(0.2, 0.8, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --t-fast: 0.16s;
  --t-med: 0.32s;
  --t-slow: 0.6s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--font-body); min-height: 100vh; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { -webkit-user-drag: none; user-select: none; }
::selection { background: rgba(var(--ice-rgb), 0.3); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 2px solid var(--ice-300); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes lnFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(3deg); } }
@keyframes lnReveal { from { transform: translateY(22px) scale(0.99); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lnFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lnPop { from { opacity: 0; transform: scale(0.95) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lnSpin { to { transform: rotate(360deg); } }
@keyframes lnSheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(220%) skewX(-18deg); } }
@keyframes lnRipple { from { transform: scale(0); opacity: 0.45; } to { transform: scale(2.6); opacity: 0; } }
@keyframes lnToastBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes lnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--ice-rgb), 0.35); } 50% { box-shadow: 0 0 0 10px rgba(var(--ice-rgb), 0); } }

/* ---------- sky ---------- */
.root { position: relative; min-height: 100vh; display: flex; flex-direction: column; isolation: isolate; overflow-x: clip; }

/* ---------- header ---------- */
nav.hdr { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 1180px; width: 100%; margin: 22px auto 0; padding: 0 26px; animation: lnReveal 0.55s var(--ease-out) both; }
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; background: none; border: 0; }
.brand img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(var(--ice-rgb), 0.55)); transition: transform var(--t-med) var(--ease-spring); }
.brand:hover img { transform: rotate(-18deg) scale(1.08); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: 0; color: var(--ice-50); }

.tabs { position: relative; justify-self: center; display: flex; align-items: center; gap: 2px; background: rgba(10, 18, 34, 0.55); border: 1px solid var(--line); border-radius: 14px; padding: 4px; backdrop-filter: blur(12px); }
.tab-pill { position: absolute; top: 4px; left: 0; height: calc(100% - 8px); border-radius: 10px; background: linear-gradient(180deg, rgba(var(--ice-rgb), 0.2), rgba(var(--ice-rgb), 0.08)); border: 1px solid rgba(var(--ice-rgb), 0.28); box-shadow: 0 6px 18px rgba(var(--deep-rgb), 0.35); transition: transform var(--t-med) var(--ease-out), width var(--t-med) var(--ease-out), opacity var(--t-fast); pointer-events: none; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; white-space: nowrap; padding: 7px 12px; border-radius: 10px; transition: color var(--t-fast); color: var(--ink-3); background: transparent; border: none; }
.tab:hover { color: var(--ink-2); }
.tab.active { color: var(--ice-50); }
.tab svg { transition: transform var(--t-med) var(--ease-spring); }
.tab:hover svg { transform: translateY(-1px) scale(1.1); }

.discord-btn-hdr { justify-self: end; display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px; border-radius: 12px; background: rgba(10, 18, 34, 0.55); border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: 14px; transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.discord-btn-hdr:hover { background: rgba(88, 101, 242, 0.18); border-color: rgba(88, 101, 242, 0.5); transform: translateY(-1px); }

/* ---------- views ---------- */
main.body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 1100px; margin: 0 auto; padding: 48px 26px 64px; }
.view { display: none; width: 100%; }
.view.active { display: block; animation: lnFade 0.35s var(--ease-out); }

.home { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; width: 100%; margin: 0 auto; }
.logo-wrap { position: relative; width: 128px; height: 128px; display: grid; place-items: center; margin-bottom: 18px; animation: lnReveal 0.6s var(--ease-out) 0.08s both; }
.logo-wrap img { width: 112px; height: 112px; object-fit: contain; animation: lnFloat 7s ease-in-out infinite; filter: drop-shadow(0 12px 30px rgba(var(--ice-rgb), 0.5)); }

h1.title { font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 13vw, 132px); line-height: 0.95; letter-spacing: 0; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 4px 22px rgba(var(--ice-rgb), 0.35)); animation: lnReveal 0.6s var(--ease-out) 0.16s both; }
h1.page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.8vw, 50px); letter-spacing: 0; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 3px 16px rgba(var(--ice-rgb), 0.3)); animation: lnReveal 0.55s var(--ease-out) 0.05s both; }
.credit { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13.5px; font-weight: 500; letter-spacing: 0.4px; color: var(--ink-3); animation: lnReveal 0.6s var(--ease-out) 0.24s both; }
.credit b { color: var(--ice-300); font-weight: 700; position: relative; }
.credit b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.credit:hover b::after { transform: scaleX(1); }
.lead { font-family: var(--font-display); font-size: clamp(18px, 2.6vw, 24px); font-weight: 500; letter-spacing: 1px; color: var(--ice-100); margin-top: 18px; text-shadow: 0 2px 18px rgba(4, 8, 20, 0.6); animation: lnReveal 0.6s var(--ease-out) 0.32s both; }
.lead em { color: var(--ink); font-weight: 600; font-style: normal; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; animation: lnReveal 0.6s var(--ease-out) 0.4s both; }

/* ---------- buttons ---------- */
.btn, .plan-btn, .modal-btn, .key-btn { position: relative; overflow: hidden; isolation: isolate; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 14px; font-weight: 700; font-size: 16px; border: 1px solid var(--line-2); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), background var(--t-fast), filter var(--t-fast); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn-dark { background: var(--panel-solid); color: var(--ink); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.btn-dark:hover { background: #0f1a30; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--ice-rgb), 0.2); }
.btn-primary { background: var(--grad-btn); color: #fff; border-color: rgba(var(--ice-rgb), 0.45); box-shadow: 0 12px 30px rgba(var(--deep-rgb), 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-primary:hover { background: var(--grad-btn-hi); box-shadow: 0 16px 38px rgba(var(--ice-rgb), 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary::before, .plan-btn.primary::before { content: ""; position: absolute; inset: 0; z-index: -1; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: translateX(-120%) skewX(-18deg); }
.btn-primary:hover::before, .plan-btn.primary:hover::before { animation: lnSheen 0.8s var(--ease-out); }
.btn-ghost { background: rgba(10, 18, 34, 0.45); color: var(--ice-100); padding: 15px 22px; font-weight: 600; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(var(--ice-rgb), 0.12); border-color: rgba(var(--ice-rgb), 0.35); }
.btn:disabled, .plan-btn:disabled, .modal-btn:disabled, .key-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, 0.5); pointer-events: none; animation: lnRipple 0.6s var(--ease-out) forwards; }
.spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.28); border-top-color: #fff; animation: lnSpin 0.7s linear infinite; flex: none; }

/* ---------- banner showcase ---------- */

/* ---------- page heads / cards ---------- */
.page-head { width: 100%; text-align: center; }
.page-head .icon { display: flex; justify-content: center; margin-bottom: 14px; color: var(--ice-300); animation: lnReveal 0.55s var(--ease-out) both; }
.page-head .icon svg { filter: drop-shadow(0 6px 18px rgba(var(--ice-rgb), 0.45)); }
.page-head p { font-size: 16px; color: var(--ink-2); margin-top: 12px; animation: lnReveal 0.55s var(--ease-out) 0.12s both; }

.glass { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); backdrop-filter: blur(14px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }

/* Rivals view */
.rivals { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; max-width: 920px; margin: 32px auto 0; text-align: left; }
.game { overflow: hidden; animation: lnReveal 0.6s var(--ease-out) 0.18s both; transition: transform var(--t-med) var(--ease-out), border-color var(--t-med); }
.game:hover { transform: translateY(-3px); border-color: rgba(var(--ice-rgb), 0.35); }
.game .shot { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.game .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.game:hover .shot img { transform: scale(1.05); }
.game .meta { padding: 18px 20px 20px; }
.game h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: 0; }
.game .meta p { margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 16px; }
.feature-list li { list-style: none; display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink); }
.feature-list svg { color: var(--ice-300); flex: none; }
.get-script { padding: 22px; display: flex; flex-direction: column; animation: lnReveal 0.6s var(--ease-out) 0.26s both; }
.get-script h3 { font-family: var(--font-display); font-size: 18px; }
.steps { display: grid; gap: 10px; margin-top: 18px; counter-reset: step; }
.steps li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.steps li::before { counter-increment: step; content: counter(step); flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(var(--ice-rgb), 0.12); border: 1px solid rgba(var(--ice-rgb), 0.3); color: var(--ice-200); font-size: 11px; font-weight: 700; }
.steps b { color: var(--ink); }
.get-script .modal-actions { margin-top: auto; padding-top: 18px; }

.loadstring { position: relative; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #02040a; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; word-break: break-all; text-align: left; user-select: all; }
.lua-kw { color: #7cc4ff; } .lua-id { color: #bfe3ff; } .lua-fn { color: #9be7d8; } .lua-str { color: #f2c46d; } .lua-p { color: #8aa0bf; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 30px auto 0; max-width: 780px; text-align: left; }
.plans.plans-3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 38px 26px 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38); backdrop-filter: blur(14px); transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med); animation: lnReveal 0.6s var(--ease-out) both; }
.plan:nth-child(1) { animation-delay: 0.14s; } .plan:nth-child(2) { animation-delay: 0.22s; } .plan:nth-child(3) { animation-delay: 0.3s; }
.plan:hover { transform: translateY(-5px); border-color: rgba(var(--ice-rgb), 0.3); box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5); }
.plan.featured { border-color: rgba(var(--ice-rgb), 0.38); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4), 0 0 40px rgba(var(--deep-rgb), 0.28); }
.plan.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--ice-300) 85%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.8; pointer-events: none; }
.plan.featured:hover { border-color: rgba(var(--ice-rgb), 0.7); box-shadow: 0 28px 60px rgba(var(--deep-rgb), 0.45), 0 0 50px rgba(var(--ice-rgb), 0.2); }
.plan-corner-badge { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 7px; background: rgba(var(--ice-rgb), 0.16); border: 1px solid rgba(var(--ice-rgb), 0.42); color: var(--ice-100); font-size: 9.5px; font-weight: 700; letter-spacing: 0.7px; }
.plan-icon { display: flex; justify-content: center; align-items: center; min-height: 58px; color: var(--ice-300); }
.plan-icon svg, .plan-icon img { filter: drop-shadow(0 8px 22px rgba(var(--ice-rgb), 0.5)); transition: transform var(--t-med) var(--ease-spring); }
.plan:hover .plan-icon svg, .plan:hover .plan-icon img { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.plan-icon img { width: 56px; height: 56px; object-fit: contain; }
.plan-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); margin-top: 18px; text-align: center; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; justify-content: center; flex-wrap: wrap; }
.plan-price .amount { font-family: var(--font-display); font-weight: 800; font-size: 42px; color: #fff; letter-spacing: 0; }
.plan-price .amount sup { font-size: 0.48em; vertical-align: 0.75em; margin-left: 1px; letter-spacing: 0; }
.plan-price .amount.free { color: var(--ok); }
.plan-price .was { font-size: 18px; color: var(--ink-4); font-weight: 600; text-decoration: line-through; text-decoration-color: rgba(var(--err-rgb), 0.7); }
.plan-price .period { font-size: 15px; color: var(--ink-3); font-weight: 500; }
.save-row { text-align: center; }
.plan-save { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 6px; background: rgba(var(--ok-rgb), 0.12); border: 1px solid rgba(var(--ok-rgb), 0.32); color: var(--ok); font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.feat { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink); }
.feat svg { flex-shrink: 0; color: var(--ice-300); }
.plan.muted .feat svg { color: var(--ink-3); }
.plan-btn { margin-top: auto; width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 14px; border-radius: 12px; font-weight: 700; font-size: 15.5px; border: 1px solid var(--line-2); transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), box-shadow var(--t-fast); }
.plan-features + .plan-btn { margin-top: 26px; }
.plan-btn.primary { background: var(--grad-btn); color: #fff; border-color: rgba(var(--ice-rgb), 0.45); box-shadow: 0 10px 24px rgba(var(--deep-rgb), 0.45); }
.plan-btn.primary:hover { background: var(--grad-btn-hi); transform: translateY(-2px); }
.plan-btn.ghost { background: rgba(255, 255, 255, 0.05); color: var(--ink); }
.plan-btn.ghost:hover { background: rgba(var(--ice-rgb), 0.12); transform: translateY(-2px); }
.fineprint { margin-top: 20px; text-align: center; font-size: 13px; color: var(--ink-3); animation: lnReveal 0.6s var(--ease-out) 0.36s both; }
.fineprint button { background: none; border: 0; color: var(--ice-300); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.fineprint a { color: var(--ice-300); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.plan-terms { max-width: 660px; margin-inline: auto; line-height: 1.6; color: var(--ink-2); }

.platforms-block { margin-top: 38px; text-align: center; animation: lnReveal 0.6s var(--ease-out) 0.34s both; }
.platforms-label { font-size: 12px; font-weight: 700; letter-spacing: 1.3px; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 11px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.pill:hover { border-color: rgba(var(--ice-rgb), 0.35); color: var(--ink); transform: translateY(-2px); }
.pay-pills .pill { padding: 7px 12px; font-size: 12.5px; }

/* coming soon */
.soon { max-width: 520px; margin: 34px auto 0; padding: 40px 30px; text-align: center; animation: lnReveal 0.6s var(--ease-out) 0.15s both; }
.soon h2 { margin-top: 22px; font-family: var(--font-display); font-size: 26px; letter-spacing: 0; }
.soon p { margin-top: 10px; color: var(--ink-2); line-height: 1.7; font-size: 15px; }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(2, 4, 10, 0.72); backdrop-filter: blur(8px); }
.modal-bg.open { display: flex; animation: lnFade 0.22s ease; }
.modal { position: relative; width: 100%; max-width: 540px; background: linear-gradient(180deg, #0b1324, #070c18); border: 1px solid rgba(var(--ice-rgb), 0.24); border-radius: 20px; padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(var(--deep-rgb), 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04); animation: lnPop 0.32s var(--ease-spring); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink-2); font-size: 17px; line-height: 1; transition: background var(--t-fast), transform var(--t-fast); }
.modal-close:hover { background: rgba(255, 255, 255, 0.11); transform: rotate(90deg); }
.modal-head { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.modal-head img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 4px 12px rgba(var(--ice-rgb), 0.4)); }
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); }
.modal-sub { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-btn { flex: 1; padding: 13px; border-radius: 12px; font-weight: 700; font-size: 15px; border: 1px solid var(--line-2); transition: transform var(--t-fast), background var(--t-fast); display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.modal-btn:hover { transform: translateY(-2px); }
.modal-btn.primary { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px rgba(var(--deep-rgb), 0.4); }
.modal-btn.primary:hover { background: var(--grad-btn-hi); }
.modal-btn.copied, .key-btn.copied { background: var(--grad-ok) !important; border-color: rgba(var(--ok-rgb), 0.5) !important; }
.modal-btn.ghost { background: rgba(255, 255, 255, 0.05); color: var(--ink); }
.modal-btn.ghost:hover { background: rgba(var(--ice-rgb), 0.12); }

/* ---------- toasts ---------- */
.toasts { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 420px); }
.toast { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border-radius: 12px; background: rgba(10, 18, 34, 0.92); border: 1px solid var(--line-2); color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); backdrop-filter: blur(12px); animation: lnPop 0.28s var(--ease-spring); pointer-events: auto; transition: opacity var(--t-med), transform var(--t-med); }
.toast.out { opacity: 0; transform: translateY(-8px) scale(0.97); }
.toast svg { flex: none; }
.toast.ok { border-color: rgba(var(--ok-rgb), 0.45); } .toast.ok svg { color: var(--ok); }
.toast.err { border-color: rgba(var(--err-rgb), 0.45); } .toast.err svg { color: var(--err); }
.toast.info svg { color: var(--ice-300); }
.toast .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; opacity: 0.5; transform-origin: left; animation: lnToastBar var(--life, 3s) linear forwards; }
.toast.ok .bar { color: var(--ok); } .toast.err .bar { color: var(--err); } .toast.info .bar { color: var(--ice-300); }

/* ---------- key / checkpoint / success / manage cards ---------- */
.root.focus-mode nav.hdr { display: none; }
.root.focus-mode main.body { padding-top: 70px; }
.key-wrap { width: 100%; max-width: 480px; margin: 0 auto; }
.key-card { padding: 32px; border-radius: var(--r-xl); background: rgba(8, 14, 28, 0.82); border: 1px solid rgba(var(--ice-rgb), 0.28); backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(var(--deep-rgb), 0.25); animation: lnPop 0.4s var(--ease-spring); }
.key-head { display: flex; align-items: center; gap: 14px; }
.key-head img { width: 48px; height: 48px; object-fit: contain; animation: lnFloat 8s ease-in-out infinite; }
.key-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0; }
.key-sub { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.progress { display: flex; align-items: center; gap: 10px; margin: 24px 0 18px; }
.dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--ink-3); font-size: 13px; font-weight: 700; transition: background var(--t-med), border-color var(--t-med), color var(--t-med), transform var(--t-med) var(--ease-spring); flex-shrink: 0; }
.dot.wait { background: rgba(var(--ice-rgb), 0.16); border-color: rgba(var(--ice-rgb), 0.5); color: var(--ice-100); animation: lnPulse 1.6s ease-in-out infinite; }
.dot.done { background: var(--grad-btn); border-color: rgba(var(--ice-rgb), 0.7); color: #fff; transform: scale(1.08); }
.line { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.06); border-radius: 2px; overflow: hidden; }
.line i { display: block; height: 100%; width: 100%; background: var(--grad-btn); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.line.done i { transform: scaleX(1); }
.step { background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: opacity var(--t-med), filter var(--t-med); }
.step + .step { margin-top: 12px; }
.step.locked { opacity: 0.45; filter: grayscale(0.4); pointer-events: none; }
.step-label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.step-num { padding: 3px 9px; border-radius: 6px; background: rgba(var(--ice-rgb), 0.16); color: var(--ice-100); font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; }
.step-desc { font-size: 13.5px; color: var(--ink); font-weight: 500; }
.key-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 11px; color: #fff; border: 1px solid rgba(var(--ice-rgb), 0.4); font-weight: 700; font-size: 15px; background: var(--grad-btn); box-shadow: 0 8px 20px rgba(var(--deep-rgb), 0.4); transition: transform var(--t-fast), filter var(--t-fast); }
.key-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.08); }
.key-btn.discord { background: linear-gradient(135deg, #5865f2, #4752c4); border-color: rgba(88, 101, 242, 0.5); box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3); }
.key-btn.done { background: var(--grad-ok); border-color: rgba(var(--ok-rgb), 0.5); box-shadow: 0 8px 20px rgba(var(--ok-rgb), 0.2); }
.key-btn.ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); box-shadow: none; color: var(--ink); }
.ts-box { display: flex; align-items: center; justify-content: center; min-height: 66px; color: var(--ink-3); font-size: 13px; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.key-out { margin-top: 16px; padding: 14px; border-radius: 12px; background: #02040a; border: 1px solid rgba(var(--ok-rgb), 0.35); font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.5px; color: var(--ice-50); text-align: center; word-break: break-all; user-select: all; animation: lnPop 0.35s var(--ease-spring); }
.key-meta { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.back-link { display: inline-flex; margin-top: 16px; background: none; border: 0; color: var(--ink-3); font-size: 13px; font-weight: 600; transition: color var(--t-fast); }
.back-link:hover { color: var(--ice-200); }
.field { width: 100%; padding: 13px 14px; border-radius: 11px; background: #02040a; border: 1px solid var(--line-2); color: var(--ink); font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.4px; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); text-transform: uppercase; }
.field:focus { border-color: rgba(var(--ice-rgb), 0.7); box-shadow: 0 0 0 4px rgba(var(--ice-rgb), 0.12); }
.field.bad { border-color: rgba(var(--err-rgb), 0.6); animation: lnShake 0.35s; }
@keyframes lnShake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.stat { padding: 12px 13px; border-radius: 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); animation: lnPop 0.3s var(--ease-out) both; }
.stat small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.8px; color: var(--ink-3); }
.stat b { display: block; margin-top: 4px; font-size: 14.5px; }
.stat b.ok { color: var(--ok); } .stat b.bad { color: var(--err); }
.btn-row { display: flex; gap: 10px; margin-top: 14px; }
.btn-row .key-btn { flex: 1; padding: 12px; font-size: 14px; }
.notice { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(var(--warn-rgb), 0.08); border: 1px solid rgba(var(--warn-rgb), 0.3); color: var(--warn); font-size: 12.5px; line-height: 1.55; }

/* legal */
.legal { max-width: 720px; margin: 30px auto 0; padding: 28px 30px; text-align: left; animation: lnReveal 0.6s var(--ease-out) 0.12s both; }
.legal h2 { font-family: var(--font-display); font-size: 18px; margin-top: 22px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 8px; color: var(--ink-2); line-height: 1.7; font-size: 14.5px; }

footer.foot { position: relative; z-index: 2; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 26px 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-4); }
footer.foot button { background: none; border: 0; color: var(--ink-3); font-size: inherit; transition: color var(--t-fast); }
footer.foot button:hover { color: var(--ice-200); }
footer.foot nav { display: flex; gap: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .plans.plans-3 { grid-template-columns: 1fr; max-width: 420px; }
  .rivals { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 720px) {
  nav.hdr { grid-template-columns: auto 1fr; gap: 12px; margin-top: 16px; padding: 0 16px; }
  .tabs { order: 3; grid-column: 1 / -1; justify-self: stretch; overflow-x: auto; scrollbar-width: none; }
  .tab { padding: 7px 10px; }
  .discord-btn-hdr { padding: 8px 12px; font-size: 13px; }
  main.body { padding: 34px 16px 52px; }
  .plans { grid-template-columns: 1fr; }
  .lead { font-size: 16px; }
  .btn { padding: 13px 18px; font-size: 15px; }
  .showcase { aspect-ratio: 4 / 5; margin-top: 44px; }
  .showcase::after { background: linear-gradient(to top, rgba(4, 10, 24, 0.92) 0%, rgba(4, 10, 24, 0.5) 55%, transparent 85%); }
  .showcase-copy { top: auto; bottom: 22px; transform: none; right: 20px; max-width: none; }
  .key-card { padding: 24px 20px; }
  .feature-list { grid-template-columns: 1fr; }
  footer.foot { padding: 0 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Rotating light on the featured plan's border. */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes lnAngle { to { --angle: 360deg; } }
.plan.featured::before { animation: lnAngle 6s linear infinite; }
.manage-form { margin-top: 22px; }

/* ---------- header account + announcement ---------- */
.hdr-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; min-height: 40px; border-radius: 12px; background: var(--grad-btn); border: 1px solid rgba(var(--ice-rgb), 0.45); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 8px 20px rgba(var(--deep-rgb), 0.35); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast); }
.acct-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(var(--ice-rgb), 0.3); }
.acct-btn .acct-avatar[hidden] + .acct-label { padding-left: 8px; }
.acct-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); font-family: var(--font-display); font-weight: 800; font-size: 13px; }
.acct-avatar.big { width: 58px; height: 58px; font-size: 24px; background: var(--grad-btn); box-shadow: 0 10px 26px rgba(var(--deep-rgb), 0.45); flex: none; }
.announce { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 760px; margin: 14px auto 0; padding: 9px 14px; border-radius: 12px; background: rgba(var(--ice-rgb), 0.12); border: 1px solid rgba(var(--ice-rgb), 0.3); color: var(--ice-100); font-size: 13.5px; font-weight: 600; animation: lnPop 0.4s var(--ease-spring); }
.announce button { background: none; border: 0; color: var(--ink-2); font-size: 18px; line-height: 1; }

/* ---------- auth forms ---------- */
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-form, .stack-form { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.stack-form { margin-top: 12px; }
.field-label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-top: 6px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.label-row .field-label { margin-top: 0; }
.field.plain { text-transform: none; font-family: var(--font-body); font-size: 14.5px; letter-spacing: 0; }
.field-wrap { position: relative; }
.field-wrap > .field { padding-right: 64px; }
.eye { position: absolute; top: 7px; right: 7px; height: 32px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 700; transition: background var(--t-fast), color var(--t-fast); }
.eye:hover { background: rgba(var(--ice-rgb), 0.14); color: var(--ink); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 5px; align-items: center; margin-top: 8px; min-height: 16px; }
.strength i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); transition: background var(--t-med); }
.strength span { font-size: 11.5px; font-weight: 700; color: var(--ink-3); min-width: 74px; text-align: right; }
.strength[data-score="1"] i:nth-child(-n+1) { background: var(--err); }
.strength[data-score="2"] i:nth-child(-n+2) { background: var(--warn); }
.strength[data-score="3"] i:nth-child(-n+3) { background: var(--ice-400); }
.strength[data-score="4"] i { background: var(--ok); }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check-row input { margin-top: 3px; accent-color: var(--ice-500); width: 16px; height: 16px; flex: none; }
.check-row a, .text-link { color: var(--ice-300); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.text-link { background: none; border: 0; font-size: 12.5px; padding: 0; }
.form-error { padding: 10px 12px; border-radius: 10px; background: rgba(var(--err-rgb), 0.1); border: 1px solid rgba(var(--err-rgb), 0.35); color: var(--err); font-size: 13px; line-height: 1.5; animation: lnPop 0.25s var(--ease-out); }
.form-done { padding: 10px 12px; border-radius: 10px; background: rgba(var(--ok-rgb), 0.1); border: 1px solid rgba(var(--ok-rgb), 0.35); color: var(--ok); font-size: 13px; }
.auth-form .key-btn { margin-top: 8px; }
.auth-form .ts-box { margin-top: 6px; min-height: 0; }
.auth-form.shake { animation: lnShake 0.35s; }
.auth-switch { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.auth-switch .text-link { font-size: 13.5px; }

/* ---------- account ---------- */
.acct { width: 100%; max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.acct-hero { display: flex; align-items: center; gap: 16px; padding: 22px 24px; animation: lnReveal 0.5s var(--ease-out) both; }
.acct-id { flex: 1; min-width: 0; }
.acct-id h1 { font-family: var(--font-display); font-size: clamp(18px, 2.6vw, 24px); letter-spacing: 0; overflow-wrap: anywhere; }
.acct-id p { color: var(--ink-3); font-size: 13px; margin-top: 3px; }
.acct-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-actions .key-btn { width: auto; padding: 10px 14px; font-size: 13.5px; }
.verify-banner { align-items: center; justify-content: space-between; margin-top: 0; }
.acct-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.acct-section-head h2, .acct-panel h2 { font-family: var(--font-display); font-size: 18px; letter-spacing: 0; }
.acct-section-head span { color: var(--ink-3); font-size: 13px; }
.licenses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 14px; }
.license { padding: 20px; display: flex; flex-direction: column; gap: 12px; animation: lnReveal 0.5s var(--ease-out) both; transition: border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.license:hover { border-color: rgba(var(--ice-rgb), 0.3); transform: translateY(-2px); }
.license.inactive { opacity: 0.72; }
.lic-head { display: flex; align-items: center; justify-content: space-between; }
.plan-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.4px; background: rgba(var(--ice-rgb), 0.14); border: 1px solid rgba(var(--ice-rgb), 0.35); color: var(--ice-100); }
.plan-badge.lifetime { background: linear-gradient(135deg, rgba(var(--ice-rgb), 0.28), rgba(var(--deep-rgb), 0.3)); }
.plan-badge.staff { background: rgba(var(--warn-rgb), 0.12); border-color: rgba(var(--warn-rgb), 0.4); color: var(--warn); }
.pill-status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.4px; text-transform: capitalize; }
.pill-status.ok { background: rgba(var(--ok-rgb), 0.12); color: var(--ok); }
.pill-status.bad { background: rgba(var(--err-rgb), 0.12); color: var(--err); }
.lic-key-row { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 11px; background: #02040a; border: 1px solid var(--line-2); }
.lic-key { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 13px; color: var(--ice-50); overflow-wrap: anywhere; user-select: all; }
.mini-btn { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--ink-2); font-size: 11.5px; font-weight: 700; }
.mini-btn:hover { background: rgba(var(--ice-rgb), 0.14); color: var(--ink); }
.lic-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lic-meta div { padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.lic-meta dt { font-size: 10.5px; font-weight: 800; letter-spacing: 0.7px; color: var(--ink-3); text-transform: uppercase; }
.lic-meta dd { margin-top: 3px; font-size: 13px; font-weight: 600; }
.lic-reason { color: var(--err); font-size: 13px; }
.license .btn-row { margin-top: 0; }
.reset-box { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.reset-box:empty { display: none; }
.reset-info { flex: 1; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.reset-box .key-btn { width: auto; flex: none; padding: 10px 14px; font-size: 13.5px; }
.price-tag { display: inline-flex; gap: 6px; align-items: baseline; padding: 2px 8px; border-radius: 7px; background: rgba(var(--ok-rgb), 0.14); }
.price-tag s { color: var(--ink-3); font-size: 12px; text-decoration-color: rgba(var(--err-rgb), 0.8); }
.price-tag b { color: var(--ok); font-size: 13.5px; }
.acct-empty { padding: 34px 24px; text-align: center; animation: lnReveal 0.5s var(--ease-out) both; }
.acct-empty h3 { margin-top: 12px; font-family: var(--font-display); font-size: 20px; }
.acct-empty p { margin-top: 6px; color: var(--ink-2); }
.acct-empty .btn-row { max-width: 420px; margin: 18px auto 0; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acct-panel { padding: 22px; animation: lnReveal 0.5s var(--ease-out) both; }
.panel-sub { margin-top: 6px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.panel-sub b { color: var(--ink); }
.panel-sub s { color: var(--ink-3); }
.acct-panel > .key-btn { margin-top: 14px; }
.inline-form { display: flex; gap: 8px; margin-top: 14px; }
.inline-form .field { flex: 1; min-width: 0; }
.inline-form .key-btn { width: auto; padding: 0 18px; }
.danger-title { margin-top: 22px; color: var(--err); }
.key-btn.danger { background: linear-gradient(135deg, #c2414b, #93262f); border-color: rgba(var(--err-rgb), 0.5); box-shadow: none; }
.table-wrap { overflow-x: auto; margin-top: 12px; }
table.orders { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.orders th { text-align: left; font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.orders td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.skeleton { height: 220px; border-radius: var(--r-lg); background: rgba(var(--ice-rgb), 0.07); border: 1px solid var(--line); animation: lnSkeleton 1.1s ease-in-out infinite alternate; }
@keyframes lnSkeleton { from { opacity: 0.45; } to { opacity: 1; } }
footer.foot nav a { color: var(--ink-3); transition: color var(--t-fast); }
footer.foot nav a:hover { color: var(--ice-200); }
footer.foot nav { flex-wrap: wrap; }
@media (max-width: 760px) {
  .acct-grid { grid-template-columns: 1fr; }
  .lic-meta { grid-template-columns: 1fr 1fr; }
  .acct-hero { flex-wrap: wrap; }
  .acct-actions { width: 100%; }
  .acct-actions .key-btn { flex: 1; }
  .reset-box { flex-direction: column; align-items: stretch; }
  .hide-sm { display: none; }
  .discord-btn-hdr { padding: 9px 11px; }
}

/* ---------- legal + support pages ---------- */
.doc-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1100px; margin: 22px auto 0; padding: 0 26px; }
.doc-top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.doc-top nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; transition: background var(--t-fast), color var(--t-fast); }
.doc-top nav a:hover, .doc-top nav a[aria-current="page"] { background: rgba(var(--ice-rgb), 0.12); color: var(--ink); }
.doc-hero { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 54px 26px 10px; text-align: center; }
.doc-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); letter-spacing: 0; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; animation: lnReveal 0.55s var(--ease-out) both; }
.doc-hero p { margin-top: 12px; color: var(--ink-2); font-size: 15px; animation: lnReveal 0.55s var(--ease-out) 0.1s both; }
.doc-hero .meta { display: inline-flex; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(var(--ice-rgb), 0.1); border: 1px solid rgba(var(--ice-rgb), 0.25); color: var(--ice-100); font-size: 12.5px; font-weight: 600; }
.doc-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; max-width: 1100px; margin: 30px auto 60px; padding: 0 26px; align-items: start; }
.doc-toc { position: sticky; top: 20px; padding: 16px; animation: lnReveal 0.55s var(--ease-out) 0.15s both; }
.doc-toc strong { display: block; font-size: 11px; letter-spacing: 1.2px; color: var(--ink-3); margin-bottom: 8px; }
.doc-toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.doc-toc a { display: block; padding: 6px 9px; border-radius: 8px; color: var(--ink-3); font-size: 13px; line-height: 1.35; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.doc-toc a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.doc-toc a.on { color: var(--ice-100); background: rgba(var(--ice-rgb), 0.12); transform: translateX(3px); }
.doc { padding: 34px 38px; animation: lnReveal 0.6s var(--ease-out) 0.2s both; }
.doc section { scroll-margin-top: 24px; }
.doc section + section { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h2 { font-family: var(--font-display); font-size: 20px; letter-spacing: 0; color: var(--ink); }
.doc h3 { margin-top: 18px; font-size: 15px; color: var(--ice-100); }
.doc p, .doc li { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.doc p { margin-top: 10px; }
.doc ul, .doc ol { margin: 10px 0 0 20px; display: flex; flex-direction: column; gap: 6px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--ice-300); text-decoration: underline; text-underline-offset: 3px; }
.doc .callout { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(var(--ice-rgb), 0.08); border: 1px solid rgba(var(--ice-rgb), 0.25); color: var(--ice-100); font-size: 14px; line-height: 1.65; }
.doc table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; }
.support-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 30px auto 0; padding: 0 26px; }
.support-card { padding: 24px; display: flex; flex-direction: column; gap: 8px; animation: lnReveal 0.55s var(--ease-out) both; transition: transform var(--t-med) var(--ease-out), border-color var(--t-med); }
.support-card:nth-child(2) { animation-delay: 0.08s; } .support-card:nth-child(3) { animation-delay: 0.16s; }
.support-card:hover { transform: translateY(-4px); border-color: rgba(var(--ice-rgb), 0.35); }
.support-card svg { color: var(--ice-300); }
.support-card h2 { font-family: var(--font-display); font-size: 18px; }
.support-card p { color: var(--ink-2); font-size: 14px; line-height: 1.6; flex: 1; }
.support-card .key-btn { margin-top: 8px; }
.faq { position: relative; z-index: 2; max-width: 820px; margin: 40px auto 60px; padding: 0 26px; }
.faq h2 { font-family: var(--font-display); font-size: 24px; letter-spacing: 0; text-align: center; margin-bottom: 16px; }
.faq details { margin-top: 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color var(--t-med); }
.faq details[open] { border-color: rgba(var(--ice-rgb), 0.3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--ice-300); transition: transform var(--t-med) var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; color: var(--ink-2); line-height: 1.7; font-size: 14.5px; animation: lnFade 0.3s ease; }
.faq details a { color: var(--ice-300); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .support-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .doc-top { padding: 0 16px; margin-top: 16px; }
  .doc-hero { padding: 36px 16px 4px; }
  .doc-layout, .support-cards, .faq { padding: 0 16px; }
  .doc { padding: 24px 20px; }
}

/* ================= v3 additions ================= */
:root { --hdr-h: 72px; --px: "Pixelify Sans", ui-monospace, monospace; }
html { background: #04060c; }
/* body stays transparent: the fixed .bg layer sits under it */
html, body { cursor: url("/assets/cursor.png") 2 2, auto; }
body { background: transparent !important; }
a, button, label, summary, select, [role="button"], [data-view], [data-scroll], .tab, .check, .switch-row { cursor: url("/assets/cursor-pointer.png") 16 16, pointer; }
input, textarea { cursor: text; }

/* background: the banner, darkened into a night sky */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #0b2a5c; }
.bg img { position: absolute; inset: -4% 0 0; width: 100%; height: 108%; object-fit: cover; transform: translate3d(0, var(--bg-shift, 0px), 0) scale(1.04); will-change: transform; }
.bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 22, 0.45) 0%, rgba(4, 8, 22, 0.62) 38%, rgba(4, 6, 14, 0.88) 78%, rgba(4, 6, 12, 0.95) 100%); }

/* release sale marquee */
.sale-bar { position: relative; z-index: 40; display: block; overflow: hidden; height: 34px; background: linear-gradient(90deg, var(--ice-700), var(--ice-500), var(--ice-700)); border-bottom: 1px solid rgba(var(--ice-rgb), 0.5); color: #fff; }

/* sticky glass header */
.brand span { font-family: var(--px); letter-spacing: 0.5px; }

/* hero + sections */
main.body { justify-content: flex-start; padding-top: 0; }
.view[data-section="home"] { padding-bottom: 40px; }
.ctas .btn { text-decoration: none; }
.block { padding-top: 96px; scroll-margin-top: calc(var(--hdr-h) + 8px); }
#top { scroll-margin-top: 200px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 5.4vw, 56px); line-height: 1.05; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 10px; }
.section-head p { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.eyebrow-px { display: inline-block; padding: 5px 11px 4px; border-radius: 8px; background: rgba(var(--ice-rgb), 0.12); border: 1px solid rgba(var(--ice-rgb), 0.35); color: var(--ice-200); font-family: var(--px); font-size: 13px; letter-spacing: 2px; }
.soon { margin-top: 30px; }
.soon-moon { animation: lnFloat 7s ease-in-out infinite; }
.soon h3 { margin-top: 14px; font-family: var(--font-display); font-size: 26px; }
.soon .btn { margin-top: 20px; text-decoration: none; }

/* subtle pixel type for labels and badges */
.plan-corner-badge, .platforms-label, .step-num, .plan-badge, .lic-meta dt, .orders th, .adm-label, .stat small, .doc-toc strong, .eyebrow-text { font-family: var(--px); font-weight: 600; letter-spacing: 1.2px; }
.plan-name, .key-title, .acct-section-head h2, .acct-panel h2, .acct-id h1, .modal-title, .get-script h3, .game h3, .acct-empty h3 { font-family: var(--font-display); letter-spacing: 0.3px; }
.plan-price .amount { font-family: var(--font-display); letter-spacing: 0; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
.plan[data-reveal] { animation: none; }

/* custom scrollbar (native one is hidden) */
.scrollbar { position: fixed; top: 4px; right: 3px; bottom: 4px; width: 10px; z-index: 90; opacity: 0; transition: opacity 0.35s; }
.scrollbar.on, .scrollbar:hover, .scrollbar.drag { opacity: 1; }
.scrollbar-thumb { position: absolute; left: 2px; right: 2px; top: 0; min-height: 40px; border-radius: 999px; background: linear-gradient(180deg, var(--ice-300), var(--ice-600)); box-shadow: 0 0 12px rgba(var(--ice-rgb), 0.45); transition: left var(--t-fast), right var(--t-fast); will-change: transform; }
.scrollbar:hover .scrollbar-thumb, .scrollbar.drag .scrollbar-thumb { left: 0; right: 0; }
.scrollbar.drag { cursor: grabbing; }
@media (hover: none) { .scrollbar { display: none; } }
.table-wrap, .tabs, .modal, .code-box { scrollbar-width: thin; scrollbar-color: rgba(var(--ice-rgb), 0.5) transparent; }

/* honeypot: invisible to people, tempting to bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* custom checkbox */
.check { position: relative; display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.5; user-select: none; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 0; border-radius: 6px; background: #02040a; border: 1.5px solid var(--line-2); transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-spring); }
.check-box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.25s var(--ease-out); }
.check:hover .check-box { border-color: rgba(var(--ice-rgb), 0.6); }
.check input:checked + .check-box { background: var(--grad-btn); border-color: rgba(var(--ice-rgb), 0.8); transform: scale(1.06); }
.check input:checked + .check-box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check-box { outline: 2px solid var(--ice-300); outline-offset: 2px; }
.check a { color: var(--ice-300); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* custom switch */
.switch-row { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.switch-row > span:first-child { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.switch-row strong { font-size: 14px; }
.switch-row small { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.switch-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { flex: none; position: relative; width: 46px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); transition: background var(--t-med); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--t-med) var(--ease-spring); }
.switch-row input:checked + .switch { background: var(--grad-btn); }
.switch-row input:checked + .switch::after { transform: translateX(20px); }
.switch-row input:focus-visible + .switch { outline: 2px solid var(--ice-300); outline-offset: 2px; }

/* 6-digit code boxes */
.code-intro { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(var(--ice-rgb), 0.08); border: 1px solid rgba(var(--ice-rgb), 0.25); }
.code-intro svg { flex: none; color: var(--ice-300); }
.code-intro p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.code-intro b { color: var(--ink); overflow-wrap: anywhere; }
.code-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 4px; }
.code-box { width: 100%; aspect-ratio: 5 / 6; min-width: 0; border-radius: 12px; background: #02040a; border: 1.5px solid var(--line-2); color: #fff; font-family: var(--px); font-size: clamp(22px, 6vw, 30px); text-align: center; outline: none; caret-color: var(--ice-300); transition: border-color var(--t-fast), transform var(--t-fast) var(--ease-spring), box-shadow var(--t-fast); }
.code-box:focus { border-color: rgba(var(--ice-rgb), 0.85); box-shadow: 0 0 0 4px rgba(var(--ice-rgb), 0.14); transform: translateY(-2px); }
.code-box.filled { border-color: rgba(var(--ice-rgb), 0.5); }
.code-boxes.bad .code-box { border-color: rgba(var(--err-rgb), 0.7); animation: lnShake 0.35s; }
.code-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.code-links .text-link:disabled { color: var(--ink-4); text-decoration: none; cursor: default; }

/* account bits */
img.acct-avatar { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: rgba(255, 255, 255, 0.1); }
img.acct-avatar.big { width: 64px; height: 64px; box-shadow: 0 10px 26px rgba(var(--deep-rgb), 0.45), 0 0 0 3px rgba(var(--ice-rgb), 0.25); flex: none; }
.acct-btn img.acct-avatar[hidden] + .acct-label { padding-left: 8px; }
.acct-section-head h2, .acct-panel h2 { display: flex; align-items: center; gap: 10px; }
.acct-section-head h2 svg { color: var(--ice-300); }
.panel-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(var(--ice-rgb), 0.13); border: 1px solid rgba(var(--ice-rgb), 0.3); flex: none; }
.panel-ico svg { width: 17px; height: 17px; fill: none; stroke: var(--ice-200); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.panel-ico.danger { background: rgba(var(--err-rgb), 0.12); border-color: rgba(var(--err-rgb), 0.35); }
.panel-ico.danger svg { stroke: var(--err); }
.acct-panel > .key-btn, .acct-panel > .key-btn.danger { margin-top: 14px; width: auto; padding: 11px 16px; }
.sessions { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.session { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); animation: lnPop 0.3s var(--ease-out) both; }
.session .dev { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(var(--ice-rgb), 0.1); flex: none; }
.session .dev svg { width: 19px; height: 19px; fill: none; stroke: var(--ice-200); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.session .info { flex: 1; min-width: 0; }
.session strong { display: block; font-size: 14px; }
.session small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.session .here { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(var(--ice-rgb), 0.16); color: var(--ice-100); font-size: 10.5px; font-family: var(--px); letter-spacing: 1px; vertical-align: 1px; }
.lic-head { justify-content: flex-start; gap: 8px; }

/* dialog */
.dialog { max-width: 440px; text-align: center; }
.dialog .modal-title { font-size: 21px; margin-top: 8px; }
.dialog .modal-sub { margin-top: 6px; line-height: 1.55; }
.dialog-ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; background: rgba(var(--ice-rgb), 0.13); border: 1px solid rgba(var(--ice-rgb), 0.3); }
.dialog-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ice-200); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dialog.danger .dialog-ico { background: rgba(var(--err-rgb), 0.12); border-color: rgba(var(--err-rgb), 0.35); }
.dialog.danger .dialog-ico svg { stroke: var(--err); }
.dialog.danger #dialogOk { background: linear-gradient(135deg, #c2414b, #93262f); }
#dialogBody { margin-top: 14px; text-align: left; }
#dialogBody .field { margin-top: 4px; }
.dialog .form-error { margin-top: 10px; text-align: left; }
.modal-bg { overscroll-behavior: contain; }
.modal-bg.open .modal { animation: lnPop 0.32s var(--ease-spring); }

/* footer */
footer.foot { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .block { padding-top: 72px; }
}
@media (max-width: 720px) {
  :root { --hdr-h: 112px; }
  .hdr-wrap { padding: 10px 0 8px; }
  nav.hdr { row-gap: 10px; }
  .tabs { justify-content: space-between; }
  .tab { flex: 1; justify-content: center; padding: 8px 6px; font-size: 12.5px; gap: 5px; }
  .tab svg { display: none; }
  .hero { min-height: calc(100svh - var(--hdr-h) - 34px); padding: 20px 0 64px; }
  .logo-wrap { width: 96px; height: 96px; }
  .logo-wrap img { width: 88px; height: 88px; }
  .ctas { width: 100%; }
  .ctas .btn { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .ctas .btn-primary { flex-basis: 100%; }
  .section-head p { font-size: 15px; }
  .rivals { gap: 14px; }
  .plans { gap: 14px; }
  .plan { padding: 34px 20px 20px; }
  .modal { padding: 22px 18px; border-radius: 18px; }
  .modal-actions { flex-direction: column; }
  .acct-hero { padding: 18px; }
  .acct-panel { padding: 18px; }
  .lic-key-row { flex-wrap: wrap; }
  .orders td, .orders th { padding: 8px 6px; font-size: 12.5px; }
  footer.foot { flex-direction: column; align-items: center; text-align: center; }
  footer.foot nav { justify-content: center; }
  .sale-track { font-size: 12.5px; }
}
@media (max-width: 420px) {
  .btn { padding: 12px 14px; font-size: 14.5px; }
  .inline-form { flex-direction: column; }
  .inline-form .key-btn { width: 100%; padding: 12px; }
  .btn-row { flex-direction: column; }
  .code-boxes { gap: 6px; }
  .key-card { padding: 20px 16px; }
  .acct-actions .key-btn { padding: 10px; }
  .loadstring { font-size: 11.5px; }
  .discord-btn-hdr { display: none; }
}
@media (max-width: 360px) {
  .tab { font-size: 11.5px; padding: 8px 3px; }
  .acct-btn img.acct-avatar:not([hidden]) + .acct-label { display: none; }
  .acct-btn:has(img.acct-avatar:not([hidden])) { padding: 6px; }
  .ctas .btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .sale-track { animation: none; }
  .bg img { transform: none; }
}

/* Small pixel digits blur together (2 looks like 8), so numeric badges use the body font. */
.plan-save { font-family: var(--font-body); letter-spacing: 0.6px; }

/* static pages: top links scroll sideways on phones instead of stacking */
@media (max-width: 720px) {
  .doc-top { flex-wrap: wrap; row-gap: 10px; }
  .doc-top nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .doc-top nav a { flex: none; }
}
.btn { white-space: nowrap; }

/* Pixel headings under ~30px: bold weights close up c/e/o, so keep them at 500. */
.key-title, .acct-panel h2, .acct-section-head h2, .plan-name, .modal-title, .game h3, .get-script h3, .acct-empty h3, .soon h3,
.support-card h2, .doc h2, .faq h2, .acct-id h1, .brand span, .adm-head h2 { font-weight: 500; }

/* Prices and counters stay in the body font: pixel 2/3/5 blur into 8/S at small sizes. */
.sale-track b, .sale-track s { font-family: var(--font-body); font-weight: 800; letter-spacing: 0.3px; }
.adm-stat strong { font-family: var(--font-body); font-weight: 800; }

/* ================= v4 layout ================= */
:root { --dock-h: 64px; }
body:has(> .dock) { padding-bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom)); }

/* page + view loaders */
.page-loader { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 18px; background: #04060c; transition: opacity 0.45s var(--ease-out), visibility 0.45s; }
.page-loader img { animation: lnFloat 2.4s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(var(--ice-rgb), 0.5)); }
.loader-bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.loader-bar i { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--grad-btn); animation: lnLoad 1s ease-in-out infinite; }
@keyframes lnLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
body:not(.is-loading) .page-loader { opacity: 0; visibility: hidden; pointer-events: none; }
.view-loader { display: grid; place-items: center; gap: 14px; min-height: 46vh; color: var(--ink-3); font-size: 13.5px; animation: lnFade 0.3s ease; }
.view-loader img { animation: lnFloat 2.4s ease-in-out infinite; }

/* endless release-sale marquee: two identical halves, each wider than any screen */
.sale-track { display: flex; width: max-content; height: 100%; animation: lnMarquee 60s linear infinite; }
.sale-group { display: flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--px); font-size: 15.5px; font-weight: 600; letter-spacing: 1.6px; white-space: nowrap; }
.sale-group i { font-style: normal; color: var(--ice-100); }
.sale-group b, .sale-group s { font-family: var(--font-body); font-weight: 800; letter-spacing: 0.3px; }
.sale-group s { opacity: 0.7; }
.sale-bar:hover .sale-track { animation-play-state: paused; }
@keyframes lnMarquee { to { transform: translate3d(-50%, 0, 0); } }

/* slim top bar: brand + account only */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; width: 100%; margin: 0 auto; padding: 12px 26px; border-radius: 0 0 18px 18px; border: 1px solid transparent; border-top: 0; transition: background var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med), box-shadow var(--t-med); }
.topbar.scrolled { background: rgba(14, 26, 48, 0.28); border-color: rgba(var(--ice-rgb), 0.12); backdrop-filter: blur(10px) saturate(1.3); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18); }
.top-right { display: flex; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; text-decoration: none; }
.brand img { width: 32px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(var(--ice-rgb), 0.55)); transition: transform var(--t-med) var(--ease-spring); }
.brand:hover img { transform: rotate(-18deg) scale(1.08); }
.brand span { font-family: var(--px); font-weight: 600; font-size: 21px; color: var(--ice-50); }

/* split hero */
.hero { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 30px; min-height: calc(100svh - 130px); padding: 20px 0 80px; text-align: left; }
.hero-copy { animation: lnReveal 0.6s var(--ease-out) both; }
.hero-copy h1.title { text-align: left; margin-top: 14px; font-size: clamp(72px, 11vw, 148px); }
.slogan { margin-top: 10px; font-family: var(--px); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); color: var(--ice-100); text-shadow: 0 2px 18px rgba(4, 8, 20, 0.6); animation: lnReveal 0.6s var(--ease-out) 0.15s both; }
.hero-copy .credit { justify-content: flex-start; margin-top: 12px; }
.hero-copy .ctas { justify-content: flex-start; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--ink-3); font-size: 13.5px; animation: lnReveal 0.6s var(--ease-out) 0.45s both; }
.hero-stats b { color: var(--ink); font-weight: 800; margin-right: 4px; }
.hero-art { display: grid; place-items: center; animation: lnReveal 0.8s var(--ease-out) 0.2s both; }
.hero-art img { width: min(320px, 70%); height: auto; animation: lnFloat 7s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(var(--deep-rgb), 0.6)) drop-shadow(0 0 40px rgba(var(--ice-rgb), 0.35)); }
.scroll-arrow { position: absolute; left: 50%; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; border: 1px solid rgba(var(--ice-rgb), 0.35); background: rgba(8, 16, 32, 0.4); color: var(--ice-100); backdrop-filter: blur(8px); transition: background var(--t-fast), border-color var(--t-fast); animation: lnBob 2s ease-in-out infinite; }
.scroll-arrow:hover { background: rgba(var(--ice-rgb), 0.18); border-color: rgba(var(--ice-rgb), 0.6); }
@keyframes lnBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* bottom dock */
.dock { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 20px; background: rgba(10, 18, 36, 0.62); border: 1px solid rgba(var(--ice-rgb), 0.18); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05); backdrop-filter: blur(16px) saturate(1.4); transform: translateX(-50%); animation: lnDockIn 0.6s var(--ease-spring) 0.2s both; }
@keyframes lnDockIn { from { transform: translate(-50%, 120%); opacity: 0; } }
.dock-pill { position: absolute; top: 6px; left: 0; height: calc(100% - 12px); border-radius: 14px; background: rgba(var(--ice-rgb), 0.16); border: 1px solid rgba(var(--ice-rgb), 0.3); transition: transform 0.4s var(--ease-spring), width 0.4s var(--ease-spring), opacity var(--t-fast); pointer-events: none; }
.dock-item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 70px; padding: 8px 10px 7px; border-radius: 14px; color: var(--ink-3); font-size: 11.5px; font-weight: 700; text-decoration: none; transition: color var(--t-fast), transform var(--t-fast) var(--ease-spring); }
.dock-item svg { transition: transform var(--t-med) var(--ease-spring); }
.dock-item:hover { color: var(--ink); }
.dock-item:hover svg { transform: translateY(-2px) scale(1.12); }
.dock-item:active { transform: scale(0.94); }
.dock-item.active { color: var(--ice-50); }
.dock-buy { color: var(--ice-200); }
.dock-buy.active { color: #fff; }

/* sections */
.block { padding-top: 110px; }
.page-top { padding-top: 40px; }
.pay-alt { display: flex; align-items: center; gap: 18px; max-width: 780px; margin: 18px auto 0; padding: 18px 20px; border-color: rgba(88, 101, 242, 0.35); background: linear-gradient(120deg, rgba(88, 101, 242, 0.16), rgba(14, 24, 44, 0.42)); }
.pay-alt-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(88, 101, 242, 0.22); color: #c9cdfc; }
.pay-alt-copy { flex: 1; min-width: 0; }
.pay-alt h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; }
.pay-alt p { margin-top: 4px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pay-chips span { padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.btn-discord { flex: none; background: linear-gradient(135deg, #5865f2, #4752c4); color: #fff; border-color: rgba(88, 101, 242, 0.6); box-shadow: 0 10px 24px rgba(88, 101, 242, 0.3); text-decoration: none; }
.btn-discord:hover { box-shadow: 0 14px 32px rgba(88, 101, 242, 0.42); }

/* features page */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 980px; margin: 34px auto 0; }
.feature-card { padding: 24px; transition: transform var(--t-med) var(--ease-out), border-color var(--t-med); }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(var(--ice-rgb), 0.35); }
.feature-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(var(--ice-rgb), 0.22), rgba(var(--deep-rgb), 0.25)); border: 1px solid rgba(var(--ice-rgb), 0.35); color: var(--ice-100); }
.feature-card h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: 24px; }
.feature-card > p { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
.feature-card ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 16px; }
.feature-card li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; }
.feature-card li svg { flex: none; margin-top: 1px; color: var(--ice-300); }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 16px auto 0; padding: 0; overflow: hidden; }
.feature-strip div { padding: 18px 20px; border-right: 1px solid var(--line); }
.feature-strip div:last-child { border-right: 0; }
.feature-strip b { display: block; font-size: 15px; }
.feature-strip span { display: block; margin-top: 3px; color: var(--ink-3); font-size: 13px; }
.page-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.page-cta .btn { text-decoration: none; }

/* changelog timeline */
.timeline { list-style: none; position: relative; max-width: 760px; margin: 34px auto 0; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(var(--ice-400), rgba(var(--ice-rgb), 0.05)); }
.release { position: relative; padding: 20px 22px; margin-bottom: 14px; animation: lnReveal 0.5s var(--ease-out) both; }
.release::before { content: ""; position: absolute; left: -26px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--ice-300); box-shadow: 0 0 0 4px rgba(var(--ice-rgb), 0.18), 0 0 14px rgba(var(--ice-rgb), 0.7); }
.release header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.release h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.release time { color: var(--ink-3); font-size: 13px; }
.release-group { margin-top: 12px; }
.release-group h4 { display: inline-block; padding: 2px 9px; border-radius: 7px; font-family: var(--px); font-weight: 600; font-size: 12px; letter-spacing: 1.2px; }
.release-group.added h4 { background: rgba(var(--ok-rgb), 0.14); color: var(--ok); }
.release-group.fixed h4 { background: rgba(var(--ice-rgb), 0.14); color: var(--ice-200); }
.release-group.removed h4 { background: rgba(var(--err-rgb), 0.14); color: var(--err); }
.release-group ul { list-style: none; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.release-group li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.release-group li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 1px; background: currentColor; opacity: 0.6; }
.timeline-empty { text-align: center; color: var(--ink-3); padding: 30px; }

/* footer */
.site-foot { position: relative; overflow: hidden; width: 100%; max-width: 1180px; margin: 90px auto 0; padding: 40px 30px 26px; border-radius: 26px 26px 0 0; border: 1px solid rgba(var(--ice-rgb), 0.14); border-bottom: 0; background: linear-gradient(180deg, rgba(14, 26, 48, 0.55), rgba(4, 8, 18, 0.9)); backdrop-filter: blur(10px); }
.foot-glow { position: absolute; left: 50%; top: -1px; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--ice-300), transparent); }
.foot-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 30px; }
.foot-brand p { margin-top: 12px; max-width: 320px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.foot-sale { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 12px; border-radius: 12px; background: rgba(var(--ice-rgb), 0.1); border: 1px solid rgba(var(--ice-rgb), 0.28); color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: transform var(--t-fast), border-color var(--t-fast); }
.foot-sale:hover { transform: translateY(-2px); border-color: rgba(var(--ice-rgb), 0.6); }
.foot-sale s { color: var(--ink-3); }
.foot-sale b { color: var(--ok); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-cols h4 { font-family: var(--px); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; color: var(--ice-200); margin-bottom: 12px; text-transform: uppercase; }
.foot-cols a { display: block; padding: 5px 0; color: var(--ink-3); font-size: 14px; text-decoration: none; transition: color var(--t-fast), transform var(--t-fast); }
.foot-cols a:hover { color: var(--ink); transform: translateX(3px); }
.foot-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-4); font-size: 12.5px; }
.foot-mark { position: absolute; left: 50%; bottom: -0.32em; transform: translateX(-50%); font-family: var(--px); font-weight: 700; font-size: clamp(90px, 18vw, 230px); line-height: 1; letter-spacing: 6px; color: transparent; -webkit-text-stroke: 1px rgba(var(--ice-rgb), 0.12); pointer-events: none; user-select: none; white-space: nowrap; }

/* account: basic avatars, prefs */
img.acct-avatar { background: transparent; }
.prefs { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.prefs .switch-row { margin-top: 0; }
.acct-hero h1 { font-family: var(--font-body); font-weight: 800; font-size: clamp(17px, 2.4vw, 22px); }

/* rubber-band edge recoil lives on #root; nothing else may transform it */
.root.bouncing { will-change: transform; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 10px; gap: 10px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(180px, 46vw); }
  .hero-copy h1.title { text-align: center; }
  .hero-copy .credit, .hero-copy .ctas, .hero-stats { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --dock-h: 60px; --hdr-h: 64px; }
  .topbar { padding: 10px 16px; border-radius: 0 0 14px 14px; }
  .dock { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); transform: none; justify-content: space-between; animation-name: lnDockInM; }
  @keyframes lnDockInM { from { transform: translateY(120%); opacity: 0; } }
  .dock-item { flex: 1; min-width: 0; padding: 7px 2px 6px; font-size: 10.5px; }
  .pay-alt { flex-direction: column; text-align: center; }
  .pay-chips { justify-content: center; }
  .pay-alt .btn { width: 100%; justify-content: center; }
  .feature-card ul { grid-template-columns: 1fr; }
  .site-foot { padding: 32px 18px 22px; border-radius: 20px 20px 0 0; margin-top: 70px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; }
  .block { padding-top: 80px; }
  .hero { min-height: calc(100svh - 120px); }
  .ctas .btn { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 360px) {
  .dock-item span { font-size: 9.5px; }
  .ctas .btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sale-track, .scroll-arrow, .dock { animation: none; }
}
.acct.is-loading { display: none; }
.acct { animation: lnFade 0.35s ease; }
/* keep the hero arrow clear of the floating dock */
.hero { padding-bottom: calc(var(--dock-h) + 90px); }
.scroll-arrow { bottom: calc(var(--dock-h) + 34px); }
.foot-bottom { margin-bottom: clamp(56px, 13vw, 160px); }

/* cookie choice: bottom left, lifted above the floating dock where a page has one */
.cookie-banner { position: fixed; z-index: 90; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(400px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(180deg, #0b1324, #070c18); border: 1px solid rgba(var(--ice-rgb), 0.24); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(var(--deep-rgb), 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04); color: var(--ink-2); font-size: 14px; line-height: 1.55; animation: lnPop 0.32s var(--ease-spring) both; }
body.is-loading .cookie-banner { visibility: hidden; animation: none; }
.cookie-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; outline: none; }
.cookie-head .modal-close { position: static; flex: none; }
.cookie-banner p a { color: var(--ice-300); text-decoration: underline; text-underline-offset: 3px; }
.cookie-cats .switch-row { margin-top: 8px; }
.cookie-cats .switch-row:has(input:disabled) { opacity: 0.7; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .modal-btn { flex: 1 1 auto; padding: 11px 14px; font-size: 14px; }
body:has(> .dock) .cookie-banner { bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom)); max-height: calc(100dvh - var(--dock-h) - 60px); }
@media (max-width: 720px) { .cookie-banner { right: 16px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
