@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-Thin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-ThinItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-LightItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-RegularItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-MediumItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-SemiBoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-BoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-Heavy.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-HeavyItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-Black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-BlackItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-Ultra.woff2") format("woff2");
  font-style: normal;
  font-weight: 950;
  font-display: swap;
}

@font-face {
  font-family: "Kinetika";
  src: url("assets/fonts/kinetika/Kinetika-UltraItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 950;
  font-display: swap;
}

:root {
  --bg: #090511;
  --text: #fff8ff;
  --muted: rgba(255, 248, 255, .68);
  --purple: #9b35ff;
  --purple-2: #d8c2ff;
  --yellow: #ffd85d;
  --orange: #ff725e;
  --blue: #5865f2;
  --green: #48ef9a;
  --glass: rgba(255, 255, 255, .115);
  --glass-strong: rgba(255, 255, 255, .19);
  --glass-line: rgba(255, 255, 255, .28);
  --shadow: 0 20px 70px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  scrollbar-width: none;
}

html.is-scroll-dragging {
  scroll-behavior: auto;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

.page-scroll-indicator {
  position: fixed;
  z-index: 70;
  right: clamp(10px, 1vw, 16px);
  top: 50%;
  width: 5px;
  height: 112px;
  border-radius: 999px;
  background: rgba(226,225,233,.34);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: width .2s ease, opacity .25s ease, background .2s ease;
}

.page-scroll-indicator.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.page-scroll-indicator:hover,
.page-scroll-indicator:focus-visible,
.page-scroll-indicator.is-dragging {
  width: 7px;
  background: rgba(235,232,241,.48);
  outline: none;
}

.page-scroll-indicator__thumb {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 34px;
  border-radius: 999px;
  background: #060509;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 4px 12px rgba(0,0,0,.34);
  cursor: grab;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.page-scroll-indicator.is-dragging .page-scroll-indicator__thumb {
  cursor: grabbing;
}

@media (max-width: 760px) {
  .page-scroll-indicator {
    right: 7px;
    height: 96px;
  }

  .page-scroll-indicator__thumb {
    height: 30px;
  }
}

body {
  min-height: 100%;
  margin: 0;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  font-family: "Kinetika", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  padding: 8px 18px 36px;
  background:
    linear-gradient(rgba(203,174,225,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203,174,225,.045) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 4%, rgba(126,63,194,.14), transparent 42%),
    linear-gradient(180deg, #21102f 0%, #180b25 46%, #0d0614 100%);
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%;
  background-position: center top;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 108svh;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,6,20,.42), rgba(13,6,20,.02) 47%, rgba(13,6,20,.16)),
    linear-gradient(180deg, rgba(13,6,20,.04) 34%, rgba(25,11,38,.18) 57%, rgba(32,15,47,.66) 78%, #21102f 100%),
    url("assets/hero-background-light-v2.webp") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 70%, rgba(0,0,0,.92) 80%, rgba(0,0,0,.5) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 70%, rgba(0,0,0,.92) 80%, rgba(0,0,0,.5) 92%, transparent 100%);
  filter: none;
  transform-origin: top center;
  animation: heroLampExposureV2 12.6s linear infinite;
  transition: filter .8s cubic-bezier(.2,.8,.2,1);
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 32%, rgba(0,0,0,.46) 100%),
    linear-gradient(180deg, rgba(255,255,255,.012), rgba(0,0,0,.18));
  background-size: 100% 100%;
  mask-image: none;
  opacity: 1;
  animation: none;
}

@keyframes purpleAtmosphere {
  0% { transform: translate3d(-3%, -2%, 0) rotate(-3deg) scale(1); }
  50% { transform: translate3d(4%, 3%, 0) rotate(2deg) scale(1.08); }
  100% { transform: translate3d(-1%, 5%, 0) rotate(5deg) scale(1.03); }
}

@keyframes ambientGrid {
  to { background-position: 64px 32px, 64px 32px, 0 0; }
}

.ambient-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-lamp-glow {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: min(42vw, 650px);
  height: min(45vw, 620px);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 46% 18%, rgba(255,255,255,.95) 0 1.4%, rgba(230,202,255,.72) 3.2%, rgba(169,91,239,.34) 14%, transparent 39%),
    conic-gradient(from 157deg at 46% 18%, transparent 0 31%, rgba(224,186,255,.23) 37%, rgba(141,66,210,.07) 51%, transparent 59% 100%);
  mix-blend-mode: screen;
  filter: blur(9px);
  opacity: .42;
  transform-origin: 46% 18%;
  animation: heroLampGlowV2 12.6s linear infinite;
  transition: opacity .55s ease, transform .8s ease;
}

.lights-out-overlay {
  display: none;
}

.hero-light-switch {
  position: absolute;
  z-index: 31;
  left: var(--switch-left, 90%);
  top: var(--switch-top, 56%);
  width: var(--switch-width, 49px);
  height: var(--switch-height, 103px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateZ(0);
  filter: brightness(.78) saturate(.9) contrast(1.04);
  animation: heroSwitchExposureV2 12.6s linear infinite;
  transition: filter .2s ease, transform .2s ease;
}

.hero-light-switch:hover,
.hero-light-switch:focus-visible {
  transform: scale(1.045);
  outline: none;
}

.hero-light-switch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  transition: opacity .25s ease;
}

.hero-light-switch__steady {
  opacity: 0;
}

.hero-light-switch span {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  width: max-content;
  max-width: 190px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: rgba(255,255,255,.88);
  background: rgba(12,6,18,.82);
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}

.hero-light-switch:hover span,
.hero-light-switch:focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}

body.light-off .page-shell::before {
  animation: none;
  filter: brightness(.18) saturate(.58) contrast(1.16);
}

body.light-off .hero-lamp-glow {
  animation: none;
  opacity: 0;
  transform: scale(.88);
}

body.light-stabilized .page-shell::before {
  animation: none;
  filter: brightness(.94) saturate(.98) contrast(1.02);
}

body.light-stabilized .hero-lamp-glow {
  animation: none;
  opacity: .64;
  transform: scale(1.035);
}

body.light-off .hero-light-switch {
  animation: none;
  filter: brightness(.18) saturate(.58) contrast(1.16);
}

body.light-stabilized .hero-light-switch {
  animation: none;
  filter: brightness(.94) saturate(.98) contrast(1.02);
}

body.light-stabilized .hero-light-switch__flicker,
body.light-off .hero-light-switch__flicker {
  opacity: 0;
}

body.light-stabilized .hero-light-switch__steady,
body.light-off .hero-light-switch__steady {
  opacity: 1;
}

body.light-off .hero-light-switch span::before {
  content: "Увімкнути мерехтіння";
  font-size: 9px;
}

body.light-stabilized .hero-light-switch span::before {
  content: "Вимкнути світло";
  font-size: 9px;
}

body.light-off .hero-light-switch span,
body.light-stabilized .hero-light-switch span {
  font-size: 0;
}

@keyframes heroLampExposureV2 {
  0%, 6%, 9.5%, 13%, 28%, 49%, 53%, 71%, 75%, 100% {
    filter: brightness(.78) saturate(.9) contrast(1.04);
  }
  6.5%, 8%, 10.5%, 50%, 51.5%, 72%, 73.2% {
    filter: brightness(.25) saturate(.62) contrast(1.14);
  }
  7%, 9%, 11.4%, 29%, 52.2%, 74% {
    filter: brightness(1.04) saturate(1.02) contrast(1);
  }
  37%, 39% {
    filter: brightness(.55) saturate(.78) contrast(1.08);
  }
}

@keyframes heroLampGlowV2 {
  0%, 6%, 9.5%, 13%, 28%, 49%, 53%, 71%, 75%, 100% {
    opacity: .42;
    transform: scale(1);
  }
  6.5%, 8%, 10.5%, 50%, 51.5%, 72%, 73.2% {
    opacity: .015;
    transform: scale(.9);
  }
  7%, 9%, 11.4%, 29%, 52.2%, 74% {
    opacity: .96;
    transform: scale(1.08);
  }
  37%, 39% {
    opacity: .14;
    transform: scale(.96);
  }
}

@keyframes heroSwitchExposureV2 {
  0%, 6%, 9.5%, 13%, 28%, 49%, 53%, 71%, 75%, 100% {
    filter: brightness(.78) saturate(.9) contrast(1.04);
  }
  6.5%, 8%, 10.5%, 50%, 51.5%, 72%, 73.2% {
    filter: brightness(.25) saturate(.62) contrast(1.14);
  }
  7%, 9%, 11.4%, 29%, 52.2%, 74% {
    filter: brightness(1.04) saturate(1.02) contrast(1);
  }
  37%, 39% {
    filter: brightness(.55) saturate(.78) contrast(1.08);
  }
}

@media (max-width: 760px) {
  .hero-lamp-glow {
    width: 94vw;
    height: 90vw;
    left: -18vw;
  }

  .hero-light-switch {
    display: none;
  }
}

.ambient-scene::before,
.ambient-scene::after,
.ambient-orbit,
.ambient-cube,
.ambient-beam,
.ambient-horizon,
.ambient-dust {
  display: none !important;
}

.pixel-rain {
  position: absolute;
  inset: -14vh 0 0;
  overflow: hidden;
  opacity: .56;
}

.pixel-rain i {
  --spark-size: 3px;
  --spark-speed: 8s;
  --spark-delay: 0s;
  --spark-drift: 0px;
  position: absolute;
  left: var(--spark-x);
  top: -8vh;
  width: var(--spark-size);
  height: var(--spark-size);
  border-radius: 1px;
  background: var(--spark-color, #c991ff);
  box-shadow:
    0 -7px 7px -3px var(--spark-color, #c991ff),
    0 -15px 12px -7px var(--spark-color, #c991ff),
    0 0 12px var(--spark-color, #c991ff);
  opacity: 0;
  animation: pixelRainFall var(--spark-speed) linear var(--spark-delay) infinite;
}

.pixel-rain i:nth-child(1)  { --spark-x: 4%;  --spark-size: 2px; --spark-speed: 8.8s;  --spark-delay: -2.1s; --spark-drift: 18px; }
.pixel-rain i:nth-child(2)  { --spark-x: 9%;  --spark-size: 4px; --spark-speed: 12.5s; --spark-delay: -8.4s; --spark-drift: -12px; --spark-color: #ffd85d; }
.pixel-rain i:nth-child(3)  { --spark-x: 15%; --spark-size: 2px; --spark-speed: 10.2s; --spark-delay: -5.2s; --spark-drift: 24px; }
.pixel-rain i:nth-child(4)  { --spark-x: 21%; --spark-size: 3px; --spark-speed: 14.1s; --spark-delay: -11s; --spark-drift: -18px; }
.pixel-rain i:nth-child(5)  { --spark-x: 27%; --spark-size: 2px; --spark-speed: 9.4s;  --spark-delay: -3.7s; --spark-drift: 8px; --spark-color: #f4e8ff; }
.pixel-rain i:nth-child(6)  { --spark-x: 33%; --spark-size: 5px; --spark-speed: 15.8s; --spark-delay: -13s; --spark-drift: 20px; }
.pixel-rain i:nth-child(7)  { --spark-x: 39%; --spark-size: 2px; --spark-speed: 11.7s; --spark-delay: -7.5s; --spark-drift: -22px; }
.pixel-rain i:nth-child(8)  { --spark-x: 44%; --spark-size: 3px; --spark-speed: 8.2s;  --spark-delay: -1.6s; --spark-drift: 12px; --spark-color: #ffd85d; }
.pixel-rain i:nth-child(9)  { --spark-x: 49%; --spark-size: 2px; --spark-speed: 13.6s; --spark-delay: -10.1s; --spark-drift: -10px; }
.pixel-rain i:nth-child(10) { --spark-x: 54%; --spark-size: 4px; --spark-speed: 10.8s; --spark-delay: -6.3s; --spark-drift: 26px; }
.pixel-rain i:nth-child(11) { --spark-x: 59%; --spark-size: 2px; --spark-speed: 16.2s; --spark-delay: -14.4s; --spark-drift: -16px; --spark-color: #f4e8ff; }
.pixel-rain i:nth-child(12) { --spark-x: 63%; --spark-size: 3px; --spark-speed: 9.7s;  --spark-delay: -4.8s; --spark-drift: 14px; }
.pixel-rain i:nth-child(13) { --spark-x: 68%; --spark-size: 2px; --spark-speed: 12.9s; --spark-delay: -9.2s; --spark-drift: -24px; }
.pixel-rain i:nth-child(14) { --spark-x: 72%; --spark-size: 5px; --spark-speed: 15.1s; --spark-delay: -12.6s; --spark-drift: 10px; --spark-color: #ffd85d; }
.pixel-rain i:nth-child(15) { --spark-x: 76%; --spark-size: 2px; --spark-speed: 8.6s;  --spark-delay: -2.8s; --spark-drift: 22px; }
.pixel-rain i:nth-child(16) { --spark-x: 80%; --spark-size: 3px; --spark-speed: 11.2s; --spark-delay: -6.9s; --spark-drift: -12px; }
.pixel-rain i:nth-child(17) { --spark-x: 84%; --spark-size: 2px; --spark-speed: 14.7s; --spark-delay: -11.7s; --spark-drift: 16px; }
.pixel-rain i:nth-child(18) { --spark-x: 88%; --spark-size: 4px; --spark-speed: 10.5s; --spark-delay: -5.5s; --spark-drift: -20px; --spark-color: #f4e8ff; }
.pixel-rain i:nth-child(19) { --spark-x: 92%; --spark-size: 2px; --spark-speed: 13.2s; --spark-delay: -9.8s; --spark-drift: 12px; }
.pixel-rain i:nth-child(20) { --spark-x: 96%; --spark-size: 3px; --spark-speed: 9.1s;  --spark-delay: -3.4s; --spark-drift: -16px; --spark-color: #ffd85d; }
.pixel-rain i:nth-child(21) { --spark-x: 12%; --spark-size: 2px; --spark-speed: 17.4s; --spark-delay: -15.2s; --spark-drift: 28px; }
.pixel-rain i:nth-child(22) { --spark-x: 36%; --spark-size: 3px; --spark-speed: 12.1s; --spark-delay: -7.9s; --spark-drift: -18px; }
.pixel-rain i:nth-child(23) { --spark-x: 66%; --spark-size: 2px; --spark-speed: 16.8s; --spark-delay: -13.8s; --spark-drift: 20px; }
.pixel-rain i:nth-child(24) { --spark-x: 86%; --spark-size: 3px; --spark-speed: 11.6s; --spark-delay: -6.1s; --spark-drift: -14px; }

@keyframes pixelRainFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -8vh, 0) scale(.45);
  }
  7% { opacity: .8; }
  62% { opacity: .5; }
  100% {
    opacity: 0;
    transform: translate3d(var(--spark-drift), 124vh, 0) scale(1);
  }
}

.ambient-scene::before {
  content: "";
  position: absolute;
  width: min(72vw, 1200px);
  aspect-ratio: 1;
  right: -18vw;
  top: -35%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 12deg, rgba(205,148,255,.055) 0 1deg, transparent 1deg 11deg),
    radial-gradient(circle, transparent 48%, rgba(168,74,255,.11) 48.4% 49%, transparent 49.5% 62%, rgba(255,255,255,.045) 62.2% 62.6%, transparent 63%);
  mask-image: radial-gradient(circle, #000 30%, transparent 72%);
  animation: ambientDial 42s linear infinite;
}

.ambient-scene::after {
  content: "";
  position: absolute;
  width: 48vw;
  height: 38vw;
  left: -10vw;
  bottom: -22vw;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(146,46,255,.2), rgba(87,18,161,.06) 42%, transparent 70%);
  filter: blur(12px);
  animation: ambientPulse 9s ease-in-out infinite alternate;
}

.ambient-orbit {
  position: absolute;
  border: 1px solid rgba(226,198,255,.09);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.ambient-orbit::before,
.ambient-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #cb8fff;
  box-shadow: 0 0 18px rgba(203,143,255,.85);
}

.ambient-orbit::before {
  left: 12%;
  top: 15%;
}

.ambient-orbit::after {
  right: 8%;
  bottom: 20%;
  width: 5px;
  height: 5px;
  background: var(--yellow);
  box-shadow: 0 0 16px rgba(255,216,93,.72);
}

.ambient-orbit--one {
  width: 46vw;
  height: 24vw;
  right: 4vw;
  top: 13vh;
  animation: orbitDrift 18s ease-in-out infinite alternate;
}

.ambient-orbit--two {
  width: 28vw;
  height: 14vw;
  right: 14vw;
  top: 24vh;
  opacity: .65;
  animation: orbitDrift 14s ease-in-out -5s infinite alternate-reverse;
}

.ambient-cube {
  position: absolute;
  right: 10vw;
  top: 18vh;
  width: min(24vw, 390px);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(6px, .7vw, 12px);
  transform: perspective(900px) rotateX(61deg) rotateZ(-29deg);
  opacity: .18;
  filter: drop-shadow(0 25px 45px rgba(151,52,255,.18));
  animation: cubeFloat 11s ease-in-out infinite;
}

.ambient-cube span {
  border: 1px solid rgba(228,199,255,.2);
  background:
    linear-gradient(145deg, rgba(219,174,255,.16), rgba(104,30,177,.03)),
    rgba(255,255,255,.015);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 0 18px rgba(143,47,255,.08);
}

.ambient-cube span:nth-child(3n + 1) { animation: cubeCell 5s ease-in-out infinite; }
.ambient-cube span:nth-child(3n + 2) { animation: cubeCell 5s ease-in-out -1.7s infinite; }
.ambient-cube span:nth-child(3n) { animation: cubeCell 5s ease-in-out -3.3s infinite; }

.ambient-beam {
  position: absolute;
  width: 70vw;
  height: 18vh;
  left: 20vw;
  top: 24vh;
  background: linear-gradient(100deg, transparent, rgba(167,81,255,.08) 42%, rgba(255,255,255,.07) 50%, transparent 63%);
  filter: blur(10px);
  transform: rotate(-11deg);
  animation: beamSweep 12s ease-in-out infinite;
}

.ambient-horizon {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -22vh;
  height: 72vh;
  opacity: .22;
  background:
    linear-gradient(rgba(202,152,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202,152,255,.12) 1px, transparent 1px);
  background-size: 72px 52px;
  transform: perspective(520px) rotateX(68deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000 18%, transparent 78%);
  animation: horizonMove 16s linear infinite;
}

.ambient-dust i {
  --dust-size: 3px;
  position: absolute;
  width: var(--dust-size);
  height: var(--dust-size);
  border-radius: 1px;
  background: rgba(229,203,255,.72);
  box-shadow: 0 0 12px rgba(189,111,255,.7);
  opacity: 0;
  animation: dustRise var(--dust-speed) linear var(--dust-delay) infinite;
}

.ambient-dust i:nth-child(1) { left: 8%; top: 76%; --dust-size: 3px; --dust-speed: 13s; --dust-delay: -2s; }
.ambient-dust i:nth-child(2) { left: 18%; top: 60%; --dust-size: 5px; --dust-speed: 17s; --dust-delay: -10s; }
.ambient-dust i:nth-child(3) { left: 31%; top: 82%; --dust-size: 2px; --dust-speed: 12s; --dust-delay: -6s; }
.ambient-dust i:nth-child(4) { left: 43%; top: 68%; --dust-size: 4px; --dust-speed: 15s; --dust-delay: -12s; }
.ambient-dust i:nth-child(5) { left: 57%; top: 88%; --dust-size: 3px; --dust-speed: 19s; --dust-delay: -4s; }
.ambient-dust i:nth-child(6) { left: 68%; top: 62%; --dust-size: 2px; --dust-speed: 14s; --dust-delay: -8s; }
.ambient-dust i:nth-child(7) { left: 79%; top: 78%; --dust-size: 5px; --dust-speed: 18s; --dust-delay: -15s; }
.ambient-dust i:nth-child(8) { left: 91%; top: 66%; --dust-size: 3px; --dust-speed: 12s; --dust-delay: -1s; }
.ambient-dust i:nth-child(9) { left: 13%; top: 90%; --dust-size: 2px; --dust-speed: 16s; --dust-delay: -7s; }
.ambient-dust i:nth-child(10) { left: 37%; top: 72%; --dust-size: 3px; --dust-speed: 20s; --dust-delay: -13s; }
.ambient-dust i:nth-child(11) { left: 64%; top: 84%; --dust-size: 4px; --dust-speed: 15s; --dust-delay: -3s; }
.ambient-dust i:nth-child(12) { left: 86%; top: 92%; --dust-size: 2px; --dust-speed: 18s; --dust-delay: -11s; }

@keyframes ambientDial {
  to { transform: rotate(360deg); }
}

@keyframes ambientPulse {
  to { transform: translate3d(6vw, -4vh, 0) scale(1.18); opacity: .75; }
}

@keyframes orbitDrift {
  to { transform: translate3d(-3vw, 3vh, 0) rotate(-11deg) scale(1.06); }
}

@keyframes cubeFloat {
  0%, 100% { transform: perspective(900px) rotateX(61deg) rotateZ(-29deg) translate3d(0, 0, 0); }
  50% { transform: perspective(900px) rotateX(58deg) rotateZ(-25deg) translate3d(-18px, -14px, 35px); }
}

@keyframes cubeCell {
  0%, 100% { opacity: .34; }
  50% { opacity: 1; background-color: rgba(170,82,255,.14); }
}

@keyframes beamSweep {
  0%, 100% { transform: translateX(-12vw) rotate(-11deg); opacity: .24; }
  50% { transform: translateX(18vw) rotate(-8deg); opacity: .8; }
}

@keyframes horizonMove {
  to { background-position: 0 52px, 72px 0; }
}

@keyframes dustRise {
  0% { opacity: 0; transform: translate3d(0, 5vh, 0) scale(.4); }
  14% { opacity: .72; }
  76% { opacity: .25; }
  100% { opacity: 0; transform: translate3d(4vw, -62vh, 0) scale(1.3) rotate(180deg); }
}

@media (max-width: 760px) {
  .ambient-scene::before {
    width: 150vw;
    right: -78vw;
    top: -18%;
  }

  .ambient-orbit--one {
    width: 100vw;
    height: 55vw;
    right: -42vw;
    top: 27vh;
  }

  .ambient-orbit--two,
  .ambient-cube {
    display: none;
  }

  .ambient-beam {
    width: 120vw;
    left: -20vw;
    opacity: .55;
  }

  .ambient-horizon {
    opacity: .14;
  }
}

.site-header {
  width: min(1680px, calc(100vw - 28px));
  min-height: 74px;
  margin: 0 auto;
  padding: 9px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 9px;
  align-items: center;
  position: sticky;
  top: 8px;
  z-index: 20;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(25, 17, 38, .48), rgba(14, 8, 23, .30));
  backdrop-filter: blur(30px) saturate(1.55);
  -webkit-backdrop-filter: blur(30px) saturate(1.55);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.08);
  overflow: visible;
}

.brand,
.main-nav,
.server-mini,
.socials,
.header-account-glass,
.server-panel {
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.20), rgba(255,255,255,.072));
  backdrop-filter: blur(24px) saturate(1.55);
  -webkit-backdrop-filter: blur(24px) saturate(1.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(255,255,255,.08), 0 14px 36px rgba(0,0,0,.22);
  overflow: hidden;
}

.brand::after,
.main-nav::after,
.server-mini::after,
.socials::after,
.header-account-glass::after,
.nav-glass::after,
.social-glass::after,
.copy-ip::after,
.server-panel::after,
.action-primary::after,
.action-discord::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.36), transparent 36%, rgba(255,255,255,.09) 78%, rgba(255,255,255,.28));
  opacity: .42;
}

.brand {
  height: 56px;
  min-width: 214px;
  padding: 7px 13px 7px 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  border-radius: 18px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 22px rgba(140, 38, 255, .22);
}

.brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(142, 41, 255, .42));
}

.brand-title {
  position: relative;
  z-index: 1;
  font-size: clamp(18px, 1.3vw, 23px);
  font-weight: 1000;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,.46);
}

.main-nav {
  min-width: 0;
  height: 56px;
  padding: 6px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  border-radius: 18px;
}

.nav-glass {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 0 clamp(11px, .85vw, 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: rgba(255,248,255,.82);
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(10px, .7vw, 12px);
  font-weight: 950;
  letter-spacing: .075em;
  white-space: nowrap;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.nav-glass:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.24);
}

.nav-glass.is-active {
  color: #150b22;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(225,211,255,.9) 46%, rgba(184,126,255,.82));
  box-shadow: 0 12px 28px rgba(155,53,255,.28), inset 0 1px 0 rgba(255,255,255,.82);
}

.server-mini {
  height: 56px;
  padding: 7px 7px 7px 12px;
  display: grid;
  grid-template-columns: auto minmax(150px, auto) auto;
  gap: 9px;
  align-items: center;
  border-radius: 18px;
}

.status-light {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green), 0 0 0 5px rgba(72,239,154,.08);
}

.server-mini__text {
  position: relative;
  z-index: 1;
  display: grid;
  line-height: 1.05;
}

.server-mini__text strong {
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.server-mini__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.copy-ip {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.22);
  cursor: pointer;
  color: #16091d;
  background: linear-gradient(145deg, #fff8c2, var(--yellow) 55%, #bf7d14);
  font-weight: 1000;
  letter-spacing: .08em;
  box-shadow: 0 14px 28px rgba(255,216,93,.22), inset 0 1px 0 rgba(255,255,255,.7);
}

.mini-ip {
  width: 46px;
  height: 42px;
  border-radius: 15px;
}

.copy-ip:active { transform: translateY(1px); }

.socials {
  height: 56px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 18px;
}

.social-glass {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: rgba(255,248,255,.92);
  border-radius: 15px;
  text-decoration: none;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.header-account-glass {
  position: relative;
  z-index: 5;
  width: 52px;
  height: 56px;
  display: grid;
  place-items: center;
  color: rgba(255,248,255,.94);
  border-radius: 18px;
  text-decoration: none;
  overflow: visible !important;
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.account-hint {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  display: block;
  min-width: 260px;
  padding: 6px 34px 6px 0;
  border: 0;
  border-radius: 0;
  color: rgba(255,248,255,.86);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
  pointer-events: none;
  opacity: .82;
  transform: translateY(0);
  animation: accountHintPulse 2.8s ease-in-out infinite;
  text-shadow: 0 2px 12px rgba(0,0,0,.72);
}

.account-hint::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 24px;
  height: 38px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.58);
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.04));
  transform: translateY(-50%);
  box-shadow: inset -5px 0 12px rgba(255,255,255,.035), 0 0 14px rgba(255,255,255,.08);
}

.account-hint i {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 2px;
  height: 24px;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(to top, rgba(255,216,93,.08), rgba(255,216,93,.95), rgba(255,248,190,.72));
  box-shadow: 0 0 14px rgba(255,216,93,.5);
  transform: translateY(-50%);
  animation: accountHintLine 1.35s ease-in-out infinite;
}

.account-hint i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 8px;
  height: 8px;
  border-left: 2px solid rgba(255,231,135,.98);
  border-top: 2px solid rgba(255,231,135,.98);
  filter: drop-shadow(0 0 7px rgba(255,216,93,.72));
  transform: translateX(-50%) rotate(45deg);
  animation: accountHintArrow 1.2s ease-in-out infinite;
}

.header-account-glass svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  fill: currentColor;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.38));
}

.header-account-glass:hover,
.header-account-glass.is-active {
  transform: translateY(-1px) scale(1.02);
  color: #15091e;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(225,211,255,.9) 46%, rgba(184,126,255,.82));
  box-shadow: 0 14px 30px rgba(155,53,255,.25), inset 0 1px 0 rgba(255,255,255,.62);
}

.header-account-glass:hover .account-hint,
.header-account-glass.is-active .account-hint {
  opacity: .96;
  transform: translateY(0);
}

body.is-authenticated .account-hint {
  display: none;
}

.sound-toggle {
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.sound-icon--on {
  display: none;
}

.sound-toggle.is-playing .sound-icon--on {
  display: block;
}

.sound-toggle.is-playing .sound-icon--off {
  display: none;
}

.sound-toggle.is-playing {
  color: var(--yellow);
  box-shadow: 0 0 24px rgba(255,216,93,.16), inset 0 1px 0 rgba(255,255,255,.2);
}

.lamp-sync-reset .page-shell::before,
.lamp-sync-reset .hero-lamp-glow,
.lamp-sync-reset .hero-light-switch {
  animation: none !important;
}

.social-glass svg,
.action-primary svg,
.action-discord svg {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  fill: currentColor;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.38));
}

.social-glass:hover {
  transform: translateY(-1px) scale(1.02);
  color: #15091e;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(224,211,255,.9), rgba(162,82,255,.76));
  box-shadow: 0 14px 30px rgba(155,53,255,.25), inset 0 1px 0 rgba(255,255,255,.62);
}

.hero-stage {
  width: min(1580px, calc(100vw - 36px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  display: grid;
  align-content: end;
  gap: clamp(24px, 4vh, 44px);
  padding: clamp(120px, 17vh, 220px) 0 clamp(28px, 5vh, 54px);
}

.hero-copy { max-width: 1100px; }

.pretitle {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,.65);
}

.hero-copy h1 {
  margin: 0;
  max-width: 1060px;
  text-transform: uppercase;
  font-size: clamp(64px, 11vw, 178px);
  line-height: .78;
  letter-spacing: -.09em;
  font-weight: 1000;
  text-shadow: 0 18px 70px rgba(0,0,0,.78);
}

.subtitle {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255,248,255,.9);
  font-size: clamp(17px, 1.6vw, 25px);
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 0 8px 36px rgba(0,0,0,.72);
}

.server-panel {
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(18, 11, 25, .88), rgba(64, 42, 34, .45)),
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 34px 92px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.23);
}

.server-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,216,93,.13), transparent 24%),
    radial-gradient(circle at 78% 8%, rgba(155,53,255,.18), transparent 32%),
    linear-gradient(90deg, rgba(0,0,0,.12), transparent 55%);
  pointer-events: none;
}

.server-panel__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: clamp(22px, 4vw, 50px);
  padding: clamp(26px, 4vw, 48px);
}

.server-state {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.state-pill,
.wipe-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .075em;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.state-pill { color: var(--green); }
.state-pill i {
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(72,239,154,.9);
}
.wipe-pill { color: var(--green); background: rgba(72,239,154,.09); border-color: rgba(72,239,154,.22); }

.server-panel h2 {
  margin: 0;
  font-size: clamp(44px, 5.5vw, 96px);
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: uppercase;
  font-weight: 1000;
}

.server-description {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,248,255,.76);
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.45;
  font-weight: 650;
}

.tags-grid {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.tags-grid span {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 11px;
  border-radius: 16px;
  color: rgba(255,248,255,.88);
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .045em;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.105);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
}

.server-actions {
  display: grid;
  gap: 14px;
  align-content: start;
}

.action-primary,
.action-discord {
  position: relative;
  z-index: 1;
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.26);
}

.action-primary {
  color: #16091d;
  background: linear-gradient(145deg, #fff5b7, var(--yellow) 44%, #ff9d3d 100%);
}

.action-discord {
  background: linear-gradient(145deg, #6f79ff, var(--blue));
}

.server-panel__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(10,6,12,.54);
}

.stat-item {
  min-height: 108px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 24px clamp(20px, 3vw, 36px);
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: 0; }

.stat-icon {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--yellow);
  background: rgba(255,216,93,.11);
  border: 1px solid rgba(255,216,93,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
}

.stat-item small {
  align-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stat-item strong {
  align-self: start;
  color: #fff;
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.05;
  font-weight: 1000;
  letter-spacing: -.03em;
}

.toast {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 40;
  padding: 14px 18px;
  border-radius: 16px;
  color: #15091e;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.42);
  backdrop-filter: blur(20px) saturate(1.45);
  -webkit-backdrop-filter: blur(20px) saturate(1.45);
  font-weight: 950;
  box-shadow: 0 18px 50px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.7);
  transform: translateY(28px);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .server-mini { grid-column: 1 / 3; }
  .socials { grid-column: 3 / 4; grid-row: 1 / 2; }
  .header-account-glass { grid-column: 4 / 5; grid-row: 1 / 2; }
  .main-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
}

@media (max-width: 920px) {
  .server-panel__main { grid-template-columns: 1fr; }
  .server-actions { grid-template-columns: 1fr 1fr; }
  .server-panel__stats { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-item:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  .page-shell { padding: 6px 10px 26px; }
  .site-header {
    width: calc(100vw - 20px);
    top: 6px;
    grid-template-columns: 1fr auto;
    gap: 8px;
    border-radius: 3px;
  }
  .brand { min-width: 0; height: 54px; }
  .brand-title { font-size: 18px; }
  .main-nav { height: 54px; padding: 5px; }
  .nav-glass { min-width: max-content; padding: 0 14px; font-size: 10px; }
  .server-mini {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    width: 100%;
  }
  .socials { grid-column: 2 / 3; grid-row: 1 / 2; }
  .header-account-glass { grid-column: 2 / 3; grid-row: 2 / 3; justify-self: end; width: 42px; height: 42px; border-radius: 14px; }
  .account-hint { display: none; }
  .social-glass { width: 42px; height: 42px; }
  .socials [data-social="discord"] { display: none; }
  .hero-stage {
    width: calc(100vw - 20px);
    min-height: calc(100vh - 120px);
    padding-top: 120px;
  }
  .hero-copy h1 { font-size: clamp(58px, 18vw, 96px); }
  .subtitle { font-size: 17px; }
  .server-panel { border-radius: 22px; }
  .server-panel__main { padding: 22px; }
  .server-actions { grid-template-columns: 1fr; }
  .tags-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-primary, .action-discord { min-height: 58px; font-size: 16px; }
  .stat-item { min-height: 92px; padding: 18px; }
}

/* v5: premium animated server module */
.site-header {
  animation: headerDrop .72s cubic-bezier(.2,.9,.2,1) both;
}
.brand, .main-nav, .server-mini, .socials {
  animation: glassBreath 6s ease-in-out infinite;
}
.nav-glass, .social-glass, .copy-ip {
  overflow: hidden;
}
.nav-glass::before, .social-glass::before, .copy-ip::before, .action-primary::before, .action-discord::before {
  content: "";
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.48), transparent 62%);
  transform: translateX(-120%) rotate(8deg);
  opacity: .55;
  pointer-events: none;
}
.nav-glass:hover::before, .social-glass:hover::before, .copy-ip:hover::before, .action-primary:hover::before, .action-discord:hover::before {
  animation: liquidSwipe .72s ease forwards;
}
.hero-copy {
  animation: heroRise .82s cubic-bezier(.2,.9,.2,1) .1s both;
}
.premium-server {
  transform-style: preserve-3d;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(12, 7, 18, .82), rgba(24, 13, 35, .58) 48%, rgba(9, 7, 13, .88)),
    linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.035));
  border: 1px solid rgba(234, 217, 255, .22);
  box-shadow:
    0 32px 90px rgba(0,0,0,.52),
    0 0 0 1px rgba(144,68,255,.08),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.08);
  animation: cardReveal .82s cubic-bezier(.2,.9,.2,1) .22s both;
  transition: transform .14s ease, box-shadow .24s ease;
}
.premium-server::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 76%) var(--my, 12%), rgba(207,163,255,.28), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(255,216,93,.12), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,.04), transparent 44%);
  pointer-events: none;
  transition: opacity .25s ease;
}
.premium-server::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255,255,255,.42), rgba(171,91,255,.12), rgba(255,216,93,.32), rgba(255,255,255,.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .62;
  animation: borderFlow 6s linear infinite;
}
.panel-aura {
  position: absolute;
  width: 430px;
  height: 430px;
  right: 14%;
  top: -190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(160,77,255,.3), transparent 62%);
  filter: blur(10px);
  animation: auraFloat 7s ease-in-out infinite;
  pointer-events: none;
}
.server-panel__main {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  align-items: start;
}
.server-eyebrow {
  margin: 0 0 10px;
  color: rgba(255,216,93,.92);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(700px, 100%);
  margin-top: 28px;
}
.feature-strip span {
  position: relative;
  min-height: 76px;
  padding: 15px 14px;
  border-radius: 20px;
  display: grid;
  align-content: center;
  gap: 5px;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 32px rgba(0,0,0,.16);
  overflow: hidden;
}
.feature-strip span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--yellow), var(--purple));
  opacity: .9;
}
.feature-strip b {
  font-size: clamp(17px, 1.7vw, 28px);
  line-height: .9;
  font-weight: 1000;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.feature-strip small {
  color: rgba(255,248,255,.63);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.server-terminal {
  position: relative;
  z-index: 2;
  padding: 14px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06)),
    rgba(16, 9, 23, .54);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 20px 55px rgba(0,0,0,.28);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}
.server-terminal::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.24), transparent 36%, rgba(255,255,255,.08));
  pointer-events: none;
}
.terminal-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: rgba(255,248,255,.64);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.terminal-topline strong {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.terminal-topline strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}
.ip-window {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.18)),
    rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.ip-window::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  animation: scanWindow 4.8s ease-in-out infinite;
}
.ip-window small {
  display: block;
  color: rgba(255,216,93,.8);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.ip-window code {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(12px, .95vw, 15px);
  font-weight: 800;
  word-break: break-all;
}
.terminal-copy,
.terminal-discord {
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  border-radius: 18px;
  font-size: 16px;
}
.terminal-discord { display: inline-flex; }
.island-preview {
  position: relative;
  z-index: 1;
  height: 190px;
  margin: 0 clamp(20px, 4vw, 48px) clamp(20px, 3vw, 30px);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 22% 54%, rgba(83, 54, 45, .9), transparent 18%),
    radial-gradient(ellipse at 52% 44%, rgba(64, 77, 62, .74), transparent 23%),
    radial-gradient(ellipse at 72% 58%, rgba(61, 44, 72, .8), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.18));
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 20px 50px rgba(0,0,0,.2);
}
.island-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: .6;
  animation: gridDrift 14s linear infinite;
}
.zone {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255,248,255,.9);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .14em;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.2);
  animation: markerPulse 2.9s ease-in-out infinite;
}
.zone::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px var(--yellow);
}
.zone-a { left: 18%; top: 38%; }
.zone-b { left: 48%; top: 25%; animation-delay: .4s; }
.zone-c { right: 13%; bottom: 28%; animation-delay: .8s; }
.route-line {
  position: absolute;
  left: 22%;
  top: 50%;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,216,93,.9), rgba(155,53,255,.8), transparent);
  transform: rotate(-6deg);
  box-shadow: 0 0 18px rgba(255,216,93,.32);
  animation: routeBlink 2.4s ease-in-out infinite;
}
.server-panel__stats {
  background: rgba(8, 5, 12, .46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stat-item {
  position: relative;
  overflow: hidden;
}
.stat-item::after {
  content: "";
  position: absolute;
  left: -40%;
  bottom: 0;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,216,93,.8), transparent);
  animation: statSweep 5s ease-in-out infinite;
}
.stat-item:nth-child(2)::after { animation-delay: .9s; }
.stat-item:nth-child(3)::after { animation-delay: 1.8s; }
.pulse-dot {
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes headerDrop { from { opacity: 0; transform: translateY(-18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes accountHintPulse { 0%, 100% { transform: translateY(0); opacity: .72; } 50% { transform: translateY(3px); opacity: .96; } }
@keyframes accountHintArrow { 0%, 100% { transform: translate(-50%, 4px) rotate(45deg); opacity: .42; } 50% { transform: translate(-50%, -3px) rotate(45deg); opacity: 1; } }
@keyframes accountHintLine { 0%, 100% { transform: translateY(-44%) scaleY(.72); opacity: .55; } 50% { transform: translateY(-56%) scaleY(1); opacity: 1; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes cardReveal { from { opacity: 0; transform: translateY(32px) scale(.985); filter: blur(10px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes glassBreath { 0%,100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(255,255,255,.08), 0 14px 36px rgba(0,0,0,.22); } 50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(255,255,255,.11), 0 18px 44px rgba(155,53,255,.16); } }
@keyframes liquidSwipe { to { transform: translateX(120%) rotate(8deg); } }
@keyframes borderFlow { 0% { filter: hue-rotate(0deg); opacity: .45; } 50% { filter: hue-rotate(28deg); opacity: .82; } 100% { filter: hue-rotate(0deg); opacity: .45; } }
@keyframes auraFloat { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity: .65; } 50% { transform: translate3d(-30px,38px,0) scale(1.08); opacity: .95; } }
@keyframes scanWindow { 0%, 42% { transform: translateX(0); opacity: 0; } 52% { opacity: .8; } 70%,100% { transform: translateX(350%); opacity: 0; } }
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 84px 42px, 84px 42px; } }
@keyframes markerPulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes routeBlink { 0%,100% { opacity: .38; } 50% { opacity: 1; } }
@keyframes statSweep { 0%,60% { transform: translateX(0); opacity: 0; } 72% { opacity: 1; } 100% { transform: translateX(390%); opacity: 0; } }
@keyframes dotPulse { 0%,100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 0 0 rgba(72,239,154,0); } 50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 0 24px rgba(72,239,154,.52); } }

@media (max-width: 920px) {
  .server-panel__main { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-terminal { max-width: none; }
  .island-preview { height: 160px; }
}
@media (max-width: 760px) {
  .premium-server { border-radius: 24px; }
  .feature-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feature-strip span { min-height: 66px; border-radius: 16px; }
  .island-preview { margin-inline: 18px; height: 140px; border-radius: 20px; }
  .zone { font-size: 8px; padding: 7px 8px; }
}

/* Keep the complete desktop header composition inside the opening viewport. */
@media (min-width: 1121px) and (max-height: 1200px) {
  .page-shell {
    min-height: 100svh;
    padding-bottom: 8px;
  }

  .site-header {
    min-height: 66px;
    padding: 7px;
    border-radius: 21px;
  }

  .brand,
  .main-nav,
  .server-mini,
  .socials,
  .header-account-glass {
    height: 50px;
    border-radius: 16px;
  }

  .brand {
    min-width: 176px;
    padding-block: 5px;
  }

  .brand-mark,
  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    font-size: clamp(16px, 1.15vw, 20px);
  }

  .main-nav {
    min-width: 470px;
    padding: 5px;
    gap: 5px;
  }

  .nav-glass {
    padding-inline: clamp(9px, .7vw, 14px);
    font-size: clamp(9px, .63vw, 11px);
  }

  .server-mini {
    padding-block: 5px;
    grid-template-columns: auto minmax(126px, auto) auto;
    gap: 7px;
  }

  .server-mini__text small {
    margin-top: 3px;
    font-size: 9px;
  }

  .mini-ip,
  .social-glass {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .header-account-glass {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .header-account-glass svg {
    width: 22px;
    height: 22px;
  }

  .socials {
    padding: 5px;
    gap: 5px;
  }

  .hero-stage {
    height: calc(100svh - 82px);
    min-height: 0;
    align-content: start;
    gap: clamp(10px, 1.5vh, 16px);
    padding: clamp(28px, 5vh, 54px) 0 clamp(4px, 1vh, 10px);
  }

  .pretitle {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(62px, 8.2vh, 88px);
    line-height: .82;
  }

  .subtitle {
    margin-top: 9px;
    font-size: clamp(14px, 1.8vh, 17px);
  }

  .premium-server {
    border-radius: 25px;
  }

  .server-panel__main {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    gap: clamp(18px, 2.4vw, 34px);
    padding: clamp(16px, 2.2vh, 22px) clamp(20px, 2.3vw, 34px);
  }

  .server-state {
    gap: 7px;
    margin-bottom: 9px;
  }

  .state-pill,
  .wipe-pill {
    min-height: 25px;
    padding: 5px 10px;
    font-size: 10px;
  }

  .state-pill i {
    width: 9px;
    height: 9px;
    margin-right: 6px;
  }

  .server-eyebrow {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .server-panel h2 {
    font-size: clamp(42px, 6.4vh, 58px);
  }

  .server-description {
    margin-top: 9px;
    font-size: clamp(12px, 1.55vh, 14px);
    line-height: 1.3;
  }

  .feature-strip {
    gap: 7px;
    margin-top: 12px;
  }

  .feature-strip span {
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 14px;
    gap: 3px;
  }

  .feature-strip b {
    font-size: clamp(16px, 2.3vh, 21px);
  }

  .feature-strip small {
    font-size: 8px;
  }

  .server-terminal {
    padding: 10px;
    border-radius: 20px;
  }

  .terminal-topline {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .ip-window {
    margin-bottom: 6px;
    padding: 11px 13px;
    border-radius: 15px;
  }

  .ip-window small {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .terminal-copy,
  .terminal-discord {
    min-height: 42px;
    margin-top: 6px;
    border-radius: 14px;
    font-size: 13px;
  }

  .island-preview {
    height: clamp(62px, 9vh, 82px);
    margin: 0 clamp(20px, 2.3vw, 34px) clamp(9px, 1.5vh, 14px);
    border-radius: 18px;
  }

  .zone {
    padding: 5px 7px;
    font-size: 7px;
  }

  .server-panel__stats {
    min-height: 0;
  }

  .stat-item {
    min-height: 58px;
    padding: 8px clamp(16px, 2vw, 28px);
    column-gap: 10px;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }

  .stat-item small {
    font-size: 9px;
  }

  .stat-item strong {
    font-size: clamp(15px, 2.2vh, 20px);
  }
}

@media (min-width: 1121px) and (min-height: 901px) and (max-height: 1200px) {
  .hero-stage {
    gap: clamp(16px, 2vh, 22px);
    padding-top: clamp(34px, 4.5vh, 50px);
    padding-bottom: 14px;
  }

  .pretitle {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: clamp(88px, 10vh, 118px);
  }

  .subtitle {
    margin-top: 13px;
    font-size: clamp(16px, 1.8vh, 20px);
  }

  .server-panel__main {
    padding-block: clamp(22px, 2.4vh, 28px);
  }

  .server-panel h2 {
    font-size: clamp(56px, 6.4vh, 70px);
  }

  .server-description {
    margin-top: 12px;
    font-size: clamp(14px, 1.5vh, 16px);
  }

  .feature-strip {
    margin-top: 16px;
  }

  .feature-strip span {
    min-height: 58px;
  }

  .terminal-copy,
  .terminal-discord {
    min-height: 48px;
  }

  .island-preview {
    height: clamp(82px, 9vh, 100px);
  }

  .stat-item {
    min-height: 68px;
  }
}

/* v6: useful server facts and pixel-built interactions */
.premium-server[data-pixel-build] {
  animation: pixelPanelReveal 1.15s cubic-bezier(.16,.82,.22,1) .14s both;
}

.pixel-build {
  position: absolute;
  inset: 0;
  z-index: 12;
  overflow: hidden;
  pointer-events: none;
}

.pixel-build::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18%;
  width: 18%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), rgba(173,89,255,.58), transparent);
  filter: blur(5px);
  transform: skewX(-12deg);
  mix-blend-mode: screen;
  animation: pixelScan 1.05s cubic-bezier(.2,.72,.25,1) .4s both;
}

.pixel-build__tile {
  position: absolute;
  left: var(--tile-x);
  top: var(--tile-y);
  width: calc(var(--tile-w) + 1px);
  height: calc(var(--tile-h) + 1px);
  background:
    radial-gradient(circle at 50% 50%, rgba(208,147,255,.82), transparent 16%),
    linear-gradient(145deg, rgba(128,44,214,.94), rgba(23,8,37,.98));
  border: 1px solid rgba(236,215,255,.16);
  box-shadow: inset 0 0 18px rgba(224,188,255,.16), 0 0 22px rgba(141,49,255,.2);
  transform-origin: center;
  animation: pixelTileResolve .72s cubic-bezier(.55,.02,.24,1) var(--tile-delay) both;
}

.pixel-build__piece {
  --pixel-size: 12px;
  position: absolute;
  left: var(--pixel-x);
  top: var(--pixel-y);
  width: var(--pixel-size);
  height: var(--pixel-size);
  background: var(--pixel-color);
  box-shadow: 0 0 18px var(--pixel-glow);
  border-radius: 1px;
  animation: pixelAssemble .86s cubic-bezier(.12,.72,.2,1) var(--pixel-delay) both;
}

.server-terminal {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.connect-hint {
  position: relative;
  z-index: 1;
  margin: 12px 4px 2px;
  color: rgba(255,248,255,.62);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 750;
}

.connect-hint kbd {
  display: inline-grid;
  min-width: 28px;
  min-height: 24px;
  margin-right: 6px;
  place-items: center;
  border: 1px solid rgba(255,216,93,.3);
  border-radius: 7px;
  color: var(--yellow);
  background: rgba(255,216,93,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  font-family: inherit;
  font-size: 10px;
  font-weight: 1000;
}

.server-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.1);
}

.server-fact {
  position: relative;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px clamp(20px, 3vw, 42px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,.055), transparent 38%),
    rgba(8,5,12,.82);
  transition: background .25s ease, transform .25s ease;
}

.server-fact::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--purple));
  box-shadow: 0 0 20px rgba(155,53,255,.5);
  transition: width .38s steps(8, end);
}

.server-fact:hover {
  background:
    linear-gradient(115deg, rgba(255,216,93,.09), transparent 42%),
    rgba(15,8,23,.94);
}

.server-fact:hover::before {
  width: 100%;
}

.fact-number {
  flex: 0 0 auto;
  color: rgba(255,216,93,.34);
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.08em;
  transition: color .25s ease, text-shadow .25s ease;
}

.server-fact:hover .fact-number {
  color: var(--yellow);
  text-shadow: 0 0 24px rgba(255,216,93,.35);
}

.fact-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.fact-copy small {
  color: rgba(255,248,255,.52);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fact-copy strong {
  color: #fff;
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.035em;
}

.pixel-button,
.pixel-hover {
  isolation: isolate;
}

.pixel-button {
  overflow: visible;
  transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease, filter .24s ease;
}

.pixel-button:hover,
.pixel-button:focus-visible {
  transform: translateY(-2px) scale(1.012);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 18px 44px rgba(255,174,55,.28),
    0 0 0 1px rgba(255,255,255,.26),
    inset 0 1px 0 rgba(255,255,255,.82);
}

.button-pixel {
  --pixel-size: 6px;
  position: absolute;
  z-index: 7;
  left: var(--particle-x);
  top: var(--particle-y);
  width: var(--pixel-size);
  height: var(--pixel-size);
  border-radius: 1px;
  pointer-events: none;
  background: var(--particle-color);
  box-shadow:
    var(--trail-x) var(--trail-y) 0 -1px var(--particle-color),
    var(--trail-x-2) var(--trail-y-2) 5px -2px var(--particle-color),
    0 0 16px var(--particle-color);
  animation: pixelFly var(--particle-duration) cubic-bezier(.12,.72,.18,1) var(--particle-delay) forwards;
}

@keyframes pixelPanelReveal {
  0% {
    opacity: 0;
    transform: perspective(1200px) translateY(28px) rotateX(4deg) scale(.965);
    filter: brightness(1.65) blur(8px);
  }
  44% {
    opacity: .62;
    transform: perspective(1200px) translateY(9px) rotateX(1deg) scale(.99);
    filter: brightness(1.28) blur(2px);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) translateY(0) rotateX(0) scale(1);
    filter: brightness(1) blur(0);
  }
}

@keyframes pixelTileResolve {
  0% {
    opacity: 1;
    transform: translateZ(0) scale(1);
    filter: brightness(1.7);
  }
  55% {
    opacity: .88;
    transform: translate(var(--tile-dx), var(--tile-dy)) scale(.72);
    filter: brightness(1.25);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tile-dx), var(--tile-dy)) scale(.08);
    filter: brightness(2);
  }
}

@keyframes pixelAssemble {
  0% {
    opacity: 0;
    transform: translate(var(--pixel-dx), var(--pixel-dy)) scale(.12) rotate(135deg);
    filter: brightness(2);
  }
  35% { opacity: 1; }
  78% { opacity: .78; }
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(1) rotate(0);
    filter: brightness(1);
  }
}

@keyframes pixelScan {
  0% { left: -18%; opacity: 0; }
  18% { opacity: .82; }
  78% { opacity: .5; }
  100% { left: 112%; opacity: 0; }
}

@keyframes pixelFly {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(.35) rotate(0);
  }
  12% {
    opacity: 1;
    transform: translate(calc(var(--particle-dx) * .08), calc(var(--particle-dy) * .08)) scale(1.15) rotate(20deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--particle-dx), var(--particle-dy)) scale(.08) rotate(var(--particle-rotate));
  }
}

@media (min-width: 1121px) and (max-height: 1200px) {
  .server-fact {
    min-height: 58px;
    padding-block: 8px;
  }

  .fact-number {
    font-size: clamp(26px, 3.8vh, 38px);
  }

  .fact-copy strong {
    font-size: clamp(15px, 2vh, 20px);
  }

  .connect-hint {
    margin-top: 7px;
    font-size: 9px;
  }
}

@media (max-width: 920px) {
  .server-facts {
    grid-template-columns: 1fr;
  }

  .server-fact {
    min-height: 78px;
    padding: 15px 22px;
  }
}

/* Feature mosaic */
.feature-showcase {
  position: relative;
  z-index: 2;
  width: 100%;
  animation: heroRise .9s cubic-bezier(.2,.9,.2,1) .2s both;
}

body.scroll-reveal-enabled {
  overscroll-behavior: none;
}

body.feature-reveal-locked {
  overflow: hidden;
  touch-action: none;
}

body.feature-reveal-locked .feature-showcase {
  overflow: clip;
}

body.feature-reveal-releasing .feature-showcase__heading,
body.feature-reveal-releasing .feature-tile {
  transition:
    opacity .28s ease,
    transform .42s cubic-bezier(.2,.8,.2,1);
}

body.scroll-reveal-enabled .feature-showcase {
  animation: none;
}

body.scroll-reveal-enabled .feature-showcase__heading,
body.scroll-reveal-enabled .feature-tile {
  will-change: transform, opacity;
}

.scroll-reveal-hint {
  position: absolute;
  z-index: 12;
  right: 4px;
  top: -4px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,248,255,.7);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: opacity .2s ease;
}

.scroll-reveal-hint i {
  position: relative;
  width: 20px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
}

.scroll-reveal-hint i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255,216,93,.7);
  transform: translateX(-50%);
  animation: revealHintDrop 1.5s ease-in-out infinite;
}

@keyframes revealHintDrop {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

.feature-showcase__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.feature-showcase__heading span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .18em;
}

.feature-showcase__heading p {
  margin: 0;
  color: rgba(255,248,255,.68);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .22em;
}

.feature-mosaic {
  height: clamp(500px, 57vh, 650px);
  display: grid;
  grid-template-columns: 1.02fr 1.04fr 1fr;
  grid-template-rows: .9fr 1.1fr;
  gap: 12px;
}

.feature-tile {
  --bend-rx: 0deg;
  --bend-ry: 0deg;
  --bend-x: 0;
  --bend-y: 0;
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(232,210,255,.16);
  border-radius: 24px;
  background: #0b0710;
  overflow: hidden;
  contain: layout paint;
  backface-visibility: hidden;
}

.feature-tile--design {
  grid-column: 1;
  grid-row: 1 / 3;
}

.feature-tile--fps {
  grid-column: 2;
  grid-row: 1;
}

.feature-tile--online {
  grid-column: 3;
  grid-row: 1;
}

.feature-tile--battlepass {
  grid-column: 2 / 4;
  grid-row: 2;
}

.component-physics {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  contain: layout paint;
}

.component-physics__body {
  --component-width: 90px;
  --component-height: 75px;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--component-width);
  height: var(--component-height);
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: transform;
}

.component-physics__body img {
  position: absolute;
  left: var(--image-left, 0);
  top: var(--image-top, 0);
  width: var(--image-width, 100%);
  height: var(--image-height, 100%);
  max-width: none;
  filter: none;
  pointer-events: none;
}

.feature-tile--battlepass .feature-tile__copy {
  z-index: 5;
}

.feature-tile--battlepass .feature-tile__number,
.feature-tile--battlepass .feature-tile__glow {
  z-index: 6;
}

.feature-tile__surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  transform:
    perspective(1400px)
    rotateX(var(--bend-rx))
    rotateY(var(--bend-ry))
    scale(var(--bend-scale, 1));
  transform-origin: 50% 50%;
  transition: box-shadow .28s ease, border-radius .28s ease;
  will-change: transform;
  backface-visibility: hidden;
  contain: paint;
  background: radial-gradient(circle at 50% 50%, rgba(135,50,234,.14), transparent 48%), #0c0712;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}

.feature-tile:hover .feature-tile__surface {
  box-shadow:
    0 34px 80px rgba(0,0,0,.46),
    0 0 0 1px rgba(194,126,255,.2),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.feature-tile__surface > img {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  transform:
    translate3d(
      calc(var(--bend-x) * -12px),
      calc(var(--bend-y) * -12px),
      0
    )
    scale(1.04);
  filter: saturate(.76) contrast(1.06) brightness(.72);
  transition: filter .35s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.feature-tile:hover .feature-tile__surface > img {
  filter: saturate(.95) contrast(1.08) brightness(.82);
}

.feature-tile__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4,2,8,.04) 18%, rgba(5,2,9,.28) 52%, rgba(5,2,9,.94) 100%),
    linear-gradient(90deg, rgba(5,2,9,.36), transparent 62%);
}

.feature-tile__number {
  position: absolute;
  z-index: 4;
  right: 18px;
  top: 16px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  transform: translate3d(
    calc(var(--bend-x) * 5px),
    calc(var(--bend-y) * 5px),
    0
  );
}

.feature-tile__copy {
  position: absolute;
  z-index: 4;
  left: clamp(18px, 2.2vw, 34px);
  right: clamp(18px, 2.2vw, 34px);
  bottom: clamp(18px, 2.5vw, 38px);
  transform:
    translate3d(
      calc(var(--bend-x) * 8px),
      calc(var(--bend-y) * 8px),
      0
    );
  will-change: transform;
}

.feature-tile__copy small {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.feature-tile__copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 70px);
  line-height: .82;
  letter-spacing: -.075em;
  text-transform: uppercase;
  font-weight: 1000;
  text-shadow: 0 12px 32px rgba(0,0,0,.7);
}

.feature-tile--fps .feature-tile__copy h2,
.feature-tile--online .feature-tile__copy h2 {
  font-size: clamp(30px, 3.2vw, 54px);
}

.feature-tile__copy p {
  max-width: 620px;
  margin: 11px 0 0;
  color: rgba(255,248,255,.68);
  font-size: clamp(11px, .9vw, 14px);
  line-height: 1.35;
  font-weight: 750;
}

.feature-tile__glow {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,176,255,.2), transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transform:
    translate3d(
      calc(-50% + var(--bend-x) * 120px),
      calc(-50% + var(--bend-y) * 90px),
      0
    );
  transition: opacity .25s ease;
  will-change: transform, opacity;
  pointer-events: none;
}

.feature-tile:hover .feature-tile__glow {
  opacity: 1;
}

.feature-tile--online .feature-tile__surface {
  background: #0a0710;
}

.feature-tile--online .feature-tile__surface > img {
  object-position: 53% 45%;
  filter: saturate(.86) contrast(1.04) brightness(.86);
}

.feature-tile--online:hover .feature-tile__surface > img {
  filter: saturate(.96) contrast(1.05) brightness(.94);
}

.feature-tile--online .feature-tile__shade {
  background:
    linear-gradient(180deg, transparent 12%, rgba(5,2,9,.08) 48%, rgba(5,2,9,.76) 100%),
    linear-gradient(90deg, rgba(5,2,9,.38), transparent 76%);
}

.online-orbit {
  display: none;
}

.online-orbit::before,
.online-orbit::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.online-orbit::after {
  inset: 39%;
  background: rgba(141,49,238,.18);
  box-shadow: 0 0 46px rgba(153,58,255,.42);
}

.online-orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 0 0 16px var(--yellow);
}

.online-orbit i:nth-child(1) { left: 16%; top: 16%; }
.online-orbit i:nth-child(2) { right: 4%; top: 48%; width: 5px; height: 5px; }
.online-orbit i:nth-child(3) { left: 42%; bottom: -3px; width: 4px; height: 4px; }

.online-count {
  display: block;
  margin-top: 6px;
  color: var(--yellow);
  font-size: clamp(34px, 3.6vw, 62px);
  line-height: .9;
  font-weight: 1000;
  letter-spacing: -.07em;
  text-shadow: 0 0 28px rgba(255,216,93,.18);
}

@keyframes onlineOrbit {
  to { transform: rotate(360deg); }
}

@media (min-width: 1121px) and (max-height: 900px) {
  .feature-showcase__heading {
    margin-bottom: 8px;
  }

  .feature-mosaic {
    height: clamp(360px, 51vh, 440px);
    gap: 8px;
  }

  .feature-tile__copy {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .feature-tile__copy small {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .feature-tile__copy h2 {
    font-size: clamp(30px, 5.4vh, 48px);
  }

  .feature-tile--fps .feature-tile__copy h2,
  .feature-tile--online .feature-tile__copy h2 {
    font-size: clamp(28px, 4.8vh, 42px);
  }

  .feature-tile__copy p {
    margin-top: 7px;
    font-size: 10px;
  }

  .online-count {
    font-size: clamp(32px, 5.8vh, 48px);
  }
}

@media (max-width: 920px) {
  .feature-mosaic {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .feature-tile,
  .feature-tile--design,
  .feature-tile--fps,
  .feature-tile--online,
  .feature-tile--battlepass {
    grid-column: 1;
    grid-row: auto;
    min-height: 300px;
    border-radius: 20px;
  }

  .feature-tile--design {
    min-height: 440px;
  }

  .feature-tile__copy h2,
  .feature-tile--fps .feature-tile__copy h2,
  .feature-tile--online .feature-tile__copy h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .scroll-reveal-hint {
    position: relative;
    right: auto;
    top: auto;
    justify-content: flex-end;
    margin: -32px 0 10px;
  }
}

/* Servers section */
.servers-section {
  width: min(1580px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(38px, 6vw, 88px) 0 clamp(70px, 9vw, 130px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 2.5vw, 38px);
  margin-bottom: clamp(24px, 4vw, 52px);
}

.section-heading__index {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .2em;
  padding-bottom: 10px;
}

.section-heading p {
  margin: 0 0 8px;
  color: rgba(255,248,255,.55);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 104px);
  line-height: .82;
  letter-spacing: -.075em;
  text-transform: uppercase;
  font-weight: 1000;
}

.servers-section__card {
  width: 100%;
}

@media (min-width: 1121px) {
  .servers-section .server-panel__main {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
    padding: clamp(28px, 3vw, 46px);
  }

  .servers-section .server-panel h2 {
    font-size: clamp(58px, 6vw, 92px);
  }

  .servers-section .server-description {
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.45;
  }

  .servers-section .feature-strip {
    margin-top: 24px;
  }

  .servers-section .feature-strip span {
    min-height: 70px;
  }

  .servers-section .server-fact {
    min-height: 92px;
    padding-block: 18px;
  }

  .servers-section .fact-number {
    font-size: clamp(34px, 3vw, 48px);
  }

  .servers-section .fact-copy strong {
    font-size: clamp(18px, 1.6vw, 25px);
  }

  .servers-section .terminal-copy {
    min-height: 58px;
  }
}

@media (max-width: 760px) {
  .servers-section {
    width: calc(100vw - 20px);
    padding-top: 48px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2 {
    font-size: clamp(46px, 16vw, 68px);
  }
}

/* Privileges */
.kits-store {
  position: relative;
  isolation: isolate;
  width: min(1580px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(46px, 5vw, 82px) 0 clamp(90px, 11vw, 170px);
}

.kits-store::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -140px;
  bottom: -40px;
  left: 50%;
  width: 100vw;
  background:
    linear-gradient(180deg, rgba(5,5,6,.56), rgba(5,5,6,.3) 30%, rgba(4,4,5,.42) 72%, rgba(3,3,4,.95)),
    linear-gradient(90deg, rgba(4,4,5,.46), rgba(4,4,5,.12) 24% 76%, rgba(4,4,5,.46)),
    url("assets/privileges-background.webp") center top / cover no-repeat;
  box-shadow:
    inset 0 80px 100px rgba(3,3,4,.68),
    inset 0 -100px 120px rgba(3,3,4,.88);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 90px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 140px, #000 calc(100% - 90px), transparent 100%);
  transform: translateX(-50%);
}

.kits-store::after {
  content: none;
}

.kits-store__heading {
  margin-bottom: 0;
}

.kit-carousel {
  --card-width: clamp(250px, 23vw, 370px);
  position: relative;
  min-height: clamp(570px, 70vw, 760px);
  overflow: hidden;
  outline: none;
  isolation: isolate;
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.kit-carousel:active {
  cursor: grabbing;
}

.kit-carousel::before {
  content: none;
}

.kit-carousel::after {
  content: none;
}

.kit-carousel__halo {
  display: none;
}

.kit-carousel__stage {
  position: absolute;
  inset: 30px 0 112px;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.kit-card {
  --kit-accent: 156, 149, 145;
  --kit-accent-soft: 69, 65, 63;
  position: absolute;
  z-index: var(--kit-z, 1);
  left: 50%;
  top: 48%;
  width: var(--card-width);
  aspect-ratio: .78;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 28%, rgba(var(--kit-accent), .16), transparent 48%),
    linear-gradient(150deg, rgba(var(--kit-accent), .1), transparent 38%),
    linear-gradient(180deg, rgba(var(--kit-accent-soft), .9), rgba(7,7,8,.97) 72%);
  box-shadow:
    0 32px 80px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(var(--kit-accent), .2);
  opacity: var(--kit-opacity, 0);
  filter: blur(var(--kit-blur, 0)) brightness(var(--kit-brightness, 1));
  transform:
    translate(-50%, -50%)
    translate3d(var(--kit-x, 0), var(--kit-y, 0), var(--kit-depth, 0))
    rotateY(var(--kit-rotate, 0deg))
    scale(var(--kit-scale, 1));
  transform-origin: center;
  transition:
    transform .9s cubic-bezier(.16,.84,.2,1),
    opacity .62s ease,
    filter .78s ease,
    border-color .4s ease;
  pointer-events: var(--kit-pointer, none);
  will-change: transform, opacity, filter;
}

.kit-card.is-active {
  border-color: rgba(var(--kit-accent), .42);
  filter: none;
  will-change: auto;
  box-shadow:
    0 42px 110px rgba(0,0,0,.65),
    0 0 42px rgba(var(--kit-accent), .1),
    inset 0 1px 0 rgba(var(--kit-accent), .28);
}

.kit-card[data-kit-name="BRONZE"] {
  --kit-accent: 181, 112, 67;
  --kit-accent-soft: 59, 38, 27;
}

.kit-card[data-kit-name="SILVER"] {
  --kit-accent: 184, 195, 205;
  --kit-accent-soft: 43, 47, 51;
}

.kit-card[data-kit-name="GOLD"] {
  --kit-accent: 211, 163, 65;
  --kit-accent-soft: 61, 48, 22;
}

.kit-card img {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 64px;
  width: 96%;
  height: 86%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%) scale(1.02);
  filter: drop-shadow(0 24px 24px rgba(0,0,0,.48));
  pointer-events: none;
}

.kit-card::before {
  content: none;
}

.kit-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(5,5,6,.24) 67%, rgba(5,5,6,.96) 100%),
    linear-gradient(110deg, rgba(var(--kit-accent), .08), transparent 28%);
  pointer-events: none;
}

.kit-card__index {
  position: absolute;
  z-index: 4;
  right: 18px;
  top: 16px;
  color: rgba(var(--kit-accent), .82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.kit-card__caption {
  position: absolute;
  z-index: 5;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.kit-card__caption small {
  display: block;
  margin-bottom: 7px;
  color: rgb(var(--kit-accent));
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.kit-card__caption h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 2.2vw, 38px);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-weight: 950;
  text-shadow: 0 10px 30px rgba(0,0,0,.9);
}

.kit-card__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.kit-card__button {
  position: relative;
  overflow: hidden;
  min-height: 42px;
  padding: 0 19px;
  border-radius: 14px;
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: pointer;
  transform: none;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.kit-card.is-active .kit-card__actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.kit-card__button--glass {
  border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,248,255,.92);
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.075));
  box-shadow:
    0 10px 24px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.06);
}

.kit-card__button--glass::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent 42%, rgba(255,255,255,.035));
  pointer-events: none;
}

.kit-card__button--glass:hover,
.kit-card__button--glass:focus-visible {
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.1));
  box-shadow:
    0 12px 28px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.34);
}

.kit-card__button--buy {
  border: 1px solid rgba(255,229,130,.7);
  border-radius: 12px;
  color: #160e05;
  background: linear-gradient(135deg, #fff3a7 0%, #ffd052 48%, #ffad35 100%);
  box-shadow:
    0 12px 30px rgba(255,177,48,.2),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.kit-card__button:hover,
.kit-card__button:focus-visible {
  outline: none;
  transform: none;
}

.kit-card__button--buy:hover,
.kit-card__button--buy:focus-visible {
  background: linear-gradient(135deg, #fff7bb 0%, #ffda68 48%, #ffb640 100%);
  box-shadow:
    0 14px 32px rgba(255,177,48,.26),
    inset 0 1px 0 rgba(255,255,255,.8);
}

.kit-carousel__side-name {
  position: absolute;
  z-index: 20;
  top: 50%;
  width: clamp(130px, 14vw, 220px);
  margin: 0;
  color: rgba(255,248,255,.52);
  font-size: clamp(13px, 1.2vw, 18px);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
  pointer-events: none;
}

.kit-carousel__side-name--left {
  left: clamp(10px, 3vw, 48px);
  text-align: left;
}

.kit-carousel__side-name--right {
  right: clamp(10px, 3vw, 48px);
  text-align: right;
}

.kit-carousel__side-name::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--yellow), transparent);
}

.kit-carousel__side-name--right::before {
  margin-left: auto;
  transform: scaleX(-1);
}

.kit-carousel__controls {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.kit-carousel__controls button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.kit-carousel__controls button:hover,
.kit-carousel__controls button:focus-visible {
  border-color: rgba(255,216,93,.58);
  background: rgba(255,216,93,.13);
  outline: none;
  transform: scale(1.08);
}

.kit-carousel__counter {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 70px;
  justify-content: center;
  color: rgba(255,255,255,.42);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.kit-carousel__counter strong {
  color: var(--yellow);
  font-size: 20px;
}

.kit-carousel__hint {
  position: absolute;
  right: 10px;
  bottom: 54px;
  margin: 0;
  color: rgba(255,255,255,.38);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

@keyframes kitHaloPulse {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.96); }
  50% { opacity: .95; transform: translate(-50%, -50%) scale(1.04); }
}

/* Donate currency store portal */
.shop-portal {
  position: relative;
  height: 240svh;
  margin-inline: calc(50% - 50vw);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(81,43,112,.2), transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(198,146,27,.15), transparent 48%),
    linear-gradient(180deg, #09070d 0%, #0d0913 48%, #100e09 100%);
}

.shop-portal__sticky {
  position: sticky;
  isolation: isolate;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 46%, rgba(111,54,157,.13), transparent 25%),
    radial-gradient(circle at 84% 36%, rgba(234,181,44,.07), transparent 22%),
    linear-gradient(90deg, rgba(10,7,14,.98), rgba(16,10,22,.82) 50%, rgba(7,6,9,.98));
}

.shop-portal__sticky::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(rgba(191,147,226,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,147,226,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse at center, #000 8%, rgba(0,0,0,.8) 48%, transparent 88%);
  opacity: .62;
  pointer-events: none;
}

.shop-portal__sticky::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    url("assets/donatemonay3d1.webp"),
    url("assets/donatemonay3d1.webp");
  background-repeat: no-repeat;
  background-position: -7vw 16%, calc(100% + 8vw) 78%;
  background-size: clamp(260px, 26vw, 500px), clamp(220px, 22vw, 420px);
  opacity: .12;
  filter: saturate(.65) brightness(.68) blur(1.5px);
  mix-blend-mode: screen;
  animation: shopAmbientCoins 13s ease-in-out infinite alternate;
  pointer-events: none;
}

.shop-portal__frame {
  --shop-progress: 0;
  --shop-inset-y: 15%;
  --shop-inset-x: 18%;
  --shop-radius: 28px;
  --shop-scale: .82;
  --shop-grid-opacity: .28;
  --shop-content-offset: 28px;
  --shop-hint-opacity: 1;
  --shop-progress-width: 0%;
  --shop-tilt-x: 0deg;
  --shop-tilt-y: 0deg;
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 102%, rgba(255,207,67,.07), transparent 34%),
    radial-gradient(circle at 76% 26%, rgba(111,67,172,.16), transparent 30%),
    radial-gradient(circle at 20% 75%, rgba(61,43,83,.18), transparent 34%),
    linear-gradient(135deg, #141218, #070708 66%);
  clip-path: inset(var(--shop-inset-y) var(--shop-inset-x) round var(--shop-radius));
  box-shadow: 0 50px 140px rgba(0,0,0,.72);
  transform: perspective(1200px) rotateX(var(--shop-tilt-x)) rotateY(var(--shop-tilt-y)) scale(var(--shop-scale));
  transform-origin: center;
  transition: transform .16s ease-out, box-shadow .25s ease;
  will-change: transform, clip-path;
}

@keyframes shopAmbientCoins {
  from { transform: translate3d(0, -5px, 0) scale(1); }
  to { transform: translate3d(0, 9px, 0) scale(1.025); }
}

.shop-portal__frame:not(.is-ready):hover {
  box-shadow: 0 58px 150px rgba(0,0,0,.76), 0 0 48px rgba(255,205,64,.055);
}

.shop-portal__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}

.shop-portal__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  box-shadow:
    inset 0 0 120px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.12);
  pointer-events: none;
}

.shop-portal__grid {
  display: none;
}

.shop-portal__content {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(720px, 78vw);
  text-align: center;
  transform: translate(-50%, calc(-45% + var(--shop-content-offset)));
}

.shop-portal__eyebrow {
  display: block;
  margin-bottom: 18px;
  color: rgba(198,188,215,.78);
  font-size: clamp(9px, .8vw, 12px);
  font-weight: 950;
  letter-spacing: .2em;
}

.shop-portal__content h2 {
  margin: 0;
  font-size: clamp(62px, 9vw, 150px);
  line-height: .76;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.shop-portal__content h2 strong {
  color: #e1d8eb;
  font: inherit;
}

.shop-portal__content p {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.66);
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 600;
  line-height: 1.55;
}

.shop-portal__hint {
  display: inline-flex;
  margin-top: 30px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.66);
  background: rgba(255,255,255,.055);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: var(--shop-hint-opacity);
  transition: opacity .25s ease, transform .25s ease;
}

.shop-portal__enter {
  position: absolute;
  left: 50%;
  top: calc(100% + 28px);
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 8px 0 22px;
  border: 1px solid rgba(255,224,116,.68);
  border-radius: 17px;
  color: #160f05;
  background: linear-gradient(135deg, #fff1ad, #f2bd32 72%, #d99412);
  box-shadow: 0 18px 46px rgba(203,148,19,.18), inset 0 1px 0 rgba(255,255,255,.72);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px) scale(.96);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.85,.2,1), box-shadow .2s ease;
}

.shop-portal__enter b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(31,20,3,.12);
  font-size: 19px;
}

.shop-portal__frame.is-ready .shop-portal__hint {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.shop-portal__frame.is-ready .shop-portal__enter {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.shop-portal__enter:hover {
  box-shadow: 0 22px 54px rgba(223,165,25,.3), inset 0 1px 0 rgba(255,255,255,.8);
  transform: translate(-50%, -2px) scale(1.02);
}

.shop-portal__coin {
  position: absolute;
  z-index: 2;
  width: clamp(110px, 14vw, 220px);
  height: auto;
  object-fit: contain;
  filter: saturate(.88) brightness(.92) drop-shadow(0 38px 44px rgba(0,0,0,.55)) drop-shadow(0 0 24px rgba(126,72,211,.18));
  transform: rotate(var(--coin-rotate));
  opacity: calc(.3 + var(--shop-progress) * .7);
}

.shop-portal__coin::after {
  content: none;
}

.shop-portal__coin--one {
  --coin-rotate: 12deg;
  right: 9%;
  top: 18%;
}

.shop-portal__coin--two {
  --coin-rotate: -18deg;
  right: 25%;
  bottom: 5%;
  width: clamp(70px, 9vw, 145px);
  filter: brightness(.86) drop-shadow(0 26px 32px rgba(0,0,0,.48));
}

.shop-portal__coin--three {
  --coin-rotate: 28deg;
  right: -2%;
  bottom: 14%;
  width: clamp(82px, 11vw, 170px);
  filter: brightness(.72) drop-shadow(0 26px 34px rgba(0,0,0,.52));
}

.shop-portal__progress {
  position: absolute;
  z-index: 5;
  left: 7%;
  right: 7%;
  bottom: 28px;
  height: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
  transition: opacity .3s ease;
}

.shop-portal__frame.is-ready .shop-portal__progress { opacity: 0; }

.shop-portal__progress span {
  display: block;
  width: var(--shop-progress-width);
  height: 100%;
  background: linear-gradient(90deg, #725887, #d8b63f, #ffe391);
  box-shadow: 0 0 16px rgba(220,177,47,.3);
}

body.shop-menu-open {
  overflow: hidden;
}

.shop-menu {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s ease, visibility 0s linear .32s;
}

.shop-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .32s ease, visibility 0s;
}

.shop-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,3,4,.9);
  backdrop-filter: blur(18px);
}

.shop-menu__panel {
  position: relative;
  width: min(1380px, 100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 8%, rgba(119,78,183,.11), transparent 30%),
    linear-gradient(145deg, #17151a, #070708 70%);
  box-shadow: 0 44px 120px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.15);
  opacity: 0;
  transform: scale(.94) translateY(28px);
  transition: opacity .34s ease, transform .42s cubic-bezier(.18,.8,.2,1);
}

.shop-menu.is-open .shop-menu__panel {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.shop-menu__header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 42px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(16,15,18,.84);
  backdrop-filter: blur(22px);
}

.shop-menu__header small {
  color: rgba(198,188,215,.78);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .2em;
}

.shop-menu__header h2 {
  margin: 8px 0 4px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: .85;
  letter-spacing: -.065em;
}

.shop-menu__header p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}

.shop-menu__close {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.07);
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

.currency-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(20px, 3vw, 42px);
}

.currency-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), transparent 36%),
    rgba(255,255,255,.025);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.currency-card:hover {
  transform: translateY(-7px);
  border-color: rgba(190,176,213,.32);
  background:
    linear-gradient(145deg, rgba(166,146,198,.09), transparent 38%),
    rgba(255,255,255,.035);
}

.currency-card--featured {
  border-color: rgba(190,176,213,.3);
  background:
    radial-gradient(circle at 50% 24%, rgba(145,118,186,.12), transparent 36%),
    rgba(255,255,255,.04);
}

.currency-card__tag {
  align-self: flex-start;
  color: rgba(198,188,215,.78);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .16em;
}

.currency-card__coin {
  position: relative;
  width: 118px;
  height: 118px;
  object-fit: contain;
  margin: 28px auto 22px;
  filter: saturate(.86) brightness(.94) drop-shadow(0 22px 28px rgba(0,0,0,.42)) drop-shadow(0 0 16px rgba(126,72,211,.16));
}

.currency-card strong {
  color: #f4f0f8;
  font-size: clamp(40px, 4vw, 64px);
  line-height: .85;
  letter-spacing: -.055em;
}

.currency-card small {
  margin-top: 9px;
  color: rgba(198,188,215,.76);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .18em;
}

.currency-card p {
  margin: 20px 0 24px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  line-height: 1.55;
}

.currency-card button {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  border: 1px solid rgba(222,214,232,.2);
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(174,157,198,.11) 42%, rgba(52,47,60,.58)),
    rgba(255,255,255,.055);
  box-shadow:
    0 14px 30px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(0,0,0,.38);
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.currency-card button:hover,
.currency-card button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(226,215,242,.36);
  background:
    linear-gradient(145deg, rgba(255,255,255,.22), rgba(174,157,198,.16) 42%, rgba(67,57,84,.68)),
    rgba(255,255,255,.065);
  box-shadow:
    0 16px 34px rgba(0,0,0,.34),
    0 0 24px rgba(132,93,188,.16),
    inset 0 1px 0 rgba(255,255,255,.34);
  outline: none;
}

.shop-menu__footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 3vw, 42px) 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.4);
  font-size: 10px;
}

.shop-menu__footer strong {
  color: rgba(255,255,255,.72);
}

@media (max-width: 900px) {
  .shop-portal {
    height: 210svh;
  }

  .shop-portal__frame {
    --shop-inset-y: 17%;
    --shop-inset-x: 7%;
    --shop-radius: 22px;
  }

  .shop-portal__content {
    left: 50%;
    max-width: 84vw;
  }

  .shop-portal__coin--one {
    right: -3%;
    top: 14%;
  }

  .shop-portal__coin--two,
  .shop-portal__coin--three {
    display: none;
  }

  .currency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .shop-portal__content h2 {
    font-size: clamp(56px, 18vw, 92px);
  }

  .shop-portal__content p {
    max-width: 78%;
  }

  .shop-menu {
    padding: 8px;
  }

  .shop-menu__panel {
    max-height: calc(100svh - 16px);
    border-radius: 16px;
  }

  .currency-grid {
    grid-template-columns: 1fr;
  }

  .currency-card {
    min-height: 390px;
  }

  .shop-menu__footer {
    display: grid;
  }
}

body.site-subpage .hero-stage,
body.site-subpage .servers-section,
body.site-subpage .kits-store,
body.site-subpage .shop-portal {
  display: none;
}

body.site-subpage .page-shell {
  min-height: 100svh;
  background:
    linear-gradient(rgba(213,184,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213,184,235,.045) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 10%, rgba(150,92,226,.2), transparent 44%),
    radial-gradient(ellipse at 84% 48%, rgba(255,216,93,.055), transparent 32%),
    linear-gradient(180deg, #261538 0%, #1c0e2d 45%, #110817 100%);
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%, 100% 100%;
  background-position: center top;
}

/* Site footer and legal documents */
.site-footer {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: min(1580px, calc(100vw - 36px));
  margin: clamp(54px, 8vw, 110px) auto 22px;
  padding: 18px 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.site-subpage) .site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: clamp(-110px, -8vw, -54px);
  bottom: -58px;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(rgba(222,191,96,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222,191,96,.025) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 0%, rgba(198,146,27,.15), transparent 52%),
    linear-gradient(180deg, #100e09 0%, #0d0b09 54%, #0a080c 100%);
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%;
  background-position: center top;
  pointer-events: none;
}

.site-footer__brand,
.site-footer__meta,
.site-footer__legal {
  display: flex;
  align-items: center;
}

.site-footer__brand { gap: 12px; }

.site-footer__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  color: #ffe174;
  background: transparent;
  font-weight: 1000;
}

.site-footer__brand div,
.site-footer__meta {
  display: grid;
  gap: 3px;
}

.site-footer__brand strong {
  font-size: 14px;
  letter-spacing: .04em;
}

.site-footer small {
  color: rgba(255,255,255,.3);
  font-size: 10px;
}

.site-footer__legal {
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.site-footer a {
  color: rgba(255,255,255,.43);
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer__legal a {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.site-footer a:hover { color: #ffe174; }

.site-footer__meta {
  justify-items: end;
  text-align: right;
}

.site-footer__meta a { font-size: 11px; }

.legal-page {
  min-height: 100%;
  margin: 0;
  color: #f7f3fa;
  background:
    linear-gradient(rgba(213,184,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213,184,235,.045) 1px, transparent 1px),
    radial-gradient(circle at 18% 0%, rgba(111,57,154,.24), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255,205,51,.055), transparent 24%),
    linear-gradient(145deg, #17101f, #08070a 58%, #0d0912);
  background-size: 64px 64px, 64px 64px, 100% 100%, 100% 100%, 100% 100%;
  background-position: center top;
}

.legal-header {
  position: sticky;
  z-index: 20;
  top: 0;
  width: min(1180px, calc(100vw - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 17px;
  background: rgba(28,22,33,.78);
  box-shadow: 0 18px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
}

.legal-brand,
.legal-back {
  color: #fff;
  text-decoration: none;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.legal-brand span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #ffe174;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(112,55,150,.16));
}

.legal-back {
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
}

.legal-back:hover { color: #ffe174; border-color: rgba(255,225,116,.34); }

.legal-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: clamp(58px, 9vw, 120px) auto 70px;
}

.legal-title span {
  color: #f2c845;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .2em;
}

.legal-title h1 {
  max-width: 900px;
  margin: 15px 0 18px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .88;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.legal-title p {
  margin: 0;
  color: rgba(255,255,255,.52);
  font-size: 14px;
}

.legal-document {
  margin-top: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-document h2 {
  margin: 46px 0 16px;
  color: #fff;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.legal-document h2:first-child { margin-top: 0; }

.legal-document p {
  position: relative;
  margin: 0;
  padding: 20px 18px 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,.075);
  color: rgba(245,240,248,.74);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

.legal-document > p::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 29px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(231,189,62,.72);
}

.legal-list {
  margin: 8px 0 28px;
  padding: 0;
  list-style: none;
}

.legal-list li {
  position: relative;
  padding: 16px 18px 16px 28px;
  border-bottom: 1px solid rgba(255,255,255,.075);
  color: rgba(245,240,248,.74);
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.72;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 26px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #e7bd3e;
}

.legal-document .legal-bullet {
  position: relative;
  padding-left: 22px;
}

.legal-document .legal-bullet::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #e7bd3e;
}

.legal-page-footer {
  padding: 0 20px 32px;
  color: rgba(255,255,255,.35);
  text-align: center;
  font-size: 10px;
  letter-spacing: .14em;
}

@media (max-width: 820px) {
  .site-footer {
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__legal { flex-wrap: wrap; }
  .site-footer__meta { justify-items: center; text-align: center; }
}

@media (max-width: 560px) {
  .legal-header { top: 8px; }
  .legal-back { padding: 10px; font-size: 0; }
  .legal-back::after { content: "← Назад"; font-size: 10px; }
  .legal-document p { font-size: 14px; line-height: 1.68; }
  .legal-list li { font-size: 14px; line-height: 1.68; }
}

body.site-subpage .page-shell::before {
  height: 124svh;
  background:
    linear-gradient(90deg, rgba(13,6,20,.22), rgba(13,6,20,0) 45%, rgba(13,6,20,.1)),
    linear-gradient(180deg, rgba(13,6,20,.02) 28%, rgba(32,15,47,.2) 63%, rgba(21,10,31,.72) 100%),
    url("assets/hero-background-light-v2.webp") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 76%, rgba(0,0,0,.86) 88%, rgba(0,0,0,.24) 100%);
  mask-image: linear-gradient(to bottom, #000 0 76%, rgba(0,0,0,.86) 88%, rgba(0,0,0,.24) 100%);
  filter: brightness(1.15) saturate(1.08) contrast(.96);
  opacity: .98;
}

body.site-subpage .page-shell::after {
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255,255,255,.08), transparent 30%),
    radial-gradient(ellipse at center, transparent 42%, rgba(0,0,0,.32) 100%),
    linear-gradient(180deg, rgba(130,76,205,.08), rgba(0,0,0,.08));
  background-size: 100% 100%;
  opacity: .82;
}

.account-section,
.stats-section {
  position: relative;
  display: none;
  width: min(1580px, calc(100vw - 44px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(118px, 12vw, 168px) 0 clamp(70px, 9vw, 130px);
  animation: pageViewIn .42s cubic-bezier(.18,.8,.2,1) both;
}

.account-section::before,
.stats-section::before {
  content: "";
  position: absolute;
  inset: 88px -6vw auto;
  height: min(62svh, 620px);
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(164,94,255,.18), transparent 48%),
    radial-gradient(ellipse at 72% 54%, rgba(255,216,93,.06), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 70%);
  filter: blur(2px);
  opacity: .9;
}

body[data-site-page="profile"] .account-section,
body[data-site-page="stats"] .stats-section {
  display: block;
}

body.site-subpage .ambient-scene {
  opacity: .94;
}

@keyframes pageViewIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.account-card,
.stats-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224,212,242,.16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), transparent 38%),
    radial-gradient(circle at 82% 12%, rgba(142,92,218,.22), transparent 36%),
    radial-gradient(circle at 18% 85%, rgba(255,216,93,.045), transparent 36%),
    rgba(19,13,25,.66);
  box-shadow:
    0 30px 90px rgba(0,0,0,.44),
    inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(18px) saturate(1.18);
}

.account-card {
  padding: clamp(24px, 3vw, 38px);
}

.account-card--login {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
}

.account-section:not(.is-guest) .account-card--login {
  display: none;
}

.account-card__glow {
  position: absolute;
  inset: auto -18% -48% 18%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129,83,207,.26), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

.account-eyebrow,
.stats-board__eyebrow {
  display: block;
  color: rgba(205,194,223,.78);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.account-card h3,
.stats-board h3 {
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: .86;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.account-card--login h3 {
  max-width: 520px;
  margin: 5px 0 6px;
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: -.045em;
}

.account-card p {
  max-width: 520px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.account-card--login p {
  max-width: 620px;
  margin: 0;
  font-size: 11px;
}

.steam-login-button,
.stats-board__refresh {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(226,215,242,.26);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(174,157,198,.12) 42%, rgba(52,47,60,.6)),
    rgba(255,255,255,.055);
  box-shadow:
    0 16px 34px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.3);
  font: inherit;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.steam-login-button:hover,
.steam-login-button:focus-visible,
.stats-board__refresh:hover,
.stats-board__refresh:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(226,215,242,.42);
  box-shadow:
    0 18px 38px rgba(0,0,0,.36),
    0 0 24px rgba(132,93,188,.16),
    inset 0 1px 0 rgba(255,255,255,.34);
  outline: none;
}

.steam-login-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.account-card--login small {
  display: none;
  max-width: 380px;
  margin-top: 8px;
  color: rgba(255,255,255,.38);
  font-size: 9px;
  line-height: 1.45;
}

.account-card--profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: clamp(20px, 2vw, 28px);
}

.account-section.is-guest {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding-block: clamp(120px, 14vw, 190px);
}

.account-section.is-guest .account-section__heading,
.account-section.is-guest .account-card--profile,
.account-section.is-guest .account-login-copy,
.account-section.is-guest .account-card__glow {
  display: none !important;
}

.account-section.is-guest .account-grid {
  width: min(520px, calc(100vw - 44px));
}

.account-section.is-guest .account-card--login {
  min-height: 220px;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  padding: clamp(24px, 4vw, 44px);
  border-color: rgba(226,215,242,.2);
  background:
    radial-gradient(circle at 50% 0%, rgba(166,105,255,.18), transparent 48%),
    linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.035)),
    rgba(12,10,15,.72);
}

.account-section.is-guest .account-card--login > *:not(.steam-login-button) {
  display: none !important;
}

.account-section.is-guest .steam-login-button {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  font-size: 12px;
  letter-spacing: .08em;
  box-shadow:
    0 20px 48px rgba(0,0,0,.38),
    0 0 28px rgba(155,53,255,.16),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.account-section.is-guest .steam-login-button svg {
  width: 20px;
  height: 20px;
}

.account-profile {
  display: flex;
  align-items: center;
  gap: 18px;
}

.account-profile img {
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  object-fit: cover;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 38px rgba(0,0,0,.28);
}

.account-profile h3 {
  margin-bottom: 6px;
  font-size: clamp(30px, 3.6vw, 58px);
}

.account-profile p {
  margin: 0;
  color: rgba(255,255,255,.42);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-combat-panel {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: 14px;
  align-items: stretch;
}

.account-character-card,
.account-combat-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(224,212,242,.13);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.095), transparent 38%),
    radial-gradient(circle at 42% 22%, rgba(146,92,218,.24), transparent 40%),
    rgba(28,17,39,.66);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 20px 54px rgba(0,0,0,.22);
}

.account-character-card {
  padding: 22px 18px;
}

.account-character-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background:
    linear-gradient(rgba(190,150,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,150,255,.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}

.account-character-card img {
  position: absolute;
  z-index: 2;
  left: 18%;
  bottom: 24px;
  width: min(43%, 238px);
  max-height: 86%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.58)) saturate(.96);
  transform: translateX(-50%);
}

.hit-zone-list {
  position: absolute;
  z-index: 3;
  top: 78px;
  right: 20px;
  bottom: 64px;
  left: 35%;
  display: grid;
  align-content: center;
  gap: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.hit-zone-row {
  display: grid;
  grid-template-columns: 185px 46px 78px;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.76);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hit-zone-row i {
  width: 185px;
  max-width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,.18));
}

.hit-zone-row strong {
  color: var(--yellow);
  font-size: 12px;
  text-align: right;
}

.hit-zone-row span {
  color: rgba(255,255,255,.86);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.account-combat-card {
  padding: 22px;
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.account-combat-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 10px;
}

.account-combat-stats div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(224,212,242,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.account-combat-stats span {
  color: rgba(255,255,255,.48);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.account-combat-stats strong {
  color: var(--yellow);
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: .9;
}

.weapon-stat-list {
  display: grid;
  gap: 8px;
  align-content: start;
  margin-top: 12px;
}

.weapon-stat-row {
  display: grid;
  grid-template-columns: 48px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 9px 12px;
  border: 1px solid rgba(224,212,242,.11);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06), transparent 58%),
    rgba(255,255,255,.028);
}

.weapon-stat-row__rank {
  color: rgba(190,150,255,.78);
  font-size: 13px;
  font-weight: 950;
}

.weapon-stat-row__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 38px;
  border-radius: 10px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.07);
  font-size: 13px;
  font-weight: 950;
}

.weapon-stat-row strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.weapon-stat-row em {
  color: rgba(221,202,255,.88);
  font-style: normal;
  font-size: 14px;
  font-weight: 950;
}

.balance-panel {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 172px;
  padding: 22px clamp(22px, 3vw, 34px);
  border: 1px solid rgba(226,215,242,.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 42%, rgba(255,216,93,.18), transparent 26%),
    radial-gradient(circle at 20% 20%, rgba(143,95,214,.24), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.095), rgba(255,255,255,.025) 48%, rgba(13,8,20,.64)),
    rgba(12,10,15,.78);
  box-shadow:
    0 26px 74px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.balance-panel span {
  position: relative;
  z-index: 2;
  display: block;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.balance-panel strong {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 10px;
  color: #f4f0f8;
  font-size: clamp(34px, 4.2vw, 72px);
  line-height: .9;
  letter-spacing: -.075em;
  text-transform: uppercase;
  text-shadow: 0 16px 44px rgba(0,0,0,.45);
}

.balance-panel small {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 12px;
  color: rgba(255,216,93,.92);
  font-size: 11px;
  font-weight: 850;
}

.balance-panel__coins + small {
  display: none;
}

.balance-topup {
  position: relative;
  z-index: 3;
  min-height: 52px;
  margin-top: 20px;
  padding: 0 24px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  color: #120916;
  background:
    linear-gradient(180deg, rgba(255,255,255,.52), transparent 42%),
    linear-gradient(145deg, #fff1a6 0%, #ffd85d 52%, #e09a1a 100%);
  box-shadow:
    0 18px 38px rgba(255,216,93,.22),
    inset 0 1px 0 rgba(255,255,255,.82),
    inset 0 -2px 0 rgba(93,51,0,.18);
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.balance-topup:hover,
.balance-topup:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 22px 46px rgba(255,216,93,.3),
    0 0 28px rgba(255,216,93,.18),
    inset 0 1px 0 rgba(255,255,255,.78);
  outline: none;
}

.balance-topup img {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(18,9,22,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.46);
  object-fit: contain;
}

.balance-panel__coins {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.balance-panel__coin {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 26px 40px rgba(0,0,0,.42));
}

.balance-panel__coin--main {
  right: clamp(34px, 7vw, 118px);
  top: 50%;
  width: clamp(120px, 16vw, 230px);
  transform: translateY(-50%) rotate(-8deg);
  opacity: .96;
}

.balance-panel__coin--small {
  right: clamp(16px, 3vw, 42px);
  top: 20px;
  width: clamp(54px, 6vw, 94px);
  transform: rotate(13deg);
  opacity: .72;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.34));
}

@media (max-width: 760px) {
  .balance-panel {
    min-height: 250px;
    padding-bottom: 132px;
  }

  .balance-panel__coin--main {
    right: 22px;
    top: auto;
    bottom: -26px;
    width: 140px;
    transform: rotate(-8deg);
  }

  .balance-panel__coin--small {
    right: 134px;
    top: auto;
    bottom: 22px;
    width: 62px;
  }
}

.stats-board {
  padding: clamp(22px, 3vw, 38px);
}

.stats-board__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.stats-board h3 {
  margin-bottom: 0;
}

.stats-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.stats-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.045);
  font: inherit;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.stats-tabs button.is-active,
.stats-tabs button:hover,
.stats-tabs button:focus-visible {
  color: #fff;
  border-color: rgba(226,215,242,.34);
  background: rgba(172,146,214,.14);
  outline: none;
}

.stats-list {
  display: grid;
  gap: 8px;
}

.stats-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 44%),
    rgba(255,255,255,.026);
}

.stats-row__rank {
  color: rgba(205,194,223,.82);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
}

.stats-row__name {
  min-width: 0;
}

.stats-row__name strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-row__name span {
  color: rgba(255,255,255,.38);
  font-size: 10px;
}

.stats-row__score {
  color: #f3eef9;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 950;
  letter-spacing: -.04em;
}

.stats-list__empty {
  padding: 24px;
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 16px;
  color: rgba(255,255,255,.52);
  text-align: center;
}

@media (max-width: 900px) {
  .account-grid,
  .account-combat-panel {
    grid-template-columns: 1fr;
  }

  .account-character-card {
    min-height: 430px;
  }

  .account-character-card img {
    left: 18%;
    width: min(39%, 190px);
    transform: translateX(-50%);
  }

  .hit-zone-list {
    left: 36%;
    right: 16px;
    gap: 26px;
  }

  .hit-zone-row {
    grid-template-columns: minmax(80px, 1fr) 42px 58px;
    gap: 6px;
  }

  .hit-zone-row i {
    width: auto;
  }

  .hit-zone-row span {
    font-size: 12px;
  }

  .stats-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .stats-row__score {
    grid-column: 2;
  }
}

body.kit-modal-open {
  overflow: hidden;
}

.kit-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility 0s linear .28s;
}

.kit-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .28s ease, visibility 0s;
}

.kit-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(167,101,216,.28), transparent 43%),
    rgba(4,2,7,.76);
  backdrop-filter: blur(18px) saturate(.85);
}

.kit-modal__panel {
  position: relative;
  isolation: isolate;
  width: min(920px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  border: 1px solid rgba(235,216,255,.36);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(130deg, rgba(112,73,135,.38), rgba(35,20,47,.7) 44%, rgba(12,8,17,.88)),
    rgba(24,14,32,.82);
  backdrop-filter: blur(30px) saturate(1.28);
  box-shadow:
    0 45px 120px rgba(0,0,0,.7),
    0 0 0 5px rgba(136,86,171,.08),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -1px 0 rgba(255,255,255,.08);
  opacity: 0;
  transform: translateY(24px) scale(.96);
  transition: opacity .3s ease, transform .38s cubic-bezier(.2,.8,.2,1);
}

.kit-modal__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -28%;
  left: -8%;
  width: 72%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.17), rgba(207,160,255,.08) 42%, transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.kit-modal.is-open .kit-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kit-modal__header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid rgba(241,226,255,.18);
  background:
    linear-gradient(100deg, rgba(255,255,255,.12), transparent 58%),
    rgba(54,35,67,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(24px) saturate(1.25);
}

.kit-modal__header small {
  display: block;
  margin-bottom: 7px;
  color: var(--yellow);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.kit-modal__header h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: .86;
  letter-spacing: -.06em;
  text-transform: uppercase;
  font-weight: 950;
}

.kit-modal__close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(241,226,255,.34);
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255,255,255,.2), rgba(166,121,194,.08)),
    rgba(38,24,48,.54);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    0 12px 26px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}

.kit-modal__close:hover,
.kit-modal__close:focus-visible {
  background:
    linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,216,93,.14)),
    rgba(52,31,62,.62);
  outline: none;
  transform: rotate(4deg) scale(1.06);
}

.kit-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 270px);
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(22px, 3vw, 34px);
}

.kit-inventory {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 10px;
}

.kit-inventory__slot {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(235,218,255,.22);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), transparent 40%),
    rgba(49,31,61,.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 0 28px rgba(0,0,0,.2),
    0 10px 24px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
}

.kit-inventory__slot::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--item-glow, rgba(148,70,222,.25)), transparent 68%);
  filter: blur(7px);
}

.kit-inventory__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  color: rgba(255,255,255,.9);
  background:
    linear-gradient(145deg, rgba(255,255,255,.1), transparent),
    rgba(9,6,13,.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 10px 24px rgba(0,0,0,.22);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 950;
  letter-spacing: -.04em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.kit-inventory__image {
  position: relative;
  z-index: 1;
  width: 76%;
  height: 66%;
  object-fit: contain;
  border: 0;
  background: transparent;
  filter:
    drop-shadow(0 12px 14px rgba(0,0,0,.42))
    drop-shadow(0 0 12px var(--item-glow, rgba(148,70,222,.25)));
  transform: translateY(-4px);
}

.kit-inventory__name {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 8px;
  bottom: 7px;
  overflow: hidden;
  color: rgba(255,255,255,.66);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.kit-inventory__quantity {
  position: absolute;
  z-index: 3;
  right: 7px;
  top: 7px;
  min-width: 24px;
  padding: 4px 6px;
  border-radius: 6px;
  color: #171006;
  background: var(--yellow);
  font-size: 9px;
  font-weight: 950;
  text-align: center;
}

.kit-inventory__slot.is-empty {
  opacity: .34;
}

.kit-inventory__slot.is-empty::after {
  content: "";
  width: 28%;
  height: 1px;
  background: rgba(255,255,255,.18);
}

.kit-modal__summary {
  align-self: stretch;
  padding: 20px;
  border: 1px solid rgba(238,221,255,.24);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), transparent 42%),
    rgba(45,28,56,.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 16px 36px rgba(0,0,0,.14);
  backdrop-filter: blur(16px);
}

.kit-modal__summary span {
  display: block;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.kit-modal__summary p {
  margin: 18px 0;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.kit-modal__summary small {
  color: rgba(255,255,255,.4);
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .kits-store {
    width: calc(100vw - 20px);
  }

  .kit-carousel {
    --card-width: clamp(225px, 66vw, 320px);
    min-height: 610px;
  }

  .kit-carousel__stage {
    inset-inline: -24vw;
  }

  .kit-carousel__side-name {
    display: none;
  }

  .kit-carousel__hint {
    left: 50%;
    right: auto;
    bottom: 8px;
    width: 100%;
    text-align: center;
    transform: translateX(-50%);
  }

  .kit-modal__body {
    grid-template-columns: 1fr;
  }

  .kit-inventory {
    grid-template-columns: repeat(3, minmax(76px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
