/* ============================================================
   Voxel — Minecraft Hosting
   "Cozy / cosmos" theme — soft charcoal, gentle lilac,
   low contrast, rounded, buttery-smooth.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces — soft charcoal, never stark black */
  --bg:           #111014;
  --bg-soft:      #0d0c10;
  --surface:      #18161d;
  --surface-2:    #1e1c25;
  --elevated:     #24222c;

  /* Lines / strokes — whisper-soft */
  --border:       rgba(255, 255, 255, 0.06);
  --border-strong:rgba(255, 255, 255, 0.10);

  /* Text — gentle, low-contrast (cozy on the eyes) */
  --text:         #ECEAF2;
  --text-soft:    #A6A2B4;
  --text-dim:     #706C7F;

  /* Brand — soft dreamy lilac, used with restraint */
  --brand:        #AC9BFF;
  --brand-bright: #C5BAFF;
  --brand-deep:   #8472E6;
  --brand-ink:    #14101f;
  --brand-glow:   rgba(172, 155, 255, 0.40);
  --brand-soft:   rgba(172, 155, 255, 0.16);
  --brand-tint:   rgba(172, 155, 255, 0.08);

  /* A second, even softer warm highlight for tiny moments */
  --peach:        #F7C7A8;

  /* Radii — rounded & friendly */
  --radius-sm:    12px;
  --radius:       18px;
  --radius-lg:    26px;
  --radius-xl:    32px;
  --radius-pill:  999px;

  /* Soft, diffuse shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,.25);
  --shadow:       0 24px 60px -28px rgba(0,0,0,.6);
  --shadow-lg:    0 50px 110px -40px rgba(0,0,0,.7);
  --shadow-brand: 0 40px 90px -36px rgba(172,155,255,.40);

  --maxw:         1140px;
  --gutter:       24px;

  /* Buttery easings */
  --ease:         cubic-bezier(.22, 1, .36, 1);
  --ease-soft:    cubic-bezier(.4, 0, .2, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);

  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head:    'Plus Jakarta Sans', var(--font-sans);
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--brand-soft); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Soft custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2832; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #38343f; }
html { scrollbar-color: #2a2832 var(--bg); scrollbar-width: thin; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 11vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 84px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--brand);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand-glow);
}

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }

.section-head h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  margin-top: 16px;
  letter-spacing: -.03em;
  font-weight: 700;
}
.section-head p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-top: 16px;
  line-height: 1.7;
}

.text-grad {
  background: linear-gradient(120deg, var(--text), var(--brand-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: transform .4s var(--ease), background .35s var(--ease), box-shadow .4s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 12px 30px -12px var(--brand-glow);
}
.btn--primary:hover {
  background: var(--brand-bright);
  box-shadow: 0 18px 44px -12px var(--brand-glow);
  transform: translateY(-3px);
}
.btn--ghost {
  background: rgba(255,255,255,.035);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); transform: translateY(-3px); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-arrow { transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed;
  inset: 14px 0 auto 0;
  z-index: 100;
  transition: inset .45s var(--ease);
}
.nav__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: 12px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: rgba(20, 18, 25, 0.66);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-color: var(--border);
  box-shadow: var(--shadow);
  padding-inline: 18px 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  padding-left: 8px;
}
.brand__mark { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 4px 14px var(--brand-glow)); }
.brand__mark .cube-top { fill: var(--brand-bright); }
.brand__mark .cube-left { fill: var(--brand); }
.brand__mark .cube-right { fill: var(--brand-deep); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.nav__links a {
  color: var(--text-soft);
  font-size: .92rem;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .link-quiet {
  color: var(--text-soft);
  font-size: .92rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  transition: color .3s var(--ease);
}
.nav__actions .link-quiet:hover { color: var(--text); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
}
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: background .25s; }
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .35s var(--ease);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top: 6px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  position: fixed;
  inset: 88px 12px auto 12px;
  background: rgba(24, 22, 29, .96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: grid;
  gap: 4px;
  transform: translateY(-14px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: transform .42s var(--ease), opacity .42s var(--ease);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.nav.is-open .nav__mobile { transform: none; opacity: 1; pointer-events: auto; }
.nav__mobile a { padding: 14px 14px; border-radius: var(--radius); color: var(--text-soft); font-weight: 500; transition: background .3s, color .3s; }
.nav__mobile a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.nav__mobile a.btn { margin-top: 10px; }
.nav__mobile a.btn--primary { color: var(--brand-ink); justify-content: center; }
.nav__mobile a.btn--primary:hover { color: var(--brand-ink); background: var(--brand-bright); }

/* ============================================================
   Background atmosphere — soft drifting glows + starfield + grain
   ============================================================ */
.bg-atmos {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-atmos::before {  /* faint starfield dots */
  content: "";
  position: absolute; inset: -10%;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255,255,255,.18), transparent),
    radial-gradient(1.4px 1.4px at 70% 20%, rgba(255,255,255,.14), transparent),
    radial-gradient(1.2px 1.2px at 40% 70%, rgba(255,255,255,.12), transparent),
    radial-gradient(1.6px 1.6px at 85% 60%, rgba(255,255,255,.14), transparent),
    radial-gradient(1.2px 1.2px at 55% 45%, rgba(255,255,255,.10), transparent),
    radial-gradient(1.3px 1.3px at 15% 80%, rgba(255,255,255,.12), transparent),
    radial-gradient(1.2px 1.2px at 90% 90%, rgba(255,255,255,.10), transparent);
  background-size: 600px 600px, 700px 700px, 500px 500px, 800px 800px, 650px 650px, 550px 550px, 750px 750px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 0%, transparent 80%);
  opacity: .7;
}
.bg-atmos::after {  /* fine film grain for warmth */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .025;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}
.bg-glow--1 { top: -220px; left: 50%; width: 820px; height: 560px;
  background: radial-gradient(circle, rgba(172,155,255,.28), transparent 65%);
  transform: translateX(-50%);
  animation: drift1 22s ease-in-out infinite; }
.bg-glow--2 { top: 560px; right: -200px; width: 560px; height: 520px;
  background: radial-gradient(circle, rgba(132,114,230,.20), transparent 65%);
  animation: drift2 26s ease-in-out infinite; }
.bg-glow--3 { top: 1700px; left: -180px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(247,199,168,.10), transparent 65%);
  animation: drift1 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 36px); } }
@keyframes drift2 { 0%,100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 40px); } }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: 168px; padding-bottom: clamp(70px, 9vw, 116px); position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius-pill);
  font-size: .84rem;
  color: var(--text-soft);
  margin-bottom: 28px;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.hero__pill:hover { border-color: var(--brand-soft); background: var(--brand-tint); }
.hero__pill b { color: var(--text); font-weight: 600; }
.hero__pill .tag {
  font-size: .72rem;
  color: var(--brand-ink);
  background: var(--brand);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 .accent {
  color: var(--brand);
  font-style: italic;
  font-weight: 700;
  margin-right: .14em;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--text-soft);
  max-width: 500px;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero__cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero__trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: 38px;
}
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -11px;
  background-size: cover;
  background-position: center;
}
.avatars span:first-child { margin-left: 0; }
.hero__trust-text { font-size: .88rem; color: var(--text-dim); }
.hero__trust-text b { color: var(--text); }
.stars { color: var(--brand); letter-spacing: 2px; font-size: .82rem; }

/* Server panel mock */
.panel-mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1800px) rotateY(-7deg) rotateX(2deg);
  transition: transform .8s var(--ease-out);
}
.hero__grid:hover .panel-mock { transform: perspective(1800px) rotateY(-3deg) rotateX(1deg); }
.panel-mock::after {  /* soft sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent 42%);
  pointer-events: none;
}
.panel-mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.012);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff6b6b; } .dot--y { background: #ffd479; } .dot--g { background: #7be3a0; }
.panel-mock__title { margin-left: 8px; font-family: var(--font-mono); font-size: .76rem; color: var(--text-dim); }
.panel-mock__online {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: .74rem; color: var(--brand); font-weight: 600;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--brand-glow); }
  70% { box-shadow: 0 0 0 8px rgba(172,155,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(172,155,255,0); }
}
.panel-mock__body { padding: 18px; display: grid; gap: 16px; }
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gauge {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
}
.gauge__label { font-size: .68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.gauge__val { font-family: var(--font-head); font-size: 1.2rem; margin: 5px 0 9px; font-weight: 700; }
.gauge__val span { font-size: .72rem; color: var(--text-dim); font-family: var(--font-sans); font-weight: 500; }
.bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand-deep), var(--brand)); width: 0; transition: width 1.6s var(--ease-out); }
.console {
  background: #0a090d;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 15px;
  font-family: var(--font-mono);
  font-size: .76rem;
  line-height: 1.9;
  height: 186px;
  overflow: hidden;
  color: var(--text-soft);
}
.console .c-time { color: var(--text-dim); }
.console .c-ok { color: var(--brand); }
.console .c-warn { color: var(--peach); }
.console .c-line { opacity: 0; transform: translateY(4px); }
.console .c-line.show { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cursor-blink { display: inline-block; width: 7px; height: 13px; background: var(--brand); vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* floating mini cubes */
.float-cube {
  position: absolute;
  width: 56px; height: 56px;
  animation: floaty 9s ease-in-out infinite;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.45));
}
.float-cube--a { top: -26px; right: 38px; animation-delay: 0s; }
.float-cube--b { bottom: -22px; left: -22px; width: 44px; height: 44px; animation-delay: -4s; opacity: .8; }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(5deg); }
}

/* ============================================================
   Stats strip
   ============================================================ */
.stats { position: relative; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  overflow: hidden;
}
.stat { padding: 34px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px; background: var(--border); }
.stat__num { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.6rem); letter-spacing: -.02em; font-weight: 700; }
.stat__num .unit { color: var(--brand); }
.stat__label { color: var(--text-dim); font-size: .9rem; margin-top: 6px; }

/* ============================================================
   Features
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(460px circle at var(--mx,50%) var(--my,0%), var(--brand-tint), transparent 50%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); box-shadow: var(--shadow); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--brand-tint);
  border: 1px solid var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
  position: relative;
  transition: transform .5s var(--ease);
}
.feature:hover .feature__icon { transform: scale(1.06) rotate(-3deg); }
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.14rem; margin-bottom: 9px; position: relative; font-weight: 700; }
.feature p { color: var(--text-soft); font-size: .95rem; position: relative; line-height: 1.65; }

/* ============================================================
   Split showcase (control panel)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.split__list { display: grid; gap: 16px; margin-top: 30px; }
.split__item { display: flex; gap: 15px; align-items: flex-start; }
.split__check {
  flex: none; width: 28px; height: 28px; border-radius: 9px;
  background: var(--brand-tint); border: 1px solid var(--brand-soft);
  display: grid; place-items: center; color: var(--brand); margin-top: 1px;
}
.split__check svg { width: 14px; height: 14px; }
.split__item h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1.02rem; margin-bottom: 3px; }
.split__item p { color: var(--text-soft); font-size: .93rem; line-height: 1.6; }

/* dashboard mock */
.dash {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dash__top {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 18px; border-bottom: 1px solid var(--border);
}
.dash__top .pillname { font-family: var(--font-mono); font-size: .78rem; color: var(--text-soft); }
.dash__chip {
  margin-left: auto; font-size: .72rem; color: var(--brand);
  background: var(--brand-tint); border: 1px solid var(--brand-soft);
  padding: 5px 12px; border-radius: var(--radius-pill); font-weight: 600;
}
.dash__body { display: grid; grid-template-columns: 144px 1fr; min-height: 304px; }
.dash__side { border-right: 1px solid var(--border); padding: 16px 12px; display: grid; gap: 4px; align-content: start; }
.dash__navi { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; font-size: .82rem; color: var(--text-dim); transition: background .3s, color .3s; }
.dash__navi svg { width: 15px; height: 15px; }
.dash__navi.active { background: var(--brand-tint); color: var(--brand); }
.dash__main { padding: 20px; display: grid; gap: 16px; align-content: start; }
.dash__metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.metric { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.metric .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); font-weight: 600; }
.metric .v { font-family: var(--font-head); font-size: 1.5rem; margin-top: 5px; font-weight: 700; }
.metric .v small { font-size: .7rem; color: var(--text-dim); font-weight: 500; }
.spark { margin-top: 10px; width: 100%; height: 38px; }
.spark path.line { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.spark path.fill { fill: url(#sparkfill); opacity: .9; }
.dash__players { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 15px 17px; }
.dash__players .ph { display:flex; align-items:center; justify-content: space-between; font-size: .8rem; color: var(--text-dim); margin-bottom: 12px; }
.dash__players .ph b { color: var(--text); }
.player-row { display: flex; align-items: center; gap: 11px; padding: 7px 0; font-size: .86rem; }
.player-row .pface { width: 24px; height: 24px; border-radius: 7px; }
.player-row .png { margin-left: auto; color: var(--brand); font-family: var(--font-mono); font-size: .72rem; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing__toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--surface);
  margin: 24px auto 0;
}
.pricing__toggle button {
  padding: 9px 20px; border-radius: var(--radius-pill); font-size: .88rem; font-weight: 600;
  color: var(--text-soft); transition: color .4s var(--ease), background .4s var(--ease);
}
.pricing__toggle button.active { background: var(--brand); color: var(--brand-ink); }
.save-tag { font-size: .66rem; color: var(--brand); margin-left: 6px; font-weight: 700; }
.pricing__toggle button.active .save-tag { color: var(--brand-ink); }

.pricing__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex; flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.plan--featured {
  border-color: var(--brand-soft);
  background: linear-gradient(180deg, var(--brand-tint), var(--surface) 42%);
  box-shadow: var(--shadow-brand);
}
.plan--featured:hover { box-shadow: 0 50px 110px -36px rgba(172,155,255,.5); }
.plan__badge {
  align-self: flex-start;
  font-size: .68rem; letter-spacing: .04em;
  color: var(--brand-ink); background: var(--brand);
  padding: 5px 12px; border-radius: var(--radius-pill); font-weight: 700;
  margin-bottom: 16px;
}
.plan__name { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.18rem; font-weight: 700; }
.plan__name .ore { width: 18px; height: 18px; border-radius: 5px; }
.plan__desc { color: var(--text-dim); font-size: .88rem; margin-top: 7px; min-height: 40px; line-height: 1.5; }
.plan__price { margin: 18px 0 4px; display: flex; align-items: flex-end; gap: 4px; }
.plan__price .cur { font-size: 1.1rem; color: var(--text-soft); font-weight: 600; align-self: flex-start; margin-top: 7px; }
.plan__price .amt { font-family: var(--font-head); font-size: 2.7rem; letter-spacing: -.03em; line-height: 1; font-weight: 700; }
.plan__price .per { color: var(--text-dim); font-size: .85rem; margin-bottom: 5px; }
.plan__ram { font-size: .86rem; color: var(--brand); font-weight: 600; margin-bottom: 20px; }
.plan__feats { display: grid; gap: 12px; margin-bottom: 26px; }
.plan__feats li { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; color: var(--text-soft); }
.plan__feats svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 1px; }
.plan .btn { margin-top: auto; }
.pricing__note { text-align: center; margin-top: 30px; color: var(--text-dim); font-size: .9rem; }
.pricing__note b { color: var(--text-soft); }

/* ============================================================
   Locations
   ============================================================ */
.loc {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 44px;
  overflow: hidden;
}
.loc__map { position: absolute; inset: 0; opacity: .5; -webkit-mask-image: linear-gradient(180deg,#000,transparent); mask-image: linear-gradient(180deg,#000,transparent); }
.loc__inner { position: relative; }
.loc__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 32px;
}
.loc__chip {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 17px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--border);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.loc__chip:hover { border-color: var(--brand-soft); transform: translateY(-3px); background: var(--surface-2); }
.loc__flag { font-size: 1.5rem; line-height: 1; }
.loc__chip .city { font-weight: 600; font-size: .93rem; }
.loc__chip .ping { font-size: .74rem; color: var(--brand); font-weight: 500; }
.loc__chip .ping i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); display: inline-block; margin-right: 5px; vertical-align: 1px; box-shadow: 0 0 8px var(--brand-glow); }

/* ============================================================
   Game support
   ============================================================ */
.games__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.game-chip {
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  padding: 24px 12px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  text-align: center; transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.game-chip:hover { border-color: var(--border-strong); transform: translateY(-4px); background: var(--surface-2); }
.game-chip__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.game-chip__ico svg { width: 22px; height: 22px; }
.game-chip span { font-size: .83rem; font-weight: 600; color: var(--text-soft); }

/* ============================================================
   Testimonials
   ============================================================ */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.review .stars { margin-bottom: 16px; font-size: .95rem; }
.review p { color: var(--text-soft); font-size: .96rem; margin-bottom: 22px; line-height: 1.7; }
.review p::before { content: "“"; }
.review p::after { content: "”"; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__who .face { width: 42px; height: 42px; border-radius: 50%; background-size: cover; }
.review__who .name { font-weight: 600; font-size: .92rem; }
.review__who .role { color: var(--text-dim); font-size: .8rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__wrap { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .4s var(--ease), background .4s var(--ease); overflow: hidden; }
.faq__item:hover { border-color: var(--border-strong); }
.faq__item.open { background: var(--surface-2); border-color: var(--brand-soft); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; text-align: left; font-family: var(--font-head); font-size: 1.04rem; font-weight: 600;
  transition: color .3s;
}
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--brand);
  transform: translate(-50%,-50%); border-radius: 2px; transition: transform .4s var(--ease);
}
.faq__icon::before { width: 13px; height: 2px; }
.faq__icon::after  { width: 2px; height: 13px; }
.faq__item.open .faq__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--text-soft); font-size: .96rem; padding: 0 24px 24px; line-height: 1.7; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--brand-soft);
  background:
    radial-gradient(760px circle at 50% -30%, rgba(172,155,255,.30), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
.cta-band::after {  /* tiny stars inside */
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 25% 35%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.2px 1.2px at 70% 25%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.3px 1.3px at 80% 60%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.2px 1.2px at 40% 70%, rgba(255,255,255,.25), transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.03em; font-weight: 700; }
.cta-band p { color: var(--text-soft); max-width: 470px; margin: 16px auto 30px; font-size: 1.06rem; line-height: 1.7; }
.cta-band .hero__cta { justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-top: 70px; margin-top: 40px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px;
  padding-bottom: 50px;
}
.footer__brand .brand { margin-bottom: 16px; padding-left: 0; }
.footer__brand p { color: var(--text-dim); font-size: .92rem; max-width: 290px; line-height: 1.65; }
.footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-soft);
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.footer__socials a:hover { color: var(--brand); border-color: var(--brand-soft); background: var(--brand-tint); transform: translateY(-3px); }
.footer__socials svg { width: 17px; height: 17px; }
.footer__col h5 { font-size: .8rem; letter-spacing: .04em; color: var(--text); margin-bottom: 16px; font-weight: 600; }
.footer__col a { display: block; color: var(--text-soft); font-size: .9rem; padding: 6px 0; transition: color .3s var(--ease), transform .3s var(--ease); }
.footer__col a:hover { color: var(--brand); transform: translateX(3px); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 0 40px; border-top: 1px solid var(--border); flex-wrap: wrap;
}
.footer__bottom p { color: var(--text-dim); font-size: .85rem; }
.footer__status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-soft); }

/* ============================================================
   Scroll reveal — soft & buttery (blur + lift)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .panel-mock { transform: none; max-width: 520px; }
  .hero__grid:hover .panel-mock { transform: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .games__grid { grid-template-columns: repeat(4, 1fr); }
  .loc__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links, .nav__actions .link-quiet, .nav__actions .btn { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before, .stat:nth-child(1)::before { display: none; }
  .stat:nth-child(3)::after { content:""; position:absolute; left:26px; right:26px; top:0; height:1px; background:var(--border); }
  .features__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .games__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .loc { padding: 28px; }
}
@media (max-width: 560px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .loc__grid { grid-template-columns: 1fr; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .hero__cta .btn { flex: 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
