:root {
  --navy-900: #0b1437; --navy-800: #111c44; --navy-700: #1b254b; --navy-600: #202a4d;
  --brand: #7c3aed; --brand-light: #795eff; --teal: #08c4c9;
  --good: #2ee6a6; --warn: #ffb547; --bad: #ff5d73;
  --muted: #a3aed0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'DM Sans', sans-serif; letter-spacing: -0.4px; background: var(--navy-900); color: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.grad { background: linear-gradient(135deg, #9b87ff, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
header.solid { background: rgba(11,20,55,.88); backdrop-filter: blur(12px); border-color: var(--navy-700); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand img { height: 34px; width: 34px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: #d3d9f0; font-weight: 500; }
.nav-links a:not(.btn):hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 14px; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-light)); color: #fff; box-shadow: 0 8px 28px rgba(124,58,237,.4); }
.btn-primary:hover { box-shadow: 0 12px 34px rgba(124,58,237,.6); }
.btn-ghost { background: rgba(255,255,255,.07); backdrop-filter: blur(8px); border-color: rgba(255,255,255,.18); }
.btn-ghost:hover { border-color: var(--brand-light); }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 11px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.online { background: var(--good); animation: pulse 2s infinite; }
.dot.offline { background: var(--bad); }
.dot.maintenance { background: var(--warn); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,230,166,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(46,230,166,0); } }
/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 110px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -4%; z-index: -2; background: url('/assets/img/hero.webp') center / cover; will-change: transform; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,20,55,.82) 0%, rgba(11,20,55,.5) 38%, rgba(11,20,55,0) 70%), linear-gradient(0deg, var(--navy-900) 0%, transparent 30%); }
.hero-main { padding: 40px 0 56px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(11,20,55,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); margin-bottom: 26px; }
h1 { font-size: clamp(44px, 7.4vw, 94px); line-height: .98; font-weight: 700; letter-spacing: -.045em; margin-bottom: 24px; max-width: 800px; }
.hero-main > .container > p { max-width: 540px; font-size: 19px; color: #d3d9f0; margin-bottom: 34px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); background: rgba(11,20,55,.55); backdrop-filter: blur(14px); }
.hero-strip div { padding: 22px 26px; }
.hero-strip div + div { border-left: 1px solid rgba(255,255,255,.1); }
.hero-strip strong { display: block; font-size: 32px; line-height: 1.1; letter-spacing: -.03em; }
.hero-strip span { color: var(--muted); font-size: 14px; }
/* Ribbon */
.ribbon { overflow: hidden; background: linear-gradient(90deg, var(--brand), #4b3fd6 50%, #087da4); transform: rotate(-1.2deg); margin: 18px -2%; padding: 14px 0; box-shadow: 0 10px 40px rgba(124,58,237,.3); }
.ribbon-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon span { font-weight: 700; font-size: 17px; white-space: nowrap; padding: 0 26px; display: flex; align-items: center; gap: 52px; }
.ribbon span::after { content: '◆'; font-size: 9px; opacity: .7; }
@keyframes slide { to { transform: translateX(-50%); } }
section { padding: 110px 0; position: relative; }
.section-head { margin-bottom: 52px; max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.04em; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
/* Playstyles */
.styles { display: grid; grid-template-columns: .85fr 1.4fr; gap: 56px; align-items: center; }
.style-list { display: grid; gap: 6px; }
.style-btn { text-align: left; background: none; border: 0; border-left: 3px solid var(--navy-700); padding: 16px 22px; color: var(--muted); transition: .2s; }
.style-btn strong { display: block; font-size: 22px; color: #cdd4ee; letter-spacing: -.03em; }
.style-btn small { font-size: 14px; }
.style-btn:hover { border-left-color: var(--brand-light); }
.style-btn[aria-selected="true"] { border-left-color: var(--teal); background: linear-gradient(90deg, rgba(124,58,237,.22), transparent); color: #fff; }
.style-btn[aria-selected="true"] strong { color: #fff; }
.style-stage { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 80px rgba(124,58,237,.18); }
.style-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.2s; }
.style-stage img.on { opacity: 1; transform: none; }
.style-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,20,55,.95) 0%, transparent 52%); }
.style-info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 30px; }
.style-info ul { list-style: none; display: grid; gap: 6px; margin: 12px 0 16px; color: #d3d9f0; font-size: 15px; }
.style-info li::before { content: '✓'; color: var(--good); font-weight: 700; margin-right: 10px; }
.style-info h3 { font-size: 26px; letter-spacing: -.03em; }
/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.svc { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy-800); border: 1px solid var(--navy-700); transition: transform .25s, border-color .25s; display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-6px); border-color: var(--brand-light); }
.svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.svc-body { padding: 22px; }
.svc-body h3 { font-size: 20px; margin: 10px 0 6px; }
.svc-body p { color: var(--muted); font-size: 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.08); color: #d3d9f0; }
.tag.live { background: rgba(52,211,153,.16); color: var(--good); }
/* Network */
.network { background: url('/assets/img/cave.webp') center / cover fixed; isolation: isolate; clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); margin: -30px 0; padding: 150px 0; }
.network::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,20,55,.7), rgba(11,20,55,.38) 50%, rgba(11,20,55,.75)); }
.ping-toolbar { display: flex; justify-content: center; margin-bottom: 34px; }
.toolbar-meta { color: #d3d9f0; font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ping-btn { font-size: 18px; padding: 16px 38px; border-radius: 99px; background: linear-gradient(135deg, var(--brand-light), var(--teal)); color: #fff; border: 0; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 10px 36px rgba(121,94,255,.55); animation: ping-glow 2.4s ease-in-out infinite; transition: transform .2s; }
.ping-btn:hover { transform: translateY(-3px) scale(1.04); }
.ping-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.ping-btn #ping-icon { display: inline-block; font-size: 22px; }
@keyframes ping-glow { 0%, 100% { box-shadow: 0 10px 36px rgba(121,94,255,.5), 0 0 0 0 rgba(121,94,255,.45); } 50% { box-shadow: 0 10px 36px rgba(121,94,255,.5), 0 0 0 14px rgba(121,94,255,0); } }
@media (prefers-reduced-motion: reduce) { .ping-btn { animation: none; } }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.loc { aspect-ratio: 1; display: flex; flex-direction: column; background: rgba(17,28,68,.66); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 20px; transition: transform .2s, border-color .2s; min-width: 0; }
.loc:hover { transform: translateY(-4px); border-color: var(--brand-light); }
.loc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.loc-state { font-size: 11px; color: var(--muted); text-transform: capitalize; }
.loc-name { display: block; margin-top: 12px; font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-where { color: var(--muted); font-size: 12px; }
.loc-ms { display: flex; align-items: baseline; gap: 5px; margin-top: auto; }
.loc-ms strong { font-size: 46px; line-height: 1; letter-spacing: -.05em; }
.loc-ms span { color: var(--muted); }
.spark { display: block; width: 100%; height: 34px; margin: 8px 0; }
.loc-meta { color: #d3d9f0; font-size: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
.loc.empty { aspect-ratio: auto; grid-column: 1 / -1; }
.ms-good { color: var(--good); } .ms-warn { color: var(--warn); } .ms-bad { color: var(--bad); }
.empty { text-align: center; color: var(--muted); padding: 30px; }
.spin { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Plans */
.calc { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--navy-700); }
.calc label { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.players-out { font-size: 54px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.players-out small { font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: -.02em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand-light) var(--fill, 20%), var(--navy-600) var(--fill, 20%)); outline-offset: 8px; margin-top: 18px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--brand-light); box-shadow: 0 4px 14px rgba(0,0,0,.4); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--brand-light); cursor: grab; }
.calc .switch { display: inline-flex; margin: 0; position: relative; color: var(--text); font-size: 15px; }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 46px; height: 26px; border-radius: 99px; background: var(--navy-600); position: relative; transition: .2s; flex: none; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + i { background: var(--brand-light); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 2px solid var(--brand-light); outline-offset: 3px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; padding: 34px 30px; border-radius: 26px; background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); border: 1px solid var(--navy-700); transition: transform .3s, border-color .3s, box-shadow .3s; display: flex; flex-direction: column; }
.plan.rec { transform: translateY(-14px); border-color: var(--brand-light); box-shadow: 0 30px 70px rgba(124,58,237,.3); background: linear-gradient(180deg, #1c2358, var(--navy-800)); }
.plan .tag { position: absolute; top: -13px; left: 30px; padding: 4px 14px; border-radius: 99px; background: linear-gradient(135deg, var(--brand), var(--brand-light)); font-size: 12px; font-weight: 700; opacity: 0; transition: opacity .3s; }
.plan.rec .tag { opacity: 1; }
.plan h3 { font-size: 22px; }
.price { font-size: 56px; font-weight: 700; letter-spacing: -.05em; line-height: 1.1; margin: 8px 0 20px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price s { font-size: 20px; color: var(--muted); margin-right: 8px; font-weight: 500; }
.specs { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; flex: 1; }
.specs li { display: grid; grid-template-columns: 64px 1fr 66px; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.specs b { color: #fff; text-align: right; }
.bar { height: 7px; border-radius: 99px; background: var(--navy-600); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--teal)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.plan .btn { width: 100%; }
.plan:not(.rec) .btn-primary { background: var(--navy-700); box-shadow: none; }
.plan:not(.rec) .btn-primary:hover { background: var(--navy-600); }
.calc-note { color: var(--muted); font-size: 13px; margin-top: 22px; text-align: center; }
/* Panel showcase */
.panel-sec { background: linear-gradient(180deg, transparent, rgba(27,37,75,.5) 30%, rgba(27,37,75,.5) 70%, transparent); }
.panel-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 64px; align-items: center; }
.feat-list { list-style: none; display: grid; gap: 26px; margin-top: 30px; }
.feat-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.feat-list .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-light)); font-size: 21px; }
.feat-list h3 { font-size: 18px; }
.feat-list p { color: var(--muted); font-size: 15px; }
.win { border-radius: 18px; overflow: hidden; background: #0a1230; border: 1px solid var(--navy-600); box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 90px rgba(121,94,255,.2); }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--navy-800); border-bottom: 1px solid var(--navy-700); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); }
.win-tabs { display: flex; gap: 4px; padding: 10px 12px 0; background: var(--navy-800); overflow-x: auto; }
.win-tab { background: none; border: 0; padding: 9px 16px; color: var(--muted); font-size: 13px; font-weight: 700; border-radius: 10px 10px 0 0; white-space: nowrap; }
.win-tab:hover { color: #fff; }
.win-tab[aria-selected="true"] { background: #0a1230; color: #fff; box-shadow: inset 0 2px 0 var(--brand-light); }
.win-body { height: 380px; display: none; flex-direction: column; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; }
.win-body.on { display: flex; }
.term { flex: 1; overflow-y: auto; padding: 16px 18px; color: #b8c3e6; line-height: 1.75; scrollbar-width: thin; }
.term div { white-space: pre-wrap; word-break: break-word; }
.term .info { color: #7f8fc0; } .term .ok { color: var(--good); } .term .you { color: #fff; } .term .warn { color: var(--warn); }
.term-in { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--navy-700); background: #0d1740; }
.term-in b { color: var(--teal); }
.term-in input { flex: 1; background: none; border: 0; outline: 0; font-family: inherit; font-size: inherit; color: #fff; }
.term-hint { padding: 0 18px 12px; background: #0d1740; color: #6677aa; font-size: 11.5px; }
.rows { padding: 8px 6px; overflow-y: auto; }
.row { display: grid; grid-template-columns: 26px 1fr 90px 110px; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 10px; color: #b8c3e6; }
.row:hover { background: rgba(121,94,255,.12); }
.row em { color: var(--muted); font-style: normal; text-align: right; }
.row .b { color: var(--good); text-align: right; font-size: 11px; }
.row.head { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.row.head:hover { background: none; }
/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--brand), var(--teal)); opacity: .35; }
.step { position: relative; text-align: center; }
.step b { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--brand-light); font-size: 22px; box-shadow: 0 0 30px rgba(121,94,255,.4); transition: transform .25s; }
.step:hover b { transform: scale(1.12) rotate(-6deg); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 300px; margin: 0 auto; }
/* Showcase CTA */
.showcase { position: relative; min-height: 560px; display: flex; align-items: center; isolation: isolate; overflow: hidden; clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); margin: 20px 0; }
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.showcase::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,20,55,.8), rgba(11,20,55,.3) 55%, rgba(11,20,55,0)); }
.showcase h2 { font-size: clamp(34px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.045em; max-width: 620px; margin: 10px 0 18px; }
.showcase p { color: #d3d9f0; max-width: 480px; font-size: 18px; margin-bottom: 30px; }
/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 0; }
details { border-bottom: 1px solid var(--navy-700); }
summary { list-style: none; cursor: pointer; padding: 22px 4px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
summary:hover { color: #9b87ff; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--teal); font-size: 28px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 4px 22px; color: var(--muted); max-width: 640px; }
footer { border-top: 1px solid var(--navy-700); padding: 56px 0 30px; color: var(--muted); font-size: 14px; background: #090f2c; }
.foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 36px; }
.foot-top p { max-width: 340px; margin-top: 12px; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-links div { display: grid; gap: 8px; align-content: start; }
.foot-links b { color: #fff; margin-bottom: 4px; }
.foot-links a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--navy-700); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .styles, .panel-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .style-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip div:nth-child(3) { border-left: 0; }
  .hero-strip div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .plan.rec { transform: none; }
  .network { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .nav-links a.hide-sm { display: none; }
  section { padding: 74px 0; }
  .hero::before { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(11,20,55,.82) 45%, rgba(11,20,55,.5)); }
  .hero-strip div { padding: 16px; } .hero-strip strong { font-size: 24px; }
  .style-list { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .row { grid-template-columns: 22px 1fr 76px; } .row .b { display: none; }
  .win-body { height: 320px; }
  .style-info { padding: 18px; } .style-info ul { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}