/* =============================================================
   Allstar Gaming Hosting — Design System
   ============================================================= */

/* ----- Design Tokens ----- */
:root {
  /* Brand palette */
  --violet-300: #b7a6ff;
  --violet-400: #9b86ff;
  --violet-500: #7c5cff;
  --violet-600: #6a45f5;
  --violet-700: #5836d6;
  --cyan-400: #34e3d0;
  --cyan-500: #14d0c4;
  --gold-400: #ffc94d;
  --gold-500: #ffb020;

  /* Surfaces (dark) */
  --bg: #080a12;
  --bg-2: #0c0f1c;
  --surface: #12162a;
  --surface-2: #171c34;
  --surface-3: #1e2440;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #eef1fb;
  --text-muted: #a4acc7;
  --text-dim: #6f7796;

  /* Feedback */
  --success: #35d67f;
  --warning: #ffb020;
  --danger: #ff5c72;

  /* Effects */
  --grad-brand: linear-gradient(120deg, #7c5cff 0%, #9b86ff 45%, #34e3d0 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(124, 92, 255, 0.18), rgba(52, 227, 208, 0.14));
  --grad-gold: linear-gradient(120deg, #ffc94d, #ff8f3d);
  --glow-violet: 0 0 0 1px rgba(124, 92, 255, 0.4), 0 18px 50px -12px rgba(124, 92, 255, 0.55);
  --shadow-lg: 0 30px 60px -25px rgba(0, 0, 0, 0.75);
  --shadow-md: 0 16px 40px -20px rgba(0, 0, 0, 0.65);

  /* Layout */
  --maxw: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --nav-h: 74px;
}

/* ----- Reset & base ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% -5%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(50% 45% at 95% 0%, rgba(52, 227, 208, 0.14), transparent 60%),
    radial-gradient(45% 40% at 80% 100%, rgba(124, 92, 255, 0.10), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1rem; color: var(--text-muted); }

::selection { background: rgba(124, 92, 255, 0.4); color: #fff; }

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-720 { max-width: 720px; }
.maxw-640 { max-width: 640px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Eyebrow / section heads ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-300);
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(124, 92, 255, 0.10);
  border: 1px solid rgba(124, 92, 255, 0.24);
}
.eyebrow--gold { color: var(--gold-400); background: rgba(255, 176, 32, 0.10); border-color: rgba(255, 176, 32, 0.28); }
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head p { font-size: 1.08rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-muted); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad-brand);
  color: #0a0b12;
  box-shadow: 0 14px 34px -14px rgba(124, 92, 255, 0.8);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(124, 92, 255, 0.95); }
.btn-gold { background: var(--grad-gold); color: #241300; box-shadow: 0 14px 34px -14px rgba(255, 176, 32, 0.7); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); border-color: rgba(255,255,255,0.28); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--violet-400); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ----- Cards ----- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card--hover:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: var(--violet-300);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.97rem; }

/* ----- Navbar ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(8, 10, 18, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(8, 10, 18, 0.9); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; letter-spacing: -0.02em; color: #fff; }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand span { color: var(--violet-300); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 15px;
  border-radius: 100px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav__links a.active { color: #fff; background: rgba(124, 92, 255, 0.16); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  width: 44px; height: 44px;
  color: #fff;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(8, 10, 18, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a { padding: 13px 16px; border-radius: 12px; color: var(--text-muted); font-weight: 500; }
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(124, 92, 255, 0.14); color: #fff; }
.mobile-menu .btn { margin-top: 10px; }

/* ----- Hero ----- */
.hero { position: relative; padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero p.lead { margin-bottom: 32px; max-width: 560px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.hero__badge { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 0.92rem; }
.hero__badge svg { width: 20px; height: 20px; color: var(--cyan-400); flex-shrink: 0; }

/* Hero console mockup */
.console {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.console__dot { width: 11px; height: 11px; border-radius: 50%; }
.console__dot.r { background: #ff5f57; }
.console__dot.y { background: #febc2e; }
.console__dot.g { background: #28c840; }
.console__title { margin-left: 10px; font-family: var(--font-display); font-size: 0.85rem; color: var(--text-dim); }
.console__body { padding: 22px; }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--border); }
.stat-row:last-child { border-bottom: none; }
.stat-row .label { color: var(--text-muted); font-size: 0.92rem; display: flex; align-items: center; gap: 9px; }
.stat-row .label svg { width: 17px; height: 17px; color: var(--violet-300); }
.stat-row .value { font-family: var(--font-display); font-weight: 600; }
.pill { font-size: 0.76rem; font-weight: 600; padding: 4px 11px; border-radius: 100px; font-family: var(--font-display); letter-spacing: 0.02em; }
.pill--online { background: rgba(53, 214, 127, 0.14); color: var(--success); border: 1px solid rgba(53,214,127,0.3); }
.meter { height: 7px; border-radius: 100px; background: rgba(255,255,255,0.08); overflow: hidden; width: 130px; }
.meter > span { display: block; height: 100%; border-radius: 100px; background: var(--grad-brand); }

.console__float {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(18, 22, 42, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 11px 15px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-display);
}
.console__float svg { width: 22px; height: 22px; }
.console__float.tl { top: -22px; left: -26px; color: var(--cyan-400); }
.console__float.br { bottom: -22px; right: -26px; color: var(--gold-400); }

/* ----- Logo / trust strip ----- */
.trust { padding: 34px 0; border-block: 1px solid var(--border); }
.trust__label { text-align: center; color: var(--text-dim); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; font-family: var(--font-display); }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; }
.trust__row .chip {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text-muted); font-weight: 600; font-family: var(--font-display);
  font-size: 1rem; opacity: 0.8; transition: opacity 0.2s ease;
}
.trust__row .chip:hover { opacity: 1; }
.trust__row .chip svg { width: 22px; height: 22px; color: var(--violet-300); }

/* ----- Stats band ----- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 30px 20px; }
.stat-card .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; margin-bottom: 8px; }
.stat-card .lbl { color: var(--text-muted); font-size: 0.94rem; }

/* ----- Feature grid ----- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ----- Game cards ----- */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.game-card__art { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; overflow: hidden; }
.game-card__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,10,18,0.72)); }
.game-card__art svg.glyph { width: 66px; height: 66px; color: rgba(255,255,255,0.92); position: relative; z-index: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.game-card__pattern { position: absolute; inset: 0; opacity: 0.5; background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px); background-size: 16px 16px; }
.game-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game-card__body h3 { font-size: 1.12rem; margin: 0; }
.game-card__meta { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 8px; }
.game-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.game-card__price { font-family: var(--font-display); font-size: 0.92rem; color: var(--text-muted); }
.game-card__price b { color: #fff; font-size: 1.15rem; }
.game-card__cta { font-size: 0.85rem; font-weight: 600; color: var(--violet-300); display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); }
.game-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; padding: 5px 11px; border-radius: 100px; background: rgba(8,10,18,0.7); border: 1px solid var(--border-strong); backdrop-filter: blur(6px); }
.game-card__badge.popular { background: var(--grad-gold); color: #241300; border-color: transparent; }

/* ----- Catalog filter ----- */
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 34px; flex-wrap: wrap; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar button {
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  font-family: var(--font-display); font-weight: 500; font-size: 0.88rem;
  padding: 9px 16px; border-radius: 100px; transition: all 0.2s;
}
.filter-bar button:hover { color: #fff; border-color: var(--border-strong); }
.filter-bar button.active { background: var(--grad-brand); color: #0a0b12; border-color: transparent; }
.search-box { position: relative; min-width: 240px; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-dim); }
.search-box input {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  padding: 11px 16px 11px 42px; color: var(--text); font-family: var(--font-body); font-size: 0.92rem;
}
.search-box input:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 3px rgba(124,92,255,0.15); }
.empty-state { display: none; text-align: center; padding: 60px 20px; color: var(--text-dim); }

/* ----- Pricing ----- */
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; margin: 0 auto 44px; padding: 6px; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); }
.billing-toggle button {
  border: none; background: transparent; color: var(--text-muted);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  padding: 10px 20px; border-radius: 100px; transition: color 0.2s, background 0.2s; position: relative;
}
.billing-toggle button.active { background: var(--grad-brand); color: #0a0b12; }
.billing-toggle .save { font-size: 0.7rem; margin-left: 6px; color: var(--gold-400); font-weight: 700; }
.billing-toggle button.active .save { color: #241300; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.plan--featured { border-color: rgba(124, 92, 255, 0.6); box-shadow: var(--glow-violet); }
.plan--featured::before {
  content: "Most Popular";
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--grad-brand); color: #0a0b12;
  font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.05em;
  padding: 6px 16px; border-radius: 100px;
}
.plan__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 6px; }
.plan__desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 22px; min-height: 40px; }
.plan__price { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 4px; }
.plan__price .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.9rem; line-height: 1; }
.plan__price .cur { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 4px; color: var(--text-muted); }
.plan__price .per { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 6px; }
.plan__ram { color: var(--violet-300); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.94rem; color: var(--text-muted); }
.plan li svg { width: 19px; height: 19px; color: var(--success); flex-shrink: 0; margin-top: 1px; }
.plan li.muted { color: var(--text-dim); }
.plan li.muted svg { color: var(--text-dim); }
.plan .btn { margin-top: auto; }

/* ----- Split feature ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 18px; }
.feature-list li { display: flex; gap: 15px; align-items: flex-start; }
.feature-list .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand-soft); border: 1px solid rgba(124,92,255,0.28); color: var(--violet-300); }
.feature-list .ico svg { width: 21px; height: 21px; }
.feature-list h4 { font-family: var(--font-display); font-size: 1.02rem; margin: 2px 0 4px; color: #fff; }
.feature-list p { margin: 0; font-size: 0.93rem; }

/* Panel mockup card */
.panel-mock {
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.panel-mock__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.panel-mock__head .t { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.panel-mock__head .t svg { width: 20px; height: 20px; color: var(--violet-300); }
.panel-mock__body { padding: 20px; display: grid; gap: 14px; }
.mini-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stat > div { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.mini-stat .k { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.mini-stat .v { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-top: 4px; }
.mini-stat .v.on { color: var(--success); }
.console-lines { background: #070911; border: 1px solid var(--border); border-radius: 12px; padding: 16px; font-family: "SFMono-Regular", ui-monospace, Menlo, monospace; font-size: 0.8rem; line-height: 1.7; color: var(--text-muted); overflow: hidden; }
.console-lines .ln { white-space: nowrap; }
.console-lines .c-green { color: var(--success); }
.console-lines .c-violet { color: var(--violet-300); }
.console-lines .c-gold { color: var(--gold-400); }
.console-lines .c-dim { color: var(--text-dim); }

/* ----- Map / network ----- */
.map-wrap { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--bg-2)); padding: 40px; overflow: hidden; }
.location-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.loc {
  display: flex; align-items: center; gap: 13px;
  padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: border-color 0.2s, transform 0.2s;
}
.loc:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.loc .flag { font-size: 1.7rem; line-height: 1; }
.loc .city { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.loc .ping { font-size: 0.8rem; color: var(--success); display: flex; align-items: center; gap: 5px; }
.loc .ping::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }

/* ----- Testimonials ----- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { display: flex; flex-direction: column; gap: 18px; }
.quote__stars { display: flex; gap: 3px; color: var(--gold-400); }
.quote__stars svg { width: 18px; height: 18px; }
.quote__text { font-size: 1rem; color: var(--text); margin: 0; line-height: 1.6; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #0a0b12; }
.quote__name { font-family: var(--font-display); font-weight: 600; font-size: 0.94rem; }
.quote__role { font-size: 0.82rem; color: var(--text-dim); }

/* ----- FAQ ----- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color 0.2s; }
.faq__item.open { border-color: var(--border-strong); }
.faq__q { width: 100%; text-align: left; background: transparent; border: none; color: #fff; padding: 22px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__q svg { width: 22px; height: 22px; color: var(--violet-300); flex-shrink: 0; transition: transform 0.25s ease; }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a p { padding: 0 24px 22px; margin: 0; font-size: 0.97rem; }

/* ----- CTA band ----- */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(44px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(124,92,255,0.18), rgba(52,227,208,0.12)), var(--surface);
  border: 1px solid rgba(124, 92, 255, 0.3);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 90% at 50% 0%, rgba(124,92,255,0.28), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }

/* ----- Forms ----- */
.form-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--violet-300); }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--violet-500);
  background: rgba(124, 92, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4acc7' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-hint { font-size: 0.82rem; color: var(--text-dim); margin-top: 6px; }
.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: 0.9rem; color: var(--text-muted); }
.checkbox input { width: auto; margin-top: 3px; accent-color: var(--violet-500); }

.form-note {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 12px;
  background: rgba(53, 214, 127, 0.1);
  border: 1px solid rgba(53, 214, 127, 0.3);
  color: var(--success);
  font-size: 0.94rem;
  font-weight: 500;
  margin-top: 8px;
}
.form-note.show { display: flex; }
.form-note svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ----- Auth pages ----- */
.auth-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .brand { justify-content: center; margin-bottom: 8px; font-size: 1.4rem; }
.auth-switch { text-align: center; margin-top: 22px; color: var(--text-dim); font-size: 0.92rem; }
.auth-switch a { color: var(--violet-300); font-weight: 600; }
.auth-aside {
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.auth-feature { display: flex; gap: 14px; align-items: flex-start; }
.auth-feature .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-brand-soft); border: 1px solid rgba(124,92,255,0.28); color: var(--violet-300); flex-shrink: 0; }
.auth-feature .ico svg { width: 20px; height: 20px; }

/* ----- Steps ----- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; }
.step__num { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; background: var(--grad-brand); color: #0a0b12; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.94rem; margin: 0; }

/* ----- Page header ----- */
.page-header { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 44px); text-align: center; position: relative; }
.page-header h1 { margin-bottom: 18px; }
.page-header p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 640px; margin-inline: auto; }
.breadcrumb { display: inline-flex; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--text-dim); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--violet-300); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ----- Comparison table ----- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
table.compare thead th { font-family: var(--font-display); font-weight: 600; color: #fff; background: rgba(255,255,255,0.02); }
table.compare tbody td:first-child { color: var(--text); font-weight: 500; }
table.compare td { color: var(--text-muted); }
table.compare tr:last-child td { border-bottom: none; }
table.compare .yes { color: var(--success); font-weight: 600; }
table.compare .no { color: var(--text-dim); }
table.compare .hl { background: rgba(124, 92, 255, 0.06); }

/* ----- Deploy configurator ----- */
.cfg-section { margin-bottom: 34px; }
.cfg-section > h3 { font-size: 1.08rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.cfg-step { width: 28px; height: 28px; border-radius: 9px; background: var(--grad-brand); color: #0a0b12; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.opt-grid { display: grid; gap: 12px; }
.opt-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.opt-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label {
  display: flex; flex-direction: column; gap: 3px; cursor: pointer;
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 15px 17px;
  background: var(--surface); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; height: 100%;
}
.opt label .t { font-family: var(--font-display); font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.opt label .d { font-size: 0.85rem; color: var(--text-dim); }
.opt label .p { font-family: var(--font-display); font-weight: 600; color: var(--violet-300); font-size: 0.9rem; white-space: nowrap; }
.opt input:checked + label { border-color: var(--violet-500); background: rgba(124, 92, 255, 0.08); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.14); }
.opt input:focus-visible + label { border-color: var(--violet-400); }
.opt.flag label { flex-direction: row; align-items: center; gap: 10px; }
.opt.flag label .fl { font-size: 1.3rem; }

.order-summary { position: sticky; top: calc(var(--nav-h) + 20px); }
.order-line { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.order-line .k { color: var(--text-muted); }
.order-line .v { font-family: var(--font-display); font-weight: 600; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 6px; }
.order-total .k { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.order-total .v { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; }
.order-total .v small { font-size: 0.9rem; color: var(--text-dim); font-weight: 500; }

@media (max-width: 860px) {
  .opt-grid.cols-2, .opt-grid.cols-3 { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

/* ----- Footer ----- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer__brand p { font-size: 0.92rem; margin: 16px 0 20px; max-width: 300px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text-muted); transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.footer__social a:hover { color: #fff; border-color: var(--violet-400); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { color: var(--text-muted); font-size: 0.93rem; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.86rem; flex-wrap: wrap; }
.footer__bottom .status { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }

/* ----- Misc ----- */
.divider { height: 1px; background: var(--border); border: none; margin: 0; }
.badge-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; font-family: var(--font-display); padding: 4px 12px; border-radius: 100px; background: rgba(124,92,255,0.12); color: var(--violet-300); border: 1px solid rgba(124,92,255,0.24); }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }

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

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 520px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions .btn:not(.nav__toggle) { display: none; }
  .nav__toggle { display: flex; }
  .feature-grid, .price-grid, .quote-grid, .stats-band, .steps { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
@media (max-width: 520px) {
  .game-grid { grid-template-columns: 1fr; }
  .stats-band, .location-grid { grid-template-columns: 1fr; }
  .hero__badges { gap: 14px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .console__float { display: none; }
  h1 { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
