:root {
  --bg: #030814;
  --bg2: #071329;
  --card: rgba(13, 22, 42, .72);
  --card2: rgba(17, 31, 58, .82);
  --line: rgba(111, 151, 255, .18);
  --line2: rgba(111, 151, 255, .32);
  --text: #f4f8ff;
  --muted: #8d9bb6;
  --blue: #3577ff;
  --blue2: #65a0ff;
  --cyan: #22d3ee;
  --green: #31dd82;
  --violet: #7c5cff;
  --orange: #ffb33c;
  --red: #ff5265;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 5%, rgba(38, 112, 255, .25), transparent 34%),
    radial-gradient(circle at 10% 12%, rgba(38, 112, 255, .12), transparent 30%),
    linear-gradient(180deg, #061125 0%, #030814 42%, #02050d 100%);
  font: 15px/1.55 Manrope, Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.page-orbs::before,
.page-orbs::after {
  content: "";
  position: fixed;
  z-index: -2;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  animation: float 12s ease-in-out infinite;
}
.page-orbs::before { right: -130px; top: 180px; background: #287bff; }
.page-orbs::after { left: -180px; bottom: 80px; background: #693dff; animation-delay: -5s; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }

.glass {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(17, 30, 58, .78), rgba(8, 14, 28, .7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(22px);
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(1640px, calc(100% - 36px));
  height: 70px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 12px 0 24px;
  border-radius: 18px;
  overflow: hidden;
}
.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 5%;
  width: 90%;
  height: 1px;
  pointer-events: none;
}
.topbar::before { top: 0; background: linear-gradient(90deg, transparent, rgba(98,158,255,.72) 32%, rgba(126,105,255,.45) 68%, transparent); }
.topbar::after { bottom: 0; background: linear-gradient(90deg, transparent, rgba(36,105,255,.2) 22%, rgba(60,122,255,.62) 50%, rgba(72,91,218,.18) 78%, transparent); box-shadow: 0 3px 18px rgba(53,119,255,.34); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 21px; letter-spacing: -.04em; }
.brand span span, .brand-mark { color: var(--blue2); }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b84ff, #6d5cff);
  color: white;
  font-weight: 1000;
  box-shadow: 0 0 22px rgba(47, 129, 255, .5);
}

.topbar nav { display: flex; justify-content: center; gap: 4px; }
.topbar nav a {
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.topbar nav a.active, .topbar nav a:hover { color: white; background: rgba(75, 119, 255, .18); outline: 1px solid rgba(119, 157, 255, .32); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.status-pill, .icon-button, .primary, .hollow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 12px;
  font-weight: 900;
}
.status-pill { gap: 8px; padding: 0 15px; color: #9dffc3; background: rgba(25, 170, 94, .15); border: 1px solid rgba(49, 221, 130, .32); }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.icon-button { width: 42px; color: #bcd0ff; background: rgba(85, 119, 255, .14); border: 1px solid var(--line); }
.primary { padding: 0 26px; color: white; background: linear-gradient(135deg, #4384ff, #1f61f4); box-shadow: 0 14px 35px rgba(42, 108, 255, .35); }
.primary.small { min-height: 44px; padding: 0 20px; }
.primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.hollow { padding: 0 22px; color: #8db7ff; background: rgba(41, 104, 255, .08); border: 1px solid rgba(84, 130, 255, .34); }
.wide { width: 100%; }
.disabled { opacity: .45; cursor: not-allowed; }

main { width: min(1580px, calc(100% - 46px)); margin: 0 auto; }
.view { display: none; min-height: calc(100vh - 94px); padding: 82px 24px 80px; }
.view.active { display: block; animation: routeReveal .48s cubic-bezier(.22,.8,.28,1) both; }
.tariffs.active { animation-duration: .62s; }
#games, #locations { scroll-margin-top: 88px; }
.hero.active { display: grid; grid-template-columns: minmax(0, 1fr) 430px; align-items: start; gap: 76px; padding-top: 68px; }
.rexo-hero { position: relative; isolation: isolate; }
.rexo-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: -120px;
  bottom: -100px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%) scale(1.015);
  background:
    linear-gradient(90deg, rgba(3,9,22,.97) 0%, rgba(3,9,22,.82) 34%, rgba(3,9,22,.46) 66%, rgba(4,13,31,.72) 100%),
    linear-gradient(0deg, rgba(3,9,22,.9), transparent 38%, rgba(3,9,22,.28)),
    url("/assets/showcase/minecraft.jpg") center 38%/cover no-repeat;
  filter: saturate(.82) blur(3px);
  opacity: .58;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 78%, transparent 100%);
  pointer-events: none;
}
.rexo-hero::before {
  content: "";
  position: absolute;
  right: 80px;
  top: 110px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,119,255,.42), transparent 64%);
  filter: blur(12px);
  z-index: -1;
}

.rating { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.rating span { color: #ffc24a; letter-spacing: .11em; text-shadow: 0 0 18px rgba(255,194,74,.18); }
.rating b { color: white; font-size: 14px; }
h1, h2, h3 { margin-top: 0; line-height: .98; letter-spacing: -.055em; }
h1 { max-width: 880px; margin-bottom: 32px; font-size: clamp(59px, 5.8vw, 90px); font-weight: 800; text-transform: uppercase; }
h1 span, h2 span { color: #67a1ff; }
.hero-copy p { max-width: 690px; color: #c6d2e6; font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.chips span { padding: 9px 14px; border-radius: 9px; color: #9dc1ff; background: rgba(36, 86, 185, .18); border: 1px solid rgba(104, 148, 255, .28); font-size: 14px; font-weight: 750; }
.price-line strong { font-size: 32px; }
.price-line strong::after { content: ""; color: #6da0ff; }
.price-line small { color: var(--muted); margin-left: 6px; }
.hero-copy .price-note { max-width: 620px; margin: 9px 0 0; color: #8798b5; font-size: 14px; line-height: 1.55; }
.hero-buttons { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.hero-buttons .link { color: #cfd9ed; border-bottom: 1px dashed rgba(207,217,237,.4); }

.control-hub {
  position: relative;
  justify-self: center;
  width: min(520px, 100%);
  padding: 20px;
  border-radius: 28px;
  overflow: hidden;
}
.control-hub::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(100,170,255,.7), transparent 35%, rgba(124,92,255,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hub-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hub-logo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #4384ff, #7c5cff); font-weight: 1000; box-shadow: 0 0 28px rgba(67,132,255,.45); }
.hub-top small { display: block; color: var(--muted); }
.hub-top em { margin-left: auto; padding: 6px 10px; border-radius: 999px; color: #93ffc0; background: rgba(49,221,130,.12); border: 1px solid rgba(49,221,130,.3); font-size: 12px; font-style: normal; font-weight: 1000; }
.hub-console { min-height: 190px; display: grid; align-content: start; gap: 8px; padding: 18px; border-radius: 18px; background: rgba(2,7,15,.72); border: 1px solid rgba(255,255,255,.07); font: 13px/1.45 Consolas, monospace; box-shadow: inset 0 0 45px rgba(0,0,0,.35); }
.hub-console .line { color: #d6e2f5; }
.hub-console .green { color: #7dffad; }
.hub-console .blue { color: #93c5ff; }
.hub-console .cyan { color: #67e8f9; }
.hub-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.hub-metrics div { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.hub-metrics small { color: var(--muted); }
.hub-metrics strong { display: block; margin: 4px 0 10px; font-size: 22px; }
.hub-metrics i { display: block; height: 5px; border-radius: 999px; background: linear-gradient(90deg, #4384ff var(--w), rgba(255,255,255,.08) var(--w)); }
.hub-socials { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 12px; }
.hub-socials a { flex: 1; padding: 9px; border: 1px solid rgba(106,151,255,.18); border-radius: 10px; color: #9db9ec; background: rgba(5,14,32,.48); text-align: center; text-decoration: none; font-size: 12px; font-weight: 900; }
.hub-socials a:hover { color: white; border-color: rgba(79,144,255,.62); background: rgba(45,105,230,.2); }
.hub-orbit { position: absolute; right: 28px; bottom: 28px; width: 92px; height: 92px; border: 1px solid rgba(120,160,255,.18); border-radius: 50%; animation: spin 10s linear infinite; opacity: .8; }
.hub-orbit span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #67a1ff; box-shadow: 0 0 18px #67a1ff; }
.hub-orbit span:nth-child(1) { left: 10px; top: 15px; }
.hub-orbit span:nth-child(2) { right: 4px; top: 44px; background: #31dd82; }
.hub-orbit span:nth-child(3) { left: 42px; bottom: -4px; background: #7c5cff; }

.phone-card { position: relative; width: 370px; justify-self: center; margin-top: 30px; padding: 15px; overflow: hidden; border-radius: 40px; background: linear-gradient(180deg, rgba(28,48,91,.9), rgba(13,24,49,.88)); box-shadow: 0 35px 100px rgba(0,0,0,.42), 0 0 65px rgba(54,119,255,.16); }
.phone-card::before,
.phone-card::after { content: ""; position: absolute; z-index: 2; left: 10%; width: 80%; height: 1px; pointer-events: none; }
.phone-card::before { top: 0; background: linear-gradient(90deg, transparent, rgba(116,178,255,.88), transparent); box-shadow: 0 4px 20px rgba(90,154,255,.28); }
.phone-card::after { bottom: 0; background: linear-gradient(90deg, transparent, rgba(81,102,255,.82), rgba(46,186,255,.5), transparent); box-shadow: 0 -5px 24px rgba(55,111,255,.25); }
.phone-screen { padding: 12px; border-radius: 28px; background: #050b16; }
.phone-image { height: 176px; display: grid; place-items: center; align-content: center; border-radius: 23px 23px 8px 8px; overflow: hidden; background: linear-gradient(0deg, rgba(3,9,19,.38), rgba(7,22,48,.08)), url("/assets/showcase/minecraft.jpg") center 42%/cover; }
.phone-image small { padding: 4px 9px; border-radius: 8px; color: #d7e8ff; background: rgba(4,11,24,.34); backdrop-filter: blur(8px); }
.phone-image strong { font-size: 48px; line-height: 1; }
.phone-row-head { display: flex; justify-content: space-between; margin: 18px 2px 10px; color: #91a0b8; font-weight: 900; text-transform: uppercase; font-size: 12px; }
.phone-row-head b { color: #65ffa5; text-transform: none; }
.phone-row-head i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.notice { display: flex; gap: 12px; align-items: center; margin: 10px 0; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.notice span { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #2d6dff; font-size: 20px; font-weight: 900; }
.notice.good span { background: #42df7a; color: #031407; }
.notice.support span { color: #9bb9ee; background: rgba(98,125,177,.22); border: 1px solid rgba(141,169,222,.2); }
.notice small { display: block; color: #98a5bc; }

.section-head.center { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.back-link { color: #9ba8be; font-weight: 800; }
.eyebrow { margin: 18px 0 18px; color: #83adff; text-transform: uppercase; letter-spacing: .22em; font-weight: 950; font-size: 12px; }
.section-head h2 { font-size: clamp(44px, 5vw, 74px); }
.section-head p { color: #c2cee0; font-size: 18px; }
.segmented { width: max-content; margin: 34px auto 0; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.segmented button { min-width: 120px; height: 44px; border-radius: 12px; color: #ffc95c; background: transparent; font-weight: 900; }
.segmented .active { color: white; background: var(--blue); }

.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan-card { position: relative; overflow: hidden; min-height: 430px; border-radius: 22px; padding: 22px; background: linear-gradient(180deg, rgba(37,88,201,.85), rgba(8,15,29,.96) 32%); border: 1px solid rgba(87, 134, 255, .32); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 28px 80px rgba(0,0,0,.22); }
.plan-card:nth-child(4n) { background: linear-gradient(180deg, rgba(20,126,160,.75), rgba(8,15,29,.96) 32%); }
.plan-card .mob { height: 112px; display: flex; justify-content: center; align-items: center; filter: drop-shadow(0 18px 16px rgba(0,0,0,.45)); }
.plan-card .mob img { max-width: 124px; max-height: 106px; object-fit: contain; transform: translateY(2px); transition: transform .25s ease, filter .25s ease; }
.plan-card:hover .mob img { transform: translateY(-5px) scale(1.06); filter: drop-shadow(0 0 20px rgba(104,161,255,.3)); }
.plan-card h3 { font-size: 28px; margin: 0 0 28px; }
.plan-kind { min-height: 34px; margin: -18px 0 22px; color: #9fb0ca; font-weight: 800; font-size: 13px; }
.plan-card .badge { position: absolute; top: 16px; right: 16px; padding: 6px 11px; border-radius: 999px; background: #33e77e; color: #041208; font-weight: 1000; font-size: 12px; }
.plan-price { font-size: 44px; font-weight: 1000; margin-bottom: 18px; }
.plan-price small { font-size: 14px; color: var(--muted); }
.features { display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.features div { display: flex; justify-content: space-between; gap: 12px; }
.features span { color: #c7d4ea; }
.features b { text-align: right; }
.plan-card .primary { width: 100%; margin-top: 18px; }
.included { display: grid; grid-template-columns: 1.3fr repeat(5, auto); align-items: center; gap: 28px; margin-top: 74px; padding: 32px; border-radius: 22px; }
.included div { display: flex; align-items: center; gap: 12px; }
.included span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(74, 121, 255, .16); border: 1px solid var(--line); }

.shell-view.active { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 0; width: 100%; min-height: 100vh; margin-left: 0; padding: 0; }
.side { position: sticky; top: 0; min-height: 100vh; padding: 26px 14px; border-width: 0 1px 0 0; border-radius: 0; background: rgba(6, 12, 25, .78); overflow: hidden; }
.side.clone { display: block; }
.side-brand { margin: 0 14px 28px; }
.side-link { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 8px 0; padding: 12px 14px; border-radius: 10px; color: #9aa8be; font-weight: 800; }
.side-link.active, .side-link:hover { color: #67a1ff; background: rgba(47, 116, 255, .16); }
.side-link b { margin-left: auto; padding: 2px 7px; border-radius: 999px; color: white; background: #5d7cff; font-size: 10px; }
.side-user { position: absolute; left: 10px; right: 10px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; flex: none; border-radius: 12px; background: radial-gradient(circle at 40% 30%, #ffb35c, #3a170c 55%, #05070c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.05); }
.avatar.big { width: 76px; height: 76px; border-radius: 18px; }
.side-user small { display: block; color: var(--muted); }
.side-user button { margin-left: auto; width: 34px; height: 34px; border-radius: 9px; color: #a9b7ce; background: rgba(255,255,255,.06); }
.panel-page, .create-page, .finance-page, .profile-page { position: relative; padding: 52px 74px 80px; }
.crumbs { color: #9ba8be; margin-bottom: 34px; font-weight: 800; }
.profile-chip { position: absolute; top: 40px; right: 74px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.05); }
.stats-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { min-height: 142px; padding: 22px; border-radius: 16px; }
.stat-card span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 12px; background: rgba(64, 123, 255, .16); }
.stat-card small { color: var(--muted); }
.stat-card strong { display: block; margin: 8px 0; font-size: 28px; }
.stat-card a { color: #57a0ff; font-weight: 900; }
.empty-server { min-height: 480px; display: grid; place-items: center; align-content: center; text-align: center; }
.orbit-icon { width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 24px rgba(72, 117, 255, .04); }
.orbit-icon span { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 20px; color: #67a1ff; background: rgba(74, 121, 255, .12); font-size: 30px; }
.empty-server h2 { margin: 38px 0 4px; font-size: 28px; }
.empty-server p { color: var(--muted); }

.create-title { display: flex; align-items: center; gap: 14px; margin: 34px 0; }
.create-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #4384ff, #725cff); box-shadow: 0 0 30px rgba(74, 121, 255, .45); font-size: 26px; }
.create-title h2 { margin: 0; font-size: 34px; }
.create-title p { margin: 4px 0 0; color: var(--muted); }
.edition-tab { width: max-content; margin-bottom: 28px; padding: 14px 24px; border-radius: 14px; background: linear-gradient(135deg, #4384ff, #725cff); font-weight: 950; }
.create-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.order-steps { display: grid; gap: 20px; }
.step { padding: 28px; border-radius: 18px; }
.step h3 { font-size: 20px; letter-spacing: -.02em; }
.step h3 span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); font-size: 12px; margin-right: 8px; }
.choice { position: relative; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(49, 104, 255, .08); }
.choice small { display: block; color: var(--muted); }
.choice em { position: absolute; right: 18px; top: 22px; color: var(--blue2); }
.mini-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-plan { padding: 14px; border-radius: 14px; background: rgba(75, 64, 180, .14); border: 1px solid rgba(130, 98, 255, .28); text-align: center; }
.mini-plan .mob { height: 46px; display: grid; place-items: center; }
.mini-plan .mob img { max-width: 50px; max-height: 44px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); }
.mini-plan b { display: block; margin: 8px 0; }
.mini-plan strong { display: block; margin-top: 8px; padding: 8px; border-radius: 8px; background: rgba(255,255,255,.06); }
label { display: grid; gap: 8px; color: #aebbd0; font-weight: 800; margin: 16px 0; }
input { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; color: white; background: rgba(255,255,255,.06); outline: none; }
input:focus { border-color: #4d86ff; box-shadow: 0 0 0 4px rgba(69, 126, 255, .16); }
.periods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.periods button { min-height: 72px; border-radius: 14px; color: white; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 900; }
.periods .active { border-color: #4384ff; background: rgba(47, 116, 255, .1); }
.periods b { display: block; width: max-content; margin: 6px auto 0; padding: 2px 8px; border-radius: 999px; color: #29e282; background: rgba(41, 226, 130, .12); font-size: 12px; }
.agree { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); }
.agree input { width: auto; height: auto; }
.order-card { position: sticky; top: 110px; min-height: 344px; padding: 26px; border-radius: 18px; text-align: center; }
.empty-box { margin: 46px 0 28px; color: #44536d; }
.empty-box:first-line { font-size: 50px; }
.order-card small { display: block; margin-top: 14px; color: #6f7b90; }

.payment { display: grid; grid-template-columns: 260px 1fr; border-radius: 18px; overflow: hidden; }
.payment aside { padding: 34px 28px; border-right: 1px solid var(--line); }
.payment aside p, .payment section > p { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 900; }
.payment aside strong { font-size: 42px; }
.payment aside > span { display: block; width: max-content; margin: 10px 0 190px; padding: 6px 12px; border-radius: 999px; color: #54ffa0; background: rgba(49, 221, 130, .12); border: 1px solid rgba(49, 221, 130, .32); font-weight: 900; }
.pay-facts { display: grid; gap: 10px; }
.pay-facts b { display: flex; justify-content: space-between; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.05); color: #7f8da5; }
.pay-facts em { color: white; font-style: normal; }
.payment section { padding: 34px; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-methods button { min-height: 126px; padding: 22px; text-align: left; color: white; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-weight: 950; }
.pay-methods button.active { background: linear-gradient(135deg, #4384ff, #245bea); border-color: #70a0ff; }
.pay-methods small { display: block; color: #b3c0d6; margin-top: 4px; }
.amounts { display: flex; gap: 8px; margin: 12px 0 24px; }
.amounts button { padding: 9px 15px; border-radius: 9px; color: #9dabbe; background: rgba(255,255,255,.05); border: 1px solid var(--line); }

.profile-hero { display: flex; align-items: center; gap: 24px; padding: 34px; border-radius: 18px; border-top-color: #c829ff; }
.profile-hero h2 { margin: 0 0 8px; font-size: 28px; }
.profile-hero p { margin: 0 0 6px; color: var(--muted); }
.profile-hero small { color: #ff5265; }
.balance { margin-left: auto; min-width: 110px; height: 56px; border-radius: 14px; color: #39f098; background: rgba(49,221,130,.12); border: 1px solid rgba(49,221,130,.25); font-size: 22px; font-weight: 1000; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.profile-grid article { min-height: 216px; padding: 26px; border-radius: 18px; }
.profile-grid p { color: var(--muted); }

.footer { width: min(1600px, calc(100% - 36px)); margin: 60px auto 24px; padding: 38px; border-radius: 24px; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 40px; }
.footer p, .footer a, .footer small { color: #8f9db4; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav b { color: #8b9ab1; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.footer > small { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }

.ghost.small {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(119, 157, 255, .26);
  border-radius: 12px;
  color: #d8e4ff;
  background: rgba(255,255,255,.045);
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.ghost.small:hover {
  color: white;
  border-color: rgba(101,160,255,.65);
  background: rgba(53,119,255,.18);
}
.auth-dialog {
  width: min(462px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
}
.auth-dialog::backdrop {
  background:
    radial-gradient(circle at 22% 35%, rgba(35, 96, 255, .13), transparent 34%),
    rgba(1, 5, 15, .84);
  backdrop-filter: blur(12px);
}
.auth-shell {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 21, 40, .96), rgba(7, 11, 25, .96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 35px 120px rgba(0,0,0,.62), 0 0 80px rgba(55,119,255,.13);
}
.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #8391ad;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 24px;
}
.auth-close:hover { color: white; background: rgba(255,255,255,.08); }
.auth-mini-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #78a5ff;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.auth-mini-brand .brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 13px;
}
.auth-head h2 {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -.055em;
}
.auth-head p {
  margin: 0;
  color: #64728e;
  font-weight: 700;
}
.auth-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.auth-social {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 13px;
  color: #eaf1ff;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(119,157,255,.16);
  font-weight: 950;
}
.auth-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.auth-social.tg { color: #62d6ff; }
.auth-social.mail { color: #79a8ff; }
.auth-social:hover {
  transform: translateY(-1px);
  border-color: rgba(101,160,255,.52);
  background: rgba(53,119,255,.13);
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: #46516b;
  font-size: 12px;
  font-weight: 900;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(255,255,255,.08);
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(119,157,255,.12);
  border-radius: 14px;
  background: rgba(4, 10, 24, .58);
}
.auth-tabs button {
  min-height: 39px;
  border-radius: 10px;
  color: #7d8ba7;
  background: transparent;
  font-weight: 950;
}
.auth-tabs button.active {
  color: white;
  background: linear-gradient(135deg, #4384ff, #265eef);
  box-shadow: 0 14px 30px rgba(53,119,255,.25);
}
.auth-pane { display: none; gap: 12px; }
.auth-pane.active { display: grid; }
.auth-pane label {
  position: relative;
  margin: 0;
  color: #a9b8d4;
}
.auth-pane > label:not(.auth-field) {
  gap: 7px;
  font-size: 13px;
}
.auth-pane input {
  height: 46px;
  border-radius: 10px;
  border-color: rgba(119,157,255,.14);
  background: rgba(10, 37, 82, .82);
}
.auth-field svg {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: #6f8fc7;
  pointer-events: none;
}
.auth-field input {
  padding-left: 46px;
}
.auth-pane input:focus {
  border-color: rgba(101,160,255,.75);
  box-shadow: 0 0 0 4px rgba(53,119,255,.14);
}
.auth-pane .primary {
  min-height: 54px;
  margin-top: 6px;
  border-radius: 12px;
}
.telegram-code-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #e9fbff;
  text-decoration: none;
  font-weight: 950;
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(53,119,255,.2));
  border: 1px solid rgba(34,211,238,.35);
}
.telegram-code-button:hover {
  border-color: rgba(34,211,238,.75);
  box-shadow: 0 0 28px rgba(34,211,238,.16);
}
.auth-message {
  min-height: 20px;
  margin: 0;
  color: #ff7282;
  text-align: center;
  font-weight: 850;
}
.auth-message.ok { color: #54ffa0; }
.auth-bottom {
  margin: 2px 0 0;
  color: #56637c;
  text-align: center;
  font-weight: 800;
}
.auth-bottom button {
  color: #5da0ff;
  background: transparent;
  font-weight: 950;
}

/* Games and locations */
.games-page,
.locations-page {
  width: min(1450px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-strip article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(109, 153, 255, .18);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(21, 39, 75, .78), rgba(8, 16, 34, .74));
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 24px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(20px);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid rgba(85, 145, 255, .4);
  border-radius: 15px;
  color: #82b2ff;
  background: linear-gradient(145deg, rgba(45,83,155,.56), rgba(16,34,73,.92));
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 12px 30px rgba(36,91,226,.18);
}
.feature-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-strip article:nth-child(2) .feature-icon { color: #70a9ff; }
.feature-strip article:nth-child(3) .feature-icon { color: #79d5ff; }
.feature-strip article:nth-child(4) .feature-icon { color: #8b9dff; }
.feature-strip h3 { margin: 0 0 10px; font-size: 20px; }
.feature-strip p { margin: 0; color: #91a2c1; line-height: 1.65; }
.launch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0 90px;
  padding: 30px 38px;
  overflow: hidden;
  border: 1px solid rgba(105,161,255,.5);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(44,105,245,.96), rgba(20,66,174,.88)),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255,255,255,.08) 55px);
  box-shadow: 0 24px 70px rgba(36,93,228,.24);
}
.launch-banner h2 { margin: 0 0 5px; font-size: clamp(25px, 3vw, 38px); }
.launch-banner p { margin: 0; color: #d7e5ff; }
.launch-banner .primary { flex: 0 0 auto; color: #11204a; background: #fff; }
.games-title { margin-bottom: 28px; }
.games-title .eyebrow,
.locations-copy > .eyebrow {
  color: #68a4ff;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.games-title h2,
.locations-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -.055em;
}
.games-title h2 span,
.locations-copy h2 span { color: #5a91ff; }
.games-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}
.game-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(107,153,255,.25);
  border-radius: 28px;
  background-color: #0c1730;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 30px 90px rgba(0,0,0,.32);
}
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(77,144,255,.5), transparent 28%),
    linear-gradient(90deg, rgba(3,9,21,.95) 10%, rgba(3,9,21,.38), rgba(3,9,21,.8));
}
.minecraft-card { background: linear-gradient(90deg, rgba(3,9,21,.97) 4%, rgba(3,9,21,.42) 65%, rgba(3,9,21,.76)), url("/assets/showcase/minecraft.jpg") center/cover; }
.coding-card { background: linear-gradient(90deg, rgba(3,9,21,.97) 8%, rgba(13,7,31,.42) 68%, rgba(3,9,21,.74)), url("/assets/showcase/coding.jpg") center/cover; }
.game-card > * { position: relative; z-index: 1; }
.game-card h3 { margin: 0 0 10px; font-size: 38px; }
.game-card p { max-width: 590px; margin: 0; color: #c1cee5; font-size: 17px; line-height: 1.55; }
.game-card .chips { margin: 18px 0; }
.game-card strong { margin-bottom: 20px; color: white; font-size: 22px; }
.game-card .primary { width: fit-content; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.game-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(132,170,255,.2);
  border-radius: 9px;
  color: #d8e4fa;
  background: rgba(5,12,27,.55);
  font-size: 12px;
  font-weight: 900;
}
.locations-page.active {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 70px;
}
.location-group { margin-top: 34px; }
.location-group > small {
  margin: 0 0 12px;
  color: #657694;
  font-size: 13px;
  letter-spacing: .18em;
}
.location-pill {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  min-width: 285px;
  margin: 10px 0;
  padding: 15px 18px;
  border: 1px solid rgba(117,153,231,.2);
  border-radius: 14px;
  color: #eef4ff;
  background: rgba(15,27,53,.74);
  font-weight: 900;
}
.location-pill.active { border-color: rgba(52,211,153,.38); box-shadow: 0 0 34px rgba(52,211,153,.08); }
.location-pill.soon { color: #8592ab; }
.location-pill em {
  margin-left: auto;
  color: #f6b94d;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}
.country-flag { flex: 0 0 auto; width: 25px; height: 17px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; box-shadow: 0 3px 8px rgba(0,0,0,.28); }
.flag-de { background: linear-gradient(#161616 0 33.33%, #d31f2b 33.33% 66.66%, #f1c542 66.66%); }
.flag-ru { background: linear-gradient(#fff 0 33.33%, #2457c5 33.33% 66.66%, #d72e3d 66.66%); }
.globe-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(94,142,255,.22);
  border-radius: 42px;
  background: radial-gradient(circle at 50% 45%, rgba(50,108,235,.24), transparent 48%), rgba(6,13,29,.55);
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 50px 140px rgba(12,53,155,.18);
}
.world-map { position: absolute; inset: 6%; width: 88%; height: 88%; filter: drop-shadow(0 20px 38px rgba(32,95,230,.25)); }
.map-grid { fill: none; stroke: rgba(123,161,255,.08); stroke-width: 1; }
.continents { fill: rgba(48,91,179,.48); stroke: rgba(126,167,255,.52); stroke-width: 2; }
.active-countries .germany { fill: #38e29d; stroke: #8effcb; stroke-width: 3; }
.active-countries .russia { fill: rgba(246,185,77,.5); stroke: rgba(246,205,118,.75); stroke-width: 2; }
.pin {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(105,160,255,.36);
  border-radius: 13px;
  color: white;
  background: rgba(6,15,34,.86);
  box-shadow: 0 16px 36px rgba(0,0,0,.4);
  font-size: 12px;
  font-weight: 950;
}
.pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #43e693; box-shadow: 0 0 16px #43e693; }
.pin.frankfurt { top: 34%; left: 16%; }
.pin.moscow { top: 48%; left: 35%; opacity: .68; }
.pin.moscow::before { background: #f6b94d; box-shadow: 0 0 16px #f6b94d; }

/* Built-in support */
.support-launcher {
  position: fixed; z-index: 80; right: 26px; bottom: 26px;
  width: 62px; height: 62px; display: grid; place-items: center;
  border: 1px solid rgba(115,172,255,.58); border-radius: 20px; color: white;
  background: linear-gradient(145deg, #4b85ff, #2958e9);
  box-shadow: 0 18px 50px rgba(42,94,232,.42), inset 0 1px rgba(255,255,255,.26);
}
.support-launcher:hover { transform: translateY(-3px) scale(1.03); }
.support-launcher svg { width: 28px; fill: currentColor; }
.support-widget {
  position: fixed; z-index: 90; right: 26px; bottom: 100px;
  width: min(390px, calc(100vw - 28px)); height: min(620px, calc(100vh - 130px));
  display: none; grid-template-rows: auto 1fr auto; overflow: hidden;
  border: 1px solid rgba(101,157,255,.34); border-radius: 24px;
  background: rgba(6,14,31,.96);
  box-shadow: 0 32px 100px rgba(0,0,0,.65), 0 0 75px rgba(50,109,242,.18);
}
.support-widget.open { display: grid; animation: supportIn .2s ease-out; }
.support-widget header { display: flex; align-items: center; gap: 12px; padding: 17px 18px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(90deg, rgba(47,102,229,.2), rgba(13,26,52,.45)); }
.support-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: white; background: linear-gradient(145deg, #56a3ff, #6254f7); font-weight: 1000; }
.support-widget header div { display: grid; gap: 4px; }
.support-widget header small { display: flex; align-items: center; gap: 6px; color: #8494b1; }
.support-widget header small i { width: 7px; height: 7px; border-radius: 50%; background: #42df91; box-shadow: 0 0 12px #42df91; }
.support-widget header button { margin-left: auto; color: #8c9ab5; background: transparent; font-size: 28px; }
.support-messages { overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.support-message { max-width: 86%; padding: 12px 14px; border-radius: 17px 17px 17px 5px; color: #dce7fa; background: rgba(255,255,255,.07); }
.support-message.user { align-self: flex-end; border-radius: 17px 17px 5px 17px; background: linear-gradient(145deg, #3e7bf3, #315cd5); }
.support-message b { color: #78a8ff; font-size: 12px; }
.support-message.user b { color: #dce9ff; }
.support-message p { margin: 5px 0 0; line-height: 1.45; white-space: pre-wrap; }
.support-guest { padding: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.support-guest p { margin: 0 0 12px; color: #94a3bc; text-align: center; }
.support-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 13px; border-top: 1px solid rgba(255,255,255,.08); }
.support-form textarea { min-height: 48px; max-height: 110px; resize: vertical; padding: 13px; border: 1px solid rgba(112,151,225,.2); border-radius: 14px; color: white; background: rgba(14,27,51,.88); font: inherit; }
.support-form button { width: 48px; border-radius: 14px; color: white; background: linear-gradient(145deg, #4b85ff, #2958e9); font-size: 20px; }
@keyframes supportIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes routeReveal {
  from { opacity: 0; transform: translateY(18px) scale(.992); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(28px,-18px,0) scale(1.07); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; height: auto; padding: 14px; }
  .topbar nav { order: 3; grid-column: 1 / -1; overflow: auto; justify-content: flex-start; }
  .top-actions .status-pill { display: none; }
  .hero.active { grid-template-columns: 1fr; }
  .phone-card, .control-hub { display: none; }
  .plans-grid, .stats-cards, .profile-grid { grid-template-columns: 1fr 1fr; }
  .shell-view.active { grid-template-columns: 1fr; margin: 0; width: 100%; }
  .side { position: relative; min-height: auto; display: flex; overflow: auto; gap: 8px; padding: 12px; }
  .side .side-user, .side-brand { display: none; }
  .side-link { white-space: nowrap; }
  .side.clone { display: none; }
  .panel-page, .create-page, .finance-page, .profile-page { padding: 30px 18px; }
  .create-layout, .payment { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .games-grid, .locations-page.active { grid-template-columns: 1fr; }
  .globe-card { min-height: 440px; }
}

@media (max-width: 720px) {
  main { width: 100%; }
  .view { padding: 48px 18px; }
  .plans-grid, .stats-cards, .mini-plans, .profile-grid, .included, .footer { grid-template-columns: 1fr; }
  h1 { font-size: 46px; }
  .section-head h2 { font-size: 40px; }
  .hero-buttons, .pay-methods, .periods { grid-template-columns: 1fr; display: grid; }
  .top-actions .icon-button { display: none; }
  .games-page, .locations-page { width: calc(100% - 28px); padding: 44px 0 70px; }
  .feature-strip { grid-template-columns: 1fr; }
  .launch-banner { align-items: flex-start; flex-direction: column; margin-bottom: 60px; padding: 25px; }
  .games-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 330px; padding: 26px; }
  .globe-card { min-height: 360px; }
  .support-launcher { right: 14px; bottom: 14px; }
  .support-widget { right: 14px; bottom: 88px; }
}
