:root {
  --bg: #0b0b0d;
  --panel: #141417;
  --panel-2: #1b1b20;
  --line: #2a2a31;
  --text: #ececf1;
  --muted: #9a9aa6;
  --accent: #a463f2;
  --accent-2: #8b46e8;
  --ok: #3ccf7a;
  --warn: #f2b44a;
  --bad: #f05a5a;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* top bar */
.top {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--panel);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .5px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; image-rendering: pixelated; border-radius: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a, .nav button {
  color: var(--muted); padding: 7px 12px; border-radius: 8px; font-size: 14px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav a:hover, .nav button:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }
.nav a.on { color: var(--text); background: var(--panel-2); }

main { max-width: 840px; margin: 36px auto; padding: 0 16px; }
h1 { font-size: 26px; margin: 0 0 6px; }
h2 { font-size: 17px; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 24px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 18px;
}

/* status + address */
.status { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.warn { background: var(--warn); }
.dot.bad { background: var(--bad); }
.addr {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin-bottom: 8px;
}
.addr .label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.addr .val { font: 600 18px/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; word-break: break-all; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: 600 15px/1 inherit; cursor: pointer;
}
.btn:hover { border-color: #3a3a44; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); }
.btn.danger { color: var(--bad); }
.btn.small { padding: 7px 12px; font-size: 13px; }
.btn.big { padding: 15px 34px; font-size: 17px; }
.btn:disabled { opacity: .5; cursor: default; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* forms */
form .field { margin-bottom: 14px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: 15px inherit;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.auth { max-width: 380px; margin: 70px auto; padding: 0 16px; }
.auth .brand { justify-content: center; font-size: 22px; margin-bottom: 22px; }
.auth .brand img { width: 34px; height: 34px; }
.msg { min-height: 20px; font-size: 14px; margin: 4px 0 10px; }
.msg.bad { color: var(--bad); }
.msg.ok { color: var(--ok); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* the link popup */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65); display: none;
  align-items: center; justify-content: center; padding: 16px; z-index: 10;
}
.overlay.show { display: flex; }
.modal {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  width: 100%; max-width: 420px; padding: 26px; text-align: center;
}
.code {
  font: 800 34px/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 4px;
  background: var(--panel-2); border: 1px dashed var(--accent); border-radius: 10px; padding: 14px; margin: 16px 0;
  user-select: all;
}
.spinner {
  width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
.connected { color: var(--ok); font-weight: 700; font-size: 18px; }

/* admin table */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.tablewrap { overflow-x: auto; }

@media (max-width: 560px) {
  .top { flex-wrap: wrap; gap: 8px; }
  .nav { margin-left: 0; width: 100%; }
  main { margin-top: 22px; }
  .card { padding: 18px; }
  .code { font-size: 26px; letter-spacing: 2px; }
}
.full { width: 100%; }
.center { text-align: center; }
.row.centered { justify-content: center; }
.mt { margin-top: 18px; }
.mt6 { margin-top: 6px; }
.mb { margin-bottom: 14px; }
[hidden] { display: none !important; }

/* linked Xbox accounts */
.xlist { display: grid; gap: 8px; }
.xrow {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
.xrow.sel { border-color: var(--accent); }
.xrow .tag { font-weight: 700; margin-right: auto; word-break: break-all; }
.badge {
  font-size: 12px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent);
  border-radius: 999px; padding: 2px 9px;
}
.empty { color: var(--muted); font-size: 14px; padding: 4px 0; }
.addr .small-val { font-size: 15px; }

/* admin */
main.wide { max-width: 1280px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat .n { font-size: 28px; font-weight: 800; line-height: 1.1; }
.stat .l { color: var(--muted); font-size: 13px; margin-top: 4px; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--panel-2); }
.pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--line); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: var(--ok); }
.pill.bad { color: var(--bad); border-color: var(--bad); }
.pill.warn { color: var(--warn); border-color: var(--warn); }
.wide-modal { max-width: 640px; text-align: left; max-height: 90vh; overflow-y: auto; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.modal-head h2 { margin: 0; }
.modal h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 22px 0 8px; }
.info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 14px; margin-top: 12px; }
.info .k { color: var(--muted); }
.info .v { word-break: break-all; }
input.inline { width: auto; flex: 1; min-width: 160px; padding: 8px 10px; }
textarea {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: 14px/1.4 inherit; resize: vertical;
}

/* menu in the middle of the top bar (2026-11-14, user: "more in the middle of the screen") */
.top { display: grid; grid-template-columns: 1fr auto 1fr; }
.top .brand { justify-self: start; }
.top .nav { margin-left: 0; justify-self: center; }
@media (max-width: 560px) {
  .top { grid-template-columns: 1fr; justify-items: center; }
  .top .brand { justify-self: center; }
  .top .nav { width: auto; justify-content: center; }
}

/* membership page */
.hero { text-align: center; margin-bottom: 26px; }
.hero .sub { margin-bottom: 8px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 14px; }
.plan {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 22px; text-align: center; display: flex; flex-direction: column; gap: 6px;
}
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 10px 40px rgba(164, 99, 242, .15); }
.plan-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .4px;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.plan-price { font-size: 34px; font-weight: 800; margin: 4px 0; }
.plan-price.ask { font-size: 20px; color: var(--muted); padding: 10px 0; }
.plan-note { color: var(--muted); font-size: 14px; margin-bottom: 14px; flex: 1; }
.section { font-size: 22px; margin: 38px 0 4px; text-align: center; }
main.wide > .sub { text-align: center; }
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.inc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.inc b { font-size: 15px; }
.inc span { color: var(--muted); font-size: 14px; }
.mods { columns: 2 360px; column-gap: 16px; }
.modcat { break-inside: avoid; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.modcat h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--accent); }
.modcat dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; }
.modcat dt { font-weight: 700; font-size: 14px; }
.modcat dd { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  .modcat dl { grid-template-columns: 1fr; gap: 0; }
  .modcat dd { margin-bottom: 8px; }
}

/* ===== motion + glow (2026-11-14, user: add some movement and glow) ===== */
:root { --glow: rgba(164, 99, 242, .45); --glow-soft: rgba(164, 99, 242, .16); --accent-light: #d2b1ff; }

/* background: faint moving purple grid + one smooth glow at the top (2026-11-14, user: blobs looked pixelated) */
body { position: relative; overflow-x: hidden; isolation: isolate; }
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
body::before {
  background-image:
    linear-gradient(rgba(164, 99, 242, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 99, 242, .09) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 25%, transparent 100%);
  animation: gridmove 14s linear infinite;
}
@keyframes gridmove { to { background-position: 0 46px, 0 46px; } }
body::after {
  /* fine grain on top of the glow so it fades smoothly instead of in steps */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 60% 42% at 50% -6%, rgba(164, 99, 242, .30), rgba(164, 99, 242, .10) 45%, transparent 75%);
  animation: topglow 6s ease-in-out infinite;
}
@keyframes topglow { 50% { opacity: .75; } }

/* glassy top bar + glowing logo */
.top { position: sticky; top: 0; z-index: 5; background: rgba(20, 20, 23, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand img { animation: logoglow 3.2s ease-in-out infinite; }
@keyframes logoglow { 50% { filter: drop-shadow(0 0 8px var(--glow)); } }
.nav a, .nav button { transition: color .2s, background .2s, box-shadow .2s; }
.nav a.on { box-shadow: inset 0 -2px 0 var(--accent); }

/* page fades up on load */
main { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* scroll reveal (app.js adds .reveal to things below the fold, .in when they come into view) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* buttons glow */
.btn { transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, #b47cf7, var(--accent-2)); box-shadow: 0 4px 18px var(--glow-soft); }
.btn.primary:hover:not(:disabled) { box-shadow: 0 6px 26px var(--glow); }
input:focus, textarea:focus { box-shadow: 0 0 0 4px var(--glow-soft); }

/* cards + boxes lift and glow */
.card, .plan, .inc, .stat, .mod, .tmod { transition: opacity .6s ease, transform .25s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; }
.reveal.card, .reveal.plan, .reveal.inc, .reveal.stat, .reveal.mod, .reveal.tmod { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .25s; }
.plan:hover, .inc:hover, .stat:hover { transform: translateY(-4px); border-color: rgba(164, 99, 242, .6); box-shadow: 0 12px 34px var(--glow-soft); }
.card { background: rgba(20, 20, 23, .82); }
.plan.best { animation: bestglow 3s ease-in-out infinite; }
@keyframes bestglow {
  0%, 100% { box-shadow: 0 0 0 1px var(--accent), 0 10px 40px rgba(164, 99, 242, .15); }
  50% { box-shadow: 0 0 0 1px var(--accent), 0 10px 60px rgba(164, 99, 242, .38); }
}
.plan-tag { box-shadow: 0 0 14px var(--glow); }
.plan-price { background: linear-gradient(90deg, #fff, #d6b8ff, #fff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; }
.plan-price.ask { color: var(--muted); background: none; animation: none; }

/* shimmering headings */
.hero h1 {
  font-size: 40px; letter-spacing: .5px;
  background: linear-gradient(90deg, #fff 0%, #c9a0ff 30%, var(--accent-light) 50%, #c9a0ff 70%, #fff 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.section { position: relative; padding-bottom: 10px; }
.section::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 3px; transform: translateX(-50%);
  border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); box-shadow: 0 0 12px var(--glow);
}
main.wide > .sub { margin-top: 10px; }

/* top modules */
.tops { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 18px 0 8px; }
.tmod {
  position: relative; flex: 1 1 290px; max-width: 336px; padding: 24px 22px 22px; border-radius: 16px;
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(164, 99, 242, .18), transparent 70%) padding-box,
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(164, 99, 242, .9), rgba(210, 177, 255, .55), rgba(164, 99, 242, .25)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}
.tmod:hover { transform: translateY(-6px); box-shadow: 0 16px 44px var(--glow-soft), 0 0 0 1px rgba(164, 99, 242, .35); }
.tmod h3 { margin: 12px 0 6px; font-size: 20px; }
.tmod p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ticon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(164, 99, 242, .3), rgba(164, 99, 242, .1));
  box-shadow: 0 0 20px var(--glow-soft), inset 0 0 0 1px rgba(164, 99, 242, .5);
  animation: float 4s ease-in-out infinite;
}
.tmod:nth-child(2) .ticon { animation-delay: -.8s; }
.tmod:nth-child(3) .ticon { animation-delay: -1.6s; }
.tmod:nth-child(4) .ticon { animation-delay: -2.4s; }
.tmod:nth-child(5) .ticon { animation-delay: -3.2s; }
.tmod:nth-child(6) .ticon { animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-5px); } }
.ticon svg { width: 24px; height: 24px; fill: none; stroke: #e2ccff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip {
  position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(164, 99, 242, .5); border-radius: 999px; padding: 2px 9px;
}

/* every other module, as boxes */
.modgroup { margin-top: 26px; }
.modgroup h3 {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
  font-size: 13px; text-transform: uppercase; letter-spacing: .9px; color: var(--accent);
}
.modgroup h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(164, 99, 242, .5), transparent); }
.modgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mod {
  background:
    radial-gradient(200px circle at var(--mx, 50%) var(--my, -40%), rgba(164, 99, 242, .14), transparent 70%),
    var(--panel);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px;
}
.mod b { font-size: 15px; }
.mod span { color: var(--muted); font-size: 13.5px; }
.mod:hover { transform: translateY(-3px); border-color: rgba(164, 99, 242, .55); box-shadow: 0 10px 28px var(--glow-soft); }

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .tmod { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  /* only the big sliding/floating motion stops; the live dot, glows and shimmer keep going (user: dot must move) */
  .reveal { opacity: 1; transform: none; transition: none; }
  main, .auth-split, body > .auth, body::before, .logo-frame, .ticon, .lock-icon, .cta-logo { animation: none; }
}

/* ===== home page (2026-11-14) ===== */
.landing {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding: 4px 0 0;
}
.live { /* green terminal-style status box (2026-11-14, user's example) */
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px; padding: 11px 20px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 22, 56, .8), rgba(20, 14, 32, .8));
  border: 1px solid rgba(164, 99, 242, .55);
  box-shadow: 0 0 20px rgba(164, 99, 242, .2), inset 0 0 16px rgba(164, 99, 242, .1);
  font: 700 14px/1 ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  letter-spacing: 3.5px; text-transform: uppercase; color: #d2b1ff;
  text-shadow: 0 0 8px rgba(164, 99, 242, .6);
  animation: liveborder 2.4s ease-in-out infinite;
}
.live::after { /* light scanning across the box */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%;
  background: linear-gradient(90deg, transparent, rgba(210, 177, 255, .14), transparent);
  animation: livescan 3.2s ease-in-out infinite; pointer-events: none;
}
@keyframes livescan { 0% { left: -40%; } 60%, 100% { left: 110%; } }
@keyframes liveborder { 50% { border-color: rgba(164, 99, 242, .9); box-shadow: 0 0 30px rgba(164, 99, 242, .35), inset 0 0 20px rgba(164, 99, 242, .14); } }
.live b { color: inherit; font-weight: 700; }
.live-dot { /* online dot: bright core, breathing halo, ring pinging out */
  position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c8ffdc, #3ccf7a 60%);
  box-shadow: 0 0 8px 2px #3ccf7a, 0 0 20px 6px rgba(60, 207, 122, .5);
  animation: breathe 1.6s ease-in-out infinite;
}
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(60, 207, 122, .75);
  animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(3); opacity: 0; } }
@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px 1px #3ccf7a, 0 0 14px 4px rgba(60, 207, 122, .4); }
  50% { transform: scale(1.18); box-shadow: 0 0 12px 3px #5fffa0, 0 0 30px 10px rgba(60, 207, 122, .6); }
}
.live-sep { opacity: .7; margin: 0 1px; }
.live-word { animation: liveblink 1.6s ease-in-out infinite; }
@keyframes liveblink {
  0%, 100% { opacity: 1; color: #fff; text-shadow: 0 0 10px rgba(164, 99, 242, .95), 0 0 18px rgba(164, 99, 242, .55); }
  50% { opacity: .5; color: #d2b1ff; text-shadow: 0 0 4px rgba(164, 99, 242, .4); }
}
@media (max-width: 560px) { .live { letter-spacing: 2.2px; font-size: 13px; padding: 10px 16px; gap: 12px; } }
.landing-title {
  font-size: clamp(54px, 9vw, 104px); line-height: 1; margin: 16px 0 10px; letter-spacing: 2px; font-weight: 900;
  background: linear-gradient(90deg, #fff 0%, #c9a0ff 35%, var(--accent-light) 50%, #c9a0ff 65%, #fff 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite; filter: drop-shadow(0 0 24px rgba(164, 99, 242, .25));
}
.landing-sub { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 0 22px; }
.landing-btns { margin-bottom: 14px; }
.landing-logo { display: grid; place-items: center; }
.logo-frame {
  position: relative; width: min(100%, 400px); aspect-ratio: 1; border-radius: 36px; padding: 0; overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(164, 99, 242, .6), 0 0 60px rgba(164, 99, 242, .35), 0 30px 80px rgba(0, 0, 0, .5);
  animation: logofloat 6s ease-in-out infinite;
}
.logo-frame img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.logo-frame::after { /* light sweeping across the logo: two glint tiles side by side slide one tile width, so it never stops (user: the pause looked cheap) */
  content: ""; position: absolute; top: 0; bottom: 0; left: -100%; width: 200%;
  background: linear-gradient(115deg, transparent 30%, rgba(210, 177, 255, .22) 50%, transparent 70%) 0 0 / 50% 100% repeat-x;
  animation: sweep 4s linear infinite;
}
@keyframes logofloat { 50% { transform: translateY(-14px); box-shadow: 0 0 0 1px rgba(164, 99, 242, .8), 0 0 90px rgba(164, 99, 242, .5), 0 40px 90px rgba(0, 0, 0, .5); } }
@keyframes sweep { to { transform: translateX(50%); } }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 0; }
.membership-part { padding-top: 34px; }
body[data-page="home"] main { margin-top: 26px; }
.bigstat {
  text-align: center; padding: 22px 16px; border-radius: 16px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(164, 99, 242, .85), rgba(210, 177, 255, .35), rgba(164, 99, 242, .2)) border-box;
  border: 1px solid transparent; box-shadow: 0 10px 34px rgba(0, 0, 0, .35);
  transition: opacity .6s ease, transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.bigstat:hover { transform: translateY(-5px); box-shadow: 0 16px 44px var(--glow-soft); }
.bigstat-n {
  font-size: 52px; font-weight: 900; line-height: 1.05;
  background: linear-gradient(180deg, #fff, #c9a0ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(164, 99, 242, .35));
}
.bigstat-l { margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; }

@media (max-width: 800px) {
  .landing { grid-template-columns: 1fr; text-align: center; gap: 30px; min-height: 0; padding-top: 10px; }
  .landing-logo { order: -1; }
  .logo-frame { width: min(70%, 260px); border-radius: 28px; }
  .landing-sub { margin-left: auto; margin-right: auto; font-size: 16px; }
  .landing-btns { justify-content: center; }
}
@media (max-width: 560px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bigstat { padding: 14px 6px; border-radius: 12px; }
  .bigstat-n { font-size: 26px; }
  .bigstat-l { font-size: 10px; letter-spacing: .6px; margin-top: 3px; }
  /* the shortened stat boxes left a big empty gap before "Top hacks" - tighten it */
  .membership-part { padding-top: 6px; }
  .membership-part > .section:first-child { margin-top: 26px; }
  /* logged-out blurred pricing preview: show only 2 boxes on mobile so it's not a long scroll
     (the real signed-in /plans page still shows all three) */
  .plans-wrap.locked .plans .plan:nth-child(3) { display: none; }
  .landing-btns .btn { flex: 1 1 100%; }
}
#membership { scroll-margin-top: 90px; }

/* plans locked until you sign in (2026-11-14, user) */
.plans-wrap { position: relative; margin-bottom: 14px; }
.plans-wrap .plans { margin-bottom: 0; }
.plans-lock { display: none; }
.plans-wrap.locked .plans { filter: blur(7px); opacity: .55; pointer-events: none; user-select: none; }
.plans-wrap.locked .plans-lock {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 16px;
}
.plans-lock b { font-size: 22px; }
.plans-lock span { color: var(--muted); margin-bottom: 10px; }
.lock-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px;
  background: rgba(20, 20, 23, .9); box-shadow: 0 0 0 1px rgba(164, 99, 242, .6), 0 0 30px var(--glow);
  animation: float 4s ease-in-out infinite;
}
.lock-icon svg { width: 28px; height: 28px; fill: none; stroke: #e2ccff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) {
  .plans-wrap.locked .plans-lock { justify-content: flex-start; padding-top: 70px; }
  .plans-lock b { font-size: 19px; }
}

/* bottom "Ready to play?" (2026-11-14, user) */
.cta {
  position: relative; text-align: center; margin: 56px 0 30px; padding: 44px 20px 46px; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(164, 99, 242, .22), transparent 70%) padding-box,
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(164, 99, 242, .85), rgba(210, 177, 255, .35), rgba(164, 99, 242, .2)) border-box;
  border: 1px solid transparent; box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.cta-logo {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 20px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(164, 99, 242, .6), 0 0 40px var(--glow); animation: float 4s ease-in-out infinite;
}
.cta-logo img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.cta-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.cta-title {
  font-size: clamp(36px, 6vw, 56px); line-height: 1.1; margin: 8px 0 10px; font-weight: 900;
  background: linear-gradient(90deg, #fff 0%, #c9a0ff 35%, var(--accent-light) 50%, #c9a0ff 65%, #fff 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.cta-sub { color: var(--muted); font-size: 16px; margin: 0 0 24px; }
.cta-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.cta-btn:hover svg { transform: translateX(4px); }
@media (max-width: 560px) {
  .cta { margin-top: 40px; padding: 34px 16px 36px; }
  .cta-btn { width: 100%; }
}

/* log in / sign up: logo top-left + "Get started in seconds" panel (2026-11-14, user) */
.auth-top { padding: 18px 26px; }
.auth-top .brand { display: inline-flex; font-size: 18px; }
.auth-top .brand img { width: 30px; height: 30px; }
body > .auth { margin-top: 40px; animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.auth-split {
  max-width: 1180px; margin: 30px auto 60px; padding: 0 16px;
  display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center;
  animation: rise .6s cubic-bezier(.2, .7, .2, 1) both;
}
.auth-split .auth { margin: 0; max-width: none; padding: 0; }
.auth-split .card { padding: 26px; box-shadow: 0 0 0 1px rgba(164, 99, 242, .25), 0 20px 60px rgba(0, 0, 0, .4); }
.pitch-title {
  font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 0 0 14px; font-weight: 900;
  background: linear-gradient(90deg, #fff 0%, #c9a0ff 35%, var(--accent-light) 50%, #c9a0ff 65%, #fff 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.pitch-sub { color: var(--muted); font-size: 17px; margin: 0 0 26px; max-width: 460px; }
.pitch-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; }
.pstat {
  padding: 16px 18px; border-radius: 14px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(164, 99, 242, .75), rgba(210, 177, 255, .3), rgba(164, 99, 242, .15)) border-box;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.pstat:hover { transform: translateY(-3px); box-shadow: 0 10px 28px var(--glow-soft); }
.pstat-l { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; }
.pstat-n {
  font-size: 30px; font-weight: 900; line-height: 1.15; margin-top: 2px;
  background: linear-gradient(180deg, #fff, #c9a0ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; gap: 28px; margin-top: 10px; max-width: 460px; }
  .pitch { text-align: center; }
  .pitch-sub { margin-left: auto; margin-right: auto; font-size: 15px; margin-bottom: 18px; }
  .pitch-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 auto; }
  .pstat { padding: 10px 6px; }
  .pstat-l { font-size: 10px; letter-spacing: .6px; }
  .pstat-n { font-size: 20px; }
}
@media (max-width: 560px) {
  .auth-top { padding: 14px 16px; text-align: center; }
}

/* gradient text only paints inside its box, so letter tails (y, g, p) got clipped: give them room (2026-11-14, user) */
.landing-title, .hero h1, .cta-title, .pitch-title, .plan-price, .bigstat-n, .pstat-n { padding-bottom: .14em; }
.landing-title { margin-bottom: 0; }
.cta-title { margin-bottom: 4px; }
.pitch-title { margin-bottom: 8px; }
.pricing { padding-top: 30px; } /* Membership now sits between Top modules and Every module (2026-11-14, user) */
.pricing .hero { margin-top: 18px; }

/* top bar lines up with the page column: logo at the column's left edge, not the screen's (2026-11-14, user) */
.top { padding-left: max(20px, calc((100% - 1280px) / 2 + 16px)); padding-right: max(20px, calc((100% - 1280px) / 2 + 16px)); }
.auth-top { padding-left: max(16px, calc((100% - 1180px) / 2 + 16px)); padding-right: max(16px, calc((100% - 1180px) / 2 + 16px)); }

/* menu on the right edge of the page column, Sign up as a button (2026-11-14, user) */
@media (min-width: 561px) { .top { grid-template-columns: auto 1fr; } .top .nav { justify-self: end; } }
.top .nav { align-items: center; }
.nav a.nav-cta { color: #fff; background: linear-gradient(135deg, #b47cf7, var(--accent-2)); box-shadow: 0 4px 16px var(--glow-soft); margin-left: 4px; }
.nav a.nav-cta:hover { color: #fff; background: linear-gradient(135deg, #c08cff, var(--accent)); box-shadow: 0 6px 22px var(--glow); }
@media (max-width: 560px) { .top .nav { justify-self: center; } }
.membership-part > .sub { text-align: center; margin-top: 10px; } /* section subtitles centered under their headings */
#features, #how { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }
/* section links next to the logo, Log in / Sign up (or Log out) on the right (2026-11-14, user) */
@media (min-width: 561px) {
  .top .nav { justify-self: stretch; margin-left: 28px; }
  .top .nav .push { margin-left: auto; }
}
.members-page .membership-part, .members-page .pricing { padding-top: 0; } .members-page .pricing .hero { margin-top: 0; } /* signed-in Membership page starts right at the plans */

/* "Membership key" redeem box at the bottom of the signed-in Membership page (2026-11-14, user) */
.redeem {
  max-width: 620px; margin: 50px auto 40px; padding: 26px; border-radius: 16px; text-align: center;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(164, 99, 242, .85), rgba(210, 177, 255, .35), rgba(164, 99, 242, .2)) border-box;
  border: 1px solid transparent; box-shadow: 0 16px 50px rgba(0, 0, 0, .35);
}
.redeem-title { font-size: 22px; margin: 0 0 6px; }
.redeem .muted { margin: 0 0 16px; }
.redeem-row { display: flex; gap: 10px; }
.redeem-row input { flex: 1; min-width: 0; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 1.5px; text-transform: uppercase; }
.redeem-row .btn { white-space: nowrap; }
.redeem .msg { margin: 12px 0 0; min-height: 0; }
@media (max-width: 560px) { .redeem-row { flex-direction: column; } }
/* admin: membership keys */
.keymake select, .keymake input[type=number] {
  padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font: 15px inherit;
}
.keymake input[type=number] { width: 80px; }
.keymake #k-days { width: 90px; }
.keymake input[hidden] { display: none; }
.newkeys { margin-top: 12px; padding: 14px; border-radius: 10px; background: var(--panel-2); border: 1px dashed var(--accent); }
.newkeys pre { margin: 10px 0 0; white-space: pre-wrap; word-break: break-all; font-size: 15px; letter-spacing: 1px; user-select: all; }
.row.spread { justify-content: space-between; }

/* dashboard: Start looks the same for non-members, with a lock; clicking explains (2026-11-14, user) */
.btn.locked { opacity: 1; }
.btn.locked::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn.locked:hover { transform: none; }
/* non-member dashboard: address + port blurred out, Copy hidden (2026-11-14, user) */
.locked-view .addr .val { filter: blur(7px); user-select: none; pointer-events: none; }
.locked-view [data-copy] { visibility: hidden; }

/* device row under the homepage intro (PC, Android, iOS, Xbox, PlayStation, Switch) */
.devices { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: -6px 0 22px; }
.device { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.device svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* footer on every page: copyright + social icons (links come later) */
.site-footer { border-top: 1px solid rgba(255,255,255,.07); margin-top: 60px; padding: 22px 16px 28px; }
.foot-inner { max-width: 1248px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot-copy { color: var(--muted); font-size: 14px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.foot-social a:hover { border-color: var(--accent); text-decoration: none; }
.foot-social svg { width: 19px; height: 19px; fill: var(--accent); }
@media (max-width: 560px) {
  /* everything on ONE line: "© 2026 ZYELOE" left, logos in the middle, "All rights reserved" right */
  .site-footer { margin-top: 26px; padding: 11px 14px; }
  .foot-inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: nowrap; font-size: 10.5px; }
  .foot-copy { display: contents; }               /* lets "© 2026 ZYELOE" and "All rights reserved" be separate items */
  .foot-rights { order: 1; }                        /* pushed to the far right */
  .foot-social { order: 0; display: flex; gap: 7px; } /* sits in the middle */
  .foot-social a { width: 24px; height: 24px; border-radius: 7px; }
  .foot-social svg { width: 13px; height: 13px; }
}
/* ===== 2026-11-14 polish: spacing, plan shine, richer login + dashboard ===== */
.section { margin-top: 54px; margin-bottom: 6px; }
main .card + .card { margin-top: 18px; }
.included { gap: 16px; }
.plans { gap: 20px; }

/* membership plans: a slow light sheen sweeps each card + a soft glow pulse */
.plan { position: relative; overflow: hidden; animation: planpulse 4.5s ease-in-out infinite; }
.plan::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-18deg); animation: planshine 6s ease-in-out infinite;
}
.plan:nth-child(2)::before { animation-delay: 1.4s; }
.plan:nth-child(3)::before { animation-delay: 2.8s; }
.plan:nth-child(4)::before { animation-delay: 4.2s; }
@keyframes planshine { 0% { left: -60%; } 55%, 100% { left: 135%; } }
@keyframes planpulse { 50% { border-color: rgba(164, 99, 242, .5); box-shadow: 0 12px 34px rgba(164, 99, 242, .16); } }
.plan.best { animation: bestglow 3s ease-in-out infinite; }

/* login/signup: richer pitch panel */
.pitch { background: linear-gradient(160deg, rgba(164,99,242,.12), rgba(139,70,232,.03)); border: 1px solid rgba(164,99,242,.18); border-radius: 18px; padding: 32px 30px; box-shadow: 0 20px 60px rgba(0,0,0,.30); }
.pitch-title { background: linear-gradient(90deg,#fff,#d6b8ff,#fff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.pstat { background: rgba(164,99,242,.08); border: 1px solid rgba(164,99,242,.16); border-radius: 12px; transition: transform .25s, box-shadow .25s; }
.pstat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(164,99,242,.18); }
.pstat-n { background: linear-gradient(90deg,#fff,#d6b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* dashboard: an animated color bar on each card + gradient headings */
body[data-page="dashboard"] main .card { position: relative; overflow: hidden; }
body[data-page="dashboard"] main .card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #6f3fd0, var(--accent)); background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
}
body[data-page="dashboard"] main .card h2 { background: linear-gradient(90deg,#fff,#d6b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* fix (2026-11-14): the plan sheen used overflow:hidden which clipped the "Best value" tag.
   Use a background-position sweep instead - it stays inside the card and never clips the tag. */
.plan { overflow: visible; background-image: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.09) 50%, transparent 58%); background-size: 250% 100%; background-repeat: no-repeat; animation: planshine 6.5s ease-in-out infinite, planpulse 4.5s ease-in-out infinite; }
.plan::before { display: none; }
.plan:nth-child(2) { animation-delay: -2.1s, 0s; }
.plan:nth-child(3) { animation-delay: -4.2s, 0s; }
@keyframes planshine { 0% { background-position: 180% 0; } 60%, 100% { background-position: -80% 0; } }
.plan.best { overflow: visible; animation: planshine 6.5s ease-in-out infinite, bestglow 3s ease-in-out infinite; }


/* mobile hero: logo + ZYELOE side by side (a compact lockup), instead of the big logo filling
   the screen. Desktop keeps the big logo + separate wordmark (brand-lockup hidden there). */
.brand-lockup { display: none; }
@media (max-width: 560px) {
  .landing { gap: 12px; padding-top: 4px; }
  .landing-logo { display: none; }
  .landing-title { display: none; }
  .brand-lockup { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 2px 0 8px; }
  .brand-lockup img { width: 52px; height: 52px; border-radius: 12px; image-rendering: pixelated; box-shadow: 0 0 0 1px rgba(164,99,242,.45), 0 6px 20px rgba(164,99,242,.3); }
  .brand-lockup span { font-size: 46px; font-weight: 800; letter-spacing: .5px; line-height: 1; background: linear-gradient(90deg,#fff,#d6b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
}

/* mobile: center the device icons under the hero */
@media (max-width: 560px) {
  .devices { justify-content: center; }
}

/* ===== 2026-11-14 polish batch ===== */

/* 1. all glints on one 6s rhythm (price was 5s, plan sheen 6.5s, logo 4s = looked out of sync) */
.plan-price { animation: shimmer 6s linear infinite; }
.plan { animation: planshine 6s ease-in-out infinite, planpulse 4.5s ease-in-out infinite; }
.logo-frame::after { animation: sweep 6s linear infinite; }

/* 2. Best value: brighter, more reflective sheen + a stronger premium glow */
.plan.best {
  overflow: visible;
  border-color: rgba(206, 170, 255, .95);
  background-image: linear-gradient(110deg, transparent 37%, rgba(226,204,255,.34) 50%, transparent 63%);
  background-size: 220% 100%; background-repeat: no-repeat;
  animation: planshine 6s ease-in-out infinite, bestglow 3.4s ease-in-out infinite;
}
@keyframes bestglow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(206,170,255,.55), 0 0 30px rgba(164,99,242,.3), 0 16px 48px rgba(124,58,237,.3); }
  50% { box-shadow: 0 0 0 1px rgba(226,204,255,.9), 0 0 66px rgba(164,99,242,.6), 0 18px 64px rgba(124,58,237,.5); }
}
.plan.best .plan-tag { background: linear-gradient(90deg, #c9a4ff, #8b46e8); box-shadow: 0 0 18px rgba(164,99,242,.75); }

/* 3. mobile top bar: ONE row (brand left, auth/app links right - marketing links hidden) */
@media (max-width: 560px) {
  .nav .hide-m { display: none !important; }
  .top { grid-template-columns: auto 1fr; justify-items: stretch; align-items: center; gap: 8px; border-bottom: none; }
  .top .brand { justify-self: start; }
  .top .nav { justify-self: end; width: auto; flex-wrap: nowrap; gap: 6px; }
  .top .nav a, .top .nav button { font-size: 13px; padding: 6px 9px; }
  /* a clean divider line under the header instead of a hard cut */
  .top::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(164,99,242,.55), transparent); }
  /* the live/online badge sits top-left of the hero, not centered */
  .landing-text { display: flex; flex-direction: column; align-items: center; }
  .live { order: -1; align-self: center; margin: -16px 0 16px; }
}

/* ===== Build page (2026-11-14) ===== */
.build-modes { display: flex; gap: 12px; margin: 0 0 16px; flex-wrap: wrap; }
.bmode { flex: 1 1 200px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--text); font-size: 16px; font-weight: 700; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s; }
.bmode span { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.bmode:hover { border-color: rgba(164,99,242,.5); transform: translateY(-2px); }
.bmode.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 10px 30px rgba(164,99,242,.18); }
.build-card { padding: 20px; }
.dropzone { border: 2px dashed rgba(164,99,242,.4); border-radius: 16px; padding: 48px 20px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(164,99,242,.06); }
.drop-ic { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.dropzone .link { color: var(--accent); text-decoration: underline; }
.build-grid { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.preview-wrap { background: repeating-conic-gradient(#1a1a1e 0% 25%, #141417 0% 50%) 50% / 20px 20px; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; place-items: center; min-height: 240px; }
#preview { image-rendering: pixelated; border-radius: 4px; max-width: 100%; height: auto; }
.build-controls { display: flex; flex-direction: column; gap: 16px; }
.ctl { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.ctl b { color: var(--text); }
.ctl input[type=range] { width: 100%; accent-color: var(--accent); }
.ctl-check { flex-direction: row; align-items: center; gap: 8px; }
.build-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.build-stats > div { background: var(--panel-2, rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; text-align: center; }
.build-stats .label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 3px; }
.build-stats .val { font-size: 18px; font-weight: 800; }
@media (max-width: 700px) { .build-grid { grid-template-columns: 1fr; } }

/* ===== Homepage CTA buttons - spiced up (2026-11-14) ===== */
.landing-btns .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 14px; font-weight: 800; letter-spacing: .2px; }
.landing-btns .btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.landing-btns .btn.primary.shine {
  position: relative; overflow: hidden; border: none; color: #fff;
  background: linear-gradient(135deg, #b27bff, #7b3fd6 55%, #a463f2);
  box-shadow: 0 12px 32px rgba(164,99,242,.45), inset 0 1px 0 rgba(255,255,255,.3);
}
.landing-btns .btn.primary.shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: ctashine 3.6s ease-in-out infinite; pointer-events: none;
}
@keyframes ctashine { 0% { left: -60%; } 55%, 100% { left: 135%; } }
.landing-btns .btn.primary.shine:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(164,99,242,.6), inset 0 1px 0 rgba(255,255,255,.35); }
.landing-btns .btn.primary.shine:hover svg { transform: translateX(4px); }
.landing-btns .btn.glass {
  background: rgba(164,99,242,.10); border: 1px solid rgba(164,99,242,.5); color: #efe7ff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.landing-btns .btn.glass:hover { transform: translateY(-2px); background: rgba(164,99,242,.18); border-color: var(--accent); box-shadow: 0 12px 30px rgba(164,99,242,.3); }

/* ===== Help / FAQ page (2026-11-14, members) ===== */
.faq { max-width: 820px; margin: 10px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-group { margin-top: 22px; font-size: 13px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(164,99,242,.5); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--accent); line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #fff; }
.faq-a { padding: 0 18px 16px; color: var(--muted); line-height: 1.6; }
.faq-a b { color: var(--text); }
.faq-a code { background: rgba(164,99,242,.14); color: #e9dcff; padding: 2px 7px; border-radius: 6px; font-size: 13px; }
.help-cta { max-width: 820px; margin: 26px auto 0; text-align: center; }

/* Help page tabs + commands (2026-11-14) */
.help-tabs { display: flex; gap: 10px; margin: 18px 0 20px; flex-wrap: wrap; }
.help-tab { padding: 10px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-weight: 700; font-size: 15px; cursor: pointer; transition: all .18s; }
.help-tab:hover { color: #fff; border-color: #3a3a44; }
.help-tab.on { color: #fff; border-color: transparent;
  background: linear-gradient(135deg, rgba(164,99,242,.9), rgba(123,63,214,.9)); box-shadow: 0 8px 24px rgba(164,99,242,.35); }
.help-cat { max-width: 860px; }
.help-empty { padding: 48px 0; font-size: 15px; }
.cmd-intro { max-width: 860px; margin: 0 0 16px; }
.cmd-group { margin: 24px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.cmd { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 14px; align-items: baseline;
  padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 8px; }
.cmd code { color: #e9dcff; background: rgba(164,99,242,.14); padding: 4px 9px; border-radius: 7px; font-size: 13.5px; white-space: nowrap; justify-self: start; }
.cmd span { color: var(--muted); line-height: 1.5; }
.cmd span code { background: rgba(164,99,242,.12); padding: 1px 6px; font-size: 12.5px; white-space: normal; }
@media (max-width: 560px) {
  .cmd { grid-template-columns: 1fr; gap: 6px; }
  .cmd code { white-space: normal; }
}

/* mobile hero: a touch more breathing room between the badge, name, text, devices & buttons
   (2026-11-14 - spreading it out bit by bit) */
@media (max-width: 560px) {
  .brand-lockup { margin: 4px 0 14px; }
  .live { margin: -16px 0 20px; }
  .landing-sub { margin-bottom: 26px; }
  .devices { margin: -2px 0 24px; }
  .landing-btns { margin-bottom: 18px; }
}

/* mobile: center "Already have an account? Log in" evenly between the buttons and the stat boxes */
@media (max-width: 560px) {
  #have-account { margin: 19px 0 7px; }
}
