/* =========================================================
   QGS Hosting - "MAIN-EN" build
   Styled to match qgshosting.com + the QGS Pterodactyl panel
   Font: Fira Sans · Flat blue buttons · 5px radii
   ========================================================= */

:root {
  /* Brand blues (QGS) */
  --blue: #029df6;          /* primary - matches qgshosting.com .pq-button */
  --blue-bright: #2db3ff;
  --blue-deep: #0b7fd0;
  --blue-ink: #0b4fa0;
  --blue-glow: rgba(2, 157, 246, 0.45);

  /* Accent = blue/cyan (QGS + panel), no pink */
  --cyan: #22d3ee;
  --grad-accent: linear-gradient(90deg, #029df6 0%, #22b8e6 100%);
  --grad-blue: linear-gradient(180deg, #17a9f8 0%, #0286d6 100%);

  /* Utility */
  --green: #37e29a;
  --amber: #ffb020;

  /* Surfaces - tuned toward the panel's #131a20 blue-grey */
  --bg: #0b1016;
  --bg-2: #0f151d;
  --surface: #131a22;
  --surface-2: #18212c;
  --surface-3: #202b38;
  --border: #232a39;
  --border-2: #232a39;
  --border-blue: #029df6;

  /* Text */
  --text: #eaeef2;
  --muted: #96a3b4;
  --faint: #61707f;

  /* Shape - flat, panel-like */
  --radius: 6px;
  --radius-sm: 5px;
  --radius-xs: 4px;
  --pill: 999px;
  --maxw: 1210px;
  --header-h: 74px;

  --shadow: 0 18px 46px -22px rgba(0, 0, 0, 0.8);
  --shadow-blue: 0 0.0625rem 0.5625rem rgba(2, 157, 246, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 620px at 82% -6%, rgba(2, 157, 246, 0.10), transparent 60%),
    radial-gradient(1000px 640px at 12% 2%, rgba(2, 157, 246, 0.14), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

h1, h2, h3, h4, .font-display {
  font-family: "Fira Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.accent { color: var(--blue); }
.grad-text { color: var(--blue); }

/* ---------- Buttons (flat blue, 5px - matches qgshosting.com .pq-button) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Oswald", "Fira Sans", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { color: #eef6ff; box-shadow: 0 0.0625rem 0.5625rem var(--blue); }
.btn-accent {
  background: var(--blue-deep);
  color: #fff;
}
.btn-accent:hover { color: #eef6ff; box-shadow: 0 0.0625rem 0.5625rem var(--blue-deep); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--blue); background: rgba(2, 157, 246, 0.10); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Top promo banner ---------- */
.promo {
  position: relative;
  background: var(--grad-accent);
  color: #fff;
  font-weight: 600;
  z-index: 60;
}
.promo .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding-block: 8px;
  text-align: center;
  flex-wrap: wrap;
}
.promo a.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s;
}
.promo a.promo-cta:hover { background: rgba(0, 0, 0, 0.38); }
.promo[hidden] { display: none !important; }              /* stays hidden until main.js confirms the promo */
.promo-msg b { font-weight: 800; }
.promo-code {
  background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px; padding: 1px 8px; letter-spacing: 0.04em; font-weight: 800; white-space: nowrap;
}
.promo-timer {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--pill); padding: 4px 13px;
  font-weight: 700; font-size: 0.92rem; font-variant-numeric: tabular-nums;
}
.promo-timer i { opacity: 0.9; }
@media (max-width: 700px) { .promo-timer { font-size: 0.85rem; padding: 3px 10px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(9, 13, 21, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 45px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  font-family: "Fira Sans", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: var(--radius-xs);
  transition: color 0.2s, background 0.2s;
}
.nav > li > a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav .caret { font-size: 0.62rem; opacity: 0.7; transition: transform 0.25s; }
.nav li:hover .caret { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav li:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.18s, background 0.18s;
}
.submenu a:hover { color: var(--text); background: rgba(32, 146, 255, 0.12); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 9px 20px; font-size: 0.98rem; }
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: var(--radius-xs);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
/* ---------- Hero (full-bleed wallpaper) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(90vh, 820px);
  padding: 96px 0 88px;
  overflow: hidden;
}
/* Hero breaks out of the centred container so the text sits nearer the left edge,
   mirroring the card stack that hugs the right edge (balanced composition). */
.hero .container { position: relative; z-index: 3; max-width: none; padding-inline: clamp(24px, 6vw, 120px); }

/* Full-bleed rotating wallpaper */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 8s linear;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active { opacity: 1; transform: scale(1); }
/* Legibility overlays: dark on the left where text sits, plus bottom fade */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 15, 24, 0.96) 0%, rgba(11, 15, 24, 0.9) 34%, rgba(11, 15, 24, 0.55) 62%, rgba(11, 15, 24, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 42%),
    linear-gradient(180deg, rgba(11, 15, 24, 0.6) 0%, transparent 22%);
}

.hero-h { font-size: 45px; text-transform: uppercase; }
.hero-content { max-width: 880px; }
/* per-game hero: Trustpilot widget + game eyebrow + swap fade */
.hero-trust { margin-bottom: 16px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.hero-eyebrow #hero-eic { width: auto; height: 35px; border-radius: 5px; object-fit: cover; }
.hero-eyebrow #hero-eyebrow-name { color: var(--blue-bright); }
@keyframes heroSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-content.hero-swap #hero-game,
.hero-content.hero-swap .hero-eyebrow,
.hero-content.hero-swap #hero-info { animation: heroSwap 0.5s var(--ease, ease) both; }
/* vertical game-card stack on the right of the hero (desktop only) */
.hero-cards {
  position: absolute; z-index: 3; top: 50%; right: 5.5%; transform: translateY(-50%);
  width: 356px; height: 76vh; max-height: 640px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.hero-cards-track {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  will-change: transform;
}
.hero-card {
  corner-shape: superellipse(0.5);
  position: relative; flex: none; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 5px; overflow: hidden; cursor: pointer; padding: 0;
  border: 3px solid rgba(255,255,255,0.12); background: var(--surface);
  opacity: 0.55; filter: brightness(0.65); transform: scale(0.95);
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.35s var(--ease); }
.hero-card .hc-meta { position: absolute; left: 12px; bottom: 10px; display: flex; flex-direction: column; text-align: left; z-index: 2; }
.hero-card .hc-meta b { color: #fff; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.05rem; text-transform: uppercase; line-height: 1; }
.hero-card .hc-meta span { color: rgba(255,255,255,0.75); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,22,0) 45%, rgba(11,16,22,0.82) 100%); }
.hero-card:hover { opacity: 0.85; filter: none; }
.hero-card.active { opacity: 1; filter: none; transform: scale(1); border-color: var(--blue); box-shadow: 0 12px 34px -12px var(--blue-glow); }
@media (max-width: 1100px) { .hero-cards { display: none; } }

.rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.rating .stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }
.rating span { font-size: 0.92rem; color: var(--muted); }
.rating b { color: var(--text); }

.hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 14px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}
.hero .subhead {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
  color: var(--text);
  opacity: 0.9;
  margin-bottom: 26px;
}
.hero-check { display: grid; gap: 13px; margin-bottom: 32px; }
.hero-check li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.98rem; }
.hero-check i { color: var(--blue-bright); font-size: 1.05rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-startprice { display: none !important; }   /* prices hidden from the hero slider */

/* dots */
.hero-dots {
  position: absolute; z-index: 4;
  left: 0; right: 0; bottom: 30px;
  display: flex; gap: 9px; justify-content: center;
}
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border: none; cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.25s, width 0.25s;
}
.hero-dots button.active { background: var(--blue-bright); width: 26px; border-radius: var(--pill); }

/* ---------- Section shell ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section.tint { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Fira Sans", sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  background: rgba(32, 146, 255, 0.1);
  border: 1px solid var(--border-blue);
  padding: 6px 15px; border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  text-transform: uppercase;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* ---------- Games grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  background: var(--surface);
}
.game-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.game-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0) 30%, rgba(7, 11, 18, 0.94));
}
.game-card .badge {
  position: absolute; z-index: 3;
  top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Fira Sans", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 0.72rem;
  padding: 5px 11px; border-radius: var(--radius-sm);
  background: rgba(155, 92, 255, 0.9); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(155, 92, 255, 0.7);
}
.game-card .badge.new { background: rgba(226, 66, 188, 0.92); box-shadow: 0 6px 16px -6px rgba(226, 66, 188, 0.7); }
.game-card .g-meta {
  position: absolute; z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
}
.game-card .g-meta h3 { font-size: 1.2rem; text-transform: uppercase; }
.game-card .g-meta .plats { display: flex; gap: 6px; margin-top: 8px; }
.game-card .g-meta .plats span {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--muted);
  padding: 3px 8px; border-radius: var(--radius-xs);
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.04);
}
.game-card .g-meta .go {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "Fira Sans", sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: 0.82rem; color: var(--blue-bright);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s; margin-top: 10px;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--border-blue); box-shadow: var(--shadow-blue); }
.game-card:hover img { transform: scale(1.07); }
.game-card:hover .go { opacity: 1; transform: translateY(0); }

.center-cta { text-align: center; margin-top: 46px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- 404 ---- */
.err-hero { text-align: center; padding-top: 40px; }
.err-code { font-family: "Oswald", sans-serif; font-weight: 700; line-height: 1; font-size: clamp(6rem, 22vw, 12rem);
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Content / company pages (About, Partners, Affiliate) ---------- */
.container.narrow { max-width: 860px; }
.prose h2 { font-size: 1.6rem; margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 1.04rem; line-height: 1.75; margin-top: 12px; }
.prose b { color: var(--text); }

.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.req-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 26px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.req-card i { font-size: 1.5rem; color: var(--blue-bright); margin-bottom: 6px; }
.req-card b { font-family: "Oswald", sans-serif; font-size: 1.9rem; color: var(--text); line-height: 1; }
.req-card span { font-size: 0.92rem; color: var(--muted); }

.steps-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.25s var(--ease);
}
.info-card:hover { border-color: var(--border-blue); transform: translateY(-4px); }
.info-card .icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(2, 157, 246, 0.12); color: var(--blue-bright);
  font-size: 1.25rem; margin-bottom: 14px;
}
.info-card h3 { font-size: 1.18rem; }
.info-card p { color: var(--muted); font-size: 0.98rem; line-height: 1.7; margin-top: 10px; }
@media (max-width: 820px) { .req-grid, .steps-cards { grid-template-columns: 1fr; } }

/* ---- Partner contact form ---- */
.partner-form { margin-top: 34px; max-width: 720px; margin-inline: auto; text-align: left; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-field { display: flex; flex-direction: column; gap: 7px; }
.pf-field.pf-full { grid-column: 1 / -1; }
.pf-field > span { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.pf-field input, .pf-field textarea, .partner-form select {
  width: 100%; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: "Fira Sans", sans-serif; font-size: 0.98rem;
}
.pf-field textarea { resize: vertical; min-height: 110px; }
.pf-field input:focus, .pf-field textarea:focus, .partner-form select:focus { outline: none; border-color: var(--blue); }
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.partner-form .cf-turnstile { margin: 18px 0 4px; }
.pf-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.pf-status { font-size: 0.92rem; font-weight: 600; }
.pf-status.ok { color: var(--green); }
.pf-status.bad { color: #ff6b6b; }
/* ---- Client-area login modal ---- */
.login-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.login-modal[hidden] { display: none; }
.login-backdrop { position: absolute; inset: 0; background: rgba(6, 9, 14, 0.78); backdrop-filter: blur(4px); }
.login-page { display: grid; place-items: center; min-height: 62vh; padding: 40px 0 80px; }
.login-card-page { margin-inline: auto; }
.login-card {
  position: relative; z-index: 1; width: 100%; max-width: 420px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8); padding: 30px 30px 26px; animation: heroSwap 0.28s var(--ease, ease) both;
}
.login-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px; background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 1.05rem; }
.login-x:hover { background: var(--surface-2); color: var(--text); }
.login-head { text-align: center; margin-bottom: 22px; }
.login-logo { height: 34px; width: auto; margin-bottom: 14px; }
.login-head h3 { font-size: 1.5rem; text-transform: uppercase; }
.login-head p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.login-form { display: grid; gap: 14px; }
.login-row { display: flex; justify-content: flex-end; margin-top: -4px; }
.login-forgot { font-size: 0.85rem; color: var(--blue-bright); text-decoration: none; }
.login-forgot:hover { text-decoration: underline; }
.login-sep { display: flex; align-items: center; gap: 12px; margin: 20px 0 14px; color: var(--faint); font-size: 0.82rem; }
.login-sep::before, .login-sep::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ===== Client-area login - 1:1 with my.qgshosting.com (WHMCS nexus auth page) =====
   Values below are the computed styles read off the live page, so this static
   clone and the real client area stay visually identical. ===== */
/* the global body::before gradient veil would hide the datacenter photo */
.login-body::before { content: none; }
.login-body {
  margin: 0; min-height: 100vh; padding: 24px 16px; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    linear-gradient(rgba(12,13,17,0.35) 0%, rgba(12,13,17,0.55) 50%, rgba(12,13,17,0.82) 100%),
    radial-gradient(circle at 50% 22%, rgba(2,157,246,0.12) 0, rgba(12,13,17,0) 42%, rgba(12,13,17,0.72) 70%, rgba(12,13,17,0.95) 92%),
    url("https://static.qgshosting.com/cdn/images/backgrounds/datacenter-room.webp") center top / cover no-repeat fixed #0c0d11;
}

/* Fixed top-right controls - language flag then cart, same as the WHMCS page */
.login-lang { position: fixed; top: 24px; right: 74px; z-index: 50; }
.login-cart { position: fixed; top: 24px; right: 24px; z-index: 30; }
.login-lang-btn, .login-cart {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 5px; color: #fff; text-decoration: none; cursor: pointer; padding: 0;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.login-lang-btn:hover, .login-cart:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); }
.login-cart:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(2,157,246,0.45); }
.login-cart i { font-size: 14px; }
.login-lang-btn img { width: 22px; height: 16px; display: block; border-radius: 2px; }
.login-lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; padding: 6px;
  background: #131a22; border: 1px solid rgba(255,255,255,0.13); border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45); max-height: 60vh; overflow-y: auto;
}
.login-lang-menu[hidden] { display: none; }
.login-lang-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px;
  border-radius: 5px; color: #eaeef2; font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: background .12s, color .12s;
}
.login-lang-item img { width: 22px; height: 16px; border-radius: 2px; }
.login-lang-item:hover, .login-lang-item.active { background: rgba(2,157,246,0.14); color: #0b7fd0; }
.login-lang-item .fa-check { margin-left: auto; color: var(--blue); font-size: 11px; }

/* Shell + brand */
.login-shell { width: 100%; max-width: 540px; display: flex; flex-direction: column; }
.login-brand { display: inline-block; margin: 0 auto 26px; line-height: 0; text-decoration: none; }
.login-brand img { height: 75px; width: auto; display: block; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35)); }

/* Card */
.login-box {
  width: 100%; box-sizing: border-box; padding: 36px 32px;
  background: rgba(19,26,34,0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6); color: #eaeef2;
}
.login-box .login-head { text-align: center; }
.login-box .login-head h1 {
  font-family: "Fira Sans", sans-serif; font-size: 32px; line-height: 1.2; font-weight: 800;
  color: #eaeef2; text-transform: none; margin: 0 0 8px;
}
.login-box .login-head p { color: #96a3b4; font-size: 14px; line-height: 1.5; margin: 0 0 24px; }

/* Fields */
.login-form { display: block; }
.login-field { margin-bottom: 18px; }
.login-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.login-label { display: block; font-size: 14px; line-height: 21px; font-weight: 600; color: #eaeef2; margin: 0 0 8px; }
.login-forgot { font-size: 12.5px; color: #96a3b4; text-decoration: none; }
.login-forgot:hover { color: var(--blue); text-decoration: none; }
.login-input { display: flex; flex-wrap: nowrap; width: 100%; }
.login-ico {
  flex: 0 0 auto; width: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.08); border-right: none;
  border-radius: 5px 0 0 5px; color: #96a3b4; font-size: 16px;
}
.login-input input {
  flex: 1 1 auto; min-width: 0; height: 34px; padding: 5px 14px;
  font-family: inherit; font-size: 14px; line-height: 21px; color: #eaeef2;
  background: #0f151d; border: 1.5px solid rgba(255,255,255,0.08); border-radius: 0 5px 5px 0;
  transition: border-color .15s, background .15s;
}
.login-input input::placeholder { color: #61707f; }
.login-input input:focus { outline: none; background: rgba(255,255,255,0.07); border-color: var(--blue); }
.login-input.has-eye input { border-radius: 0; }
.login-eye {
  flex: 0 0 auto; padding: 0 12px; background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08); border-left: none; border-radius: 0 5px 5px 0;
  color: #eaeef2; font-size: 14.5px; cursor: pointer;
}
.login-eye:hover { color: var(--blue); }

/* Cloudflare Turnstile - anti brute-force check, sits where WHMCS renders its captcha */
.login-captcha { display: flex; justify-content: center; margin: 0 0 4px; min-height: 65px; }

/* Actions */
.login-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.login-remember { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #96a3b4; cursor: pointer; user-select: none; }
.login-remember input { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; margin: 0; }
.btn-login {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 5px; border: 1.5px solid transparent;
  font-family: "Fira Sans", sans-serif; font-size: 14.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #0b7fd0 0%, #029df6 100%); cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(2,157,246,0.45); }
.btn-login[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Footer */
.login-foot {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; font-size: 13px; color: #96a3b4;
}
.login-foot a { color: #0b7fd0; font-weight: 700; text-decoration: none; }
.login-foot a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .login-body { padding: 16px; }
  .login-brand img { height: 32px; }
  .login-box { padding: 24px 18px; }
  .login-box .login-head h1 { font-size: 26px; }
  .login-lang { top: 14px; right: 62px; }
  .login-cart { top: 16px; right: 16px; }
  /* Remember Me + Login stay on one row down to 375px, same as the WHMCS page */
  .login-actions { gap: 12px; }
  .btn-login { padding: 0 18px; }
}
@media (max-width: 560px) { .pf-grid { grid-template-columns: 1fr; } }
/* ---- multi-step wizard ---- */
.pf-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.pf-dot { display: flex; align-items: center; gap: 10px; flex: 1; color: var(--muted); font-size: 0.86rem; font-weight: 600; cursor: pointer; }
.pf-dot b {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--muted); font-family: "Oswald", sans-serif;
}
.pf-dot.active { color: var(--text); }
.pf-dot.active b { background: var(--grad-blue); border-color: var(--border-blue); color: #fff; }
.pf-dot.current b { box-shadow: 0 0 0 4px rgba(2, 157, 246, 0.18); }
.pf-dot span { white-space: nowrap; }
.pf-dot:last-child { flex: none; }
.pf-step { display: none; }
.pf-step.active { display: block; animation: heroSwap 0.35s var(--ease, ease) both; }
.pf-review { color: var(--muted); font-size: 1.02rem; line-height: 1.7; margin-bottom: 18px; }
.partner-form .cf-turnstile { margin: 4px 0; }
.pf-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.pf-nav .btn[hidden] { display: none !important; }
.pf-nav #pf-next { margin-left: auto; }
@media (max-width: 560px) { .pf-dot span { display: none; } .pf-nav #pf-next { margin-left: 0; } }

/* ---------- Popular game servers (tall covers, reshuffled every 24h) ---------- */
.popular-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.pop-card {
  position: relative; display: block; aspect-ratio: 2 / 3;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.pop-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.pop-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,13,22,0) 55%, rgba(9,13,22,0.72) 100%);
  pointer-events: none;
}
.pop-card:hover { transform: translateY(-6px); border-color: var(--border-blue); box-shadow: var(--shadow-blue); }
.pop-card:hover img { transform: scale(1.06); }
.pop-plat {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(9, 13, 22, 0.72); backdrop-filter: blur(6px);
  border: 1px solid var(--border-2); color: #fff; font-size: 0.9rem;
}
.pop-card.is-skeleton {
  background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
  background-size: 200% 100%; animation: popShimmer 1.3s linear infinite;
}
@keyframes popShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (max-width: 900px) { .popular-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .popular-row { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .pop-card.is-skeleton { animation: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem; }
.step {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step:hover { transform: translateY(-5px); border-color: var(--border-blue); }
.step .num {
  width: 58px; height: 58px; margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: "Fira Sans", sans-serif; font-weight: 700; font-size: 1.6rem;
  color: #fff; border-radius: 50%;
  background: var(--grad-blue);
  box-shadow: 0 10px 24px -8px var(--blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.step h3 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }
.step .connector {                                          /* bare, big chevron centred in the gap */
  position: absolute; top: 50%; left: calc(100% + 1.75rem); transform: translate(-50%, -50%); z-index: 3;
  padding: 0 1rem; color: var(--blue-bright); font-size: 4rem; line-height: 1;
}
@media (max-width: 820px) { .step .connector { display: none; } }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--border-blue); }
.feature .icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  font-size: 1.5rem; color: var(--blue-bright);
  background: rgba(32, 146, 255, 0.12);
  border: 1px solid var(--border-blue);
  margin-bottom: 20px;
}
.feature h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Advantages (icon left) ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.adv {
  display: flex; gap: 18px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.adv:hover { border-color: var(--border-blue); transform: translateY(-4px); }
.adv .icon { flex: none; color: var(--blue-bright); font-size: 1.6rem; }
.adv h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 6px; }
.adv p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.loc-map { overflow: hidden; position: relative; }
.loc-shield {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(9, 13, 22, 0.82); backdrop-filter: blur(8px);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.loc-shield i { color: var(--green); font-size: 1.3rem; }
.loc-shield span { font-size: 0.9rem; color: var(--muted); }

/* ---- Live server-location dots on the map (green, pulsing) ---- */
.map-dot { position: absolute; transform: translate(-50%, -50%); width: 10px; height: 10px; z-index: 2; }
.map-dot i {
  position: absolute; inset: 0; display: block; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px 1px rgba(55, 226, 154, 0.9);
}
.map-dot i::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green); animation: mapPulse 2s ease-out infinite;
}
.map-dot.bad i, .map-dot.bad i::before { background: var(--amber); }
.map-dot.bad i { box-shadow: 0 0 8px 1px rgba(255, 176, 32, 0.9); }
@keyframes mapPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(3.6); opacity: 0; }
}
.map-dot-tip {
  position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 0.76rem; font-weight: 600; color: var(--text);
  background: rgba(9, 13, 22, 0.92); border: 1px solid var(--border-2);
  border-radius: 8px; padding: 5px 9px; pointer-events: none;
  opacity: 0; transition: opacity 0.18s; box-shadow: 0 8px 20px -10px rgba(0,0,0,0.8);
}
.map-dot-tip u { color: var(--green); text-decoration: none; }
.map-dot.bad .map-dot-tip u { color: var(--amber); }
.map-dot:hover .map-dot-tip { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .map-dot i::before { animation: none; } }
.loc-list { display: grid; gap: 12px; }
.loc {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s, transform 0.25s var(--ease);
}
.loc:hover { border-color: var(--border-blue); transform: translateX(4px); }
.loc img { width: 34px; height: auto; border-radius: 4px; flex: none; }
.loc .loc-name { font-weight: 700; }
.loc .loc-city { font-size: 0.84rem; color: var(--muted); }
.loc .ping { margin-left: auto; font-family: "Fira Sans", sans-serif; font-weight: 700; color: var(--green); font-size: 1rem; }
.loc .ping.bad { color: var(--amber); }

/* ---------- Comparison / bang-for-buck ---------- */
.compare { overflow-x: auto; }
.compare table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  min-width: 640px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.compare thead th {
  font-family: "Fira Sans", sans-serif; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 1.05rem; background: var(--surface-2);
}
.compare thead th.us { color: var(--blue-bright); position: relative; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--text); font-family: "Fira Sans", sans-serif; font-size: 0.94rem; }
.compare tbody td { color: var(--muted); font-size: 0.95rem; }
.compare td.us { color: var(--text); font-weight: 700; background: rgba(32, 146, 255, 0.06); }
.compare .yes { color: var(--green); }
.compare .no { color: #ff5d6c; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote .stars { color: var(--amber); letter-spacing: 2px; }
.quote p { color: var(--muted); font-size: 0.97rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .who .av {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-blue); color: #fff; font-family: "Fira Sans", sans-serif; font-weight: 700;
}
.quote .who b { font-size: 0.95rem; }
.quote .who span { font-size: 0.82rem; color: var(--faint); display: block; }

/* ---------- App promo ---------- */
.app-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.app-promo h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-transform: uppercase; margin: 16px 0 12px; }
.app-promo p { color: var(--muted); font-size: 1.05rem; }
.store-badges { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.store-badges img { height: 48px; width: auto; }
.app-shot { overflow: hidden; }

/* ---------- Final CTA band ---------- */
/* ---------- Partners logo strip ---------- */
.partners-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch;
}
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 30px 26px; min-height: 120px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.partner-logo img {
  max-width: 100%; max-height: 56px; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(1.7); opacity: 0.7;
  transition: filter 0.25s, opacity 0.25s;
}
.partner-logo:hover { border-color: var(--border-blue); background: var(--surface-2); transform: translateY(-4px); }
.partner-logo:hover img { filter: none; opacity: 1; }
@media (max-width: 720px) { .partners-row { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(32, 146, 255, 0.16), rgba(226, 66, 188, 0.1));
  border: 1px solid var(--border-blue);
  border-radius: var(--radius);
  padding: 54px 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.band h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); text-transform: uppercase; }
.band p { color: var(--muted); margin-top: 12px; }
.band .band-cta { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile nav ---------- */
@media (max-width: 1000px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-actions .btn-ghost { display: none; }
  /* Client Area button collapses to a square padlock icon on mobile (matches the menu button) */
  .btn-client .btn-client-label { display: none; }
  .btn-client {
    width: 44px; height: 44px; padding: 0;
    display: inline-grid; place-items: center; border-radius: var(--radius-xs);
  }
  .btn-client i { font-size: 1.1rem; margin: 0; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-120%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav > li > a { padding: 14px; font-size: 1.15rem; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    background: rgba(255, 255, 255, 0.03);
    margin: 4px 0 8px 12px; padding: 4px;
  }
  .nav .caret { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .steps, .features, .adv-grid, .quotes { grid-template-columns: 1fr; }
  .step .connector { display: none; }
  .locations, .app-promo { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; text-align: center; }
  .band .band-cta { justify-content: center; }
  .hero { min-height: auto; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero { padding: 60px 0 56px; }
  .band { padding: 40px 26px; }
  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  
}

/* ===================================================================
   Game pages + catalog (breadcrumb, plans, FAQ, search)
   =================================================================== */

/* Game hero: shorter than homepage hero */
.hero.game-hero { min-height: min(72vh, 640px); padding: 84px 0 72px; }

.breadcrumb {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--faint);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue-bright); }
.breadcrumb i { font-size: 0.6rem; opacity: 0.6; }
.breadcrumb span { color: var(--text); }

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 5px solid var(--border);
  border-radius: 0px;
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.plan:hover { transform: translateY(-5px); border-color: var(--border-blue); box-shadow: var(--shadow-blue); }
.plan.popular { border-color: var(--border-blue); box-shadow: 0 0 0 1px var(--border-blue), var(--shadow-blue); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-accent); color: #fff;
  font-family: "Fira Sans", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem;
  padding: 5px 14px; border-radius: var(--radius-sm); white-space: nowrap;
}
.plan-ram {
  font-family: "Fira Sans", sans-serif; font-weight: 700;
  font-size: 2.1rem; color: #fff; line-height: 1;
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.plan-ram small { font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.plan-price {
  font-family: "Fira Sans", sans-serif; font-weight: 700;
  font-size: 2.6rem; color: var(--blue-bright); line-height: 1;
  margin: 14px 0 18px;
}
.plan-price .cur { font-size: 1.3rem; vertical-align: super; margin-right: 2px; }
.plan-price .per { font-size: 0.9rem; color: var(--muted); font-weight: 600; font-family: "Fira Sans", sans-serif; }
/* active promo: struck original above the discounted price + a code pill */
.plan-price.has-promo { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 10px; }
.plan-was {
  font-size: 1.05rem; font-weight: 600; color: var(--faint); line-height: 1;
  text-decoration: line-through; text-decoration-color: rgba(255, 93, 108, 0.85);
}
.plan-now { display: inline-flex; align-items: baseline; }
.plan-promo {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 18px;
  font-family: "Fira Sans", sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--green);
  background: rgba(55, 226, 154, 0.1); border: 1px solid rgba(55, 226, 154, 0.35);
  border-radius: 0px; padding: 4px 12px;
}
.plan-promo b { color: #fff; letter-spacing: 0.05em; }
.plan-list { display: grid; gap: 11px; margin-bottom: 22px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.plan-list li i { color: var(--blue-bright); font-size: 0.9rem; margin-top: 3px; flex: none; }
.plan-list li b { color: var(--text); }
/* included = green check, not-included (e.g. paid default port) = muted red x */
.plan-list li i.fa-check, .pc-feats li i.fa-check { color: var(--green); }
.plan-list li.feat-off, .pc-feats li.feat-off { color: var(--faint); }
.plan-list li.feat-off i, .pc-feats li.feat-off i { color: #e0555f; }
.plan-list li.feat-off b, .pc-feats li.feat-off b { color: var(--muted); }
.plan-list li i.fa-memory, .plan-list li i.fa-hard-drive, .plan-list li i.fa-users,
.pc-feats li i.fa-memory, .pc-feats li i.fa-hard-drive, .pc-feats li i.fa-users { color: var(--blue-bright); }
.plan .btn { margin-top: auto; }

/* Billing-cycle tabs */
.billing-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  margin: 0 auto 34px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  justify-content: center;
}
.billing-tabs { display: flex; width: fit-content; }
.billing-tabs button {
  font-family: "Oswald", "Fira Sans", sans-serif;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 0.92rem;
  color: var(--muted);
  background: transparent; border: none; cursor: pointer;
  padding: 9px 18px; border-radius: var(--radius-xs);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.2s, background 0.2s;
}
.billing-tabs button:hover { color: var(--text); }
.billing-tabs button.active { color: #fff; background: var(--blue); }
.billing-tabs .off {
  font-size: 0.72rem; font-weight: 700;
  color: #fff; background: rgba(55, 226, 154, 0.22);
  padding: 2px 7px; border-radius: 20px;
}
.billing-tabs button.active .off { background: rgba(0, 0, 0, 0.22); }
.billing-tabs button:not(.active) .off { color: #fff; }
.billing-tabs-wrap { text-align: center; }

/* Package slider */
.pkg-slider { position: relative; }
/* viewport clips everything past the 3 visible plans (no 4th peeking) */
.pkg-viewport { overflow: hidden; padding: 30px 2px 20px; }
.pkg-track {
  display: flex; gap: 20px;
  transition: transform 0.42s var(--ease);
  will-change: transform;
}
/* exactly 3 plans fit the viewport (2 gaps of 20px) */
.pkg-track .plan { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; }
.pkg-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px; border-radius: 5px;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
  border: none; cursor: pointer;
  box-shadow: var(--shadow);
  transition: filter 0.2s;
}
.pkg-arrow:hover { filter: brightness(1.1); }
.pkg-arrow.prev { left: -18px; }
.pkg-arrow.next { right: -18px; }
.plan-amount { transition: opacity 0.2s; }

@media (max-width: 860px) { .pkg-track .plan { flex: 0 0 calc((100% - 20px) / 2); } } /* 2 visible */
@media (max-width: 560px) { .pkg-track .plan { flex: 0 0 100%; } }                     /* 1 visible */

/* Custom-resource slider */
.cr {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px;
  align-items: stretch;
}
.cr-visual {
  position: relative; min-height: 300px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background-size: cover; background-position: center;
}
.cr-tag {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 0.82rem; font-weight: 600; color: #fff;
  background: rgba(2, 157, 246, 0.9); padding: 6px 12px; border-radius: var(--radius-xs);
}
.cr-panel {
  display: flex; flex-direction: column; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 32px; min-height: 300px;
}
.cr-slider { position: relative; flex: 1; display: grid; }
.cr-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.cr-slide.active { opacity: 1; visibility: visible; transform: none; }
.cr-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: grid; place-items: center; font-size: 1.5rem;
  color: var(--blue); background: rgba(2, 157, 246, 0.12);
  border: 1px solid var(--border-blue); margin-bottom: 18px;
}
.cr-slide h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 10px; }
.cr-slide p { color: var(--muted); font-size: 1rem; }
.cr-dots { display: flex; gap: 8px; margin-top: 22px; }
.cr-dots button {
  width: 9px; height: 9px; padding: 0; border: none; cursor: pointer;
  border-radius: 50%; background: var(--surface-3);
  transition: background 0.25s, width 0.25s;
}
.cr-dots button.active { background: var(--blue); width: 26px; border-radius: 20px; }

/* Feature badges strip */
.feature-badges {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 30px;
}
.feature-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s;
}
.feature-badge i { color: var(--blue); }
.feature-badge:hover { color: var(--text); border-color: var(--border-blue); }

@media (max-width: 820px) {
  .cr { grid-template-columns: 1fr; }
  .cr-visual { min-height: 180px; }
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: "Fira Sans", sans-serif; font-weight: 600; font-size: 1.15rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--blue-bright); transition: transform 0.25s; flex: none; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 0.96rem; }

/* Catalog page hero + search */
.page-hero { padding: 70px 0 10px; text-align: center; }
.page-hero .section-head { margin-left: auto; margin-right: auto; }
.game-search {
  position: relative; max-width: 520px; margin: 0 auto;
}
.game-search i {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: var(--faint);
}
.game-search input {
  width: 100%;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: "Fira Sans", sans-serif; font-size: 1rem;
  padding: 15px 22px 15px 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.game-search input:focus { outline: none; border-color: var(--border-blue); box-shadow: 0 0 0 4px rgba(32, 146, 255, 0.12); }
.game-search input::placeholder { color: var(--faint); }
.game-card[hidden] { display: none; }

/* ---- Catalog category filter (All / Popular / PC / Crossplay) ---- */
.game-cats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 5px;
  max-width: 440px; margin: 14px auto 0;
  padding: 4px; border-radius: 0px;
  background: var(--surface); border: 1px solid var(--border);
}
.gcat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 5px;
  border: 1px solid transparent; background: transparent;
  color: var(--muted); cursor: pointer;
  font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase;
  transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.gcat i { font-size: 0.82em; }
.gcat:hover { color: var(--text); background: var(--surface-2); }
.gcat.active {
  color: #fff; background: var(--grad-blue);
  border-color: var(--border-blue);
  box-shadow: 0 5px 14px -8px var(--blue-glow);
}
.gcat.active:hover { color: #fff; }
@media (max-width: 520px) {
  .game-cats { border-radius: 0px; }
  .gcat { padding: 6px 10px; font-size: 0.72rem; gap: 5px; }
}

/* ===== QGS footer (from source site) ===== */
.qgsf-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0e131e 0%, #131926 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.qgsf-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0.16; background-repeat: no-repeat; }
.qgsf-glow-left { background: radial-gradient(circle at 14% 40%, rgba(32, 146, 255, 0.22), transparent 30%); }
.qgsf-glow-right { background: radial-gradient(circle at 90% 20%, rgba(226, 66, 188, 0.16), transparent 26%); }
.qgsf-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 56px; align-items: start;
}
.qgsf-company { max-width: 460px; }
.qgsf-title {
  margin: 0 0 22px; color: #fff;
  font-family: "Fira Sans", sans-serif; font-size: 1.3rem; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.qgsf-company-list, .qgsf-links, .qgsf-payments { list-style: none; margin: 0; padding: 0; }
.qgsf-company-list li, .qgsf-links li, .qgsf-payments li { margin-bottom: 6px; }
.qgsf-company-list strong { color: var(--blue); }
.qgsf-company-list li { color: rgba(255, 255, 255, 0.76); font-size: 1rem; line-height: 1.7; }
.qgsf-badges { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 22px; }
.qgsf-badge-large { max-width: 210px; width: 100%; height: auto; display: block; object-fit: contain; opacity: 0.95; }
.qgsf-links a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 1rem; transition: color 0.2s ease, transform 0.2s ease; }
.qgsf-links a:hover { color: var(--blue); }
.qgsf-links-games a { display: inline-flex; align-items: center; gap: 9px; }
.qgsf-gicon { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; flex: none; }
.qgsf-gicon-fa { width: 22px; text-align: center; color: var(--blue-bright); font-size: 0.95rem; flex: none; }
.qgsf-payments li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; text-transform: uppercase; font-weight: 700; }
.qgsf-payments img { width: 34px; height: 34px; object-fit: contain; flex: 0 0 34px; border-radius: 6px; }
.qgsf-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.qgsf-socials a {
  width: 42px; height: 42px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}
.qgsf-socials a:hover { background: var(--blue); transform: translateY(-2px); }
.qgsf-social-icon { width: 20px; height: 20px; display: block; }
.qgsf-bottom {
  position: relative; z-index: 1; margin-top: 46px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.qgsf-bottom-left, .qgsf-bottom-right { color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; }
.qgsf-bottom-right { text-align: right; }
@media (max-width: 1200px) {
  .qgsf-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .qgsf-company { max-width: 100%; }
}
@media (max-width: 768px) {
  .qgsf-footer { padding: 52px 0 22px; }
  .qgsf-grid { grid-template-columns: 1fr; gap: 34px; }
  .qgsf-bottom { flex-direction: column; align-items: flex-start; }
  .qgsf-bottom-right { text-align: left; }
  .qgsf-badge-large { max-width: 180px; }
}

/* ===================================================================
   Game video embed
   =================================================================== */
.video-embed {
  position: relative; max-width: 900px; margin: 0 auto;
  border-radius: 0px; overflow: hidden;
  border: 5px solid var(--blue); cursor: pointer;
  aspect-ratio: 16 / 9; background: #000;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s; }
.video-embed::after { content: ""; position: absolute; inset: 0; background: rgba(11, 16, 22, 0.35); transition: background 0.3s; }
.video-embed:hover img { transform: scale(1.04); }
.video-embed:hover::after { background: rgba(11, 16, 22, 0.15); }
.video-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: 1.6rem;
  box-shadow: 0 10px 30px -6px rgba(2, 157, 246, 0.7);
  transition: transform 0.25s var(--ease), filter 0.2s;
}
.video-embed:hover .video-play { transform: translate(-50%, -50%) scale(1.08); filter: brightness(1.1); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===================================================================
   Configure page (BisectHosting-style, QGS theme)
   =================================================================== */
.cfg-hero {
  background-size: cover; background-position: center;
  border-bottom: 3px solid var(--blue);
}
.cfg-hero-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 54px 22px 46px;
}
.cfg-hero-title {
  font-family: "Oswald", "Fira Sans", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700;
  text-transform: uppercase; line-height: 1.02; letter-spacing: 0.01em;
}
.installed-game { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ig-label { color: var(--muted); font-size: 0.9rem; }
.ig-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 8px 14px 8px 8px;
}
.ig-chip img { width: 34px; height: 34px; object-fit: cover; border-radius: var(--radius-xs); }
.ig-chip b { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
.ig-change { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 0.9rem; }
.ig-change:hover { text-decoration: underline; }

.cfg-grid { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cfg-main { display: grid; gap: 22px; }
.cfg-step-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.cfg-step-num {
  flex: none; width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: grid; place-items: center; font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: 1.2rem; color: #fff; background: var(--blue);
}
.cfg-step-head h2 { font-size: 1.35rem; text-transform: uppercase; }
.cfg-step-head p { color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.cfg-card {
  background: var(--surface); border: 5px solid #232a39;
  border-radius: var(--radius); padding: 24px;
  display: grid; gap: 22px;
}
.cfg-field { display: block; }
.cfg-field-label { display: flex; align-items: center; gap: 9px; font-weight: 600; margin-bottom: 12px; }
.cfg-field-label i { color: var(--blue); }
.cfg-select {
  width: 100%; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 15px; font-family: "Fira Sans", sans-serif; font-size: 0.98rem;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%2396a3b4'%3E%3Cpath d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 11px;
}
.cfg-select:focus { outline: none; border-color: var(--blue); }
/* GSLT token text input reuses .cfg-select but must not show the dropdown arrow */
.cfg-select.cfg-gslt { background-image: none; cursor: text; font-family: "Fira Sans", monospace; }
.cfg-req { color: #ff6b6b; font-weight: 700; }

/* ---- Minecraft version / modpack combobox ---- */
.mcver { position: relative; }
.mcver-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-2); color: var(--text); text-align: left;
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 15px; font-family: "Fira Sans", sans-serif; font-size: 0.98rem; cursor: pointer;
}
.mcver-btn:focus, .mcver.open .mcver-btn { outline: none; border-color: var(--blue); }
.mcver-btn i { color: var(--muted); font-size: 0.8rem; transition: transform 0.2s; }
.mcver.open .mcver-btn i { transform: rotate(180deg); }
.mcver-cur { display: flex; align-items: center; gap: 9px; overflow: hidden; white-space: nowrap; }
.mcver-cur .mcver-cat { color: var(--blue-bright); font-weight: 700; }
.mcver-ic { width: 20px; height: 20px; object-fit: contain; flex: none; border-radius: 4px; }
.mcver-ic-fa { display: inline-flex; align-items: center; justify-content: center; color: var(--blue-bright); font-size: 0.95rem; }
.mcver-optl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mcver-optl .mcver-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcver-pop {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.7); overflow: hidden;
}
.mcver-search { position: relative; padding: 10px; border-bottom: 1px solid var(--border); }
.mcver-search i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 0.85rem; }
.mcver-search input {
  width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--border-2);
  border-radius: var(--radius-xs); padding: 10px 12px 10px 34px; font-size: 0.92rem;
}
.mcver-search input:focus { outline: none; border-color: var(--blue); }
.mcver-list { max-height: 320px; overflow-y: auto; padding: 6px; }
.mcver-group { padding: 10px 10px 4px; font-family: "Oswald", sans-serif; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mcver-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border-radius: var(--radius-xs); cursor: pointer; font-size: 0.93rem;
}
.mcver-opt[hidden], .mcver-group[hidden] { display: none !important; }
.mcver-opt:hover, .mcver-opt.hi { background: var(--surface-2); }
.mcver-opt.sel { background: rgba(2, 157, 246, 0.14); color: var(--blue-bright); }
.mcver-opt .mcver-ver { color: var(--muted); font-size: 0.85rem; flex: none; }
.mcver-opt.sel .mcver-ver { color: var(--blue-bright); }
.mcver-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* ---- Language switcher: compact flag button + modal grid ---- */
/* Compact flag icon button in .header-actions (sits left of Client Area) */
.lang-open {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--border-2);
  border-radius: 5px; cursor: pointer; padding: 0;
  color: var(--text); font-size: 1.15rem; line-height: 1;
  transition: border-color 0.2s, background 0.2s;
}
.lang-open:hover, .lang-open:focus-visible {
  border-color: var(--blue); background: rgba(2,157,246,0.08); outline: none;
}
.lang-open-flag { font-size: 1.15rem; line-height: 1; }

/* Modal overlay: hidden by default, .open reveals */
.lang-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lang-modal.open { display: flex; }
.lang-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 10, 16, 0.72); backdrop-filter: blur(4px);
}
.lang-modal-panel {
  position: relative; z-index: 1;
  width: min(920px, 100%); max-height: min(720px, 90vh);
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.75);
  display: flex; flex-direction: column; gap: 18px;
  animation: langModalIn 0.24s var(--ease);
}
@keyframes langModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lang-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 4px;
}
.lang-modal-title {
  margin: 0; display: flex; align-items: center; gap: 10px;
  font-family: "Oswald", sans-serif; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--text); font-weight: 600;
}
.lang-modal-title i { color: var(--blue-bright); font-size: 1rem; }
.lang-modal-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: transparent; border: 1px solid var(--border-2);
  border-radius: 5px; cursor: pointer; color: var(--muted);
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lang-modal-close:hover, .lang-modal-close:focus-visible {
  border-color: var(--blue); color: var(--text); background: rgba(2,157,246,0.08);
  outline: none;
}
.lang-modal-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  overflow-y: auto;
  /* padding so a hovered card's shadow/lift never clips against the scroll edge */
  padding: 4px 4px 8px;
  margin: -4px -4px -8px;
}
.lang-card {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 5px; color: var(--text); text-decoration: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.lang-card:hover, .lang-card:focus-visible {
  border-color: var(--blue); background: rgba(2,157,246,0.10);
  box-shadow: 0 4px 12px -4px rgba(2,157,246,0.35);
  outline: none;
}
.lang-card.active {
  border-color: var(--blue); background: rgba(2,157,246,0.10);
  color: var(--blue-bright); font-weight: 600;
}
.lang-flag { font-size: 1.35rem; line-height: 1; flex: none; }
.lang-name { font-size: 0.98rem; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-check { color: var(--blue-bright); font-size: 1rem; margin-left: auto; }

/* SVG flag <img> (used in both the top nav button and the modal cards) -
   consistent rendering across all OS/browsers unlike emoji flags. */
.lang-flag-img {
  width: 26px; height: 18px; object-fit: cover; flex: none;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  outline: 1px solid rgba(0,0,0,0.25); outline-offset: -1px;
}
.lang-open .lang-flag-img { width: 24px; height: 16px; }

@media (max-width: 560px) {
  .lang-modal { padding: 12px; }
  .lang-modal-panel { padding: 16px; }
  .lang-modal-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-card { padding: 12px; }
  .lang-name { font-size: 0.9rem; }
}
.player-row { display: flex; align-items: center; gap: 20px; }
.player-slider {
  flex: 1; appearance: none; height: 6px; border-radius: 20px;
  background: var(--surface-3); cursor: pointer;
}
.player-slider::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: pointer;
}
.player-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; cursor: pointer;
}
.player-count {
  flex: none; display: flex; align-items: center; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 10px 16px;
}
.player-count output { font-family: "Oswald", sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; min-width: 24px; text-align: center; }
.player-count span { color: var(--muted); font-size: 0.9rem; }

.cfg-locations { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.loc-opt {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--text); font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.loc-opt img { width: 26px; border-radius: 3px; }
.loc-opt small { margin-left: auto; color: var(--green); font-weight: 700; font-size: 0.82rem; }
.loc-opt:hover { border-color: var(--border-blue); }
.loc-opt.active { border-color: var(--blue); background: rgba(2, 157, 246, 0.1); }

.billing-cycle { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.cycle-opt {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 14px 12px; color: var(--text); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.cycle-opt b { font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.02em; }
.cycle-opt span { font-size: 0.78rem; color: var(--muted); }
.cycle-opt .save { color: #fff; background: rgba(255, 255, 255, 0.15); border-radius: 20px; padding: 2px 9px; font-weight: 700; font-size: 0.72rem; }
.cycle-opt:hover { border-color: var(--border-blue); }
.cycle-opt.active { border-color: var(--blue); background: rgba(2, 157, 246, 0.1); }
.cycle-opt.active .save { filter: brightness(1.05); }

/* "Biggest discount" deal banner - nudges the 12-month cycle (green = savings) */
.deal-banner {
  width: 100%; margin-top: 18px; display: flex; align-items: center; gap: 18px;
  padding: 16px; text-align: left; cursor: pointer; font-family: inherit;
  border: 1px solid rgba(55, 226, 154, 0.5); border-radius: 12px;
  background: linear-gradient(90deg, rgba(55, 226, 154, 0.05) 0%, rgba(55, 226, 154, 0.22) 100%);
  box-shadow: 0 10px 30px -14px rgba(55, 226, 154, 0.5);
  transition: transform 0.15s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
.deal-banner[hidden] { display: none; }
.deal-banner:hover { transform: translateY(-1px); border-color: var(--green); box-shadow: 0 14px 34px -14px rgba(55, 226, 154, 0.65); }
.deal-ico {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(55, 226, 154, 0.12); color: var(--green); font-size: 1.45rem;
}
.deal-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.deal-text > span { font-size: 1.05rem; color: rgba(255, 255, 255, 0.82); }
.deal-text b { font-size: 1.12rem; font-weight: 700; color: #fff; }
.deal-get {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; font-weight: 700; white-space: nowrap;
  background: var(--green); color: #06231a;
  box-shadow: 0 8px 20px -6px rgba(55, 226, 154, 0.7);
}
.deal-banner:hover .deal-get { filter: brightness(1.06); }
@media (max-width: 620px) {
  .deal-banner { flex-wrap: wrap; gap: 12px; }
  .deal-text { flex-basis: calc(100% - 72px); }
  .deal-get { width: 100%; justify-content: center; }
}

/* Sticky recommended plan carousel */
.cfg-side { position: sticky; top: calc(var(--header-h) + 16px); }
.plan-carousel { position: relative; display: flex; align-items: center; gap: 6px; }
.pc-viewport { overflow: hidden; flex: 1; border-radius: var(--radius); }
.pc-track { display: flex; transition: transform 0.4s var(--ease); }
.pc-slide {
  flex: 0 0 100%; min-width: 100%;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-blue); border-radius: var(--radius);
  padding: 26px 24px; text-align: left; position: relative;
}
.pc-badge {
  display: inline-block; margin-bottom: 14px;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.8rem; font-weight: 700; color: #062; background: var(--green);
  padding: 5px 14px; border-radius: 20px;
}
.pc-ram { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; color: #fff; }
.pc-brand { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; margin: 6px 0 16px; }
.pc-feats { display: grid; gap: 10px; margin-bottom: 18px; }
.pc-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.92rem; color: var(--muted); }
.pc-feats li i { color: var(--green); margin-top: 3px; font-size: 0.82rem; }
.pc-feats li b { color: var(--text); }
.pc-price { font-family: "Oswald", sans-serif; margin-bottom: 16px; }
.pc-price .cur { color: var(--blue); font-size: 1.2rem; vertical-align: super; }
.pc-price .pc-amount { font-size: 2.2rem; font-weight: 700; color: #fff; }
.pc-price .per { color: var(--muted); font-size: 0.9rem; font-family: "Fira Sans", sans-serif; }
.pc-arrow {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-2);
  transition: background 0.2s, color 0.2s;
}
.pc-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.pc-dots { display: flex; gap: 7px; justify-content: center; margin-top: 16px; }
.pc-dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: var(--surface-3); cursor: pointer; transition: background 0.2s, width 0.2s; }
.pc-dots button.active { background: var(--blue); width: 22px; border-radius: 20px; }

@media (max-width: 900px) {
  .cfg-grid { grid-template-columns: 1fr; }
  .cfg-side { position: static; max-width: 420px; margin: 0 auto; width: 100%; }
  .cfg-hero-in { flex-direction: column; align-items: flex-start; }
}

/* Savings labels (billing cycle) */
.plan-save {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; color: var(--green);
  background: rgba(55, 226, 154, 0.12); border: 1px solid rgba(55, 226, 154, 0.3);
  padding: 5px 10px; border-radius: var(--radius-xs);
  margin: -4px 0 16px;
}
.pc-save {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 700; color: var(--green);
  background: rgba(55, 226, 154, 0.12); border: 1px solid rgba(55, 226, 154, 0.3);
  padding: 7px 12px; border-radius: var(--radius-xs);
  margin: -6px 0 16px;
}
.pc-save i { font-size: 0.78rem; }

/* ===================================================================
   Configurator v2 - package/custom tabs, promo, latency, OOS
   =================================================================== */

/* Packages / Custom mode switch */
.pkg-mode { display: inline-flex; gap: 4px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 20px; }
.mode-tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 0.9rem; color: var(--muted); background: transparent; border: none; cursor: pointer;
  padding: 9px 18px; border-radius: var(--radius-xs); transition: color 0.2s, background 0.2s;
}
.mode-tab:hover { color: var(--text); }
.mode-tab.active { color: #fff; background: var(--blue); }

/* Preset package chips */
.pkg-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.pkg-chip {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 16px 12px; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.pkg-chip:hover { border-color: var(--border-blue); }
.pkg-chip.active { border-color: var(--blue); background: rgba(2, 157, 246, 0.14); box-shadow: 0 0 0 1px var(--blue), 0 8px 22px -12px var(--blue-glow); }
.pkg-chip.active b { color: var(--blue-bright); }
.pkg-chip b { font-family: "Oswald", sans-serif; font-size: 1.25rem; color: #fff; }
.pkg-chip span { font-size: 0.82rem; color: var(--muted); }

/* Custom size slider */
.pkg-custom .cfg-field-label { margin-bottom: 14px; }
.custom-price { margin: 16px 0 18px; color: var(--muted); font-size: 0.95rem; }
.custom-price b { color: #fff; font-family: "Oswald", sans-serif; font-size: 1.4rem; }
.custom-price small { color: var(--faint); }

/* Promo / creator-code field */
.promo-row { display: flex; gap: 10px; }
.cfg-input {
  flex: 1; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 15px; font-family: "Fira Sans", sans-serif; font-size: 0.98rem;
}
.cfg-input:focus { outline: none; border-color: var(--blue); }
.cfg-input::placeholder { color: var(--faint); }
.promo-row .btn { padding: 11px 20px; }
.promo-hint { display: block; margin-top: 9px; font-size: 0.82rem; color: var(--faint); }
.promo-hint[hidden] { display: none !important; }  /* [hidden] must beat display:block */
.promo-hint.ok { color: var(--green); }

/* Location: out of stock + live latency */
.loc-opt.is-oos { opacity: 0.55; cursor: not-allowed; }
.loc-opt.is-oos:hover { border-color: var(--border-2); }
.loc-opt .oos { margin-left: auto; color: #ff6b6b; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; }
.loc-opt .ping { margin-left: auto; color: var(--green); font-weight: 700; font-size: 0.82rem; font-family: "Oswald", sans-serif; }
.loc-opt .ping.bad { color: var(--amber); }

/* Segmented billing selector (screenshot style) - shared by game page + configurator */
.billing-tabs, .billing-cycle {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 6px; width: auto;
}
.billing-cycle { display: flex; }
.billing-tabs button, .cycle-opt {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 116px;
  font-family: "Oswald", "Fira Sans", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
  font-size: 1rem; color: var(--muted);
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 16px 20px 12px; cursor: pointer; margin: 0;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.billing-tabs button:hover, .cycle-opt:hover { color: var(--text); }
.billing-tabs button.active, .cycle-opt.active { color: #fff; background: var(--bg-2); border-color: var(--border-2); box-shadow: inset 0 0 0 1px rgba(2,157,246,.25); }
.billing-tabs .cyc-name, .cycle-opt .cyc-name { font-size: 1rem; }
.billing-tabs .off, .cycle-opt .off {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-family: "Fira Sans", sans-serif; font-weight: 700; letter-spacing: 0;
  font-size: 0.66rem; padding: 3px 9px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 4px 10px -3px var(--blue-glow);
}
.section-head + .billing-tabs, .billing-tabs.reveal { margin: 0 auto 34px; }

@media (max-width: 560px) {
  .billing-tabs, .billing-cycle { width: 100%; }
  .billing-tabs button, .cycle-opt { flex: 1 1 44%; min-width: 0; }
}

/* Fix: [hidden] must win over the flex display on savings/custom rows */
.plan-save[hidden], .pc-save[hidden], .pkg-custom[hidden], .pkg-presets[hidden] { display: none !important; }

/* Center the billing selectors (game page + configurator) */
.billing-tabs { display: flex; width: -moz-fit-content; width: fit-content; margin-left: auto; margin-right: auto; }
.billing-cycle { width: -moz-fit-content; width: fit-content; margin-left: auto; margin-right: auto; }

/* Custom card in the sticky side panel */
.pc-custom-slide { border-color: var(--blue); }
.pc-custom-slide .pc-badge { background: var(--blue); color: #fff; }

/* Info tooltip (CPU priority, port, etc.) */
.tip {
  position: relative; display: inline-flex; align-items: center;
  color: var(--faint); cursor: help; font-size: 0.85em;
  outline: none;
}
.tip:hover, .tip:focus { color: var(--blue); }
.tip::after {
  content: attr(data-tip);
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  width: max-content; max-width: 280px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 10px 13px; font-size: 0.82rem; font-weight: 400; line-height: 1.5;
  text-transform: none; letter-spacing: 0; white-space: normal;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 40;
}
.tip::before {
  content: ""; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--border-2);
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; z-index: 41;
}
.tip:hover::after, .tip:focus::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.tip:hover::before, .tip:focus::before { opacity: 1; visibility: visible; }
@media (max-width: 560px) {
  .tip::after { max-width: 220px; left: auto; right: 0; transform: translateY(4px); }
  .tip:hover::after, .tip:focus::after { transform: translateY(0); }
  .tip::before { left: auto; right: 8px; }
}

/* ===================================================================
   Order Summary (sticky side panel)
   =================================================================== */
.order-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.os-head {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 20px 22px; border-bottom: 1px solid var(--border);
}
.os-head h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.01em; }
.os-head span { display: block; margin-top: 3px; font-size: 0.82rem; color: var(--muted); }
.os-body { padding: 20px 22px 22px; }
.os-rows { display: grid; gap: 0; }
.os-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.os-row > span { color: var(--muted); font-size: 0.9rem; }
.os-row > b { font-weight: 700; text-align: right; }
.os-row .os-unset { color: var(--faint); font-weight: 500; font-style: italic; }
.os-feats { display: grid; gap: 9px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.os-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; color: var(--muted); }
.os-feats li i { color: var(--green); font-size: 0.82rem; margin-top: 3px; }
.os-feats li b { color: var(--text); }
.os-price { padding: 16px 0 4px; }
.os-baserow, .os-addon {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.9rem; color: var(--muted); padding: 4px 0;
}
.os-baserow b, .os-addon b { color: var(--text); font-weight: 700; }
.os-addon b { color: var(--blue-bright); }
.os-totalrow {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border);
}
.os-totalrow > span { display: flex; flex-direction: column; font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 1.05rem; color: var(--text); }
.os-totalrow > span small { text-transform: none; font-family: "Fira Sans", sans-serif; font-size: 0.72rem; color: var(--faint); font-weight: 400; letter-spacing: 0; }
.os-totalrow > b { font-family: "Oswald", sans-serif; font-size: 2rem; font-weight: 700; color: var(--green); }
.os-checkout { margin-top: 20px; }
.os-checkout.is-disabled { background: var(--surface-3); color: var(--faint); cursor: not-allowed; box-shadow: none; }
.os-checkout.is-disabled:hover { box-shadow: none; }
.os-tos { text-align: center; margin-top: 14px; font-size: 0.8rem; color: var(--faint); }
.os-tos a { color: var(--blue); font-weight: 600; }
.os-tos a:hover { text-decoration: underline; }

.loc-country { font-weight: 600; }
.cfg-flash { animation: cfgFlash 1.2s var(--ease); }
@keyframes cfgFlash { 0%,100% { box-shadow: none; } 30% { box-shadow: 0 0 0 3px var(--blue-glow); } }

/* pc-track is now a hidden data source on the configurator */
#pc-track[hidden] { display: none !important; }

/* Order-summary savings badge */
.os-save {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 9px 12px;
  background: rgba(55, 226, 154, 0.12); border: 1px solid rgba(55, 226, 154, 0.3);
  border-radius: var(--radius-sm);
  color: var(--green); font-weight: 700; font-size: 0.85rem;
}
.os-save[hidden] { display: none !important; }

/* Promo / creator-code discount row + invalid-code hint */
.os-promo b { color: var(--green) !important; }
.os-promo[hidden] { display: none !important; }
.promo-hint.bad { color: #ff6b6b; }
.promo-hint.warn { color: var(--amber); }
.gslt-gen { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 0.86rem; font-weight: 600; color: var(--blue-bright); text-decoration: none; }
.gslt-gen:hover { text-decoration: underline; }

/* Creator card (shown when a valid creator/promo code is applied) */
.creator-card {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding: 12px 14px;
  background: rgba(55, 226, 154, 0.1); border: 1px solid rgba(55, 226, 154, 0.35);
  border-radius: var(--radius-sm);
}
.creator-card[hidden] { display: none !important; }
.cc-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green); flex: none; background: var(--surface-2); }
.cc-info { display: flex; flex-direction: column; min-width: 0; }
.cc-info b { font-family: "Oswald", sans-serif; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--text); }
.cc-info span { font-size: 0.82rem; color: var(--green); font-weight: 600; }
.cc-ok { margin-left: auto; color: var(--green); font-size: 1.2rem; }

/* ===================================================================
   Feature showcase (vertical tabs + panel mockup) - replaces cr-slider
   =================================================================== */
.fs { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }
.fs-tabs { display: grid; gap: 12px; }
.fs-tab {
  text-align: left; cursor: pointer; width: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; color: var(--muted);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.fs-tab:hover { color: var(--text); border-color: var(--border-2); }
.fs-tab.active { background: var(--surface-2); border-color: var(--border-blue); color: var(--text); }
.fs-tab-head {
  display: flex; align-items: center; gap: 12px;
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 1.1rem;
}
.fs-tab-head i { color: var(--blue); font-size: 1.05rem; width: 22px; text-align: center; }
.fs-tab.active .fs-tab-head i { color: var(--blue-bright); }
.fs-detail {
  display: block; max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.fs-tab.active .fs-detail { max-height: 220px; }
.fs-desc { display: block; color: var(--muted); font-size: 0.94rem; line-height: 1.6; padding: 12px 0 0; }
.fs-bar { display: block; height: 4px; margin-top: 14px; border-radius: 20px; background: var(--surface-3); overflow: hidden; }
.fs-bar span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 20px; }
.fs-tab.active .fs-bar span.run { animation: fsFill var(--fs-dur, 6s) linear forwards; }
@keyframes fsFill { from { width: 0; } to { width: 100%; } }

/* Panel mockup */
.fs-stage { position: relative; }
.fs-panel {
  position: relative; min-height: 420px;
  background: linear-gradient(180deg, #10161f, var(--surface));
  border: 5px solid var(--border-2); border-radius: 5px;
  box-shadow: var(--shadow); overflow: hidden;
}
.fs-screen {
  position: absolute; inset: 0; padding: 22px 24px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.fs-screen.active { opacity: 1; visibility: visible; transform: none; }
.mk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.mk-back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--faint); margin-bottom: 6px; }
.mk-title b { display: block; font-family: "Oswald", sans-serif; font-size: 1.5rem; text-transform: uppercase; color: #fff; }
.mk-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
.mk-meta i { color: var(--blue); margin-right: 4px; }
.mk-actions { display: flex; gap: 8px; flex: none; }
.mk-btn { font-size: 0.74rem; font-weight: 700; padding: 7px 12px; border-radius: var(--radius-xs); }
.mk-btn.ghost { background: var(--surface-3); color: var(--faint); }
.mk-btn.danger { background: #e5484d; color: #fff; }
.mk-tabs { display: flex; gap: 16px; margin: 16px 0 4px; padding: 10px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); overflow-x: auto; }
.mk-tabs span:first-child { color: var(--text); font-weight: 600; }
.mk-body { margin-top: 16px; }

/* console */
.mk-console { font-family: Menlo, Consolas, monospace; font-size: 0.82rem; background: #0a0e14; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }
.mk-line { color: #b7c3d2; padding: 2px 0; }
.mk-line i { font-style: normal; font-weight: 700; margin-right: 8px; }
.mk-line .i-info { color: var(--blue-bright); }
.mk-line .i-warn { color: var(--amber); }
.mk-line .i-ok, .mk-line.ok { color: var(--green); }
.mk-input { margin-top: 8px; color: #7d8ba0; }
.mk-input span:first-child { color: var(--blue); margin-right: 6px; }
.mk-caret { display: inline-block; width: 7px; height: 14px; background: var(--blue); margin-left: 3px; vertical-align: middle; animation: fsBlink 1s steps(1) infinite; }
@keyframes fsBlink { 50% { opacity: 0; } }

/* generic list / rows */
.mk-list { display: grid; gap: 10px; }
.mk-search { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 0.85rem; background: #0a0e14; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; }
.mk-row { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; }
.mk-rowmain { flex: 1; min-width: 0; }
.mk-rowmain b { display: block; font-size: 0.92rem; }
.mk-rowmain small { color: var(--faint); font-size: 0.76rem; }
.mk-dot { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.mk-dot.p { background: #7c4dff; } .mk-dot.g { background: #37e29a; } .mk-dot.o { background: #ff9d3c; } .mk-dot.b { background: var(--blue); }
.mk-pill { font-size: 0.74rem; font-weight: 700; padding: 6px 13px; border-radius: var(--radius-xs); white-space: nowrap; }
.mk-pill.blue { background: var(--blue); color: #fff; }
.mk-pill.ghost { background: var(--surface-3); color: var(--muted); }

/* instances table */
.mk-panelcard { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.mk-cardhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mk-cardhead b { font-size: 1rem; }
.mk-cardhead .warn { display: block; color: #e5a13a; font-size: 0.74rem; }
.mk-table { font-size: 0.8rem; }
.mk-th, .mk-tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 10px; align-items: center; padding: 9px 0; }
.mk-th { color: var(--faint); font-size: 0.68rem; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.mk-tr { border-bottom: 1px solid var(--border); }
.mk-name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mk-name .mk-dot { width: 16px; height: 16px; border-radius: 4px; }
.mk-status { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.03em; }
.mk-status.ok { color: var(--green); }
.mk-status.sw { color: var(--blue-bright); }
.mk-status.sw i { animation: fsSpin 1.4s linear infinite; display: inline-block; }
@keyframes fsSpin { to { transform: rotate(360deg); } }
.mk-muted { color: var(--faint); }

/* config rows */
.mk-cfg { display: flex; align-items: center; justify-content: space-between; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.88rem; }
.mk-val { color: var(--blue-bright); font-weight: 700; }
.mk-toggle { width: 40px; height: 22px; border-radius: 20px; background: var(--surface-3); position: relative; flex: none; }
.mk-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #7d8ba0; transition: 0.2s; }
.mk-toggle.on { background: var(--blue); }
.mk-toggle.on::after { left: 21px; background: #fff; }

@media (max-width: 880px) {
  .fs { grid-template-columns: 1fr; }
  .fs-panel { min-height: 460px; }
}

/* Image comparison slider (Plugin ↔ Mod installer) inside the feature showcase */
.fs-screen.full { padding: 0; }
.imgcompare { position: absolute; inset: 0; overflow: hidden; user-select: none; background: #0a0e14; }
.ic-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ic-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ic-tag {
  position: absolute; top: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 0.78rem; font-weight: 600; color: #fff;
  background: rgba(9, 13, 22, 0.78); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: var(--radius-xs);
}
.ic-tag i { color: var(--blue-bright); }
.ic-tag-l { left: 14px; }
.ic-tag-r { right: 14px; }
.ic-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 4;
  width: 2px; background: #fff; transform: translateX(-1px);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6); pointer-events: none;
}
.ic-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: 0.95rem;
  border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.ic-range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0; padding: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ic-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; cursor: ew-resize; }
.ic-range::-moz-range-thumb { width: 44px; height: 100%; border: 0; background: transparent; cursor: ew-resize; }

/* Single panel-screenshot screen (e.g. Backups) */
.mk-shot { position: absolute; inset: 0; background: #0a0e14; }
.mk-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ===================================================================
   Game-page hero (banner with product-head art + Trustpilot)
   =================================================================== */
.hero.game-hero {
  min-height: 300px; padding: 0px;
  display: flex; flex-direction: column; justify-content: center;
  background-size: cover; background-position: center right; background-repeat: no-repeat;
}
.hero.game-hero::before { display: none; }
.hero.game-hero .container { display: block; position: relative; z-index: 2; }
.gh-back {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 26px;
  padding: 7px 14px; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); transition: color 0.2s, border-color 0.2s;
}
.gh-back:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.gh-main { display: flex; align-items: center; gap: 26px; }
.gh-thumb {
  width: auto; height: 150px; object-fit: cover; flex: none;
  border-radius: var(--radius); border: 2px solid rgba(255,255,255,0.15); box-shadow: var(--shadow);
}
.gh-info { min-width: 0; }
.gh-trust { display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 12px; color: var(--text); font-size: 0.95rem; }
.gh-trust:hover .gh-count u { color: #fff; }
.gh-word { font-weight: 700; color: #fff; }
.gh-stars { display: inline-flex; gap: 3px; }
.gh-stars i { width: 22px; height: 22px; display: grid; place-items: center; font-size: 0.72rem; color: #fff; background: #00b67a; border-radius: 3px; }
.gh-stars i.empty { background: #7a8590; }
.gh-count { color: var(--muted); }
.gh-count u { color: #cdd6e0; }
.gh-tp { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: #fff; }
.gh-tp i { color: #00b67a; }
.game-hero h1 { text-transform: none; font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin: 6px 0 18px; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.game-hero h1 .accent { color: #fff; }

@media (max-width: 640px) {
  .gh-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gh-thumb { width: 88px; height: 110px; }
}

/* Plans row = preset slider + fixed Custom card (game page) */
.plans-row { display: flex; gap: 20px; align-items: stretch; }
.plans-row .pkg-slider { flex: 1 1 auto; min-width: 0; }
/* Games with only 1–2 plans (Core Keeper, L4D2…): no Custom sidebar → centre the plans and give
   each real width so the row doesn't look empty. Slider arrows aren't needed either. */
.plans-row.plans-few .pkg-viewport { padding-inline: 0; }
.plans-row.plans-few .pkg-track { gap: 24px; justify-content: center; }
.plans-row.plans-few .pkg-track .plan { flex: 0 1 380px; max-width: 420px; }
.plans-row.plans-few .pkg-arrow { display: none; }
.plan-custom-cta {
  flex: 0 0 250px; align-items: center; text-align: center; justify-content: center; gap: 8px;
  border: 3px dashed var(--border-blue); background: linear-gradient(180deg, rgba(2,157,246,.06), var(--bg-2));
}
.pcc-icon {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.5rem; color: var(--blue-bright);
  background: rgba(2,157,246,.12); border: 1px solid var(--border-blue); margin: 4px auto 8px;
}
.plan-custom-cta .plan-ram { font-size: 1.7rem; justify-content: center; }
.pcc-text { color: var(--muted); font-size: 0.92rem; margin-bottom: 14px; }
.plan-custom-cta .btn { margin-top: auto; }

@media (max-width: 820px) {
  .plans-row { flex-direction: column; }
  .plan-custom-cta { flex: 0 0 auto; max-width: 340px; margin: 0 auto; width: 100%; }
}

/* Game-hero animation: slow background pan + content fade-up + thumbnail float */
.hero.game-hero { animation: ghPan 26s ease-in-out infinite alternate; }
@keyframes ghPan { from { background-position: 100% 50%; } to { background-position: 60% 50%; } }
.game-hero .gh-back { animation: ghUp 0.55s 0.05s both; }
.game-hero .gh-main { animation: ghUp 0.7s 0.18s both; }
.game-hero .gh-thumb { animation: ghFloat 5s 1s ease-in-out infinite; }
@keyframes ghUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ghFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) {
  .hero.game-hero, .game-hero .gh-back, .game-hero .gh-main, .game-hero .gh-thumb { animation: none; }
}

/* ===================================================================
   Catalog cards = wide game banners (like /rent-a-server) + platform tag
   =================================================================== */
#games-grid { grid-template-columns: repeat(4, 1fr); }
#games-grid .game-card { aspect-ratio: 460 / 215; }
#games-grid .game-card::after {
  background: linear-gradient(180deg, rgba(11,16,22,.5) 0%, transparent 30%, transparent 58%, rgba(11,16,22,.78) 100%);
}
.gc-platform {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 4px 9px; border-radius: var(--radius-xs); color: #fff;
  backdrop-filter: blur(4px);
}
.gc-platform.crossplay { background: rgba(2, 157, 246, 0.92); }
.gc-platform.pc { background: rgba(16, 22, 30, 0.82); border: 1px solid var(--border-2); color: #cdd6e0; }
.gc-platform i { font-size: 0.78rem; }

/* SAMP "Server platform" picker - real OS logos in a two-tile radio group */
.os-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.os-picker .os-opt { position: relative; cursor: pointer; }
.os-picker .os-opt input {                                /* real radio, visually hidden */
  position: absolute; opacity: 0; pointer-events: none; inset: 0;
}
.os-picker .os-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border-2);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.os-picker .os-tile img { flex: none; width: 26px; height: 26px; object-fit: contain; }
.os-picker .os-tile b { font-family: "Fira Sans", sans-serif; font-weight: 700; color: var(--text); }
.os-picker .os-tile small { color: var(--faint); font-size: 0.78rem; margin-left: auto; }
.os-picker .os-opt:hover .os-tile { border-color: var(--border-blue); }
.os-picker .os-opt input:checked + .os-tile {
  border-color: var(--blue); background: rgba(2, 157, 246, 0.08);
  box-shadow: 0 0 0 2px rgba(2, 157, 246, 0.25);
}
.os-picker .os-opt input:focus-visible + .os-tile { box-shadow: 0 0 0 3px rgba(2, 157, 246, 0.35); }
@media (max-width: 520px) { .os-picker { grid-template-columns: 1fr; } .os-tile small { display: none; } }
.gc-price {
  position: absolute; bottom: 10px; left: 10px; z-index: 3;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 0.82rem;
  color: #fff; background: rgba(11, 16, 22, 0.82); backdrop-filter: blur(4px);
  padding: 5px 11px; border-radius: var(--radius-xs);
}
.gc-go {
  position: absolute; bottom: 10px; right: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 0.76rem; font-weight: 600;
  color: #fff; background: var(--blue); padding: 6px 12px; border-radius: var(--radius-xs);
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s;
}
#games-grid .game-card:hover .gc-go { opacity: 1; transform: none; }
@media (max-width: 1100px) { #games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { #games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { #games-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   "Why QGS" split layout (game pages) - four bars, logo, four bars
   =================================================================== */
.why-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.wq-col { display: flex; flex-direction: column; gap: 3rem; }
.wq-card {
  display: flex; align-items: flex-start; gap: 14px;
  min-height: 124px; box-sizing: border-box;
  padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.wq-card:hover { border-color: var(--border-blue); background: var(--surface-2); }
.wq-ico {
  flex: none; width: 42px; height: 42px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(2, 157, 246, 0.12); color: var(--blue-bright); font-size: 1.05rem;
}
.wq-txt { min-width: 0; }
.wq-txt h3 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: 0.01em;
  margin: 2px 0 5px;
}
.wq-txt p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.55; }

.wq-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px;
}
.wq-logo img { width: 220px; max-width: 100%; height: auto; opacity: 0.95; }

/* Stack the columns and drop the logo between them on narrower screens */
@media (max-width: 1040px) {
  .why-split { grid-template-columns: 1fr; gap: 18px; }
  .wq-logo { order: -1; padding: 0 0 6px; }
  .wq-logo img { width: 190px; }
}

/* --- Why-QGS: symmetric stagger ------------------------------------------
   Cards 1 and 4 step in by the same amount, 2 and 3 step out by the same
   amount, and the right column mirrors the left. translateX (not margin)
   keeps every card the same width - a margin would only move one edge and
   stretch the box. body has overflow-x:hidden, so the outward shift can't
   create a scrollbar. */
.why-split .wq-col:first-child .wq-card:nth-child(1),
.why-split .wq-col:first-child .wq-card:nth-child(4) { transform: translateX(50px); }
.why-split .wq-col:first-child .wq-card:nth-child(2),
.why-split .wq-col:first-child .wq-card:nth-child(3) { transform: translateX(-100px); }

.why-split .wq-col:last-child  .wq-card:nth-child(1),
.why-split .wq-col:last-child  .wq-card:nth-child(4) { transform: translateX(-50px); }
.why-split .wq-col:last-child  .wq-card:nth-child(2),
.why-split .wq-col:last-child  .wq-card:nth-child(3) { transform: translateX(100px); }

/* --- Why-QGS: animated halo around the logo ------------------------------
   Built from a rotating border-arc rather than an animated CSS mask: the
   masked conic-gradient version left white repaint artifacts across the
   section on some Chrome builds. A transparent-bordered circle with two lit
   edges composites cleanly and needs no negative z-index. */
.wq-logo { position: relative; }
.wq-logo::before,
.wq-logo::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  border-radius: 50%; pointer-events: none;
}
/* soft breathing glow */
.wq-logo::before {
  width: 360px; height: 360px; margin: -180px 0 0 -180px;
  background: radial-gradient(circle, rgba(2,157,246,0.30) 0%, rgba(2,157,246,0.11) 45%, transparent 70%);
  animation: wqGlow 4.5s ease-in-out infinite;
}
/* slow rotating arc ring */
.wq-logo::after {
  width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border: 2px solid rgba(2, 157, 246, 0.12);
  border-top-color: rgba(150, 230, 255, 0.95);
  border-right-color: rgba(2, 157, 246, 0.62);
  border-left-color: rgba(2, 157, 246, 0.28);
  box-shadow: 0 0 26px -6px rgba(2, 157, 246, 0.55);
  animation: wqSpin 9s linear infinite;
  will-change: transform;
}
.wq-logo img { position: relative; }
@keyframes wqGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
@keyframes wqSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .wq-logo::before, .wq-logo::after { animation: none; }
}
@media (max-width: 1040px) {
  /* Stacked layout: the stagger only reads as an arc beside the logo, so drop
     it, and pull the 3rem column rhythm in - eight cards at that spacing turn
     the section into dead scrolling on a phone. Both gaps match so the eight
     cards read as one list rather than two groups. */
  .why-split { grid-template-columns: 1fr; gap: 14px; }
  .why-split .wq-col { gap: 14px; }
  .why-split .wq-col .wq-card { transform: none !important; }
  .wq-logo { order: -1; padding: 4px 0 10px; }
  .wq-logo img { width: 190px; }
  .wq-logo::before { width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .wq-logo::after  { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
}

@media (max-width: 560px) {
  /* Narrow phones: the copy wraps to 4-5 lines here, so a fixed min-height
     just adds empty space - let the card size to its content instead. */
  .why-split, .why-split .wq-col { gap: 8px; }
  .wq-card { min-height: 0; padding: 14px; gap: 12px; }
  .wq-ico { width: 36px; height: 36px; font-size: 0.95rem; }
  .wq-txt h3 { font-size: 0.94rem; margin: 1px 0 4px; }
  .wq-txt p { font-size: 0.85rem; line-height: 1.5; }
  .wq-logo img { width: 165px; }
  .wq-logo::before { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
  .wq-logo::after  { width: 168px; height: 168px; margin: -84px 0 0 -84px; }
}
}

/* --- promo: struck original price on catalog cards + configurator slides --- */
.gc-price s { color: var(--faint); text-decoration-color: rgba(255, 93, 108, 0.85); margin-right: 2px; }
.pc-was {
  display: block; text-align: center; line-height: 1;
  font-size: 0.95rem; font-weight: 600; color: var(--faint);
  text-decoration: line-through; text-decoration-color: rgba(255, 93, 108, 0.85);
}
[data-promo-price] s { color: var(--faint); text-decoration-color: rgba(255, 93, 108, 0.85); margin-right: 3px; }

/* os-picker tiles can carry an icon instead of a logo image (Terraria crossplay) */
.os-picker .os-tile i { flex: none; width: 26px; font-size: 1.05rem; color: var(--blue-bright); text-align: center; }

/* --- Trustpilot TrustBox ---------------------------------------------------
   The official widget replaces the contents of .trustpilot-widget once its
   bootstrap script loads. Until then the original static rating stays visible
   as a fallback, so the block never renders empty. */
.tp-wrap { display: inline-block; min-height: 24px; }
.tp-wrap.hero-trust { display: block; max-width: none; }
.tp-wrap.hero-trust .tp-box { max-width: 320px; }
/* keep the fallback rating on one row */
a.gh-trust.hero-trust { flex-wrap: nowrap; white-space: nowrap; }
@media (max-width: 640px) { a.gh-trust.hero-trust { flex-wrap: wrap; white-space: normal; } }
.tp-box { min-height: 24px; }
.tp-fallback[hidden], .tp-box[hidden] { display: none !important; }

/* ===================================================================
   Plan card - qgs.bg layout: big price, boxed player count, resource block
   =================================================================== */
.plan-price {
  display: flex; align-items: flex-start; justify-content: center; gap: 6px;
  margin: 6px 0 2px;
}
.plan-amount { font-family: "Fira Sans", sans-serif; font-weight: 700; color: #fff; line-height: 1; }
.plan-amount b { font-size: 3rem; font-weight: 700; letter-spacing: -0.02em; }
.plan-amount sup { font-size: 1.35rem; font-weight: 700; top: -0.85em; margin-left: 2px; }
.plan-price .cur { font-size: 1.9rem; font-weight: 700; color: var(--blue-bright); align-self: flex-start; margin-top: 2px; }
.plan-cycle {
  text-align: center; color: var(--muted);
  font-size: 0.9rem; font-weight: 600; margin-bottom: 14px;
}
/* recommended player count gets its own outlined line */
.plan-rec {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid var(--border-blue); border-radius: 5px;
  padding: 2px 5px; margin-bottom: 16px;
  font-size: 0.92rem; color: var(--text);
}
.plan-rec i { color: var(--blue-bright); font-size: 0.95rem; }
.plan-rec b { font-weight: 700; }

.plan-feats { display: grid; gap: 10px; margin-bottom: 18px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; color: var(--muted); }
.plan-feats li i { color: var(--blue-bright); font-size: 1.6rem; width: 1.25rem; text-align: center; margin-top: 0; flex: none; }
.plan-feats li.feat-off { color: var(--faint); }
.plan-feats li.feat-off i { color: #e0555f; }
.plan-feats li { align-items: center; }

.plan-res-head {
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 1rem; color: var(--muted);
  margin-bottom: 9px;
}
.plan-res { display: grid; gap: 9px; margin-bottom: 20px; }
.plan-res li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.plan-res li i { color: var(--blue-bright); font-size: 1.4rem; margin-top: 3px; flex: none; }

/* promo: struck original sits above the discounted figure */
.plan-price.has-promo { flex-direction: column; align-items: center; gap: 2px; }
.plan-price.has-promo .plan-now { display: inline-flex; align-items: flex-start; gap: 6px; }

/* ===================================================================
   "All packages include" - heading left, feature pills flowing right
   =================================================================== */
.incl {
  display: flex; align-items: center; gap: 34px;
  margin-top: 38px; padding-top: 30px;
  border-top: 1px solid var(--border);
}
.incl-title {
  flex: none; text-align: right; margin: 0;
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  font-size: 1.6rem; line-height: 1.15; letter-spacing: 0.01em; color: #fff;
}
.incl-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 0; padding: 0;
}
.incl-list li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  border-radius: 5px; padding: 9px 15px;
  font-size: 0.92rem; font-weight: 600;
  white-space: nowrap;
}
.incl-list li i { font-size: 0.92rem; opacity: 0.95; }

@media (max-width: 900px) {
  .incl { flex-direction: column; align-items: flex-start; gap: 18px; }
  .incl-title { text-align: left; font-size: 1.35rem; }
  .incl-list { gap: 8px; }
  .incl-list li { font-size: 0.85rem; padding: 8px 12px; }
}

/* ===================================================================
   "Play <game> multiplayer" - media left, copy right
   =================================================================== */
.mpx { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.mpx-media { min-width: 0; }
.mpx-media .video-embed { margin: 0; }
.mpx-shot {
  width: 100%; height: auto; display: block;
}
.mpx-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase;
  line-height: 1.12; margin: 0 0 16px;
}
.mpx-copy p { color: var(--muted); line-height: 1.7; margin: 0 0 14px; }
.mpx-copy p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .mpx { grid-template-columns: 1fr; gap: 24px; }
  .mpx-copy h2 { font-size: 1.6rem; }
}

/* reversed variant of the media/copy split + its checklist */
.mpx-rev { grid-template-columns: 1fr 1.05fr; }
.cx-list { display: grid; gap: 11px; margin: 18px 0 0; padding: 0; list-style: none; }
.cx-list li { display: flex; align-items: center; gap: 11px; font-size: 0.94rem; color: var(--muted); }
.cx-list li i { color: var(--blue-bright); font-size: 1.2rem; width: 1.2rem; text-align: center; flex: none; }
.cx-list li b { color: var(--text); }
@media (max-width: 900px) {
  .mpx-rev { grid-template-columns: 1fr; }
  .mpx-rev .mpx-media { order: -1; }        /* image first when stacked */
}

/* ===================================================================
   Gameplay video modal
   =================================================================== */
.vid-modal {
  position: fixed; inset: 0; z-index: 220;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.vid-modal.open { display: flex; }
.vid-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 10, 16, 0.82); backdrop-filter: blur(4px);
}
.vid-modal-panel {
  position: relative; z-index: 1;
  width: min(1100px, 100%);
  animation: vidModalIn 0.22s var(--ease);
}
@keyframes vidModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.vid-modal-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #000; overflow: hidden;
  border: 3px solid var(--blue); border-radius: 0px;
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.8);
}
.vid-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-modal-close {
  position: absolute; top: -46px; right: 0;
  width: 38px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center;
  background: #379df6; border: 1px solid var(--border-2);
  border-radius: 5px; color: #ffffff; cursor: pointer; font-size: 1rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.vid-modal-close:hover, .vid-modal-close:focus-visible {
  border-color: var(--blue); color: #ffffff; background: #379df6; outline: none;
}
.vid-modal-alt {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; font-size: 0.92rem; font-weight: 600;
  color: var(--muted); transition: color 0.2s;
}
.vid-modal-alt:hover, .vid-modal-alt:focus-visible { color: var(--blue-bright); outline: none; }
@media (max-width: 640px) {
  .vid-modal { padding: 14px; }
  .vid-modal-close { top: -42px; }
  .vid-modal-alt { font-size: 0.85rem; }
}

/* ===================================================================
   CS 1.6 game-mode picker (icon list over the plain <select>)
   =================================================================== */
.csmode { position: relative; }
.csmode-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border-2); border-radius: var(--radius-xs);
  padding: 10px 12px; font-size: 0.95rem; cursor: pointer; text-align: left;
}
.csmode-btn:focus, .csmode.open .csmode-btn { outline: none; border-color: var(--blue); }
.csmode-btn i.fa-chevron-down { color: var(--muted); font-size: 0.8rem; transition: transform 0.2s; }
.csmode.open .csmode-btn i.fa-chevron-down { transform: rotate(180deg); }
.csmode-cur { display: flex; align-items: center; gap: 10px; min-width: 0; }
.csmode-cur span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csm-ic { width: 30px; height: 30px; object-fit: contain; flex: none; border-radius: 4px; }
.csm-ic-fa { display: inline-flex; align-items: center; justify-content: center; color: var(--blue-bright); font-size: 1rem; }
.csmode-pop {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.7); overflow: hidden;
}
.csmode-search { position: relative; padding: 10px; border-bottom: 1px solid var(--border); }
.csmode-search i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--faint); font-size: 0.85rem; }
.csmode-search input {
  width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--border-2);
  border-radius: var(--radius-xs); padding: 10px 12px 10px 34px; font-size: 0.92rem;
}
.csmode-search input:focus { outline: none; border-color: var(--blue); }
.csmode-list { max-height: 330px; overflow-y: auto; padding: 6px; }
.csmode-opt {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; border-radius: var(--radius-xs); cursor: pointer;
  font-size: 0.93rem; color: var(--muted);
}
.csmode-opt[hidden] { display: none !important; }
.csmode-opt:hover { background: var(--surface-2); color: var(--text); }
.csmode-opt.sel { background: rgba(2, 157, 246, 0.14); color: var(--blue-bright); }
.csmode-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* ===== Ryzen VPS page: machine-type switch + plan cards =====
   Own classes rather than .plan on purpose - main.js rewrites every .plan with
   the site-wide game-server promo, which does not apply to VPS pricing. ===== */
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 62ch; margin: 14px 0 6px; }
.hero-sub b { color: var(--text); }

.vps-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 30px; }
.vps-cat {
  display: flex; align-items: flex-start; gap: 16px; text-align: left; cursor: pointer;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 2px solid var(--border); border-radius: 6px; padding: 22px 22px;
  color: var(--text); font-family: inherit;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.vps-cat:hover { transform: translateY(-3px); border-color: var(--border-blue); }
.vps-cat.active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-blue); }
.vps-cat-ico {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--blue-bright); font-size: 1.5rem;
}
.vps-cat.active .vps-cat-ico { background: var(--grad-blue); border-color: var(--border-blue); color: #fff; }
.vps-cat-body { display: flex; flex-direction: column; gap: 7px; }
.vps-cat-body b { font-family: "Oswald", sans-serif; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; }
.vps-cat-body small { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.vps-cat-from { color: var(--blue-bright); font-weight: 700; font-size: 0.92rem; }

.vps-panel[hidden] { display: none; }
.vps-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 22px; }
.vps-plan {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 5px solid var(--border); border-radius: 0; padding: 26px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.vps-plan:hover { transform: translateY(-5px); border-color: var(--border-blue); box-shadow: var(--shadow-blue); }
.vps-plan.popular { border-color: var(--border-blue); box-shadow: 0 0 0 1px var(--border-blue), var(--shadow-blue); }
.vps-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad-accent); color: #fff; font-family: "Fira Sans", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; padding: 5px 12px; white-space: nowrap;
}
.vps-plan-name {
  font-family: "Oswald", sans-serif; font-size: 1.12rem; text-transform: uppercase;
  letter-spacing: 0.02em; color: var(--text); margin-bottom: 12px;
}
.vps-plan-name span { color: var(--muted); font-weight: 500; }
.vps-price { display: flex; align-items: flex-start; justify-content: center; gap: 4px; margin-bottom: 2px; }
.vps-amount { font-family: "Fira Sans", sans-serif; font-weight: 700; color: #fff; line-height: 1; transition: opacity 0.2s; }
.vps-amount b { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; }
.vps-amount sup { font-size: 1.15rem; font-weight: 700; top: -0.85em; margin-left: 2px; }
.vps-price .cur { font-size: 1.6rem; font-weight: 700; color: var(--blue-bright); align-self: flex-start; margin-top: 2px; }
.vps-cycle { text-align: center; color: var(--muted); font-size: 0.86rem; margin-bottom: 8px; }
.vps-save {
  text-align: center; font-size: 0.82rem; font-weight: 700; color: var(--blue-bright);
  background: rgba(2, 157, 246, 0.12); border: 1px solid var(--border-blue); padding: 5px 8px; margin-bottom: 14px;
}
.vps-save[hidden] { display: none !important; }

/* VPS-only promotion (data/site-config.json -> vpsPromo): struck price above
   the discounted one, plus the code pill. Kept separate from .plan-promo so the
   game-server promo and the VPS promo can never style each other. */
.vps-was {
  text-align: center; font-size: 1.05rem; font-weight: 600; color: var(--faint); line-height: 1;
  text-decoration: line-through; text-decoration-color: rgba(255, 93, 108, 0.85); margin-bottom: 2px;
}
.vps-promo {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 12px;
  font-size: 0.78rem; font-weight: 600; color: var(--green);
  background: rgba(55, 226, 154, 0.1); border: 1px solid rgba(55, 226, 154, 0.35); padding: 4px 10px;
}
.vps-promo b { color: #fff; letter-spacing: 0.05em; }
.vps-promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 auto 22px; max-width: 560px; padding: 10px 16px;
  font-size: 0.92rem; color: var(--text);
  background: rgba(55, 226, 154, 0.08); border: 1px solid rgba(55, 226, 154, 0.35);
  border-radius: var(--radius-sm);
}
.vps-promo-bar i { color: var(--green); }
.vps-promo-bar b { color: var(--green); }
.vps-promo-bar[hidden] { display: none !important; }
.os-addon.os-discount span,
.os-addon.os-discount b { color: var(--green); }
.vps-specs { display: grid; gap: 9px; margin: 14px 0 20px; }
.vps-specs li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.vps-specs li i { color: var(--blue-bright); font-size: 1.2rem; width: 1.3rem; text-align: center; margin-top: 2px; flex: none; }
.vps-specs li b { color: var(--text); font-weight: 700; }
.vps-specs li small { display: block; color: var(--faint); font-size: 0.8rem; }
.vps-order { margin-top: auto; }
.vps-note { margin-top: 18px; color: var(--faint); font-size: 0.88rem; text-align: center; }
.vps-note i { color: var(--blue); margin-right: 6px; }

@media (max-width: 1100px) { .vps-plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .vps-switch { grid-template-columns: 1fr; } .vps-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .vps-plans { grid-template-columns: 1fr; } .vps-cat { padding: 18px 16px; } }

/* ===== Cloud VPS configurator: OS picker, add-ons, stepper ===== */
.osp-tabs { display: flex; gap: 8px; margin: 4px 0 16px; flex-wrap: wrap; }
.osp-tab {
  background: var(--surface-2); border: 1px solid var(--border-2); color: var(--muted);
  font-family: inherit; font-size: 0.88rem; font-weight: 600; padding: 9px 16px;
  border-radius: 5px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.osp-tab:hover { color: var(--text); border-color: var(--border-blue); }
.osp-tab.active { background: var(--grad-blue); border-color: var(--border-blue); color: #fff; }
.osp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.osp-grid[hidden] { display: none; }
.osp-card {
  display: flex; flex-direction: column; gap: 9px; cursor: pointer;
  background: var(--surface); border: 2px solid var(--border); border-radius: 6px; padding: 14px 14px 12px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.osp-card:hover { border-color: var(--border-blue); transform: translateY(-2px); }
.osp-card.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.osp-head { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 0.97rem; }
.osp-head i { color: var(--blue-bright); font-size: 1.2rem; width: 1.4rem; text-align: center; }
.osp-version {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text);
  font-family: inherit; font-size: 0.86rem; padding: 7px 9px; border-radius: 4px; cursor: pointer;
}
.osp-tag { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.osp-card.selected .osp-tag { color: var(--blue-bright); }

.vps-addon {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  padding: 16px 18px; margin-bottom: 12px;
}
.vps-addon-main { flex: 1 1 320px; }
.vps-addon-main b { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 1rem; margin-bottom: 5px; }
.vps-addon-main b i { color: var(--blue-bright); }
.vps-addon-main small { color: var(--muted); font-size: 0.88rem; line-height: 1.5; display: block; }
.vps-addon-side { display: flex; align-items: center; gap: 14px; flex: none; }
.vps-addon-price { color: var(--blue-bright); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.vps-chip {
  background: rgba(2, 157, 246, 0.14); border: 1px solid var(--border-blue); color: var(--blue-bright);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 7px; border-radius: 3px;
}
.vps-toggle { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; cursor: pointer; }
.vps-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.vps-toggle span {
  position: absolute; inset: 0; background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: 999px; transition: background 0.2s, border-color 0.2s;
}
.vps-toggle span::before {
  content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px;
  background: var(--muted); border-radius: 50%; transition: transform 0.2s, background 0.2s;
}
.vps-toggle input:checked + span { background: var(--grad-blue); border-color: var(--border-blue); }
.vps-toggle input:checked + span::before { transform: translateX(20px); background: #fff; }
.vps-toggle input:focus-visible + span { box-shadow: 0 0 0 3px rgba(2, 157, 246, 0.3); }

.vps-stepper { display: inline-flex; align-items: center; gap: 4px; }
.vps-stepper button {
  width: 32px; height: 32px; background: var(--surface-2); border: 1px solid var(--border-2);
  color: var(--text); font-size: 1.1rem; line-height: 1; border-radius: 5px; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.vps-stepper button:hover { background: var(--grad-blue); border-color: var(--border-blue); color: #fff; }
.vps-stepper span { min-width: 66px; text-align: center; color: var(--text); font-weight: 700; font-size: 0.92rem; }

@media (max-width: 560px) {
  .osp-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .vps-addon-side { width: 100%; justify-content: space-between; }
}

/* VPS size chips - same look as .pkg-chip, own class so main.js's site-wide
   game promo (which rewrites `.pkg-chip span`) cannot discount VPS pricing. */
.vps-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vps-size {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 16px 12px; cursor: pointer; font-family: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.vps-size:hover { border-color: var(--border-blue); }
.vps-size.active { border-color: var(--blue); background: rgba(2, 157, 246, 0.14); box-shadow: 0 0 0 1px var(--blue), 0 8px 22px -12px var(--blue-glow); }
.vps-size b { font-family: "Oswald", sans-serif; font-size: 1.05rem; color: #fff; }
.vps-size.active b { color: var(--blue-bright); }
.vps-size span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 900px) { .vps-sizes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .vps-sizes { grid-template-columns: repeat(2, 1fr); } }

/* "RAM boost" line in a plan's Resource list = the product's swap in WHMCS.
   Highlighted, since it is extra memory on top of the plan's RAM. */
.plan-res li.res-boost { color: var(--text); }
.plan-res li.res-boost i { color: #ffc24b; }
.plan-res li.res-boost b { color: #ffc24b; }

/* "New version 1.4.7" pill above the hero headline, shown only on slides
   whose data-badge is set (see #hero-slider in index.html). */
.hero-newver {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 14px; padding: 5px 13px; border-radius: 5px;
    background: rgba(2,157,246,.16); border: 1px solid rgba(2,157,246,.42);
    color: #eaf4ff; font-family: "Oswald", "Fira Sans", sans-serif;
    font-size: .82rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
}
/* the attribute alone loses to display:inline-flex above */
.hero-newver[hidden] { display: none !important; }
.hero-newver i { color: var(--blue-bright); font-size: .8rem; }
.hero-newver b { font-weight: 500; }
.hero-newver span { color: var(--blue-bright); font-weight: 700; }
