/*
 * Theme 4: the look of the whole site, laid over main.css (which keeps the in-browser menu and the
 * config library, both drawn to match the client). The colours are a pigeon's neck: the same pink,
 * violet, blue and green the client's accent presets come from, run together as one sheen.
 */

/* ---------- tokens ---------- */
:root {
  --bg: #08070c;
  --ink-1: #0e0d14;
  --ink-2: #13111b;
  --ink-3: #1a1824;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f6f4fb;
  --text-2: #bfbacd;
  --text-3: #837d97;
  --pink: #ff4fd8;
  --pink-2: #ff88e6;
  --violet: #a184ff;
  --blue: #7fb2f0;
  --green: #46dda8;
  --amber: #ffb648;
  --red: #ff5d7d;
  --sheen: linear-gradient(100deg, #ff6fd8 0%, #c08cff 32%, #7fb2f0 64%, #46dda8 100%);
  --glow: 0 18px 60px -18px rgba(255, 79, 216, .55);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --max: 1220px;
  --radius: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* main.css's older names, pointed at the new palette so every older component follows. */
  --bg-elevated: var(--ink-1);
  --bg-card: var(--ink-2);
  --border: var(--line-2);
  --border-soft: var(--line);
  --border-bright: rgba(255, 255, 255, .2);
  --text-dim: var(--text-2);
  --text-faint: var(--text-3);
  --pink-bright: var(--pink-2);
  --pink-deep: #8e2a8a;
  --pink-glow: rgba(255, 79, 216, .4);
}

/* ---------- base ---------- */
body { background: var(--bg); font-family: var(--font); color: var(--text); }
body::before {
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(161, 132, 255, .14), transparent 60%),
    radial-gradient(800px 500px at 0% 0%, rgba(255, 79, 216, .10), transparent 60%);
  background-size: auto;
}
body::after { opacity: .045; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; color: var(--text); }
p { color: var(--text-2); }
::selection { background: var(--pink); color: #14051a; }
.wrap { max-width: var(--max); padding: 0 24px; }
code, kbd {
  font-family: var(--mono); font-size: .86em; padding: 2px 7px; border-radius: 6px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--text);
}

/* The pigeon's neck, as text: it drifts slowly, like the light moving over feathers. */
.sheen {
  background: var(--sheen); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hl { white-space: normal; }
.hl::after { display: none; }
.hl { background: var(--sheen); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* A module's own icon from the client: the PNG is a mask, so it takes the text colour. */
.mi {
  display: inline-block; width: 1em; height: 1em; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--mi) center / contain no-repeat; mask: var(--mi) center / contain no-repeat;
}

.x-kicker, .section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pink-2);
}
.x-kicker::before, .section-label::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sheen); display: inline-block;
}

.reveal { transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  padding: 13px 24px; border-radius: 12px; gap: 10px;
}
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn-primary {
  color: #fff; border: 0;
  background: linear-gradient(135deg, #ff5fdc 0%, #d06bff 55%, #9a7bff 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 0 0 1px rgba(255, 255, 255, .08) inset, var(--glow);
}
.btn-primary:hover { background: linear-gradient(135deg, #ff78e3 0%, #dc84ff 55%, #ab8fff 100%); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 24px 70px -18px rgba(255, 79, 216, .7); }
.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, .045); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.btn-ghost svg { width: 15px; height: 15px; }
.btn-discord { background: #5865f2; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 50px -20px rgba(88, 101, 242, .8); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header:has(.mobile-nav.is-open) {
  background: rgba(8, 7, 12, .72); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.site-header > .wrap { height: 72px; }
.site-header .brand { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.site-header .brand .mark img { filter: drop-shadow(0 0 14px rgba(255, 79, 216, .45)); }
.main-nav a { color: var(--text-2); font-weight: 500; border-radius: 10px; }
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.main-nav a.is-active, .main-nav .current-menu-item > a { color: var(--text); background: rgba(255, 255, 255, .07); }
.main-nav a.is-active::after, .main-nav .current-menu-item > a::after { display: none; }
.header-actions .btn { padding: 10px 18px; font-size: 14px; }
body:not(.home) main, body:not(.home) .page-hero { scroll-margin-top: 80px; }

/* ---------- home: hero ---------- */
.x-hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.x-hero-media { position: absolute; inset: 0; z-index: 0; }
.x-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; transform: scale(1.04); animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translate(-1.2%, -1%); } }
.x-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 12, .96) 0%, rgba(8, 7, 12, .82) 34%, rgba(8, 7, 12, .25) 66%, rgba(8, 7, 12, .45) 100%),
    linear-gradient(180deg, rgba(8, 7, 12, .55) 0%, transparent 22%, transparent 60%, var(--bg) 100%);
}
.x-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; width: 100%; }
.x-hero-copy { max-width: 700px; }
.x-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(14, 13, 20, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13.5px; color: var(--text-2); transition: border-color .2s, transform .2s var(--ease);
}
.x-pill:hover { border-color: rgba(255, 79, 216, .5); transform: translateY(-1px); }
.x-pill b { padding: 3px 10px; border-radius: 999px; background: var(--sheen); color: #14051a; font-size: 12px; font-weight: 700; }
.x-pill svg { width: 14px; height: 14px; }
.x-hero h1 { font-size: clamp(46px, 5.4vw, 80px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin-bottom: 24px; }
.x-hero h1 .sheen { padding-bottom: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.x-lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 540px; margin-bottom: 34px; }
.x-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.x-actions.is-centered { justify-content: center; }
.x-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; color: var(--text-3); font-size: 14px; }
.x-facts li { display: flex; align-items: baseline; gap: 8px; }
.x-facts b { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }

/* The client's own popups, floating over the screenshot. */
.x-hero-float { position: relative; height: 330px; }
.x-toast {
  position: absolute; right: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 999px;
  background: rgba(14, 13, 20, .85); border: 1px solid var(--line-2); color: var(--pink-2); font-size: 18px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.x-toast b { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--text); }
.x-toast.is-one { bottom: 64px; animation: float 7s ease-in-out -2s infinite; }
.x-toast.is-two { bottom: 0; right: 40px; animation: float 8s ease-in-out -4s infinite; }
.x-switch { position: relative; width: 34px; height: 19px; border-radius: 999px; background: #353c46; }
.x-switch::after { content: ""; position: absolute; top: 2.5px; left: 2.5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .3s; }
.x-switch.is-on { background: var(--pink); }
.x-switch.is-on::after { transform: translateX(15px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- home: module marquee ---------- */
.x-marquee {
  position: relative; z-index: 1; display: grid; gap: 12px; padding: 26px 0 10px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.x-lane { display: flex; overflow: hidden; }
.x-track { display: flex; gap: 12px; width: max-content; animation: lane 70s linear infinite; }
.x-lane.is-reverse .x-track { animation-direction: reverse; animation-duration: 80s; }
.x-marquee:hover .x-track { animation-play-state: paused; }
@keyframes lane { to { transform: translateX(-50%); } }
.x-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; white-space: nowrap;
  background: var(--ink-1); border: 1px solid var(--line); color: var(--text-2); font-size: 14.5px; font-weight: 500;
}
.x-chip .mi { color: var(--pink-2); font-size: 18px; }

/* ---------- home: sections ---------- */
.x-section { position: relative; z-index: 1; padding: 120px 0 0; }
.x-head { max-width: 680px; margin-bottom: 48px; }
.x-head.is-centered { margin-left: auto; margin-right: auto; text-align: center; }
.x-head h2, .configs-teaser h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.04em; margin: 16px 0 16px; }
.x-head p { font-size: 18px; line-height: 1.6; margin: 0; }
.x-head-split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.x-center { display: flex; justify-content: center; margin-top: 40px; }
.x-note { font-size: 14px; color: var(--text-3); margin: 18px 0 0; }
.x-note a { color: var(--pink-2); }

/* the in-browser menu, framed as a game window */
.x-window {
  position: relative; border-radius: 22px; padding: 1px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 111, 216, .55), rgba(161, 132, 255, .2) 30%, rgba(255, 255, 255, .06) 60%, rgba(70, 221, 168, .35));
  box-shadow: 0 60px 140px -50px rgba(255, 79, 216, .35), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.x-window-bar {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 21px 21px 0 0;
  background: #0d0c13; color: var(--text-3); font-family: var(--mono); font-size: 12px;
}
.x-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2735; }
.x-window-bar i:nth-child(1) { background: #ff5d7d; } .x-window-bar i:nth-child(2) { background: #ffb648; } .x-window-bar i:nth-child(3) { background: #46dda8; }
.x-window-bar span { margin-left: 10px; }
.x-window .gui-stage { margin: 0; border-radius: 0 0 21px 21px; overflow: hidden; background: #07060b; }
.gui-hint { text-align: center; color: var(--text-3); font-size: 14px; margin-top: 18px; }

/* in-game screenshots and small cards, in a bento grid */
.x-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.x-shot {
  position: relative; grid-column: span 3; min-height: 320px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--ink-1); isolation: isolate;
}
.x-shot.is-hero { grid-column: span 6; min-height: 520px; }
.x-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.x-shot:hover img { transform: scale(1.04); }
.x-shot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 7, 12, 0) 35%, rgba(8, 7, 12, .92) 100%); }
.x-shot.is-hero img { object-position: 50% 0%; }
.x-shot.is-hero::after { background: linear-gradient(90deg, rgba(8, 7, 12, .92) 0%, rgba(8, 7, 12, .55) 40%, rgba(8, 7, 12, 0) 70%); }
.x-shot-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; max-width: 520px; }
.x-shot.is-hero .x-shot-copy { top: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; }
.x-shot h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 10px; }
.x-shot.is-hero h3 { font-size: clamp(32px, 3.6vw, 52px); }
.x-shot p { font-size: 15.5px; color: #d6d1e3; margin: 0; }
.x-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(8, 7, 12, .6); border: 1px solid rgba(255, 255, 255, .16); color: var(--text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.x-tag .mi { color: var(--pink-2); font-size: 15px; }
.x-card {
  grid-column: span 2; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); transition: border-color .3s, transform .4s var(--ease);
}
.x-card:hover { border-color: rgba(255, 79, 216, .35); transform: translateY(-4px); }
.x-card h3 { font-size: 22px; margin: 18px 0 8px; }
.x-card p { font-size: 15px; margin: 0; }
.x-card-icon, .x-cat-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; font-size: 24px; color: #fff;
  background: linear-gradient(135deg, rgba(255, 79, 216, .35), rgba(161, 132, 255, .25)); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 30px -10px rgba(255, 79, 216, .6);
}

/* every module, by panel */
.x-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--text-2); }
.st { display: inline-flex; align-items: center; gap: 8px; }
.st i, .x-cat li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px currentColor; }
.st-undetected i, .x-cat li.st-undetected .dot { background: var(--green); color: var(--green); }
.st-risk i, .x-cat li.st-risk .dot { background: var(--amber); color: var(--amber); }
.st-detected i, .x-cat li.st-detected .dot { background: var(--red); color: var(--red); }
.x-cats { columns: 3; column-gap: 18px; }
.x-cat { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-1); break-inside: avoid; margin-bottom: 18px; }
.x-cat header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.x-cat .x-cat-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
.x-cat h3 { font-size: 20px; margin: 0; }
.x-cat em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--text-3); padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; }
.x-cat ul { display: grid; gap: 2px; }
.x-cat li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; transition: background .2s, color .2s; }
.x-cat li:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.x-cat li .mi { font-size: 18px; color: var(--pink-2); }
.x-cat li span { flex: 1; }
.x-cat li .dot { box-shadow: none; opacity: .9; }

/* config library teaser */
.configs-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.x-ticks { display: grid; gap: 14px; margin: 26px 0 32px; }
.x-ticks li { position: relative; padding-left: 32px; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.x-ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(70, 221, 168, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346dda8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.configs-preview { border-radius: var(--radius); }

/* steps and the last call to action */
.x-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.x-steps li { position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-1); }
.x-steps span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #14051a; background: var(--sheen);
  box-shadow: 0 10px 30px -10px rgba(255, 79, 216, .7);
}
.x-steps h3 { font-size: 21px; margin: 0 0 8px; }
.x-steps p { margin: 0; font-size: 15px; }
.x-final {
  position: relative; overflow: hidden; margin: 120px 0 40px; padding: 80px 32px 64px; text-align: center; border-radius: 28px;
  border: 1px solid rgba(255, 111, 216, .3); background: radial-gradient(600px 300px at 50% 0%, rgba(255, 79, 216, .28), transparent 70%), radial-gradient(500px 280px at 100% 100%, rgba(70, 221, 168, .14), transparent 70%), var(--ink-1);
}
.x-final img { margin: 0 auto 18px; width: 96px; height: 96px; filter: drop-shadow(0 0 30px rgba(255, 79, 216, .6)); animation: float 6s ease-in-out infinite; }
.x-final h2 { font-size: clamp(38px, 5vw, 66px); letter-spacing: -.045em; margin: 0 0 12px; }
.x-final > p { font-size: 18px; margin-bottom: 30px; }

/* ---------- inner pages ---------- */
.page-hero { padding: 150px 0 56px; text-align: left; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 18px 0 18px; max-width: 900px; }
.page-hero .lede { font-size: 18.5px; max-width: 640px; color: var(--text-2); }
.section { position: relative; z-index: 1; }
.card { background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); border: 1px solid var(--line); border-radius: var(--radius); }

/* features page */
.feature-filter button { border-radius: 999px; }
.feature-filter button.is-active { background: rgba(255, 79, 216, .14); border-color: rgba(255, 79, 216, .5); color: var(--text); }
.feature-section-title { display: flex; align-items: center; gap: 14px; font-size: 28px; }
.feature-section-title .x-cat-icon { width: 44px; height: 44px; font-size: 21px; }
.module-card { border-radius: var(--radius); background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); border-color: var(--line); transition: border-color .3s, transform .4s var(--ease); }
.module-card:hover { border-color: rgba(255, 79, 216, .35); transform: translateY(-3px); }
.module-card .module-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 21px; color: #fff; background: linear-gradient(135deg, rgba(255, 79, 216, .32), rgba(161, 132, 255, .22)); border: 1px solid rgba(255, 255, 255, .1); }
.module-card h3 { font-size: 19px; }
.legend-card { border-radius: var(--radius); background: var(--ink-1); }

/* download page */
.download-panel .v { font-family: var(--font-display); }
.version-tag { background: rgba(70, 221, 168, .14); color: var(--green); border-color: rgba(70, 221, 168, .35); }
.changelog h2 { font-size: 30px; }
.whats-new h4 { color: var(--pink-2); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* faq */
.faq-item { border-radius: 14px; background: var(--ink-1); border: 1px solid var(--line); margin-bottom: 10px; }
.faq-item.is-open { border-color: rgba(255, 79, 216, .35); }
.faq-q { font-family: var(--font-display); font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; }
.faq-q .chev { color: var(--pink-2); }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; margin-top: 100px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255, 79, 216, .04)); }
.site-footer .brand { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.footer-col h5 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.footer-col a { color: var(--text-2); }
.footer-col a:hover { color: var(--pink-2); }

/* ---------- the in-browser menu: each module's own icon, as in-game ---------- */
.pg-rowicon.pg-mi { position: relative; display: block; width: 11px; height: 11px; color: rgba(255, 255, 255, .34); transition: color .25s; }
.pg-rowicon.pg-mi > .mi { display: block; width: 11px; height: 11px; }
.pg-row:hover .pg-rowicon.pg-mi { color: color-mix(in srgb, var(--a) 70%, #fff); }
.pg-row.is-on:not(.pg-plain) .pg-rowicon.pg-mi { color: #fff; }
.pg-bolt { position: absolute; right: -5px; bottom: -4px; display: block; color: color-mix(in srgb, var(--a) 80%, #fff); }
.pg-bolt svg { width: 7px; height: 7px; }
.pg-ico .mi { width: 11.5px; height: 11.5px; }
/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .x-hero { min-height: 0; padding: 120px 0 60px; }
  .x-hero-inner { grid-template-columns: 1fr; }
  .x-hero-float { height: 210px; max-width: 460px; }
  .x-hero-media::after { background: linear-gradient(180deg, rgba(8, 7, 12, .7) 0%, rgba(8, 7, 12, .85) 55%, var(--bg) 100%); }
  .x-bento { grid-template-columns: repeat(2, 1fr); }
  .x-shot, .x-shot.is-hero { grid-column: span 2; min-height: 380px; }
  .x-card { grid-column: span 1; }
  .x-shot.is-hero img { object-position: 50% 0%; }
.x-shot.is-hero::after { background: linear-gradient(180deg, rgba(8, 7, 12, 0) 25%, rgba(8, 7, 12, .95) 100%); }
  .x-cats { columns: 2; }
  .configs-teaser { grid-template-columns: 1fr; gap: 36px; }
  .x-steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .x-hero h1 { font-size: 44px; }
  .x-hero-float { display: none; }
  .x-section { padding-top: 84px; }
  .x-bento { grid-template-columns: 1fr; }
  .x-cats { columns: 1; }
  .x-card, .x-shot, .x-shot.is-hero { grid-column: span 1; }
  .x-shot-copy, .x-shot.is-hero .x-shot-copy { padding: 22px; }
  .x-final { padding: 56px 20px 44px; }
  .page-hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .sheen, .x-hero-media img, .x-track, .x-toast, .x-final img { animation: none !important; }
}
