/* ==========================================================================
   XeonNode: dark theme
   Mobile-first. Change the variables below to re-theme the whole site.
   ========================================================================== */

:root {
    --bg: #0a0d13;
    --bg-2: #0d1118;
    --surface: #11161f;
    --surface-2: #161c27;
    --surface-3: #1d2431;
    --border: rgba(255, 255, 255, 0.07);
    --border-2: rgba(255, 255, 255, 0.12);

    --text: #eef2f8;
    --text-soft: #b1bccd;
    --muted: #7d889b;

    --brand: #1e8ff0;
    --brand-hover: #3ba1f6;
    --brand-deep: #0f6fd0;
    --brand-tint: rgba(30, 143, 240, 0.12);
    --brand-line: rgba(30, 143, 240, 0.45);

    --green: #34d399;
    --yellow: #fbbf24;
    --red: #f87171;
    --purple: #a78bfa;
    --pink: #f472b6;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.8);

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

    --header-h: 64px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column;
    background: var(--bg); color: var(--text);
    font-family: var(--font); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
kbd { font-family: var(--mono); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--brand); color: #fff; border-radius: var(--radius-sm); transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.accent { color: var(--brand); }
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(24px, 4vw, 40px) clamp(56px, 8vw, 96px); }
.section--tint { background: var(--bg-2); border-block: 1px solid var(--border); }
.section--flush { padding-bottom: clamp(48px, 7vw, 80px); }

.section-head { max-width: 680px; margin: 0 auto clamp(32px, 5vw, 48px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2, .section-row h2, .showcase-copy h2, .faq-intro h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.section-sub { margin-top: 10px; color: var(--text-soft); font-size: 1.04rem; }
.section-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.subhead { margin: 40px 0 16px; font-size: 1.05rem; color: var(--text-soft); font-weight: 600; }
.eyebrow { margin-bottom: 12px; color: var(--brand); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 0.95rem; }
.link-arrow:hover { color: var(--brand-hover); }
.link-arrow .bi { transition: transform 0.2s; }
.link-arrow:hover .bi { transform: translateX(3px); }

.grid { display: grid; gap: clamp(14px, 2vw, 20px); }
.grid--features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--plans { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid--legal { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--tiers { grid-template-columns: 1fr; align-items: start; }
@media (min-width: 720px) { .grid--tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .grid--tiers { grid-template-columns: repeat(3, 1fr); }
    .grid--tiers-1 { grid-template-columns: minmax(0, 400px); justify-content: center; }
    .grid--tiers-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
    .grid--tiers-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }
.split-copy p { color: var(--text-soft); margin-bottom: 16px; font-size: 1.05rem; }
.center-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 0.93rem; }
.center-note a { color: var(--brand); }
.center-note a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--text-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
    --btn-h: 44px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: var(--btn-h); padding: 0 18px;
    border-radius: 10px; border: 1px solid transparent;
    font-weight: 600; font-size: 0.95rem; line-height: 1; white-space: nowrap;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --btn-h: 38px; padding: 0 14px; font-size: 0.9rem; border-radius: 9px; }
.btn-lg { --btn-h: 50px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 18px -8px rgba(30, 143, 240, 0.6); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.btn-secondary:hover { background: var(--surface-3); border-color: rgba(255, 255, 255, 0.2); }
.btn-ghost { color: var(--text-soft); border-color: var(--border-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.btn-light { background: #fff; color: #0b1220; }
.btn-light:hover { background: #e9f1fb; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Announcement bar ---------- */
.announce { background: linear-gradient(90deg, var(--brand-deep), var(--brand)); color: #fff; font-size: 0.88rem; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-block: 6px; text-align: center; flex-wrap: wrap; }
.announce-badge { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.announce-link { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.announce-link:hover { text-decoration-color: #fff; }
@media (max-width: 599px) { .announce { font-size: 0.82rem; } .announce-inner { gap: 2px 8px; } .announce-badge { display: none; } }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 13, 19, 0.82);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.site-header.menu-open { background: var(--bg); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; flex-shrink: 0; }
.nav-brand img { width: 30px; height: 30px; border-radius: 7px; }

.nav-links { display: none; align-items: center; gap: 2px; margin-left: 8px; }
.nav-item {
    display: inline-flex; align-items: center; gap: 6px;
    height: 38px; padding: 0 10px; border-radius: 8px; white-space: nowrap;
    color: var(--text-soft); font-weight: 500; font-size: 0.93rem;
    transition: color 0.15s, background-color 0.15s;
}
.nav-item:hover, .nav-item.is-active, .dropdown.is-open > .nav-item { color: var(--text); background: var(--surface-2); }
.nav-item .bi-chevron-down { font-size: 0.65rem; transition: transform 0.2s; opacity: 0.7; }
.dropdown.is-open .bi-chevron-down { transform: rotate(180deg); }

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 10px); left: 0;
    padding: 8px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.985); transform-origin: top center;
    transition: opacity 0.2s var(--ease), transform 0.26s var(--ease), visibility 0.2s;
}
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }

.dropdown-cards { width: 320px; display: grid; gap: 2px; }
.menu-card { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; }
.menu-card:hover, .menu-card:focus-visible { background: var(--surface-2); }
.menu-card-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; background: var(--brand-tint); color: var(--brand); }
.menu-card-text { display: flex; flex-direction: column; line-height: 1.35; }
.menu-card-text strong { font-size: 0.92rem; font-weight: 600; }
.menu-card-text small { color: var(--muted); font-size: 0.82rem; }
.menu-card .ext { font-size: 0.65rem; color: var(--muted); margin-left: 4px; }

.mega { display: grid; grid-template-columns: 1fr 230px; gap: 8px; width: 640px; padding: 10px; }
.mega-label { padding: 6px 10px 8px; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.mega-games { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-game { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; }
.mega-game:hover, .mega-game:focus-visible { background: var(--surface-2); }
.mega-game-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border); }
.mega-game-icon img { width: 26px; height: 26px; object-fit: contain; }
.mega-game-text { display: flex; flex-direction: column; line-height: 1.3; }
.mega-game-text strong { font-size: 0.93rem; font-weight: 600; }
.mega-game-text small { color: var(--muted); font-size: 0.8rem; }
.mega-side { display: flex; flex-direction: column; gap: 2px; padding-left: 8px; border-left: 1px solid var(--border); }
.mega-mini { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 0.9rem; color: var(--text-soft); }
.mega-mini small { color: var(--muted); }
.mega-mini:hover { background: var(--surface-2); color: var(--text); }
.mega-cta { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 10px; background: var(--brand-tint); border: 1px solid rgba(30, 143, 240, 0.25); }
.mega-cta strong { font-size: 0.93rem; }
.mega-cta span { color: var(--brand); font-size: 0.83rem; font-weight: 600; }
.mega-cta:hover { border-color: var(--brand-line); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-icon { display: none; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--text-soft); font-size: 1.1rem; }
.nav-icon:hover { color: var(--text); background: var(--surface-2); }
.nav-login, .nav-cta { display: none; }

.nav-burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.nav-burger:hover { background: var(--surface-2); }
.nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--menu-top, var(--header-h)) 0 0 0; z-index: 49; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; animation: menu-in 0.2s var(--ease); }
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-menu-inner { display: flex; flex-direction: column; padding-block: 8px calc(32px + env(safe-area-inset-bottom)); }
.mobile-label { margin: 22px 0 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mobile-link { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 2px; border-bottom: 1px solid var(--border); font-size: 1.02rem; font-weight: 500; }
.mobile-link .bi { color: var(--brand); width: 20px; }
.mobile-link .ext { margin-left: auto; color: var(--muted); font-size: 0.75rem; }
.mobile-link.is-active { color: var(--brand); }
.mobile-games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mobile-game { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.mobile-game img { width: 28px; height: 28px; object-fit: contain; }
.mobile-game span { display: flex; flex-direction: column; line-height: 1.25; }
.mobile-game strong { font-size: 0.95rem; }
.mobile-game small { color: var(--muted); font-size: 0.78rem; }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
body.no-scroll { overflow: hidden; }

@media (min-width: 1080px) {
    .nav-links { display: flex; }
    .nav-icon { display: grid; }
    .nav-login, .nav-cta { display: inline-flex; }
    .nav-burger, .mobile-menu { display: none !important; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 9vw, 104px) clamp(48px, 7vw, 80px); }
.hero-glow {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(48rem 26rem at 50% -8%, rgba(30, 143, 240, 0.28), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 35%, transparent 80%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 7.5vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.hero .lead { margin: 20px auto 0; }
.hero-rating { margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2); }

.rating-line { display: inline-flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 0.9rem; }
.rating-line strong { color: var(--text); }
.stars-inline { display: inline-flex; gap: 2px; color: var(--yellow); font-size: 0.85rem; }

.game-search { position: relative; width: 100%; max-width: 560px; margin-top: 32px; text-align: left; }
.game-search-box { position: relative; display: flex; align-items: center; }
.game-search-box > .bi { position: absolute; left: 20px; color: var(--muted); font-size: 1.1rem; pointer-events: none; }
.game-search-box input {
    width: 100%; height: 60px; padding: 0 56px 0 52px;
    border-radius: 14px; border: 1px solid var(--border-2); background: var(--surface);
    font-size: 1.05rem; box-shadow: var(--shadow);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.game-search-box input::placeholder { color: var(--muted); }
.game-search-box input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint), var(--shadow); }
.game-search-box input:not(:placeholder-shown) ~ kbd { display: none; }
@media (hover: none) { .game-search-box kbd { display: none; } }
.game-search-box kbd { position: absolute; right: 16px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border-2); color: var(--muted); font-size: 0.8rem; }
.game-search-results {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
    max-height: 340px; overflow-y: auto; padding: 6px;
    border-radius: 14px; background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg);
}
.game-search-results[hidden] { display: none; }
.game-search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.game-search-results a[aria-selected="true"], .game-search-results a:hover { background: var(--surface-2); }
.game-search-results img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.game-search-results .gs-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.game-search-results small { color: var(--muted); font-size: 0.8rem; }
.game-search-results .gs-price { color: var(--text-soft); font-size: 0.85rem; }
.game-search-results .gs-empty { padding: 14px; color: var(--muted); }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; width: 100%; max-width: 760px; margin-top: 44px; border-radius: var(--radius-lg); overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.hero-stats > div { display: flex; flex-direction: column-reverse; padding: 18px 16px; background: var(--bg-2); }
.hero-stats dd { margin: 0; font-size: clamp(1.4rem, 3.2vw, 1.8rem); font-weight: 800; letter-spacing: -0.03em; }
.hero-stats dt { color: var(--muted); font-size: 0.85rem; }
@media (min-width: 720px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.game-orbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.game-orbs a { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-2); transition: transform 0.2s var(--ease), border-color 0.2s; }
.game-orbs a:hover { transform: translateY(-3px); border-color: var(--brand-line); }
.game-orbs img { width: 32px; height: 32px; object-fit: contain; }

/* ---------- Game tiles ---------- */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
    .tiles { grid-template-columns: repeat(6, 1fr); }
    .tiles > .game-tile { grid-column: span 2; }
    .tiles > .game-tile--lg { grid-column: span 3; }
}
.tiles.tiles--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tiles.tiles--compact > .game-tile { grid-column: auto; }
@media (max-width: 899px) { .tiles > .game-tile--lg { grid-column: span 2; } }
@media (max-width: 479px) { .tiles { grid-template-columns: 1fr; } .tiles > .game-tile, .tiles > .game-tile--lg { grid-column: auto; } }

.game-tile {
    position: relative; isolation: isolate; display: flex; align-items: flex-end;
    min-height: 180px; border-radius: var(--radius-lg); overflow: hidden;
    background: var(--surface-2); border: 1px solid var(--border);
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.game-tile--lg { min-height: 240px; }
.game-tile:hover { transform: translateY(-3px); border-color: var(--brand-line); box-shadow: var(--shadow-lg); }
.game-tile-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.game-tile:hover .game-tile-bg { transform: scale(1.05); }
.game-tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 19, 0) 20%, rgba(10, 13, 19, 0.92) 100%); }
.game-tile-body { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; }
.game-tile-logo { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; background: rgba(17, 22, 31, 0.85); border: 1px solid var(--border-2); backdrop-filter: blur(6px); }
.game-tile-logo img { width: 28px; height: 28px; object-fit: contain; }
.game-tile-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.game-tile-text strong { font-size: 1.1rem; }
.game-tile-text small { color: var(--text-soft); font-size: 0.85rem; }
.game-tile-text b { color: #fff; }
.game-tile-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: background-color 0.2s, transform 0.2s; }
.game-tile:hover .game-tile-go { background: var(--brand); transform: translateX(2px); }

.mini-tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.mini-tile { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, background-color 0.2s; }
.mini-tile:hover { border-color: var(--brand-line); background: var(--surface-2); }
.mini-tile img { width: 52px; height: 40px; object-fit: cover; border-radius: 8px; }
.mini-tile-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.mini-tile-text strong { font-size: 0.95rem; }
.mini-tile-text small { color: var(--muted); font-size: 0.8rem; }
.mini-tile-price { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.mini-tile-price b { color: var(--text); font-size: 0.95rem; }

/* ---------- Showcase + panel mock ---------- */
.showcase { display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
@media (min-width: 1000px) { .showcase { grid-template-columns: 1fr 1.1fr; } }
.icon-list { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 560px) { .icon-list { grid-template-columns: 1fr 1fr; } }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--brand-tint); color: var(--brand); }
.icon-list li > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.icon-list strong { font-size: 0.97rem; }
.icon-list small { color: var(--muted); font-size: 0.88rem; }

.panel-mock { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 255, 255, 0.02); overflow: hidden; }
.panel-top { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f56; } .dot-yellow { background: #ffbd2e; } .dot-green { background: #27c93f; }
.panel-url { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 0.75rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; }
.panel-head div { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.panel-head strong { font-family: var(--mono); font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-head small { color: var(--muted); font-size: 0.82rem; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 5px 12px; border-radius: 999px; background: rgba(251, 191, 36, 0.12); color: var(--yellow); font-size: 0.8rem; font-weight: 600; transition: background-color 0.3s, color 0.3s; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.status-pill.is-online { background: rgba(52, 211, 153, 0.12); color: var(--green); }
@keyframes pulse { 50% { opacity: 0.35; } }
.panel-tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.panel-tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 10px; color: var(--muted); font-size: 0.82rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.panel-tabs .is-active { color: var(--text); border-bottom-color: var(--brand); }
.panel-body { display: grid; }
@media (min-width: 640px) { .panel-body { grid-template-columns: 1fr 180px; } }
.panel-console { min-height: 250px; padding: 14px 16px; background: #080a0f; font-family: var(--mono); font-size: clamp(0.68rem, 1.8vw, 0.78rem); }
.terminal-line { padding: 1px 0; color: #c6d0e0; white-space: pre-wrap; word-break: break-word; }
.terminal-line--success { color: var(--green); }
.terminal-line--info { color: #6cc3ff; }
.terminal-line--warn { color: var(--yellow); }
.terminal-line--error { color: var(--red); }
.terminal-prompt span:first-child { color: var(--pink); }
.cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.js [data-terminal] .terminal-line { opacity: 0; transition: opacity 0.25s; }
.js [data-terminal] .terminal-line.is-shown { opacity: 1; }
.panel-meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 16px; border-top: 1px solid var(--border); }
@media (min-width: 640px) { .panel-meters { grid-template-columns: 1fr; align-content: start; border-top: 0; border-left: 1px solid var(--border); } }
.meter { display: flex; flex-direction: column; gap: 6px; }
.meter-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.78rem; }
.meter-label b { color: var(--text); }
.meter-bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--brand); transition: width 1.2s var(--ease); }
.js .panel-mock:not(.is-live) .meter-bar span { width: 0; }
.meter--text b { font-size: 1.1rem; }

/* ---------- Features ---------- */
.feature { padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s var(--ease); }
.feature:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feature h3 { font-size: 1.08rem; margin: 16px 0 6px; }
.feature p { color: var(--text-soft); font-size: 0.95rem; }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; font-size: 1.2rem; }
.feature-icon--blue { color: #4fb3ff; background: rgba(30, 143, 240, 0.12); }
.feature-icon--yellow { color: var(--yellow); background: rgba(251, 191, 36, 0.1); }
.feature-icon--green { color: var(--green); background: rgba(52, 211, 153, 0.1); }
.feature-icon--purple { color: var(--purple); background: rgba(167, 139, 250, 0.1); }
.feature-icon--red { color: var(--red); background: rgba(248, 113, 113, 0.1); }

/* ---------- Reviews marquee ---------- */
.section--flush .section-row { margin-bottom: 24px; }
.section--flush .rating-line { margin-top: 8px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; padding: 4px 0; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { display: flex; flex-direction: column; gap: 14px; width: min(360px, 80vw); padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.review blockquote { flex: 1; color: var(--text-soft); font-size: 0.97rem; }
.review figcaption { display: flex; align-items: center; gap: 10px; }
.review-who { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.review-who small { color: var(--muted); font-size: 0.8rem; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--brand); font-weight: 700; color: #fff; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--surface-3); color: var(--text-soft); font-size: 0.75rem; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; } .faq-intro { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq { display: grid; gap: 10px; }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .bi { flex-shrink: 0; color: var(--muted); transition: transform 0.2s; }
.faq-item[open] summary .bi { transform: rotate(45deg); color: var(--brand); }
.faq-answer { padding: 0 20px 18px; color: var(--text-soft); }
.faq-answer a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.section--cta { padding-top: 0; }
.section--tint + .section--cta, .section + .section--cta { padding-top: clamp(24px, 4vw, 40px); }
.cta-band {
    display: flex; flex-direction: column; gap: 24px; align-items: flex-start; justify-content: space-between;
    padding: clamp(28px, 5vw, 48px); border-radius: 20px;
    background: radial-gradient(36rem 18rem at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%), linear-gradient(135deg, var(--brand-deep), var(--brand));
    color: #fff;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-top: 8px; }
.cta-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 0.9rem; font-weight: 500; }
.cta-checks li { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 860px) { .cta-band { flex-direction: row; align-items: center; } }

/* ---------- Product page ---------- */
.product-hero { position: relative; isolation: isolate; padding-block: clamp(28px, 5vw, 48px) clamp(48px, 7vw, 80px); overflow: hidden; border-bottom: 1px solid var(--border); }
.product-hero-bg { position: absolute; inset: 0; z-index: -1; }
.product-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 19, 0.97) 0%, rgba(10, 13, 19, 0.88) 45%, rgba(10, 13, 19, 0.45) 100%), linear-gradient(0deg, rgba(10, 13, 19, 1) 0%, transparent 40%); }
@media (max-width: 899px) { .product-hero-bg::after { background: linear-gradient(0deg, rgba(10, 13, 19, 1) 10%, rgba(10, 13, 19, 0.82) 60%, rgba(10, 13, 19, 0.7) 100%); } }
.product-hero-inner > * { max-width: 680px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 0.85rem; color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .bi { font-size: 0.65rem; }
.product-title { display: flex; align-items: center; gap: 16px; }
.product-logo { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 16px; background: rgba(17, 22, 31, 0.85); border: 1px solid var(--border-2); backdrop-filter: blur(6px); }
.product-logo img { width: 40px; height: 40px; object-fit: contain; }
.product-hero h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; }
.product-subtitle { display: block; margin-top: 6px; color: var(--text-soft); font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em; }
.product-hero .lead { margin-top: 18px; }
.highlights { display: grid; gap: 10px; margin-top: 22px; }
.highlights li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.highlights .bi { color: var(--brand); margin-top: 2px; }
.product-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.product-from { display: flex; flex-direction: column; line-height: 1.2; }
.product-from span { color: var(--muted); font-size: 0.82rem; }
.product-from strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; }
.product-from small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.88rem; }
.mini-stats b { color: var(--text); }
@media (max-width: 479px) { .product-cta .btn { flex: 1 1 100%; } }

.section--pricing { padding-top: clamp(48px, 7vw, 80px); }
.tier { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s; }
.tier:hover { border-color: var(--border-2); }
.tier header h3 { font-size: 1.2rem; }
.tier header p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.tier-price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.tier-price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.tier-features { display: grid; gap: 11px; }
.tier > .tier-features { padding-top: 18px; border-top: 1px solid var(--border); }
.tier-features li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 0.94rem; line-height: 1.4; }
.tier-features .bi { color: var(--brand); font-size: 1rem; flex-shrink: 0; }
.tier-more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--brand); font-size: 0.88rem; font-weight: 600; list-style: none; }
.tier-more summary::-webkit-details-marker { display: none; }
.tier-more summary .bi { font-size: 0.7rem; transition: transform 0.2s; }
.tier-more[open] summary .bi { transform: rotate(180deg); }
.tier-more .when-open, .tier-more[open] .when-closed { display: none; }
.tier-more[open] .when-open { display: inline; }
.tier-more .tier-features { margin-top: 12px; }
.tier-location { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border-2); color: var(--muted); font-size: 0.83rem; }
.tier--featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 24px 50px -28px rgba(30, 143, 240, 0.6); background: linear-gradient(180deg, rgba(30, 143, 240, 0.08), var(--surface) 40%); }
.tier-badge { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.75rem; font-weight: 700; }

.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 32px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); font-size: 0.92rem; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .bi { color: var(--brand); }

.sticky-order {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 14px;
    background: rgba(17, 22, 31, 0.95); border: 1px solid var(--border-2);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-lg);
    transform: translateY(150%); transition: transform 0.3s var(--ease);
}
.sticky-order.is-visible { transform: none; }
.sticky-order div { display: flex; flex-direction: column; line-height: 1.3; }
.sticky-order span { color: var(--muted); font-size: 0.85rem; }
@media (min-width: 900px) { .sticky-order { display: none; } }

/* ---------- Page heads ---------- */
.page-head { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 72px) 8px; }
.page-head h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; }
.page-head .lead { margin-top: 12px; }
.page-head--doc h1 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }
.page-head--doc .muted { margin-top: 10px; }

/* ---------- Plans browser ---------- */
.plans-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.search, .select { position: relative; display: flex; align-items: center; }
.search { flex: 1 1 260px; }
.search .bi { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.search input, .select select { width: 100%; height: 48px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; }
.search input { padding: 0 16px 0 44px; font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.select { flex: 0 1 220px; }
.select select { appearance: none; -webkit-appearance: none; padding: 0 40px 0 16px; cursor: pointer; }
.select .bi { position: absolute; right: 16px; font-size: 0.75rem; color: var(--muted); pointer-events: none; }
.search input:focus, .select select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }

.chips { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-soft); font-size: 0.9rem; font-weight: 500; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-count { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 0.74rem; }
.chip.is-active .chip-count { background: rgba(255, 255, 255, 0.22); }
.chip-dark { position: absolute; top: 10px; left: 10px; height: 26px; padding: 0 10px; font-size: 0.72rem; background: rgba(10, 13, 19, 0.75); backdrop-filter: blur(6px); border: 1px solid var(--border); color: var(--text); border-radius: 999px; display: inline-flex; align-items: center; }

.plan-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
.plan-card:hover { border-color: var(--brand-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-card[hidden] { display: none; }
.plan-card-media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.plan-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.plan-card:hover .plan-card-media img { transform: scale(1.05); }
.plan-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px; }
.plan-card h3 { font-size: 1.08rem; }
.plan-card p { color: var(--muted); font-size: 0.9rem; }
.plan-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.price small { font-size: 0.76rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price small:first-child { margin-right: 2px; }
.location { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--muted); }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 16px; color: var(--muted); text-align: center; }
.empty-state > .bi { font-size: 2rem; }
.empty-state[hidden] { display: none; }

/* ---------- About ---------- */
.stats { display: grid; gap: 12px; }
.stats--grid { grid-template-columns: repeat(2, 1fr); }
.stat { display: flex; flex-direction: column-reverse; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.stat dd { margin: 0; font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--brand); }
.stat dt { color: var(--muted); font-size: 0.86rem; }

.timeline { position: relative; display: grid; gap: 24px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border-2); border-radius: 2px; }
.timeline li { position: relative; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); }
.timeline time { color: var(--brand); font-weight: 600; font-size: 0.86rem; }
.timeline h3 { margin: 6px 0; font-size: 1.12rem; }
.timeline p { color: var(--text-soft); }

/* ---------- Legal ---------- */
.legal-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s var(--ease); }
.legal-card:hover { border-color: var(--brand-line); transform: translateY(-3px); }
.legal-card h2 { font-size: 1.18rem; margin-top: 4px; }
.legal-card p { color: var(--text-soft); font-size: 0.95rem; flex: 1; }
.legal-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }

.prose { color: var(--text-soft); font-size: 1.02rem; line-height: 1.75; }
.prose h2 { color: var(--text); font-size: 1.28rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 18px; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.prose strong { color: var(--text); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.doc-others { margin-top: 56px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.doc-others h2 { font-size: 1rem; margin-bottom: 12px; }
.doc-others-list { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-others-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }
.doc-others-list a:hover { color: var(--text); border-color: var(--border-2); }
.doc-others-list .bi { color: var(--brand); }

/* ---------- 404 ---------- */
.error-page { padding-block: clamp(80px, 14vw, 160px); text-align: center; }
.error-code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--brand); }
.error-page h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 12px; }
.error-page .lead { margin: 12px auto 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-grid { display: grid; gap: 36px 24px; padding-block: 56px 40px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; }
.footer-rating { display: flex; align-items: center; gap: 10px; }
.footer-rating strong { color: var(--text); }
.footer-discord { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 40px; padding: 0 14px; border-radius: 10px; background: rgba(88, 101, 242, 0.15); color: #b4bcff; font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(88, 101, 242, 0.3); }
.footer-discord:hover { background: rgba(88, 101, 242, 0.25); color: #fff; }
.footer-col h2 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a:hover { color: var(--text); }
@media (min-width: 900px) {
    .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
    .footer-brand { grid-column: auto; }
}
.page-product .site-footer { padding-bottom: 72px; }
@media (min-width: 900px) { .page-product .site-footer { padding-bottom: 0; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .js .reveal, .js [data-terminal] .terminal-line { opacity: 1; transform: none; }
    .marquee { overflow-x: auto; }
}

/* ==========================================================================
   Hardware, team and tools pages
   ========================================================================== */
.page-head--glow::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(40rem 18rem at 20% -20%, rgba(30, 143, 240, 0.22), transparent 70%);
}
.page-head .eyebrow { margin-bottom: 10px; }

/* Status pills (hardware) */
.status-pill--online { background: rgba(52, 211, 153, 0.12); color: var(--green); }
.status-pill--coming-soon { background: rgba(30, 143, 240, 0.14); color: #6cc3ff; }
.status-pill--maintenance { background: rgba(251, 191, 36, 0.12); color: var(--yellow); }
.status-pill--offline { background: rgba(248, 113, 113, 0.12); color: var(--red); }
.status-pill--coming-soon .status-dot, .status-pill--offline .status-dot { animation: none; }

/* Hardware */
.hw-summary { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 28px; width: fit-content; border-radius: var(--radius); overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.hw-summary > div { display: flex; flex-direction: column-reverse; padding: 12px 22px; background: var(--bg-2); }
.hw-summary dd { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.hw-summary dt { color: var(--muted); font-size: 0.82rem; }
.hw-includes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-bottom: 24px; padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); font-size: 0.92rem; }
.hw-includes ul { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-soft); }
.hw-includes li { display: inline-flex; align-items: center; gap: 7px; }
.hw-includes .bi { color: var(--brand); }
.hw-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.hw-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.hw-image { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-bottom: 1px solid var(--border); }
.hw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 0; }
.hw-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hw-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--brand-tint); color: var(--brand); font-size: 1.3rem; }
.hw-title h2 { font-family: var(--mono); font-size: 1.15rem; letter-spacing: 0; }
.hw-title p { color: var(--muted); font-size: 0.88rem; }
.hw-cc { margin-left: 4px; padding: 1px 6px; border-radius: 5px; background: var(--surface-3); color: var(--text-soft); font-size: 0.72rem; font-weight: 700; }
.hw-desc { padding: 12px 20px 0; color: var(--text-soft); font-size: 0.94rem; }
.hw-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 18px 20px 20px; border-radius: var(--radius); overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.hw-spec { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--bg-2); }
.hw-spec--wide { grid-column: 1 / -1; }
.hw-spec dt { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.hw-spec dt .bi { color: var(--brand); font-size: 0.9rem; }
.hw-spec dd { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.hw-spec strong { font-size: 1rem; }
.hw-spec small { color: var(--text-soft); font-size: 0.84rem; }
.hw-games { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding: 14px 20px; border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); }
.hw-games > span { color: var(--muted); font-size: 0.82rem; margin-right: 4px; }
.hw-game { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.82rem; }
.hw-game:hover { border-color: var(--brand-line); }
.hw-game img { width: 18px; height: 18px; object-fit: contain; }
@media (max-width: 479px) { .hw-specs { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.member { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s var(--ease); }
.member:hover { border-color: var(--border-2); transform: translateY(-2px); }
.member-top { display: flex; align-items: center; gap: 16px; }
.member-avatar { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-2); }
.member-avatar--initials { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.3rem; }
.member h2 { font-size: 1.15rem; }
.member-role { color: var(--brand); font-size: 0.9rem; font-weight: 600; }
.member-bio { color: var(--text-soft); font-size: 0.95rem; flex: 1; }
.member-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.member-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.88rem; }
.member-discord { display: inline-flex; align-items: center; gap: 6px; color: #b4bcff; }
.member-links { display: flex; gap: 4px; margin-left: auto; }
.member-links a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--text-soft); }
.member-links a:hover { background: var(--surface-2); color: var(--text); }
.join-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 32px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px dashed var(--border-2); }
.join-card > div { flex: 1 1 280px; }
.join-card h2 { font-size: 1.15rem; }
.join-card p { color: var(--text-soft); font-size: 0.95rem; margin-top: 4px; }

/* Tools index */
.tool-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.tool-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s var(--ease); }
.tool-card:hover { border-color: var(--brand-line); transform: translateY(-3px); }
.tool-card h2 { font-size: 1.1rem; margin-top: 6px; }
.tool-card p { color: var(--text-soft); font-size: 0.93rem; flex: 1; }
.tool-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border); }
.tool-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tool-grid--compact .tool-card p { font-size: 0.88rem; }

/* Tool pages */
.tool-title { display: flex; align-items: center; gap: 14px; }
.tool-title h1 { font-size: clamp(1.8rem, 4.6vw, 2.6rem); }
.tool-privacy { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 0.86rem; }
.tool-privacy .bi { color: var(--green); }
.tool-split { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .tool-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } .tool-split .tool-output { position: sticky; top: calc(var(--header-h) + 16px); } }
.tool-panel { padding: clamp(18px, 3vw, 26px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.tool-output { display: grid; gap: 14px; min-width: 0; }
.tool-output--stack { margin-top: 20px; }
.tool-form fieldset { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.tool-form fieldset:last-child { margin-bottom: 0; }
.tool-form legend { padding: 0; margin-bottom: 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.field-label small { color: var(--muted); font-weight: 400; }
.field-hint { color: var(--muted); font-size: 0.84rem; }
.field-hint code, .tool-notes code, .check code { font-family: var(--mono); font-size: 0.85em; padding: 1px 5px; border-radius: 5px; background: var(--surface-3); }
.field-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.field-row--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr)); }
.input {
    width: 100%; min-height: 44px; padding: 10px 14px;
    border-radius: 10px; border: 1px solid var(--border-2); background: var(--bg-2); color: var(--text);
    font-size: 16px; transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea.input { resize: vertical; font-family: var(--mono); font-size: 0.9rem; }
.input--lg { min-height: 54px; font-size: 1.05rem; }
.input--mono { font-family: var(--mono); font-size: 0.95rem; }
.input-group { display: flex; gap: 8px; }
.input-group .btn { flex-shrink: 0; min-height: 44px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 0.93rem; color: var(--text-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 12px; }
.check-grid .check span { font-family: var(--mono); font-size: 0.85rem; }

.code-box { border-radius: var(--radius-lg); background: #080a0f; border: 1px solid var(--border-2); overflow: hidden; }
.code-box-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; background: var(--surface); border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-soft); }
.code-box-head .bi { color: var(--brand); margin-right: 4px; }
.code-actions { display: flex; gap: 6px; }
.code-box pre { margin: 0; padding: 16px; max-height: 560px; overflow: auto; font-family: var(--mono); font-size: 0.82rem; line-height: 1.65; color: #d3dbe8; white-space: pre; tab-size: 4; }
.copy-btn { min-height: 32px; padding: 0 12px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text); font-size: 0.82rem; font-weight: 600; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.copy-btn:hover { background: var(--surface-3); }
.copy-btn.is-done { background: rgba(52, 211, 153, 0.15); border-color: rgba(52, 211, 153, 0.4); color: var(--green); }

.tool-error { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); color: #fca5a5; font-size: 0.92rem; }
.tool-error[hidden] { display: none; }
.result-list { display: grid; gap: 1px; margin-top: 20px; border-radius: var(--radius); overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.result-list[hidden] { display: none; }
.result-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: var(--bg-2); }
.result-row dt { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.result-row dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.result-row code { font-family: var(--mono); font-size: 0.95rem; overflow-wrap: anywhere; }
.result-row a { color: var(--brand); overflow-wrap: anywhere; font-size: 0.92rem; }
@media (max-width: 479px) { .result-row { grid-template-columns: 1fr; gap: 4px; } }
.tool-notes { margin-top: 20px; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.tool-notes h2 { font-size: 1.05rem; margin-bottom: 12px; }
.tool-notes ul { display: grid; gap: 10px; color: var(--text-soft); font-size: 0.93rem; }
.tool-notes li { position: relative; padding-left: 18px; }
.tool-notes li::before { content: ""; position: absolute; left: 2px; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Minecraft MOTD */
.mc-palette { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; }
.mc-swatch { width: 28px; height: 28px; border-radius: 7px; border: 2px solid rgba(255, 255, 255, 0.15); background: currentColor; }
.mc-swatch:hover { transform: scale(1.1); border-color: #fff; }
.mc-sep { width: 1px; height: 24px; background: var(--border-2); margin: 0 4px; }
.mc-fmt { min-width: 32px; height: 30px; padding: 0 8px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border-2); font-size: 0.85rem; color: var(--text); }
.mc-fmt:hover { background: var(--surface-3); }
.tool-panel > .field + .field { margin-top: 14px; }
.tool-panel > .field-hint { margin-top: 10px; }
.mc-preview { display: flex; gap: 12px; margin-top: 20px; padding: 10px; border-radius: 4px; background: #0d0d0d; border: 2px solid #3f3f3f; font-family: "Minecraft", var(--mono); }
.mc-icon img { width: 64px; height: 64px; image-rendering: pixelated; border-radius: 2px; }
.mc-info { flex: 1; min-width: 0; }
.mc-top { display: flex; justify-content: space-between; gap: 10px; color: #fff; font-size: 0.95rem; }
.mc-players { color: #aaa; white-space: nowrap; }
.mc-players .bi { color: #55ff55; }
.mc-motd { margin-top: 4px; font-size: 0.95rem; line-height: 1.35; }
.mc-line { min-height: 1.35em; white-space: pre-wrap; overflow-wrap: anywhere; text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
.mc-b { font-weight: 800; } .mc-i { font-style: italic; } .mc-u { text-decoration: underline; } .mc-s { text-decoration: line-through; } .mc-u.mc-s { text-decoration: underline line-through; }
.mc-c-0 { color: #000000; } .mc-c-1 { color: #0000aa; } .mc-c-2 { color: #00aa00; } .mc-c-3 { color: #00aaaa; }
.mc-c-4 { color: #aa0000; } .mc-c-5 { color: #aa00aa; } .mc-c-6 { color: #ffaa00; } .mc-c-7 { color: #aaaaaa; }
.mc-c-8 { color: #555555; } .mc-c-9 { color: #5555ff; } .mc-c-a { color: #55ff55; } .mc-c-b { color: #55ffff; }
.mc-c-c { color: #ff5555; } .mc-c-d { color: #ff55ff; } .mc-c-e { color: #ffff55; } .mc-c-f { color: #ffffff; }

/* ---------- Free tools mega menu (grouped by game) ---------- */
.mega--tools { display: flex; flex-direction: column; width: min(940px, calc(100vw - 48px)); left: -160px; padding: 10px; }
.mega-tool-cols { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 4px 8px; }
.mega-tool-group--wide { grid-column: span 2; }
.mega-tool-group--wide .mega-tool-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.mega-tool-group + .mega-tool-group { border-left: 1px solid var(--border); padding-left: 8px; }
.mega-sub { padding: 2px 10px 4px; color: var(--brand); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mega-tool-group { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mega-group-head { display: flex; align-items: center; gap: 8px; padding: 8px 10px 6px; color: var(--muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.mega-group-icon { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 6px; background: var(--surface-3); color: var(--text-soft); font-size: 0.8rem; }
.mega-group-icon img { width: 16px; height: 16px; object-fit: contain; }
.mega-tool { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 9px; }
.mega-tool:hover, .mega-tool:focus-visible { background: var(--surface-2); }
.mega-tool > .bi { margin-top: 2px; color: var(--brand); }
.mega-tool > span:not(.mini-badge) { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.mega-tool strong { font-size: 0.9rem; font-weight: 600; }
.mega-tool small { color: var(--muted); font-size: 0.78rem; }
.mini-badge { align-self: center; padding: 1px 6px; border-radius: 5px; background: rgba(30, 143, 240, 0.14); color: #6cc3ff; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.02em; }
.mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 12px 12px; border-radius: 10px; background: var(--brand-tint); border: 1px solid rgba(30, 143, 240, 0.25); color: var(--text-soft); font-size: 0.86rem; }
.mega-foot strong { color: var(--text); }
.mega-foot .bi { color: var(--brand); }
.mega-foot:hover { border-color: var(--brand-line); }

/* mobile tool groups */
.mobile-tools { display: grid; gap: 6px; }
.mobile-tool-group { border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.mobile-tool-group summary { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; cursor: pointer; list-style: none; font-weight: 600; }
.mobile-tool-group summary::-webkit-details-marker { display: none; }
.mobile-tool-group summary span:nth-child(2) { flex: 1; }
.mobile-tool-group summary small { color: var(--muted); font-weight: 500; }
.mobile-tool-group summary .bi-chevron-down { color: var(--muted); font-size: 0.75rem; transition: transform 0.2s; }
.mobile-tool-group[open] summary .bi-chevron-down { transform: rotate(180deg); }
.mobile-link--sub { min-height: 46px; padding: 0 14px; font-size: 0.95rem; border-bottom: 0; border-top: 1px solid var(--border); }

/* ---------- Tools page grouping ---------- */
.tool-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tool-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text-soft); font-size: 0.9rem; font-weight: 500; }
.tool-jump a:hover { color: var(--text); border-color: var(--brand-line); }
.tool-jump img { width: 20px; height: 20px; object-fit: contain; }
.tool-section + .tool-section { padding-top: 8px; }
.tool-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tool-group-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text-soft); }
.tool-group-logo img { width: 28px; height: 28px; object-fit: contain; }
.tool-group-head h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); }
.tool-subhead { margin: 22px 0 12px; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tool-subhead:first-of-type { margin-top: 0; }
.tool-card h3 { font-size: 1.08rem; margin-top: 6px; }

/* ---------- Tool form extras ---------- */
.color-field { display: flex; gap: 8px; }
.color-field input[type="color"] { width: 48px; height: 44px; flex-shrink: 0; padding: 3px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--bg-2); cursor: pointer; }
.color-field input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-field input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 7px; }
textarea.input.input--sans { font-family: var(--font); font-size: 0.95rem; }
.check-grid--wide { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.check-grid--wide .check span { font-family: var(--font); font-size: 0.93rem; }
.field-row[hidden] { display: none; }

.f4-preview { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 20px; border-radius: var(--radius-lg); background: #1b1f27; border: 1px solid var(--border-2); overflow: hidden; }
.f4-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--brand); }
.f4-preview img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: rgba(0, 0, 0, 0.25); padding: 4px; }
.f4-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.f4-text strong { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f4-text small { color: var(--muted); font-size: 0.85rem; }
.f4-badge { padding: 3px 9px; border-radius: 999px; background: rgba(251, 191, 36, 0.14); color: var(--yellow); font-size: 0.75rem; font-weight: 700; }
.f4-badge[hidden] { display: none; }
.f4-chevron { color: var(--muted); transition: transform 0.2s; }
.tool-warnings { display: grid; gap: 6px; padding: 12px 14px 12px 34px; border-radius: var(--radius); background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); color: #fcd34d; font-size: 0.88rem; list-style: disc; }
.tool-warnings[hidden] { display: none; }
.tool-howto { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.tool-howto summary { display: flex; align-items: center; gap: 8px; padding: 14px 16px; cursor: pointer; font-weight: 600; font-size: 0.93rem; list-style: none; }
.tool-howto summary::-webkit-details-marker { display: none; }
.tool-howto summary .bi { color: var(--brand); }
.tool-howto ol { display: grid; gap: 8px; padding: 0 18px 16px 36px; list-style: decimal; color: var(--text-soft); font-size: 0.9rem; }
.tool-howto code { font-family: var(--mono); font-size: 0.82em; padding: 1px 5px; border-radius: 5px; background: var(--surface-3); overflow-wrap: anywhere; }
.tool-howto a { color: var(--brand); }

/* ---------- More tool UI: repeaters, OS switch, colour picker ---------- */
.tool-form [hidden], .tool-howto [hidden], .tool-output [hidden] { display: none !important; }
.repeater { display: grid; gap: 12px; }
.repeat-row { display: grid; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--border); }
.repeat-head { display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--muted); }
.icon-btn:hover { background: rgba(248, 113, 113, 0.12); color: var(--red); }
.repeat-row:only-child .icon-btn { visibility: hidden; }
[data-add-row] { justify-self: start; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border-2); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 10px; border-radius: 9px; color: var(--text-soft); font-size: 0.9rem; font-weight: 600; cursor: pointer; text-align: center; }
.segmented input:checked + span { background: var(--brand); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.cp-main { display: grid; grid-template-columns: 1fr 120px; gap: 12px; }
.cp-picker { width: 100%; height: 120px; padding: 4px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--bg-2); cursor: pointer; }
.cp-picker::-webkit-color-swatch-wrapper { padding: 0; }
.cp-picker::-webkit-color-swatch { border: 0; border-radius: 10px; }
.cp-swatch { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-2);
    background: conic-gradient(#3a3f4b 25%, #2a2e37 0 50%, #3a3f4b 0 75%, #2a2e37 0) 0 0 / 16px 16px; }
.cp-swatch span { position: absolute; inset: 0; }
.range { width: 100%; accent-color: var(--brand); height: 32px; }
.cp-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-preset { width: 36px; height: 36px; border-radius: 10px; background: var(--c); border: 2px solid rgba(255, 255, 255, 0.15); transition: transform 0.15s; }
.cp-preset:hover { transform: scale(1.08); border-color: #fff; }
.cp-demo { padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--border);
    background: conic-gradient(#232733 25%, #1a1d26 0 50%, #232733 0 75%, #1a1d26 0) 0 0 / 20px 20px; }
.cp-demo-panel { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 10px; font-size: 0.95rem; box-shadow: var(--shadow); }
.cp-demo-panel strong { font-size: 1.1rem; }
.tool-output .result-list { margin-top: 0; }

/* Garry's Mod column in the tools menu now has several sections: flow them into two columns */
.mega-tool-group--wide .mega-tool-list { display: block; columns: 2; column-gap: 4px; }
.mega-tool-section { break-inside: avoid; margin-bottom: 4px; }
.code-box--wrap pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.code-box-head { gap: 8px; min-width: 0; }
.code-box-head > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-box-head .code-actions { flex-shrink: 0; }

/* ---------- Free Tools menu: tabs per game ---------- */
.mega--tools { width: min(980px, calc(100vw - 48px)); }
.mega-tabs { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; min-height: 340px; }
.mega-tab-list { display: flex; flex-direction: column; gap: 2px; padding-right: 12px; border-right: 1px solid var(--border); }
.mega-tab { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text-soft); font-size: 0.92rem; font-weight: 600; text-align: left; }
.mega-tab:hover, .mega-tab.is-active { background: var(--surface-2); color: var(--text); }
.mega-tab.is-active { box-shadow: inset 3px 0 0 var(--brand); }
.mega-tab-name { flex: 1; }
.mega-tab-count { min-width: 24px; padding: 1px 7px; border-radius: 99px; background: var(--surface-3); color: var(--muted); font-size: 0.75rem; text-align: center; }
.mega-tab.is-active .mega-tab-count { background: rgba(30, 143, 240, 0.18); color: var(--brand); }
.mega-tab-panel { align-content: start; }
.mega-tab-panel[hidden] { display: none; }
.mega-tab-panel .mega-sub { padding: 10px 10px 4px; }
.mega-tab-panel .mega-sub:first-child { padding-top: 2px; }
.mega-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 4px; }

/* ---------- Minecraft tools ---------- */
.mc-palette--sm { margin-bottom: 6px; }
.mc-palette--sm .mc-swatch { width: 24px; height: 24px; }
.mc-palette--sm .mc-fmt { height: 26px; min-width: 28px; }
.mc-palette-note { margin: 0 0 14px; }
.mc-chat { padding: 14px 16px; border-radius: var(--radius); background: rgba(0, 0, 0, 0.55); border: 1px solid var(--border); font-family: "Minecraft", var(--mono); font-size: 1rem; line-height: 1.5; color: #fff; text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55); min-height: 54px; overflow-wrap: anywhere; }
.mc-clickable { cursor: pointer; }
.mc-row { min-height: 1.35em; white-space: pre-wrap; }
.mc-text { font-family: "Minecraft", var(--mono); text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55); }
.tool-callout { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: rgba(30, 143, 240, 0.08); border: 1px solid rgba(30, 143, 240, 0.25); font-size: 0.92rem; color: var(--text-soft); margin: 0; }
.tool-callout .bi { color: var(--brand); margin-top: 2px; }
.tool-callout code { font-family: var(--mono); font-size: 0.85em; }
.input--lg { font-size: 1.05rem; min-height: 48px; }
.check-row { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.segmented--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 16px; }
.btn--block { width: 100%; justify-content: center; }
.color-input { width: 100%; height: 44px; padding: 3px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--bg-2); cursor: pointer; }

/* repeaters */
.repeater--compact { display: grid; gap: 8px; }
.repeater--compact:empty { display: none; }
.inline-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px auto; gap: 8px; align-items: center; }
.inline-row--fx { grid-template-columns: minmax(0, 1fr) 70px 90px auto; }
.inline-row--layer { grid-template-columns: 26px minmax(0, 1.4fr) minmax(0, 1fr) auto; }
.inline-row--attr { grid-template-columns: minmax(0, 1.3fr) 80px minmax(0, 1fr) minmax(0, 1fr) auto; }
@media (max-width: 640px) {
    .inline-row--attr { grid-template-columns: 1fr 1fr; padding: 10px; border-radius: 10px; border: 1px solid var(--border); }
    .inline-row--attr .row-tools { grid-column: 2; justify-self: end; }
    .inline-row--layer { grid-template-columns: 22px minmax(0, 1fr) auto; }
    .inline-row--layer [data-key="color"] { grid-column: 2; }
    .inline-row--fx { grid-template-columns: minmax(0, 1fr) 60px 70px auto; gap: 6px; }
}
.row-tools { display: inline-flex; gap: 2px; }
.icon-btn--plain:hover { background: var(--surface-2); color: var(--text); }
.layer-num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--surface-3); color: var(--muted); font-size: 0.78rem; font-weight: 700; }

/* gradient */
.gradient-bar { height: 14px; border-radius: 99px; margin-bottom: 4px; }
.gradient-stops { display: flex; flex-wrap: wrap; gap: 8px; }
.gradient-stop { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
.gradient-stop input[type=color] { width: 44px; height: 36px; border: 0; padding: 0; background: none; cursor: pointer; }
.gradient-stop .icon-btn { width: 28px; height: 28px; }
.preset-row { display: flex; flex-wrap: wrap; gap: 6px; }
.preset-chip { padding: 6px 12px 6px 30px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font-size: 0.85rem; font-weight: 600; position: relative; }
.preset-chip::before { content: ""; position: absolute; left: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--g); }
.preset-chip:hover { border-color: var(--brand); }

/* tooltip (give / potion) */
.mc-tooltip { display: flex; gap: 12px; align-self: start; justify-self: start; min-width: 240px; max-width: 100%; padding: 8px 10px; border-radius: 4px; background: #100010f0; border: 2px solid #25015b; box-shadow: inset 0 0 0 1px #5000ff50; font-family: "Minecraft", var(--mono); font-size: 0.95rem; line-height: 1.4; color: #aaa; text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
.mc-tt-name { margin-bottom: 2px; }
.mc-tt-body > div { min-height: 1.3em; }
.potion-icon { font-size: 1.8rem; line-height: 1; filter: drop-shadow(0 0 6px currentColor); }

/* title / book / sign previews */
.mc-title-preview { position: relative; display: grid; align-content: center; justify-items: center; gap: 6px; min-height: 220px; padding: 24px 16px 48px; border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(180deg, #6fb6ff 0%, #a9d7ff 55%, #5d9b3a 55%, #4a7f2d 100%); font-family: "Minecraft", var(--mono); text-align: center; text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4); }
.mc-tp-title { font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.1; overflow-wrap: anywhere; }
.mc-tp-sub { font-size: 1.1rem; overflow-wrap: anywhere; }
.mc-tp-bar { position: absolute; left: 0; right: 0; bottom: 14px; font-size: 0.9rem; }
.mc-book-preview { display: grid; justify-items: center; gap: 10px; }
.mc-book-page { position: relative; width: min(100%, 300px); min-height: 360px; padding: 34px 26px 26px; border-radius: 4px 10px 10px 4px; background: #f4ecd0; box-shadow: inset 8px 0 12px -6px rgba(90, 60, 20, 0.45), 0 10px 30px rgba(0, 0, 0, 0.4); font-family: "Minecraft", var(--mono); font-size: 0.92rem; line-height: 1.5; color: #000; white-space: pre-wrap; overflow-wrap: anywhere; }
.mc-book-num { position: absolute; top: 12px; right: 18px; font-size: 0.75rem; color: #555; }
.mc-book-nav { display: flex; gap: 8px; }
.mc-sign-preview { display: grid; justify-items: center; padding: 26px 16px 0; border-radius: var(--radius-lg); background: linear-gradient(180deg, #6fb6ff, #a9d7ff); overflow: hidden; }
.mc-sign-board { display: grid; align-content: center; gap: 2px; width: min(100%, 320px); aspect-ratio: 2 / 1; padding: 14px; border: 6px solid #6b4f2a; border-radius: 3px; text-align: center; font-family: "Minecraft", var(--mono); font-size: 1rem; line-height: 1.25;
    background: repeating-linear-gradient(0deg, #b8945f 0 18px, #a8844f 18px 20px); }
.mc-sign-board[data-wood="spruce"] { background: repeating-linear-gradient(0deg, #7a5a3a 0 18px, #6c4e30 18px 20px); border-color: #4a3420; }
.mc-sign-board[data-wood="birch"] { background: repeating-linear-gradient(0deg, #d8c98f 0 18px, #c9b97f 18px 20px); border-color: #a59660; }
.mc-sign-board[data-wood="dark_oak"] { background: repeating-linear-gradient(0deg, #4f3420 0 18px, #432b19 18px 20px); border-color: #2f1d10; }
.mc-sign-board[data-wood="cherry"] { background: repeating-linear-gradient(0deg, #e6b7b0 0 18px, #d8a59e 18px 20px); border-color: #b47a74; }
.mc-sign-board[data-wood="crimson"] { background: repeating-linear-gradient(0deg, #7b3a55 0 18px, #6c304a 18px 20px); border-color: #4c2034; }
.mc-sign-board[data-wood="warped"] { background: repeating-linear-gradient(0deg, #3a8e86 0 18px, #317d76 18px 20px); border-color: #22574f; }
.mc-sign-board[data-wood="mangrove"] { background: repeating-linear-gradient(0deg, #8b3b33 0 18px, #7b322b 18px 20px); border-color: #5a221d; }
.mc-sign-board[data-wood="pale_oak"] { background: repeating-linear-gradient(0deg, #e9e2dc 0 18px, #dcd4cd 18px 20px); border-color: #b9b0a8; }
.mc-sign-board.is-glow .mc-sign-line span { text-shadow: 0 0 6px currentColor, 0 0 1px #fff; }
.mc-sign-line { min-height: 1.25em; white-space: pre; overflow: hidden; }
.mc-sign-post { width: 14px; height: 70px; background: #6b4f2a; }
.mc-sign-post[hidden] { display: none; }

/* TAB designer */
.placeholder-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; }
.placeholder-row .field-label { margin: 0 4px 0 0; }
.ph-chip { padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border-2); font-family: var(--mono); font-size: 0.78rem; color: var(--text-soft); }
.ph-chip:hover { border-color: var(--brand); color: var(--text); }
.tab-preview { display: grid; gap: 6px; padding: 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.65); border: 1px solid var(--border); font-size: 0.92rem; color: #fff; text-align: center; }
.tab-head, .tab-foot { line-height: 1.3; }
.tab-players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; text-align: left; }
.tab-player { display: flex; align-items: center; gap: 6px; padding: 2px 6px; background: rgba(255, 255, 255, 0.1); font-family: "Minecraft", var(--mono); font-size: 0.85rem; }
.tab-face { width: 14px; height: 14px; background: hsl(var(--h) 45% 45%); }
.tab-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tab-player .bi { color: #55ff55; font-size: 0.8rem; }
.sb-wrap { display: flex; justify-content: flex-end; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(180deg, #6fb6ff, #a9d7ff 60%, #5d9b3a 60%); }
.sb-wrap[hidden] { display: none; }
.sb-preview { min-width: 180px; max-width: 100%; background: rgba(0, 0, 0, 0.35); font-size: 0.88rem; color: #fff; }
.sb-title { padding: 3px 8px; background: rgba(0, 0, 0, 0.15); text-align: center; }
.sb-lines { padding: 2px 8px 4px; }

/* firework */
.fw-preview { border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 120%, #1d2a52, #05070f 70%); border: 1px solid var(--border); }
.fw-preview svg { display: block; width: 100%; max-height: 300px; }
.fw-twinkle { animation: fw-twinkle 0.9s infinite alternate; }
@keyframes fw-twinkle { from { opacity: 1; } to { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) { .fw-twinkle { animation: none; } }
.dye-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.dye { position: relative; width: 28px; height: 28px; border-radius: 8px; background: var(--c); border: 2px solid rgba(255, 255, 255, 0.15); cursor: pointer; }
.dye input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.dye:has(input:checked) { border-color: #fff; box-shadow: 0 0 0 2px var(--brand); }
.dye:has(input:checked)::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.8rem; font-weight: 800; text-shadow: 0 0 3px #000; }
.dye:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }

/* banner */
.banner-preview { display: grid; place-items: center; padding: 22px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--border); }
.banner-svg { width: 120px; height: 240px; image-rendering: pixelated; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.banner-preview.is-shield .banner-svg { height: 200px; width: 140px; border-radius: 6px 6px 50% 50% / 6px 6px 22% 22%; }

/* recipe */
.craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 420px; padding: 8px; border-radius: 8px; background: #8b8b8b33; border: 1px solid var(--border-2); }
.craft-slot { min-height: 54px; font-size: 0.8rem; text-align: center; padding: 6px; }
.mc-tooltip { flex-direction: column; gap: 0; }
.mc-tooltip--potion { flex-direction: row; gap: 12px; }

/* ---------- Command references ---------- */
.cmdref-bar, .items-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; margin-bottom: 14px; }
.cmd-search { position: relative; flex: 1 1 320px; display: block; }
.cmd-search .bi { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cmd-search .input { padding-left: 44px; min-height: 50px; font-size: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-row .chip { height: 34px; padding: 0 12px; font-size: 0.85rem; }
.chip-row .chip span { color: var(--muted); font-size: 0.78rem; }
.chip.is-active span { color: rgba(255, 255, 255, 0.8); }
.cmd-intro { margin: 14px 0 4px; }
.cmd-list { display: grid; gap: 26px; margin-top: 14px; }
.cmd-section-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1.1rem; }
.cmd-section-title span { padding: 1px 8px; border-radius: 99px; background: var(--surface-3); color: var(--muted); font-size: 0.75rem; }
.cmd-section > .field-hint { margin: 0 0 10px; }
.cmd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: start; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-2); }
.cmd-row + .cmd-row { margin-top: 8px; }
.cmd-code { display: inline-block; font-family: var(--mono); font-size: 0.95rem; color: var(--text); overflow-wrap: anywhere; }
.cmd-ph { color: #7ad1ff; }
.cmd-main p { margin: 4px 0 0; color: var(--text-soft); font-size: 0.92rem; }
.cmd-main .cmd-example { color: var(--muted); font-size: 0.85rem; }
.cmd-example code { font-family: var(--mono); color: var(--text-soft); overflow-wrap: anywhere; }
.cmd-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.copy-btn--ghost { background: transparent; }
.cmd-empty { padding: 30px; text-align: center; color: var(--muted); }
.cmd-legend { margin-top: 20px; }
.cmd-legend code { font-family: var(--mono); }
@media (max-width: 560px) { .cmd-row { grid-template-columns: 1fr; } .cmd-actions { flex-direction: row; } }

/* ---------- Rust tags ---------- */
.tag-groups { display: grid; gap: 12px; }
.tag-group .field-label { display: block; margin-bottom: 6px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text-soft); font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.chip-check input:checked + span { background: rgba(206, 66, 43, 0.18); border-color: #ce422b; color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Rust server browser mock ---------- */
.rb-list { border-radius: 6px; overflow: hidden; background: #1c1f1d; border: 1px solid #2c302d; font-size: 0.86rem; }
.rb-head, .rb-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px 56px; gap: 10px; padding: 8px 12px; }
.rb-head { background: #141614; color: #8d958f; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.rb-row { color: #c9cfc9; border-top: 1px solid #262a27; }
.rb-row--other { opacity: 0.55; }
.rb-row--mine { background: rgba(206, 66, 43, 0.16); box-shadow: inset 3px 0 0 #ce422b; color: #fff; }
.rb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-card { border-radius: 6px; overflow: hidden; background: #1c1f1d; border: 1px solid #2c302d; color: #d6dcd6; }
.rb-header { display: grid; place-items: center; aspect-ratio: 2 / 1; background: repeating-linear-gradient(45deg, #232724 0 12px, #1e211f 12px 24px); color: #7c847e; font-size: 0.85rem; }
.rb-header img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-body { padding: 14px 16px 18px; }
.rb-title { margin: 0 0 8px; font-size: 1.05rem; color: #fff; overflow-wrap: anywhere; }
.rb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rb-tags span { padding: 2px 8px; border-radius: 4px; background: #2d332f; color: #c9d4c9; font-size: 0.75rem; font-weight: 600; }
.rb-desc { margin: 0; white-space: pre-wrap; font-size: 0.88rem; line-height: 1.5; color: #b9c1ba; overflow-wrap: anywhere; }
.rb-url { margin: 10px 0 0; font-size: 0.85rem; color: #e8a03a; overflow-wrap: anywhere; }
.tool-checks { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tool-checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; color: var(--text-soft); }
.tool-checks .is-ok .bi { color: var(--green, #34d399); }
.tool-checks .is-bad .bi { color: var(--amber, #fbbf24); }

/* ---------- Wipe schedule ---------- */
.wipe-hero { margin-bottom: 20px; padding: 26px 24px; border-radius: var(--radius-lg); text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(206, 66, 43, 0.28), transparent 70%), var(--bg-2); border: 1px solid var(--border); }
.wipe-hero .eyebrow { margin: 0 0 6px; }
.wipe-date { margin: 0 0 16px; font-size: clamp(1.15rem, 3vw, 1.6rem); font-weight: 800; }
.wipe-countdown { display: inline-grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 10px; }
.wipe-countdown div { padding: 10px 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2); }
.wipe-countdown strong { display: block; font-size: clamp(1.4rem, 4vw, 2rem); font-variant-numeric: tabular-nums; line-height: 1.1; }
.wipe-countdown span { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.wipe-hero .field-hint { margin: 14px 0 0; }
.wipe-list { display: grid; gap: 6px; }
.wipe-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--border); }
.wipe-item div { display: flex; flex-direction: column; min-width: 0; }
.wipe-item small { color: var(--muted); }
.wipe-item.is-next { border-color: var(--brand); }
.wipe-badge { flex-shrink: 0; width: 66px; padding: 3px 0; border-radius: 6px; background: var(--surface-3); color: var(--text-soft); font-size: 0.75rem; font-weight: 700; text-align: center; }
.wipe-item.is-forced .wipe-badge { background: rgba(206, 66, 43, 0.2); color: #ff8a73; }

/* ---------- Item lookup ---------- */
.items-give { display: flex; gap: 10px; }
.items-give .field { margin: 0; }
.items-give input[type=number] { width: 100px; }
.items-give input:not([type]) { width: 170px; }
.item-table { margin-top: 10px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.item-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) 130px 70px 120px; gap: 10px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--border); font-size: 0.9rem; }
.item-row--head { border-top: 0; background: var(--surface-2); color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.item-row:not(.item-row--head):hover { background: var(--bg-2); }
.item-name { display: flex; flex-direction: column; min-width: 0; }
.item-name small { color: var(--muted); font-size: 0.75rem; }
.code-chip { max-width: 100%; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border-2); font-family: var(--mono); font-size: 0.8rem; color: var(--text); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-chip:hover { border-color: var(--brand); }
.code-chip.is-done { border-color: var(--green, #34d399); }
.item-stack { color: var(--text-soft); }
[data-item-more] { margin-top: 10px; }
@media (max-width: 760px) {
    .item-row--head { display: none; }
    .item-row { grid-template-columns: 1fr 1fr; padding: 12px 14px; }
    .item-name { grid-column: 1 / -1; }
    .item-stack::before { content: "Stack: "; color: var(--muted); }
    .items-give { width: 100%; }
    .items-give .field { flex: 1; }
    .items-give input:not([type]), .items-give input[type=number] { width: 100%; }
}

/* ---------- FAQ page ---------- */
.faq-search { max-width: 560px; margin-top: 28px; }
.faq-search input { width: 100%; height: 52px; padding: 0 48px 0 50px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text); font: inherit; transition: border-color 0.15s, box-shadow 0.15s; }
.faq-search input::placeholder { color: var(--muted); }
.faq-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 143, 240, 0.15); }
.faq-search input::-webkit-search-cancel-button { display: none; }
.tool-jump a[hidden], .faq-group[hidden], .faq-item[hidden] { display: none; }
.tool-jump a .bi { color: var(--brand); }
.faq-page { display: grid; gap: 48px; }
.faq-page > * { width: 100%; max-width: 880px; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.faq-group-head .feature-icon { width: 40px; height: 40px; font-size: 1.1rem; }
.faq-group-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); letter-spacing: -0.02em; }
.faq-item { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-item.is-linked { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 143, 240, 0.12); }
.faq-help { display: grid; gap: 20px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.faq-help-copy h2 { font-size: 1.35rem; }
.faq-help-copy p { margin-top: 6px; color: var(--text-soft); }
.faq-help-cards { display: grid; gap: 10px; }
@media (min-width: 720px) { .faq-help-cards { grid-template-columns: repeat(3, 1fr); } }
.faq-help-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.faq-help-card:hover { border-color: var(--brand-line, var(--brand)); transform: translateY(-2px); }
.faq-help-card > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.faq-help-card small { color: var(--muted); font-size: 0.85rem; }
.faq-help-card > .bi { color: var(--muted); transition: transform 0.15s, color 0.15s; }
.faq-help-card:hover > .bi { color: var(--brand); transform: translateX(3px); }
.faq-help-card .feature-icon { flex-shrink: 0; width: 40px; height: 40px; font-size: 1.1rem; }

/* ---------- Game Servers + Cloud Hosting menus ---------- */
.mega--games { display: flex; flex-direction: column; width: 560px; }
.mega--games .mega-foot { margin-top: 6px; }
.mega--cloud { display: block; width: min(700px, calc(100vw - 48px)); }
.mega--cloud .mega-tabs { grid-template-columns: 250px minmax(0, 1fr); min-height: 0; }
.cloud-tab { align-items: flex-start; gap: 12px; padding: 10px; }
.cloud-tab-icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; background: var(--brand-tint); color: var(--brand); font-size: 1rem; }
.cloud-tab-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.cloud-tab-text strong { font-size: 0.92rem; font-weight: 600; }
.cloud-tab-text small { color: var(--muted); font-size: 0.8rem; font-weight: 400; }
.cloud-tab-arrow { align-self: center; color: var(--muted); font-size: 0.75rem; transition: transform 0.15s, color 0.15s; }
.cloud-tab.is-active .cloud-tab-arrow { color: var(--brand); transform: translateX(2px); }
.cloud-panel { display: flex; flex-direction: column; gap: 2px; }
.cloud-panel[hidden] { display: none; }
.cloud-panel .mega-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cloud-from { color: var(--text-soft); font-size: 0.75rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.cloud-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; }
.cloud-item:hover, .cloud-item:focus-visible { background: var(--surface-2); }
.cloud-item .mega-game-icon { color: var(--brand); font-size: 1.1rem; }
.cloud-item-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.cloud-item-text strong { font-size: 0.93rem; font-weight: 600; }
.cloud-item-text small { color: var(--muted); font-size: 0.8rem; }
.cloud-price { flex-shrink: 0; font-size: 0.92rem; font-weight: 700; }
.cloud-price small { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.cloud-all { display: inline-flex; align-items: center; gap: 6px; margin: 6px 10px 2px; color: var(--brand); font-size: 0.86rem; font-weight: 600; }
.cloud-all:hover { color: var(--text); }
.cloud-all .bi { transition: transform 0.15s; }
.cloud-all:hover .bi { transform: translateX(3px); }
.mobile-price { margin-left: auto; color: var(--muted); font-size: 0.82rem; }


/* ---------- Resources menu (Company / Support / Client Area in one tabbed menu) ---------- */
.mega--resources { width: min(680px, calc(100vw - 48px)); left: calc(50% - min(340px, 50vw - 24px)); }
.mega--resources .mega-tabs { grid-template-columns: 240px minmax(0, 1fr); }
.mega--resources .menu-card { padding: 9px 10px; }
.mega--tools { left: calc(50% - min(490px, 50vw - 24px)); }

/* ---------- Log in dropdown (Game / Billing / Web panel) ---------- */
.nav-login-dd { display: none; }
@media (min-width: 1080px) { .nav-login-dd { display: block; } }
.nav-login-dd .dropdown-toggle { gap: 8px; }
.nav-login-dd .bi-chevron-down { font-size: 0.65rem; transition: transform 0.2s; }
.nav-login-dd.is-open .bi-chevron-down { transform: rotate(180deg); }
.login-menu { left: auto; right: 0; width: 300px; }
.mobile-logins { display: grid; gap: 10px; margin-bottom: 8px; }
.mobile-logins .btn { justify-content: center; gap: 8px; }
/* Featured games (home page + Game Servers menu): "+N more" links */
.mega-game--more .mega-game-icon, .mobile-game-plus { display: grid; place-items: center; color: var(--brand); font-weight: 700; font-size: 0.9rem; }
.mobile-game-plus { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-tint); flex-shrink: 0; }
.game-orb-more { color: var(--brand); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.tiles-more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- About: founder ---------- */
.founder { display: grid; gap: 24px; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
@media (min-width: 640px) { .founder { grid-template-columns: 160px 1fr; align-items: start; } }
.founder-photo img, .founder-photo .member-avatar { width: 160px; height: 160px; border-radius: 20px; object-fit: cover; border: 1px solid var(--border-2); }
.founder-photo .member-avatar { font-size: 2.6rem; }
.founder-body h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.founder-body .member-role { margin-bottom: 12px; }
.founder-body p { color: var(--text-soft); }
.founder-body p + p { margin-top: 10px; }
.founder-body .member-tags { margin-top: 16px; }
.founder-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ==========================================================================
   Menu animations: opening, switching tabs, phone menu
   ========================================================================== */
@keyframes menu-item-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes menu-panel-in { from { opacity: 0; transform: translateY(calc(var(--dir, 1) * 10px)); } to { opacity: 1; transform: none; } }

/* opening a dropdown: items arrive one after another */
.dropdown.is-opening .dropdown-menu :is(.mega-label, .mega-game, .mega-foot, .menu-card, .mega-tab, .cloud-item, .cloud-all) {
    animation: menu-item-in 0.34s var(--ease) both;
    animation-delay: calc(40ms + var(--i, 0) * 18ms);
}

/* sliding tab highlight */
.mega-tab-list.has-indicator { position: relative; }
.mega-tab-indicator {
    position: absolute; top: 0; left: 0; right: 12px; z-index: 0; pointer-events: none;
    border-radius: 10px; background: var(--surface-2);
    box-shadow: inset 3px 0 0 var(--brand);
    transition: transform 0.28s var(--ease), height 0.28s var(--ease);
}
.has-indicator .mega-tab { position: relative; z-index: 1; transition: color 0.2s, background-color 0.2s; }
.has-indicator .mega-tab.is-active { background: transparent; box-shadow: none; }
.has-indicator .mega-tab:not(.is-active):hover { background: rgba(255, 255, 255, 0.03); }
.mega-tab .cloud-tab-icon, .mega-tab-count { transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
.mega-tab.is-active .cloud-tab-icon { transform: scale(1.06); }

/* switching tabs: the new panel slides in from the direction you moved */
.mega-tab-panel.is-entering > * {
    animation: menu-panel-in 0.3s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 22ms);
}

/* menu rows: gentle hover nudge */
:is(.mega-game, .menu-card, .cloud-item) { transition: background-color 0.18s, transform 0.18s var(--ease); }
:is(.mega-game, .menu-card, .cloud-item):hover { transform: translateX(2px); }

/* phone menu: sections cascade in */
.mobile-menu:not([hidden]) .mobile-menu-inner > * {
    animation: menu-item-in 0.36s var(--ease) both;
    animation-delay: calc(30ms + var(--i, 0) * 24ms);
}

@media (prefers-reduced-motion: reduce) {
    .mega-tab-indicator { transition: none; }
    :is(.mega-game, .menu-card, .cloud-item):hover { transform: none; }
}

/* ---------- Coming soon ---------- */
.soon-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px;
    background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.3); color: var(--yellow);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; line-height: 1.5;
}
.soon-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.soon-badge--corner { position: absolute; top: 10px; right: 10px; backdrop-filter: blur(6px); background: rgba(10, 13, 19, 0.7); }
.soon-banner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 62ch; margin-top: 16px; padding: 12px 14px;
    border-radius: var(--radius); background: rgba(251, 191, 36, 0.06); border: 1px solid rgba(251, 191, 36, 0.2); color: var(--text-soft); font-size: 0.95rem;
}
.price--soon { color: var(--yellow); font-size: 0.9rem; font-weight: 700; }
.tier-planned { display: block; margin-bottom: 2px; color: var(--muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.btn-soon { cursor: default; opacity: 0.8; color: var(--yellow); border-color: rgba(251, 191, 36, 0.3); }
.btn-soon:hover { background: var(--surface-2); border-color: rgba(251, 191, 36, 0.3); }
.mini-tile .soon-badge { margin-left: auto; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
    display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s var(--ease);
}
.contact-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.contact-card--featured { border-color: var(--brand-line); background: linear-gradient(180deg, rgba(30, 143, 240, 0.08), transparent 60%), var(--surface); }
.contact-card .feature-icon { width: 46px; height: 46px; font-size: 1.25rem; margin-bottom: 4px; }
.contact-card h2 { font-size: 1.25rem; }
.contact-card p { color: var(--text-soft); flex: 1; }
.contact-card-foot { display: grid; gap: 10px; margin-top: 8px; text-align: center; }
.contact-card-foot small { color: var(--muted); font-size: 0.82rem; }
.contact-copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 0.82rem; transition: color 0.15s; }
.contact-copy:hover { color: var(--text); }
.contact-split { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 860px) { .contact-split { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.contact-guide, .contact-self { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.contact-guide h2, .contact-self h2 { font-size: 1.15rem; margin-bottom: 14px; }
.contact-guide ul { display: grid; }
.contact-guide li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); color: var(--text-soft); }
.contact-guide li:first-child { border-top: 0; padding-top: 0; }
.contact-guide-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.contact-self { display: grid; gap: 10px; }
.contact-self h2 { margin-bottom: 4px; }

/* Footer "view all" link */
.footer-col a.footer-more { color: var(--brand); font-weight: 600; gap: 6px; }
.footer-col a.footer-more span { transition: transform .2s var(--ease, ease); }
.footer-col a.footer-more:hover { color: var(--text); }
.footer-col a.footer-more:hover span { transform: translateX(3px); }

/* Seasonal snowfall (content/site.json → "seasonal": {"snow": true}) */
.snow-canvas { position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease, ease); }
.snow-canvas.is-on { opacity: 1; }
.snow-toggle {
    position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 46;
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface); border: 1px solid var(--border); color: var(--muted);
    font-size: 1.1rem; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35);
    transition: color .2s, border-color .2s, background .2s, transform .2s var(--ease, ease), bottom .25s var(--ease, ease);
}
.snow-toggle:hover { color: var(--text); transform: translateY(-2px); }
.snow-toggle[aria-pressed="true"] { color: #fff; border-color: rgba(30,143,240,.5); background: rgba(30,143,240,.18); }
.snow-toggle[aria-pressed="false"] svg { opacity: .55; }
.snow-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
/* keep clear of the mobile "order" bar on product pages */
@media (max-width: 899px) { body:has(.sticky-order.is-visible) .snow-toggle { bottom: calc(88px + env(safe-area-inset-bottom)); } }
@media print { .snow-canvas, .snow-toggle { display: none; } }

/* "Try the panel" demo button */
.btn-demo { border-color: rgba(30,143,240,.45); }
.btn-demo i { color: var(--brand); }
.btn-demo:hover { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30,143,240,.12); }
.hero-demo-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 0.85rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Status page */
.status-wrap { max-width: 880px; display: grid; gap: 20px; }
.status--green { --st: #34d399; --st-bg: rgba(52, 211, 153, 0.1); }
.status--blue { --st: #4fb3ff; --st-bg: rgba(30, 143, 240, 0.12); }
.status--yellow { --st: #fbbf24; --st-bg: rgba(251, 191, 36, 0.1); }
.status--orange { --st: #fb923c; --st-bg: rgba(251, 146, 60, 0.1); }
.status--red { --st: #f87171; --st-bg: rgba(248, 113, 113, 0.1); }
.status-overall { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 16px; background: linear-gradient(135deg, var(--st-bg), transparent 70%), var(--surface); border: 1px solid color-mix(in srgb, var(--st) 35%, transparent); }
.status-overall h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.status-overall p { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.status-overall-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--st); color: #07090e; font-size: 1.5rem; box-shadow: 0 0 0 6px var(--st-bg); }
.status-monitor { margin-left: auto; }
@media (max-width: 599px) { .status-overall { flex-wrap: wrap; } .status-monitor { margin-left: 0; width: 100%; } }

.status-pill, .status-row-state { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.status-pill { padding: 4px 10px; border-radius: 999px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status-pill--green, .status-text--green { color: #34d399; } .status-pill--green { background: rgba(52, 211, 153, 0.1); }
.status-pill--blue, .status-text--blue { color: #4fb3ff; } .status-pill--blue { background: rgba(30, 143, 240, 0.12); }
.status-pill--yellow, .status-text--yellow { color: #fbbf24; } .status-pill--yellow { background: rgba(251, 191, 36, 0.1); }
.status-pill--orange, .status-text--orange { color: #fb923c; } .status-pill--orange { background: rgba(251, 146, 60, 0.1); }
.status-pill--red, .status-text--red { color: #f87171; } .status-pill--red { background: rgba(248, 113, 113, 0.1); }
.status-text--green .status-dot { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); animation: live-pulse 2.4s infinite; }

.status-incident { padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--st); }
.status-incident h3 { font-size: 1.1rem; font-weight: 700; margin-top: 10px; }
.status-affected { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.status-maint-text { color: var(--text-soft); margin-top: 10px; }
.status-updates { margin-top: 14px; display: grid; gap: 12px; border-left: 1px solid var(--border-2); padding-left: 16px; }
.status-updates li { position: relative; }
.status-updates li::before { content: ""; position: absolute; left: -20.5px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--st); }
.status-updates time { color: var(--muted); font-size: 0.8rem; font-family: 'JetBrains Mono', monospace; }
.status-updates p { color: var(--text-soft); font-size: 0.93rem; margin-top: 2px; }

.status-groups { display: grid; gap: 16px; }
.status-group { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.status-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.status-group-head h2 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; }
.status-row + .status-row { border-top: 1px solid var(--border); }
.status-row-name { display: flex; flex-direction: column; font-weight: 500; }
.status-row-name a:hover { color: var(--brand); }
.status-row-name small { color: var(--muted); font-size: 0.8rem; font-weight: 400; }

.status-history { margin-top: 12px; }
.status-history > h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.status-history-item { padding: 14px 0; border-top: 1px solid var(--border); }
.status-history-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.status-history-head h3 { font-size: 1rem; font-weight: 600; }
.status-history-head time { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.status-history-item p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.status-empty { display: flex; align-items: center; gap: 8px; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--border); }
.status-empty i { color: #34d399; }
.status-help { margin-top: 8px; padding: 22px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.status-help .btn-row { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .status-text--green .status-dot { animation: none; } }

/* Community bundle band (home page) */
.bundle-band { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 32px; align-items: center;
    padding: clamp(28px, 5vw, 48px); border-radius: 22px; border: 1px solid rgba(30, 143, 240, 0.3);
    background: radial-gradient(40rem 20rem at 100% 0%, rgba(30, 143, 240, 0.18), transparent 65%), radial-gradient(30rem 18rem at 0% 100%, rgba(30, 143, 240, 0.08), transparent 70%), var(--surface); }
.bundle-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.bundle-copy .section-sub { margin-top: 12px; max-width: 520px; }
.bundle-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.bundle-price { color: var(--muted); }
.bundle-price strong { color: var(--text); font-size: 1.35rem; font-weight: 800; }
.bundle-parts { display: grid; gap: 8px; }
.bundle-part { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(10, 13, 19, 0.6); border: 1px solid var(--border); }
.bundle-part strong { display: block; font-weight: 700; }
.bundle-part small { display: block; color: var(--muted); font-size: 0.85rem; }
.bundle-plus { justify-self: center; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(30, 143, 240, 0.15); color: #4fb3ff; font-weight: 800; line-height: 1; }
@media (min-width: 900px) { .bundle-band { grid-template-columns: 1.15fr 1fr; } }

/* Partners page */
.partner-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.partner-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s var(--ease, ease); }
.partner-card:hover { border-color: rgba(30, 143, 240, 0.4); transform: translateY(-2px); }
.partner-card--featured { border-color: rgba(30, 143, 240, 0.45); background: radial-gradient(24rem 12rem at 100% 0%, rgba(30, 143, 240, 0.14), transparent 70%), var(--surface); }
@media (min-width: 900px) { .partner-card--featured { grid-column: span 2; } }
.partner-head { display: flex; align-items: center; gap: 14px; }
.partner-head h2 { font-size: 1.15rem; font-weight: 700; }
.partner-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; background: var(--surface-2); }
.partner-logo--initials { display: grid; place-items: center; font-weight: 800; color: #4fb3ff; background: rgba(30, 143, 240, 0.12); }
.partner-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.partner-meta span { font-size: 0.78rem; color: var(--muted); padding: 2px 8px; border-radius: 999px; background: var(--surface-2); }
.partner-meta .partner-badge { color: var(--yellow); background: rgba(251, 191, 36, 0.1); }
.partner-desc { color: var(--text-soft); font-size: 0.95rem; }
.partner-connect { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border-2); color: var(--muted); cursor: pointer; font-size: 0.85rem; }
.partner-connect code { color: var(--text); font-family: 'JetBrains Mono', monospace; }
.partner-connect:hover { border-color: rgba(30, 143, 240, 0.5); }
.partner-connect.is-copied { border-color: #34d399; }
.partner-connect.is-copied .bi-clipboard::before { content: "\f26e"; color: #34d399; }
.partner-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.partner-empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 28px; border-radius: 18px; border: 1px dashed rgba(30, 143, 240, 0.4); background: radial-gradient(20rem 10rem at 50% 0%, rgba(30, 143, 240, 0.12), transparent 70%), var(--surface); }
.partner-empty-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 1.5rem; color: #4fb3ff; background: rgba(30, 143, 240, 0.12); }
.partner-empty h2 { font-size: 1.5rem; margin-top: 14px; }
.partner-empty p { color: var(--muted); margin: 8px 0 22px; }
.partner-subhead { font-size: 1.1rem; font-weight: 700; margin: 0 0 16px; }
.partner-how { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 900px) { .partner-how { grid-template-columns: 1fr 1fr; } }
.partner-box { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.partner-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.partner-checks { display: grid; gap: 10px; }
.partner-checks li { display: flex; gap: 10px; color: var(--text-soft); }
.partner-checks i { color: #34d399; margin-top: 2px; }
.partner-steps { display: grid; gap: 14px; }
.partner-steps li { display: flex; gap: 14px; }
.partner-steps strong { display: block; }
.partner-steps p { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.partner-step-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(30, 143, 240, 0.15); color: #4fb3ff; font-weight: 800; font-size: 0.9rem; }
.page-partners .section--tint .btn-row { margin-top: 32px; }

/* Ping test */
.ping-card { --pc: #4fb3ff; display: grid; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 36px); border-radius: 20px; border: 1px solid var(--border);
    background: radial-gradient(26rem 14rem at 100% 50%, color-mix(in srgb, var(--pc) 16%, transparent), transparent 70%), var(--surface); transition: background .4s; }
.ping-card h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; }
.ping-sub { color: var(--muted); margin-top: 8px; max-width: 460px; }
.ping-result { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ping-gauge { display: flex; align-items: baseline; gap: 4px; }
.ping-value { font-size: clamp(2.8rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; color: var(--pc); font-variant-numeric: tabular-nums; line-height: 1; transition: color .3s; }
.ping-unit { color: var(--muted); font-weight: 600; }
.ping-rating { color: var(--muted); font-size: 0.92rem; min-height: 1.4em; max-width: 300px; }
.ping-rating strong { color: var(--pc); }
.ping-card.is-running .ping-value { animation: ping-blink 1s infinite; }
.ping-card.is-great { --pc: #34d399; } .ping-card.is-good { --pc: #4fb3ff; } .ping-card.is-ok { --pc: #fbbf24; } .ping-card.is-bad, .ping-card.is-fail { --pc: #f87171; }
@keyframes ping-blink { 50% { opacity: .45; } }
@media (min-width: 800px) { .ping-card { grid-template-columns: 1.4fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .ping-card.is-running .ping-value { animation: none; } }

/* Plan finder */
.finder { max-width: 860px; margin: 0 auto; padding: clamp(22px, 4vw, 36px); border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.finder-progress { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.finder-progress span { display: block; height: 100%; width: 0; background: var(--brand); border-radius: inherit; transition: width .35s var(--ease, ease); }
.finder-step-label { margin-top: 14px; color: var(--muted); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.finder-step { animation: finder-in .3s var(--ease, ease); }
.finder-step > h2 { font-size: clamp(1.3rem, 2.8vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 20px; }
@keyframes finder-in { from { opacity: 0; transform: translateY(8px); } }
.finder-games { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.finder-game, .finder-option { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border-2); color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: border-color .2s, background .2s, transform .2s var(--ease, ease); }
.finder-game:hover, .finder-option:hover, .finder-game:focus-visible, .finder-option:focus-visible { border-color: var(--brand); background: rgba(30, 143, 240, 0.08); transform: translateY(-1px); outline: none; }
.finder-game img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; }
.finder-game span { font-weight: 600; font-size: 0.95rem; }
.finder-other { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 0.92rem; }
.finder-other select { flex: 1; min-width: 200px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--bg); color: var(--text); border: 1px solid var(--border-2); font: inherit; }
.finder-options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.finder-option { flex-direction: column; align-items: flex-start; gap: 2px; padding: 18px; }
.finder-option strong { font-weight: 700; }
.finder-option small { color: var(--muted); font-size: 0.85rem; }
.finder-back { margin-top: 18px; background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 0.92rem; display: inline-flex; gap: 6px; align-items: center; }
.finder-back:hover { color: var(--text); }
.finder-pick { margin-top: 6px; }
.finder-pick-head { display: flex; gap: 16px; align-items: center; margin-top: 6px; }
.finder-pick-head img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex: none; }
.finder-pick-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; }
.finder-why { color: var(--muted); margin-top: 4px; }
.finder-why strong { color: var(--text-soft); font-weight: 600; }
.finder-pick-body { display: grid; gap: 20px; margin-top: 22px; padding: 22px; border-radius: 16px; background: var(--bg); border: 1px solid rgba(30, 143, 240, 0.35); }
@media (min-width: 700px) { .finder-pick-body { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.finder-features { display: grid; gap: 8px; }
.finder-features li { display: flex; gap: 10px; color: var(--text-soft); }
.finder-features i { color: #34d399; }
.finder-buy { display: grid; gap: 10px; text-align: center; }
.finder-price strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.finder-price small { color: var(--muted); }
.finder-all { color: var(--brand); font-size: 0.9rem; font-weight: 600; }
.finder-alts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 14px; }
.finder-alt { display: grid; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); color: var(--text); }
.finder-alt:hover { border-color: var(--border-2); background: var(--surface-2); }
.finder-alt small { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.finder-alt span { color: var(--muted); font-size: 0.88rem; }
.finder-bundle { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 18px; border-radius: 14px; border: 1px dashed rgba(30, 143, 240, 0.5); background: rgba(30, 143, 240, 0.06); color: var(--text); }
.finder-bundle:hover { background: rgba(30, 143, 240, 0.12); }
.finder-bundle strong { display: block; }
.finder-bundle small { display: block; color: var(--muted); }
.finder-bundle > i { margin-left: auto; color: var(--brand); }
.finder-result-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.finder-nudge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(30, 143, 240, 0.35); background: rgba(30, 143, 240, 0.08); color: var(--text-soft); font-size: 0.9rem; }
.finder-nudge strong { color: var(--brand); }
.finder-nudge:hover { border-color: var(--brand); }
.section-row-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.product-ping { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .finder-step { animation: none; } }

/* Addon showcase on product pages (e.g. the XeonNode HUD on Garry's Mod) */
.addon-showcase { position: relative; overflow: hidden; }
.addon-showcase::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(30, 143, 240, 0.14), transparent); pointer-events: none; }
.addon-head { display: flex; align-items: center; gap: 18px; }
.addon-logo { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; box-shadow: 0 10px 30px rgba(30, 143, 240, 0.25); }
.addon-head h2 { margin: 0; }
.addon-head .eyebrow { margin-bottom: 6px; }
.addon-showcase .section-sub { margin-top: 16px; }
.addon-showcase .btn-row { margin-top: 30px; }
.addon-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-2); background: var(--bg-2); }
.addon-figure img { display: block; width: 100%; height: auto; }
.addon-figure figcaption { padding: 10px 16px; color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--border); }
@media (min-width: 1000px) {
    .addon-showcase .showcase { grid-template-columns: 0.9fr 1.1fr; }
    .addon-showcase--flip .showcase-copy { order: 2; }
}


/* ---------- XeonNode Suite (tabs of addons on product pages) ---------- */
.suite { position: relative; overflow: hidden; }
.suite::before { content: ""; position: absolute; inset: -10% auto auto -20%; width: 60%; height: 70%; background: radial-gradient(closest-side, rgba(30, 143, 240, 0.12), transparent); pointer-events: none; }
.suite .container { position: relative; }
.suite-tabs { display: none; }
.suite--js .suite-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 auto clamp(28px, 4vw, 40px); max-width: 980px; }
@media (min-width: 820px) { .suite--js .suite-tabs { grid-template-columns: repeat(var(--suite-count, 4), minmax(0, 1fr)); max-width: 1180px; } }
@media (max-width: 819px) { .suite--js .suite-tab:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.suite-tab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: var(--radius); background: var(--surface); color: var(--text-soft); text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.suite-tab img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.suite-tab span { display: flex; flex-direction: column; min-width: 0; }
.suite-tab strong { color: var(--text); font-size: 0.95rem; line-height: 1.25; }
.suite-tab small { color: var(--muted); font-size: 0.78rem; }
.suite-tab:hover { border-color: var(--brand-line); background: var(--surface-2); transform: translateY(-1px); }
.suite-tab[aria-selected="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 1px var(--brand) inset; }
.suite-tab[aria-selected="true"] small { color: var(--brand-hover); }
.suite-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.suite-panels { display: grid; gap: clamp(48px, 7vw, 80px); }
.suite--js .suite-panels { gap: 0; }
.suite-panel { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.suite-panel[hidden] { display: none; }
.suite-panel.is-active { animation: suite-in .35s ease both; }
@keyframes suite-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.suite-panel h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.suite-panel .section-sub { margin-top: 16px; }
.suite-panel .icon-list { margin-top: 22px; }
.suite-cta { justify-content: center; margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 960px) { .suite-panel.showcase { grid-template-columns: 0.85fr 1.15fr; } }
@media (prefers-reduced-motion: reduce) { .suite-panel.is-active { animation: none; } .suite-tab:hover { transform: none; } }


/* ---------- Trusted by communities (product pages) ---------- */
.trusted-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.trusted-card { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .15s, transform .15s, background .15s; }
.trusted-card:hover { border-color: var(--brand-line); background: var(--surface-2); transform: translateY(-2px); }
.trusted-card--featured { border-color: var(--brand-line); background: linear-gradient(180deg, var(--brand-tint), var(--surface)); }
@media (min-width: 760px) { .trusted-card--featured { grid-column: span 2; } }
.trusted-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.trusted-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.trusted-logo { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--border-2); }
.trusted-logo img { width: 100%; height: 100%; object-fit: cover; }
.trusted-logo span { font-weight: 800; color: var(--brand-hover); letter-spacing: .02em; }
.trusted-body { min-width: 0; }
.trusted-body strong { display: block; color: var(--text); font-size: 1rem; line-height: 1.3; }
.trusted-body small { display: block; color: var(--brand-hover); font-size: 0.8rem; font-weight: 600; margin-top: 2px; }
.trusted-body p { margin: 8px 0 0; color: var(--text-soft); font-size: 0.88rem; line-height: 1.5; }
.trusted-connect { grid-column: 1 / -1; justify-self: start; position: relative; z-index: 2; padding: 4px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; user-select: all; }
@media (prefers-reduced-motion: reduce) { .trusted-card:hover { transform: none; } }
