/* Nebulix store: one stylesheet, dark only (the brand lives on black). The CSP allows no scripts, so every
   interaction and animation here is plain CSS and degrades to a still page.
   Shapes: buttons are pills, cards 20px, inner tiles 12-14px, inputs 10px. One accent (violet); amber and green
   only ever mean "waiting" and "active" on order badges. */

@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #08070d;
  --bg-2: #0e0c16;
  --surface: #13111c;
  --surface-2: #1a1726;
  --surface-3: #221e33;
  --line: rgb(185 165 255 / 0.1);
  --line-2: rgb(185 165 255 / 0.18);
  --text: #eeebf7;
  --muted: #9d96b3;
  --accent: #9868f8;
  --accent-2: #7c4ff0;
  --accent-strong: #6338d6;
  --on-accent: #fbfaff;
  --lav: #c8b0fa;
  --ok: #5fd39a;
  --wait: #f3c969;
  --danger: #f2708c;
  --r-card: 20px;
  --r-tile: 14px;
  --r-input: 10px;
  --wrap: 1200px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: inset 0 1px 0 rgb(255 255 255 / 0.04), 0 24px 48px -28px rgb(4 2 12 / 0.9);
  --z-header: 10;
  --z-skip: 20;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  background:
    radial-gradient(70rem 42rem at 78% -12%, rgb(152 104 248 / 0.17), transparent 62%),
    radial-gradient(48rem 32rem at -8% 2%, rgb(99 56 214 / 0.13), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
/* film grain over everything, so the dark surfaces don't look like flat vectors */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.05;
  background-image: 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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--lav); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
h1, h2, h3 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); letter-spacing: -0.035em; }
h3 { font-size: 1.12rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font: 0.9em var(--mono); color: var(--lav); word-break: break-all; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgb(152 104 248 / 0.4); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: var(--z-skip); background: var(--surface-2); padding: 8px 14px; border-radius: 999px; }
.spacer { height: 96px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  color: var(--lav); font: 500 0.8rem/1 var(--mono); letter-spacing: 0.02em;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }

/* --- buttons ------------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.78em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-sm { padding: 0.62em 1.05em; font-size: 0.88rem; }
.btn-lg { padding: 0.98em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .ph { font-size: 1.15em; transition: transform 0.25s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn-primary {
  color: var(--on-accent); background: linear-gradient(180deg, var(--accent-2), var(--accent-strong));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 10px 30px -10px rgb(124 79 240 / 0.75);
}
.btn-primary:hover {
  color: var(--on-accent); background: linear-gradient(180deg, #8d63f5, #6d43e0);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 16px 36px -12px rgb(124 79 240 / 0.95);
}
.btn-ghost { color: var(--text); background: rgb(255 255 255 / 0.03); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--text); background: rgb(152 104 248 / 0.08); border-color: rgb(152 104 248 / 0.55); }
.btn-soft { color: var(--text); background: var(--surface-3); border-color: var(--line); }
.btn-soft:hover { color: var(--text); background: #2b2541; border-color: var(--line-2); }

/* --- header: a floating glass bar ------------------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: var(--z-header); padding: 14px 0 0; }
.nav {
  display: flex; align-items: center; gap: 22px; height: 62px; padding: 0 10px 0 14px; border-radius: 999px;
  background: rgb(19 17 28 / 0.68); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 16px 40px -24px rgb(0 0 0 / 0.9);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 50%; box-shadow: 0 0 18px rgb(152 104 248 / 0.45); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  flex: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.94rem;
  white-space: nowrap; transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgb(255 255 255 / 0.05); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgb(152 104 248 / 0.18); }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.currency { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(0 0 0 / 0.25); border: 1px solid var(--line); }
.currency a {
  padding: 0.38em 0.8em; border-radius: 999px; color: var(--muted); text-decoration: none; font: 600 0.8rem/1.2 var(--mono);
  transition: color 0.2s, background-color 0.2s;
}
.currency a:hover { color: var(--text); }
.currency a[aria-current="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); }

/* --- hero: copy left, emblem in orbit right -------------------------------------------------------------------- */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.hero h1 {
  max-width: 13ch; padding-bottom: 0.06em;
  background: linear-gradient(180deg, #fff 35%, #c9bfe6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-top: 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.03); color: var(--muted); font: 500 0.8rem/1.2 var(--mono);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2.4s var(--ease) infinite; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 48px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dt { color: var(--muted); font-size: 0.86rem; }
.stats dd { margin: 0; font-size: 1.9rem; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats dd span, .facts dd span { margin-left: 2px; font-size: 0.55em; font-weight: 500; letter-spacing: 0; color: var(--muted); }

.hero-art { position: relative; justify-self: center; display: grid; place-items: center; width: min(100%, 500px); aspect-ratio: 1; }
.hero-art::before {
  content: ""; position: absolute; inset: 16%; border-radius: 50%;
  background: radial-gradient(circle, rgb(152 104 248 / 0.5), transparent 68%); filter: blur(42px);
}
.hero-emblem { position: relative; width: 60%; }
.hero-emblem img { border-radius: 50%; animation: float 9s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.06); }
.orbit-1 { inset: 3%; border: 1px dashed rgb(152 104 248 / 0.32); animation: spin 90s linear infinite; }
.orbit-1::after { /* a small moon riding the outer ring */
  content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--lav); box-shadow: 0 0 18px 4px rgb(200 176 250 / 0.55);
}
.orbit-2 { inset: 13%; }
.orbit-3 { inset: 24%; border-color: rgb(152 104 248 / 0.16); animation: spin 60s linear infinite reverse; }
.orbit-3::after { content: ""; position: absolute; bottom: 8%; right: 12%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: var(--r-tile);
  background: rgb(19 17 28 / 0.8); border: 1px solid var(--line-2); backdrop-filter: blur(12px);
  font-size: 0.9rem; color: var(--muted); white-space: nowrap; box-shadow: var(--shadow);
}
.chip strong { color: var(--text); font-weight: 600; }
.chip .ph { font-size: 1.3rem; color: var(--lav); }
.chip-a { left: -6%; top: 16%; animation: float 7s ease-in-out infinite; }
.chip-b { right: -4%; bottom: 14%; animation: float 8s ease-in-out -3s infinite; }

/* --- locations marquee ----------------------------------------------------------------------------------------- */
.places { padding: 12px 0 8px; }
.places-label { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; flex: none; gap: 10px; margin: 0; padding: 0 10px 0 0; list-style: none; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgb(255 255 255 / 0.02); white-space: nowrap; font-size: 0.93rem;
}
.cc {
  display: inline-grid; place-items: center; min-width: 2.3em; padding: 4px 6px; border-radius: 6px;
  background: rgb(152 104 248 / 0.15); color: var(--lav); font: 600 0.72rem/1 var(--mono); letter-spacing: 0.04em;
}

/* --- sections ---------------------------------------------------------------------------------------------------- */
.section { padding-top: 112px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head > p { margin: 0; max-width: 40ch; color: var(--muted); }

/* product bento: Minecraft wide, bots narrow, then VPS and dedicated side by side */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 300px;
  padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface);
  color: var(--text); text-decoration: none; box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tile:hover {
  transform: translateY(-4px); color: var(--text); border-color: rgb(152 104 248 / 0.45);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 32px 64px -32px rgb(99 56 214 / 0.6);
}
.tile-mc { grid-column: span 4; min-height: 360px; background: radial-gradient(80% 90% at 92% 0%, rgb(152 104 248 / 0.24), transparent 60%), var(--surface); }
.tile-bot { grid-column: span 2; }
.tile-vps, .tile-ded { grid-column: span 3; }
.tile h3 { margin: 16px 0 4px; font-size: 1.45rem; }
.tile-mc h3 { font-size: 2rem; }
.tile p { margin: 0; max-width: 44ch; color: var(--muted); }
.tile-points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; font-size: 0.93rem; }
.tile-points li { display: flex; gap: 10px; align-items: baseline; }
.tile-points .ph { color: var(--accent); }
.tile-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; color: var(--muted); font-size: 0.93rem; }
.from strong { color: var(--text); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.count { flex-basis: 100%; font: 500 0.78rem/1.4 var(--mono); color: var(--muted); }
.go {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.go .ph { transform: rotate(-45deg); transition: transform 0.35s var(--ease); }
.tile:hover .go { background: var(--accent-strong); border-color: var(--accent-strong); }
.tile:hover .go .ph { transform: rotate(0); }
.tile-icon {
  display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--r-tile); font-size: 1.45rem;
  color: var(--lav); border: 1px solid rgb(152 104 248 / 0.3);
  background: linear-gradient(180deg, rgb(152 104 248 / 0.22), rgb(152 104 248 / 0.07)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}
.tile-icon-lg { width: 58px; height: 58px; border-radius: 16px; font-size: 1.8rem; }

/* tile backgrounds: CSS-only patterns that hint at what each product is */
.tile-art { position: absolute; z-index: -1; pointer-events: none; }
.tile-mc .tile-art { /* blocky ground in perspective */
  inset: -10% -6% -10% 42%;
  background: repeating-conic-gradient(rgb(152 104 248 / 0.16) 0 25%, transparent 0 50%) 0 0 / 46px 46px;
  mask-image: radial-gradient(closest-side at 62% 50%, #000, transparent);
  transform: perspective(700px) rotateY(-22deg) rotateX(10deg);
}
.tile-bot .tile-art { /* dot matrix */
  inset: 0 0 35% 25%;
  background: radial-gradient(rgb(200 176 250 / 0.4) 1px, transparent 1.6px) 0 0 / 16px 16px;
  mask-image: radial-gradient(closest-side at 100% 0%, #000, transparent);
}
.tile-vps .tile-art { /* stacked virtual machines */
  inset: 0 0 0 45%;
  background: repeating-linear-gradient(180deg, rgb(152 104 248 / 0.14) 0 2px, transparent 2px 15px);
  mask-image: radial-gradient(closest-side at 100% 30%, #000, transparent);
}
.tile-ded p, .tile-ded .tile-points { max-width: 62%; }
.tile-ded .tile-art { /* a rack: server units with a status light each */
  top: 22px; right: 22px; bottom: 22px; width: 30%; border-radius: 10px;
  background:
    radial-gradient(circle at 14px 11px, var(--lav) 0 2px, transparent 3px) 0 0 / 100% 26px,
    repeating-linear-gradient(180deg, rgb(255 255 255 / 0.06) 0 22px, transparent 22px 26px);
  mask-image: linear-gradient(200deg, #000 20%, transparent 85%);
}

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { position: relative; padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), rgb(19 17 28 / 0.2)); }
.steps li:not(:last-child)::after { /* connector to the next step */
  content: ""; position: absolute; top: 44px; right: -17px; width: 18px; height: 1px; background: var(--line-2);
}
.steps h3 { font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); }
.step-n {
  display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 10px; margin-bottom: 40px; border-radius: 999px;
  border: 1px solid rgb(152 104 248 / 0.35); color: var(--lav); font: 500 0.8rem/1 var(--mono);
}

/* why: sticky intro left, hairline grid right */
.why { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.why-intro { position: sticky; top: 120px; }
.why-list {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.why-list li { padding: 30px 28px; background: var(--bg-2); transition: background-color 0.3s var(--ease); }
.why-list li:hover { background: var(--surface); }
.why-list .ph { font-size: 1.6rem; color: var(--lav); }
.why-list h3 { margin: 22px 0 6px; }
.why-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* faq: heading left, answers right */
.faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  cursor: pointer; list-style: none; font-weight: 500; font-size: 1.08rem; transition: color 0.2s;
}
.faq summary:hover { color: var(--lav); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { /* plus that turns into a cross */
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--lav), var(--lav)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--lav), var(--lav)) center / 1.5px 11px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.35s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgb(152 104 248 / 0.14); }
.faq details p { margin: 0; padding: 0 48px 24px 0; max-width: 62ch; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* closing band */
.band {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin: 120px 0 96px; padding: 56px; border-radius: 28px; border: 1px solid rgb(152 104 248 / 0.3);
  background: radial-gradient(60% 130% at 100% 0%, rgb(152 104 248 / 0.32), transparent 62%), linear-gradient(180deg, #17122a, #0f0c1a);
}
.band::before { /* faint grid, fading toward the copy */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: radial-gradient(70% 100% at 100% 0%, #000, transparent);
}
.band h2 { margin-bottom: 8px; }
.band p { margin: 0; color: var(--muted); max-width: 46ch; }

/* --- category pages ------------------------------------------------------------------------------------------- */
.page-head { position: relative; isolation: isolate; padding: 44px 0 52px; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: radial-gradient(60% 90% at 30% 0%, #000, transparent);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font: 500 0.8rem/1.4 var(--mono); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.page-head h1 { margin: 22px 0 12px; font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
.page-head .lead { margin: 0; }
.facts { display: flex; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: rgb(19 17 28 / 0.65); backdrop-filter: blur(8px); }
.facts div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 16px 22px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.82rem; }
.facts dd { margin: 0; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }

.plan-group { padding-bottom: 56px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.group-head h2 .ph { color: var(--lav); }
.group-head p { margin: 0; color: var(--muted); font: 500 0.82rem/1.4 var(--mono); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.025), transparent 140px), var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 30px 50px -30px rgb(4 2 12 / 0.95); }
.plan-best {
  border-color: rgb(152 104 248 / 0.55);
  background: radial-gradient(120% 55% at 50% 0%, rgb(152 104 248 / 0.18), transparent 70%), var(--surface);
  box-shadow: 0 0 0 1px rgb(152 104 248 / 0.22), 0 30px 60px -32px rgb(99 56 214 / 0.7);
}
.plan-best:hover { border-color: var(--accent); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 26px; }
.plan h3 { margin: 0; font-size: 1.1rem; }
.flag { flex: none; padding: 6px 9px; border-radius: 7px; background: var(--accent-strong); color: var(--on-accent); font: 600 0.7rem/1 var(--mono); letter-spacing: 0.02em; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.price .amount { font-size: 2.2rem; font-weight: 600; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-size: 0.9rem; }
.specs { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.specs li { display: flex; gap: 11px; align-items: flex-start; line-height: 1.4; }
.specs .ph { flex: none; margin-top: 1px; font-size: 1.1rem; color: var(--lav); }
.loc { display: flex; gap: 8px; align-items: center; margin: auto 0 0; color: var(--muted); font-size: 0.86rem; }
.plan .btn { margin-top: auto; } /* pinned to the bottom so every card's button lines up */
.plan .loc + .btn { margin-top: 16px; }

.empty {
  display: grid; justify-items: center; gap: 4px; padding: 64px 32px; margin-bottom: 64px; text-align: center;
  border: 1px dashed var(--line-2); border-radius: var(--r-card); background: rgb(255 255 255 / 0.015);
}
.empty .tile-icon { margin-bottom: 14px; }
.empty h2 { font-size: 1.5rem; }
.empty p { color: var(--muted); max-width: 46ch; }

.more { padding: 16px 0 96px; }
.more h2 { font-size: 1.1rem; margin-bottom: 16px; color: var(--muted); font-weight: 500; letter-spacing: -0.01em; }
.more-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.more-links a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); text-decoration: none; font-weight: 500; transition: border-color 0.25s, transform 0.25s var(--ease);
}
.more-links a:hover { color: var(--text); border-color: rgb(152 104 248 / 0.45); transform: translateY(-2px); }
.more-links .ph:first-child { font-size: 1.3rem; color: var(--lav); }
.more-links .ph-arrow-right { margin-left: auto; color: var(--muted); transition: transform 0.25s var(--ease); }
.more-links a:hover .ph-arrow-right { transform: translateX(3px); color: var(--text); }

/* --- checkout --------------------------------------------------------------------------------------------------- */
.checkout { padding: 40px 0 96px; }
.checkout h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-top: 28px; }
.checkout-form { margin: 0; }
.step { min-width: 0; margin: 0 0 16px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 1.12rem; }
.step legend + * { clear: both; }
.step .step-n { margin: 0; min-width: 30px; }
.help { margin: 0; color: var(--muted); font-size: 0.88rem; }
.region-group { margin: 22px 0 10px; color: var(--muted); font: 500 0.78rem/1 var(--mono); letter-spacing: 0.02em; }
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 8px; }
.region { position: relative; display: block; cursor: pointer; }
.region input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.region > span {
  display: flex; align-items: center; gap: 11px; height: 100%; padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.region-name { display: grid; line-height: 1.25; font-weight: 500; font-size: 0.94rem; }
.region-name small { color: var(--muted); font-weight: 400; font-size: 0.78rem; }
.region:hover > span { border-color: rgb(152 104 248 / 0.5); }
.region input:checked + span { border-color: var(--accent); background: rgb(152 104 248 / 0.12); box-shadow: inset 0 0 0 1px var(--accent); }
.region input:checked + span::after {
  content: ""; flex: none; width: 18px; height: 18px; margin-left: auto; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center no-repeat;
}
.region input:focus-visible + span { outline: 2px solid var(--lav); outline-offset: 2px; }
.fixed-loc { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; color: var(--muted); }
.fixed-loc .ph { color: var(--lav); font-size: 1.2rem; }
.fixed-loc strong { color: var(--text); font-weight: 500; }
.step .btn { margin: 16px 0 14px; }
.step .small { margin: 0; }
.summary {
  position: sticky; top: 104px; padding: 26px; border-radius: var(--r-card); border: 1px solid rgb(152 104 248 / 0.3);
  background: radial-gradient(120% 50% at 50% 0%, rgb(152 104 248 / 0.15), transparent 70%), var(--surface); box-shadow: var(--shadow);
}
.summary .kicker { margin-bottom: 12px; }
.summary h2 { margin: 0 0 20px; font-size: 1.55rem; }
.summary .specs { margin-bottom: 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 14px; padding: 18px 0; border-block: 1px dashed var(--line-2); color: var(--muted); }
.summary-total .amount { color: var(--text); font-size: 1.95rem; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.summary .small { margin: 0; }

/* --- forms ------------------------------------------------------------------------------------------------------ */
.form { display: grid; gap: 8px; margin: 24px 0 20px; }
.form label { margin-top: 8px; font-weight: 500; font-size: 0.92rem; }
.form input[type="email"], .form input[type="password"], .form input:not([type]) {
  width: 100%; padding: 0.85em 1em; border-radius: var(--r-input); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.form input:hover { border-color: rgb(152 104 248 / 0.4); }
.form input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(152 104 248 / 0.2); }
.form input:user-invalid { border-color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 4px; font-weight: 400; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.form .btn { margin-top: 14px; }
.error {
  display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 0; padding: 12px 14px; border-radius: var(--r-input);
  border: 1px solid rgb(242 112 140 / 0.35); background: rgb(242 112 140 / 0.1); color: #ffc4d0; font-size: 0.93rem;
}
.error .ph { flex: none; font-size: 1.2rem; color: var(--danger); }

.auth { padding: 40px 0 96px; }
.auth-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); max-width: 980px; margin-inline: auto; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 40px 80px -40px rgb(4 2 12 / 0.95);
}
.auth-form { padding: 48px; }
.auth-form h1 { font-size: 2.3rem; }
.auth-form > .muted:first-of-type { margin-bottom: 0; }
.auth-aside {
  position: relative; display: flex; flex-direction: column; gap: 28px; padding: 48px; border-left: 1px solid var(--line);
  background: radial-gradient(90% 65% at 55% 28%, rgb(152 104 248 / 0.34), transparent 70%), linear-gradient(180deg, #17122a, #0e0b18);
}
.auth-emblem { width: 56%; align-self: center; margin: auto 0; }
.auth-emblem img { border-radius: 50%; animation: float 9s ease-in-out infinite; }
.auth-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-aside li { display: flex; gap: 12px; align-items: center; }
.auth-aside .ph { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(152 104 248 / 0.16); color: var(--lav); font-size: 1.1rem; }

/* --- account ----------------------------------------------------------------------------------------------------- */
.dash { max-width: 920px; padding: 40px 0 96px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.dash-head h1 { margin-bottom: 6px; font-size: clamp(2.1rem, 4vw, 2.9rem); }
.dash-head p.muted { margin: 0; }
.dash-head form { margin: 0; }
.dash-facts { display: inline-flex; margin-bottom: 40px; }
.dash-title { font-size: 1.35rem; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin: 0 0 28px; border-radius: var(--r-tile); border: 1px solid rgb(152 104 248 / 0.45); background: rgb(152 104 248 / 0.1); }
.notice .ph { flex: none; font-size: 1.3rem; color: var(--lav); }
.services { display: grid; gap: 12px; }
.service { display: flex; gap: 18px; padding: 22px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); }
.service-main { flex: 1; min-width: 0; }
.service header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.service h3 { margin: 2px 0 4px; font-size: 1.15rem; }
.service header p { margin: 0; }
.service-price { margin: 12px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.badge {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); font-size: 0.8rem; font-weight: 500; white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-pending_payment { color: var(--wait); border-color: rgb(243 201 105 / 0.35); }
.badge-paid { color: var(--lav); border-color: rgb(200 176 250 / 0.4); }
.badge-active { color: var(--ok); border-color: rgb(95 211 154 / 0.4); background: rgb(95 211 154 / 0.08); }
.badge-cancelled { opacity: 0.7; }
.creds { margin-top: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
.creds summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; list-style: none; cursor: pointer; color: var(--lav); font-weight: 500; }
.creds summary::-webkit-details-marker { display: none; }
.creds dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 0; padding: 4px 14px 16px; }
.creds dt { color: var(--muted); font-size: 0.88rem; }
.creds dd { margin: 0; }

/* --- legal + messages -------------------------------------------------------------------------------------------- */
.prose { max-width: 760px; padding: 40px 0 96px; }
.prose h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); }
.prose h2 { margin: 2.2em 0 0.6em; font-size: 1.25rem; }
.prose p { max-width: 68ch; color: #cfc9e0; }
.message { max-width: 640px; padding: 96px 0 128px; }
.message-code {
  display: block; margin-bottom: 18px; font-size: clamp(4.5rem, 13vw, 7.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--lav), rgb(152 104 248 / 0.12)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- footer -------------------------------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgb(152 104 248 / 0.05)); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
.footer-brand p { max-width: 34ch; margin: 14px 0 18px; color: var(--muted); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer h2 { margin-bottom: 4px; color: var(--text); font: 500 0.8rem/1.4 var(--mono); letter-spacing: 0.02em; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-footer nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* --- client area (/services/:id) ---------------------------------------------------------------------------------- */
.service-link { color: var(--text); text-decoration: none; align-items: center; transition: border-color 0.25s, transform 0.25s var(--ease); }
.service-link:hover { color: var(--text); border-color: rgb(152 104 248 / 0.45); transform: translateY(-2px); }
.service-go { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--lav); font-weight: 500; font-size: 0.92rem; }
.service-go .ph { transition: transform 0.25s var(--ease); }
.service-link:hover .service-go .ph { transform: translateX(3px); }

.state {
  flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 0.85rem; font-weight: 500; white-space: nowrap; color: var(--muted);
}
.state-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state-on { color: var(--ok); border-color: rgb(95 211 154 / 0.4); background: rgb(95 211 154 / 0.08); }
.state-on .state-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; animation: ping 2.4s var(--ease) infinite; }
.state-busy { color: var(--wait); border-color: rgb(243 201 105 / 0.35); }
.state-busy .state-dot { animation: blink 1.2s ease-in-out infinite; }
.state-off { color: var(--muted); }
@keyframes blink { 50% { opacity: 0.25; } }

.svc { padding: 36px 0 96px; }
.svc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.svc-title { flex: 1; min-width: 0; }
.svc-title h1 { margin: 0 0 6px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.svc-title p { margin: 0; }
.tabs {
  display: flex; gap: 4px; margin: 0 0 24px; padding: 4px; border-radius: 16px; border: 1px solid var(--line);
  background: rgb(19 17 28 / 0.6); overflow-x: auto; scrollbar-width: none;
}
.tabs a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; color: var(--muted);
  text-decoration: none; font-weight: 500; font-size: 0.93rem; transition: color 0.2s, background-color 0.2s;
}
.tabs a:hover { color: var(--text); background: rgb(255 255 255 / 0.04); }
.tabs a[aria-current="page"] { color: var(--text); background: var(--surface-3); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); }
.tabs .ph { font-size: 1.1rem; }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.panel { min-width: 0; padding: 24px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); }
.panel h2 { font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { margin: 0; }
.panel > p:last-child { margin-bottom: 0; }

.power { display: flex; flex-wrap: wrap; gap: 8px; }
.power form { margin: 0; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.danger-text { color: var(--danger) !important; }
.btn-ghost.danger-text:hover { border-color: rgb(242 112 140 / 0.6); background: rgb(242 112 140 / 0.08); }
.address { display: grid; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
code.copy { cursor: pointer; border-radius: 6px; padding: 2px 6px; margin: -2px -6px; transition: background-color 0.2s; user-select: all; }
code.copy:hover { background: rgb(152 104 248 / 0.12); }
code.copy.copied { background: rgb(95 211 154 / 0.15); color: var(--ok); }
.big-code { font-size: 1.12rem; color: var(--text); justify-self: start; }

.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 0; }
.kv dt { color: var(--muted); font-size: 0.88rem; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.creds-panel { padding: 0; }
.creds-panel summary { display: flex; align-items: center; gap: 10px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; }
.creds-panel summary::-webkit-details-marker { display: none; }
.creds-panel summary::after { content: "Show"; margin-left: auto; color: var(--lav); font-weight: 500; font-size: 0.88rem; }
.creds-panel[open] summary::after { content: "Hide"; }
.creds-panel .kv { padding: 0 24px 22px; }

.meter { display: grid; gap: 7px; margin-bottom: 16px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.meter-top span:first-child { color: var(--muted); }
.meter-top span:last-child { font-variant-numeric: tabular-nums; }
progress { appearance: none; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--surface-3); border-radius: 999px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--accent-strong), var(--lav)); border-radius: 999px; transition: width 0.6s var(--ease); }
progress::-moz-progress-bar { background: linear-gradient(90deg, var(--accent-strong), var(--lav)); border-radius: 999px; }
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0; }
.mini div { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.mini dt { color: var(--muted); font-size: 0.78rem; }
.mini dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.panel .mini + .meter { margin-top: 18px; }

.players-count { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; }
.players-count strong { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.players-count span { color: var(--muted); }

/* console */
.console-panel { padding: 0; overflow: hidden; }
.console-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.console-head h2 { margin: 0; }
.console {
  height: min(56vh, 520px); overflow-y: auto; padding: 16px 20px; background: #07060c;
  font: 0.84rem/1.6 var(--mono); color: #d9d4ea; white-space: pre-wrap; word-break: break-word; scrollbar-color: var(--surface-3) transparent;
}
.console:focus-visible { outline-offset: -2px; border-radius: 0; }
.console-note { margin: 0; color: var(--muted); font-family: var(--font); }
.ansi-bold { font-weight: 700; }
.ansi-fg30, .ansi-fg90 { color: #8b84a3; } .ansi-fg31, .ansi-fg91 { color: #ff7b93; } .ansi-fg32, .ansi-fg92 { color: #6ee7a8; }
.ansi-fg33, .ansi-fg93 { color: #f6d27a; } .ansi-fg34, .ansi-fg94 { color: #8fb4ff; } .ansi-fg35, .ansi-fg95 { color: #d4a5ff; }
.ansi-fg36, .ansi-fg96 { color: #7fe3ea; } .ansi-fg37, .ansi-fg97 { color: #f4f2fa; }
.console-form { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 20px; border-top: 1px solid var(--line); background: var(--bg-2); }
.prompt { color: var(--lav); font: 600 0.95rem var(--mono); }
.console-form input { flex: 1; min-width: 0; font-family: var(--mono) !important; }

/* shared inputs inside client-area panels */
.panel input:not([type="checkbox"]):not([type="hidden"]):not([type="file"]), .panel select, .panel textarea, .menu-form input {
  width: 100%; padding: 0.7em 0.9em; border-radius: var(--r-input); border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); font: inherit; font-size: 0.94rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.panel input:focus-visible, .panel select:focus-visible, .panel textarea:focus-visible, .menu-form input:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(152 104 248 / 0.2);
}
.panel input:disabled { opacity: 0.55; }
.panel select { appearance: none; cursor: pointer; padding-right: 2.4em;
  background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8b0fa' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 1em center; }
.panel textarea { font: 0.88rem/1.55 var(--mono); resize: vertical; }
.help { margin: 4px 0 0; color: var(--muted); font-size: 0.84rem; }
.help code { font-size: 0.82rem; }
.fields { display: grid; gap: 18px; margin: 18px 0 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.lock { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: 0.74rem; font-weight: 500; }
.inline-form { display: flex; gap: 10px; margin-bottom: 8px; }
.inline-form input { flex: 1; }
.inline-form .btn { flex: none; }
.empty-line { margin: 18px 0 4px; }

/* dropdown menus built from <details> */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.file-actions .menu > summary { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--muted); font-size: 1.2rem; transition: background-color 0.2s, color 0.2s; }
.file-actions .menu > summary:hover, .file-actions .menu[open] > summary { background: var(--surface-3); color: var(--text); }
.menu-body {
  position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; min-width: 240px; display: grid; gap: 4px; padding: 8px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); box-shadow: 0 24px 48px -16px rgb(0 0 0 / 0.8);
}
.menu-right .menu-body, .file-actions .menu-body { left: auto; right: 0; }
.menu-body > a, .menu-body button:not(.btn) {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: none;
  color: var(--text); font: inherit; font-size: 0.92rem; text-align: left; text-decoration: none; cursor: pointer;
}
.menu-body > a:hover, .menu-body button:not(.btn):hover { background: var(--surface-3); color: var(--text); }
.menu-body form { margin: 0; }
.menu-form { display: grid; gap: 8px; padding: 6px 4px; }
.menu-body .menu-form { padding: 6px 0; }
.menu-form label:not(.check) { font-size: 0.84rem; color: var(--muted); }
.menu-form .check { margin: 2px 0; font-size: 0.9rem; }
.menu-form p { margin: 0; color: var(--muted); }

/* files */
.files-panel { padding: 0; }
.files-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.path { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font: 500 0.88rem var(--mono); color: var(--muted); }
.path a { color: var(--text); text-decoration: none; padding: 4px 6px; border-radius: 7px; }
.path a:hover { background: var(--surface-3); }
.path .ph { font-size: 1.1rem; color: var(--lav); }
.files-actions { display: flex; gap: 8px; }
.upload { display: flex; align-items: center; gap: 12px; margin: 16px 20px 4px; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-2); background: rgb(255 255 255 / 0.015); }
.upload-drop { flex: 1; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 0.9rem; color: var(--muted); }
.upload-drop strong { color: var(--text); font-weight: 600; }
.upload-drop > .ph { font-size: 1.5rem; color: var(--lav); }
.upload-drop input[type="file"] { max-width: 240px; color: var(--muted); font-size: 0.84rem; }
.upload-drop input[type="file"]::file-selector-button { margin-right: 10px; padding: 0.45em 0.9em; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-3); color: var(--text); font: 500 0.84rem var(--font); cursor: pointer; }
.table-wrap { overflow-x: auto; padding: 8px 8px 12px; }
.file-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.file-table th { padding: 10px 12px; text-align: left; color: var(--muted); font: 500 0.78rem var(--mono); border-bottom: 1px solid var(--line); }
.file-table td { padding: 6px 12px; border-bottom: 1px solid rgb(185 165 255 / 0.05); white-space: nowrap; }
.file-table tbody tr { transition: background-color 0.15s; }
.file-table tbody tr:hover { background: rgb(255 255 255 / 0.025); }
.file-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.file-name a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--text); text-decoration: none; }
.file-name a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.file-name .ph { font-size: 1.2rem; color: var(--lav); }
.file-actions { width: 46px; text-align: right; }

.editor { padding: 0; overflow: hidden; }
.editor-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); }
.editor-bar code { color: var(--text); overflow-wrap: anywhere; }
.editor-actions { display: flex; gap: 8px; flex: none; }
.editor textarea { display: block; width: 100%; min-height: 62vh; margin: 0; padding: 16px 20px; border: 0 !important; border-radius: 0 !important; background: #07060c !important; tab-size: 2; white-space: pre; }
.editor textarea:focus-visible { box-shadow: none !important; }

/* backups */
.backup-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.backup-list li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.backup-main { flex: 1; min-width: 0; display: grid; }
.backup-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.backup-actions form { margin: 0; }

/* settings */
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.settings-side { display: grid; gap: 16px; }
.settings-side .btn { margin-top: 12px; }
.danger-panel { border-color: rgb(242 112 140 / 0.25); }
.danger-panel .check { margin: 14px 0 0; }
.danger-panel > .btn { margin-top: 14px; }
.narrow-panel { max-width: 640px; }
.ip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ip-list li { display: flex; align-items: center; gap: 12px; }

@media (max-width: 860px) {
  .svc-grid, .settings-grid { grid-template-columns: 1fr; }
  .svc-head { flex-wrap: wrap; gap: 14px 16px; }
  .svc-title { flex: 1 1 calc(100% - 80px); }
  .upload { flex-direction: column; align-items: stretch; }
  .upload-drop { flex-wrap: wrap; }
  .file-table th:nth-child(3), .file-table td:nth-child(3) { display: none; }
  .service-go { display: none; }
}
@media (max-width: 560px) {
  .mini div { padding: 10px; }
  .inline-form { flex-direction: column; }
  .backup-list li { flex-wrap: wrap; }
  .backup-actions { width: 100%; justify-content: flex-end; }
  .console { height: 60vh; font-size: 0.78rem; }
}

/* --- software switcher, monitoring charts, requests (client area, part 2) ----------------------------------------- */
.software { margin-bottom: 16px; }
.sw-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.sw-type { position: relative; display: block; cursor: pointer; }
.sw-type input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.sw-type > span {
  display: grid; gap: 3px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.sw-type strong { font-weight: 600; }
.sw-type small { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.sw-type:hover > span { border-color: rgb(152 104 248 / 0.5); }
.sw-type input:checked + span { border-color: var(--accent); background: rgb(152 104 248 / 0.12); box-shadow: inset 0 0 0 1px var(--accent); }
.sw-type input:focus-visible + span { outline: 2px solid var(--lav); outline-offset: 2px; }
.sw-type input:disabled + span { opacity: 0.45; cursor: not-allowed; }
.sw-versions { max-width: 360px; margin-bottom: 14px; }
.software .help { margin-bottom: 8px; max-width: 70ch; }
.software .check { margin: 8px 0 0; }
.software > .btn { margin-top: 16px; }
/* show only the selected type's version list (all of them where :has() is missing) */
@supports selector(:has(*)) {
  .sw-version { display: none; }
  .software:has(input[value="paper"]:checked) .sw-version-paper, .software:has(input[value="purpur"]:checked) .sw-version-purpur,
  .software:has(input[value="vanilla"]:checked) .sw-version-vanilla, .software:has(input[value="fabric"]:checked) .sw-version-fabric,
  .software:has(input[value="forge"]:checked) .sw-version-forge, .software:has(input[value="neoforge"]:checked) .sw-version-neoforge { display: grid; }
}
form[data-busy].is-busy { pointer-events: none; opacity: 0.75; }

.monitor-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.monitor-head p { margin: 0; }
.period-form { display: flex; align-items: center; gap: 10px; }
.period-form label { color: var(--muted); font-size: 0.9rem; }
.period-form select {
  appearance: none; padding: 0.55em 2.4em 0.55em 0.9em; border-radius: var(--r-input); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 0.92rem; cursor: pointer;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c8b0fa' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 0.9em center;
}
.charts { display: grid; gap: 16px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.chart-head h2 { margin: 0; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.86rem; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-item strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.legend-swatch { width: 10px; height: 10px; flex: none; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: rgb(185 165 255 / 0.1); stroke-width: 1; }
.chart-grid text, .chart-x text { fill: var(--muted); font: 11px var(--font); font-variant-numeric: tabular-nums; }
.chart-cursor { stroke: rgb(238 235 247 / 0.45); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart.is-hover .chart-cursor { opacity: 1; }
.chart-tip {
  position: absolute; top: 6px; z-index: 2; min-width: 150px; padding: 9px 12px; border-radius: 10px; pointer-events: none;
  border: 1px solid var(--line-2); background: rgb(26 23 38 / 0.95); box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.8); font-size: 0.82rem;
}
.chart-tip strong { display: block; margin-bottom: 4px; font-weight: 600; }
.chart-tip span { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.chart-tip span b { margin-left: auto; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-tip i { width: 8px; height: 8px; border-radius: 2px; }
.chart-empty { margin: 8px 0 0; }

.reach { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 0.9rem; transition: border-color 0.2s, background-color 0.2s; }
.choice input:checked + span { border-color: var(--accent); background: rgb(152 104 248 / 0.14); }
.choice input:focus-visible + span { outline: 2px solid var(--lav); outline-offset: 2px; }
.request-panel .field { margin-bottom: 14px; }
.request-panel textarea { font-family: var(--font); }
.request-list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.request-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }

@media (max-width: 860px) {
  .sw-types { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sw-types { grid-template-columns: 1fr; }
  .chart-grid text, .chart-x text { font-size: 22px; }
  .chart-x text:nth-of-type(2), .chart-x text:nth-of-type(4), .chart-grid text:nth-of-type(2), .chart-grid text:nth-of-type(4) { display: none; }
  .chart-legend { font-size: 0.8rem; }
}

/* --- motion -------------------------------------------------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes ping { 70%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-100%); } }
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-art { animation: rise 1.3s var(--ease) 0.2s both; }
/* sections fade up as they scroll in (Chromium); other browsers just show them */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
}

/* --- smaller screens ---------------------------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-mc { grid-column: 1 / -1; }
  .tile-bot, .tile-vps, .tile-ded { grid-column: auto; }
  .tile-ded { grid-column: 1 / -1; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 860px) {
  .site-header { position: static; }
  .nav { flex-wrap: wrap; height: auto; padding: 10px 10px 10px 14px; gap: 8px 12px; border-radius: 24px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
  .nav-links a { padding: 7px 10px; font-size: 0.9rem; }
  .hero { padding: 32px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-art { order: -1; width: min(78%, 330px); }
  .chip { font-size: 0.8rem; padding: 8px 11px; }
  .chip-a { left: -14%; }
  .chip-b { right: -14%; }
  .section { padding-top: 80px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .step-n { margin-bottom: 20px; }
  .why, .faq { grid-template-columns: 1fr; gap: 28px; }
  .why-intro { position: static; }
  .band { flex-direction: column; align-items: flex-start; padding: 36px 28px; margin: 80px 0 64px; }
  .page-head-grid { grid-template-columns: 1fr; gap: 24px; }
  .facts { align-self: start; width: fit-content; max-width: 100%; }
  .more-links { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-form { padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile-mc { min-height: 0; padding: 24px; }
  .tile-mc h3 { font-size: 1.6rem; }
  .tile-ded .tile-art { display: none; }
  .tile-ded p, .tile-ded .tile-points { max-width: none; }
  .step { padding: 20px; }
  .regions { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
  .region > span { padding: 10px 11px; gap: 9px; }
  .why-list { grid-template-columns: 1fr; }
  .stats { gap: 14px 28px; }
  .stats dd { font-size: 1.55rem; }
  .facts div { padding: 12px 14px; }
  .facts dd { font-size: 1.15rem; }
  .faq details p { padding-right: 0; }
  .service { flex-direction: column; gap: 14px; }
  .service header { flex-direction: column; }
  .dash-head { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
  .currency a { padding: 0.38em 0.6em; }
  .nav-links a { padding: 7px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee { mask-image: none; }
  .marquee-track { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
