:root {
  color-scheme: dark;
  --bg: #02060a;
  --bg-soft: #061018;
  --surface: rgba(4, 13, 20, .86);
  --surface-strong: rgba(2, 8, 13, .96);
  --line: rgba(113, 202, 244, .22);
  --text: #f5f9fc;
  --muted: #91a6b2;
  --cyan: #36e6f4;
  --blue: #258dff;
  --green: #73ff4f;
  --red: #ff394b;
  --gold: #ffc83c;
  --purple: #c667ff;
  --radius: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .58);
  --mx: 50%;
  --my: 35%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, rgba(20, 77, 111, .14), transparent 38%),
    linear-gradient(rgba(2,6,10,.94), rgba(2,6,10,.985)),
    url('../img/fox-background.webp?v=1.6.2-site-x8-20260716') center top / cover no-repeat,
    #02060a;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body::selection { background: rgba(54, 230, 244, .28); color: #fff; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-shell { width: min(1460px, calc(100% - 48px)); margin-inline: auto; }

.scroll-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold) 48%, var(--cyan));
  box-shadow: 0 0 18px currentColor;
  pointer-events: none;
}
.fx-canvas { position: fixed; inset: 0; z-index: 8; width: 100%; height: 100%; pointer-events: none; opacity: .58; transition: opacity .2s ease; contain: strict; }
.fx-canvas.is-paused, body.hero-offscreen .fx-canvas { opacity: 0; }
.ambient { position: fixed; z-index: -1; width: 38vw; aspect-ratio: 1; border-radius: 50%; filter: blur(110px); opacity: .08; pointer-events: none; }
.ambient--red { left: -18vw; top: 17vh; background: var(--red); }
.ambient--blue { right: -18vw; top: 23vh; background: var(--blue); }

/* HEADER */
.topbar {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 50%;
  width: min(1460px, calc(100% - 34px));
  min-height: 76px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  border: 1px solid rgba(94, 190, 235, .31);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(3, 11, 18, .91), rgba(1, 6, 10, .82));
  box-shadow: 0 18px 65px rgba(0,0,0,.52), inset 0 1px rgba(255,255,255,.045);
  backdrop-filter: blur(20px) saturate(145%);
  transition: top .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.topbar.scrolled { top: 8px; background: rgba(2, 8, 13, .96); border-color: rgba(76, 197, 244, .44); box-shadow: 0 16px 55px rgba(0,0,0,.72); }
.topbar::before, .topbar::after { content: ""; position: absolute; top: -1px; width: 31%; height: 2px; opacity: .95; }
.topbar::before { left: 0; background: linear-gradient(90deg, var(--red), rgba(255,57,75,.25), transparent); }
.topbar::after { right: 0; background: linear-gradient(270deg, var(--blue), rgba(37,141,255,.25), transparent); }
.topbar > * { position: relative; z-index: 1; }
.brand-mini { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-emblem {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(104, 195, 255, .45);
  background: #020407;
  box-shadow: 0 0 0 3px rgba(20,91,143,.11), 0 0 28px rgba(42,147,255,.2);
}
.brand-emblem::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border-top: 1px solid rgba(255,54,64,.8); border-right: 1px solid rgba(49,154,255,.8); pointer-events: none; }
.brand-emblem img { width: 100%; height: 100%; object-fit: contain; }
.brand-emblem--small { width: 39px; height: 39px; }
.brand-emblem--dialog { width: 64px; height: 64px; }
.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 158px;
  line-height: 1;
}
.brand-wordmark__row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}
.brand-wordmark__fox {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Arial Black", "Segoe UI Black", Impact, sans-serif;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: .01em;
  text-shadow: 1px 1px 0 #000;
}
.brand-letter { display: inline-block; }
.brand-letter--f { color: #39cfff; }
.brand-letter--o { color: #ffd83e; }
.brand-letter--x { color: #ff4055; }
.brand-wordmark b {
  font-family: "Arial Black", "Segoe UI Black", Impact, sans-serif;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: .035em;
  background: linear-gradient(90deg,
    #d7ff58 0%,
    #8dff48 26%,
    #42f04e 55%,
    #22c849 78%,
    #0b8f3b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #42f04e;
  text-shadow: none;
  filter: none;
}
.brand-wordmark small {
  margin-top: 5px;
  color: #72a1b7;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .3em;
}
.nav { display: flex; align-items: stretch; justify-content: center; min-width: 0; }
.nav a {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 clamp(10px, 1.45vw, 24px);
  color: #c8d3da;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}
.nav a .icon { color: #8498a3; font-size: 17px; transition: color .22s ease, filter .22s ease; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.028); transform: translateY(-1px); }
.nav a:hover .icon { color: var(--cyan); filter: drop-shadow(0 0 7px var(--cyan)); }
.nav a.active { color: var(--cyan); }
.nav a.active .icon { color: var(--cyan); filter: drop-shadow(0 0 8px rgba(54,230,244,.75)); }
.nav a.active::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.login-chip {
  min-width: 98px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(115,255,79,.57);
  border-radius: 9px;
  padding: 9px 15px;
  background: linear-gradient(180deg, rgba(65,170,43,.14), rgba(13,48,13,.18));
  color: #bdffae;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: inset 0 0 16px rgba(93,255,65,.04), 0 0 18px rgba(91,246,70,.06);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.login-chip:hover { transform: translateY(-1px); filter: brightness(1.16); box-shadow: 0 0 24px rgba(91,246,70,.16); }
.login-chip.logged { border-color: rgba(52,171,255,.58); color: #8fdaff; background: rgba(42,139,220,.12); }
.topbar-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  min-width: 0;
}
.admin-quick-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 174, 66, .52);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(164, 83, 18, .16), rgba(54, 24, 4, .22));
  color: #ffd69a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 0 16px rgba(255, 171, 66, .035), 0 0 18px rgba(255, 125, 35, .06);
  transition: transform .2s ease, filter .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.admin-quick-link .icon {
  width: 17px;
  height: 17px;
  color: #ffbd66;
}
.admin-quick-link:hover,
.admin-quick-link.active {
  transform: translateY(-1px);
  filter: brightness(1.13);
  border-color: rgba(255, 194, 104, .82);
  color: #fff0d4;
  box-shadow: 0 0 24px rgba(255, 126, 35, .16);
}
.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid rgba(73,179,229,.27); border-radius: 9px; background: rgba(6,19,28,.75); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 5px; background: #cfe8f2; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.install-banner {
  position: fixed;
  z-index: 95;
  left: 50%;
  top: 104px;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 36px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid rgba(255,200,60,.4);
  border-radius: 11px;
  background: rgba(25,19,6,.83);
  color: #ffe7a0;
  box-shadow: 0 14px 45px rgba(0,0,0,.55), inset 0 0 24px rgba(255,190,38,.03);
  backdrop-filter: blur(14px);
  font-size: 11px;
}
.install-banner__icon { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,199,50,.35); border-radius: 8px; color: var(--gold); background: rgba(255,199,50,.08); }
.install-banner div { display: grid; gap: 2px; }
.install-banner b { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.install-banner span { color: #bba976; }
.install-banner a { padding: 7px 10px; border: 1px solid rgba(255,211,83,.35); border-radius: 6px; color: #fff2bd; font-weight: 800; }

/* HERO */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: end center;
  padding: 130px 24px 72px;
  background: #02060a;
}
.hero-scene { position: absolute; inset: 0; z-index: -4; overflow: hidden; }
.hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: calc(50% + var(--parallax-x, 0px)) calc(48% + var(--parallax-y, 0px));
  transform: scale(1.018);
  filter: saturate(1.03) contrast(1.02);
  transition: object-position .25s ease-out;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(0,3,7,.14) 0, rgba(0,4,7,.02) 46%, rgba(0,4,7,.34) 66%, #02060a 100%),
    radial-gradient(ellipse at 50% 42%, transparent 0 29%, rgba(0,2,5,.12) 54%, rgba(0,2,5,.68) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .1;
  background-image: linear-gradient(rgba(79,176,224,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(79,176,224,.2) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, transparent 12%, #000 65%, transparent 100%);
}
/* Боковые вертикальные линии первого экрана удалены. */
.hero::before,
.hero::after { content: none; display: none; }
.hero-hud {
  position: absolute;
  z-index: 3;
  top: 42%;
  width: 238px;
  padding: 16px 17px;
  border: 1px solid rgba(102,193,236,.24);
  background: linear-gradient(150deg, rgba(2,10,16,.72), rgba(1,5,9,.52));
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0,0,0,.34);
  clip-path: polygon(0 0, 93% 0, 100% 14%, 100% 100%, 7% 100%, 0 86%);
}
.hero-hud--left { left: max(28px, calc((100vw - 1460px) / 2 + 10px)); border-left-color: rgba(255,57,75,.6); }
.hero-hud--right { right: max(28px, calc((100vw - 1460px) / 2 + 10px)); border-right-color: rgba(37,141,255,.7); }
.hud-kicker { display: block; margin-bottom: 7px; color: #73d8ff; font-size: 8px; font-weight: 900; letter-spacing: .24em; }
.hero-hud strong { display: block; font-size: 15px; line-height: 1.35; }
.hero-hud p { margin: 7px 0 0; color: #8fa4af; font-size: 10px; line-height: 1.5; }
.hud-bars { display: flex; align-items: end; gap: 4px; height: 20px; margin-top: 12px; }
.hud-bars i { width: 5px; border-radius: 5px 5px 0 0; background: linear-gradient(var(--red), rgba(255,57,75,.18)); box-shadow: 0 0 6px rgba(255,57,75,.4); animation: hudBars 1.8s ease-in-out infinite alternate; }
.hud-bars i:nth-child(1) { height: 35%; }.hud-bars i:nth-child(2) { height: 80%; animation-delay: -.3s; }.hud-bars i:nth-child(3) { height: 55%; animation-delay: -.8s; }.hud-bars i:nth-child(4) { height: 100%; animation-delay: -.5s; }.hud-bars i:nth-child(5) { height: 65%; animation-delay: -1s; }
@keyframes hudBars { to { transform: scaleY(.55); opacity: .48; } }
.hud-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 10px; }
.hud-row span { color: #7f949f; }.hud-row b { color: #e5f2f7; text-align: right; }

.hero-controls { position: relative; z-index: 5; width: min(700px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; filter: drop-shadow(0 12px 24px rgba(0,0,0,.82)); }
.hero-chip-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-chip { min-height: 30px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid rgba(84,185,229,.28); border-radius: 999px; background: rgba(2,9,14,.68); color: #bdd0d8; font-size: 9px; font-weight: 850; letter-spacing: .12em; backdrop-filter: blur(9px); }
.hero-chip--green { border-color: rgba(115,255,79,.3); color: #b4ffa3; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #86939b; color: #86939b; box-shadow: 0 0 10px currentColor; }
.status-dot.online { background: var(--green); color: var(--green); animation: dotPulse 1.6s infinite; }
.status-dot.offline { background: var(--red); color: var(--red); }
@keyframes dotPulse { 50% { box-shadow: 0 0 4px currentColor, 0 0 0 7px rgba(115,255,79,0); } }
.play-button {
  position: relative;
  width: min(610px, 94vw);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  overflow: hidden;
  border: 1px solid rgba(148,255,112,.92);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(48,164,34,.97), rgba(9,63,10,.98)),
    radial-gradient(circle at 50% 0, rgba(255,255,255,.22), transparent 55%);
  color: #fff;
  clip-path: polygon(4% 0, 96% 0, 100% 25%, 100% 75%, 96% 100%, 4% 100%, 0 75%, 0 25%);
  box-shadow: 0 0 0 4px rgba(61,243,49,.11), 0 0 34px rgba(77,255,62,.42), inset 0 1px rgba(255,255,255,.22), inset 0 -15px 35px rgba(0,0,0,.15);
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.play-button:hover { transform: translateY(-3px) scale(1.012); filter: brightness(1.12); box-shadow: 0 0 0 5px rgba(61,243,49,.13), 0 0 45px rgba(77,255,62,.52), inset 0 1px rgba(255,255,255,.24); }
.play-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(182,255,151,.55); border-radius: 50%; background: rgba(0,40,0,.23); color: #baff9d; box-shadow: inset 0 0 17px rgba(130,255,91,.12), 0 0 16px rgba(130,255,91,.22); }
.play-icon .icon { width: 21px; height: 21px; fill: currentColor; stroke-width: 0; margin-left: 2px; }
.play-copy { display: grid; gap: 2px; text-align: left; }
.play-copy small { color: rgba(232,255,226,.72); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.play-copy b { font-size: clamp(21px, 3vw, 31px); font-weight: 1000; letter-spacing: .055em; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.play-key { position: absolute; right: 32px; bottom: 12px; color: rgba(226,255,219,.55); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.play-edge { position: absolute; top: 50%; width: 24px; height: 48px; transform: translateY(-50%); border-top: 1px solid #b7ff9e; border-bottom: 1px solid #b7ff9e; opacity: .8; }
.play-edge--left { left: 2px; border-left: 2px solid #b7ff9e; }.play-edge--right { right: 2px; border-right: 2px solid #b7ff9e; }
.play-shine { position: absolute; inset: -20% auto -20% -35%; width: 22%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent); animation: shine 4s infinite 1s; }
@keyframes shine { 0%, 65% { left: -35%; } 88%, 100% { left: 120%; } }
.play-button--small { width: auto; min-width: 260px; min-height: 54px; padding: 0 28px; gap: 9px; clip-path: polygon(5% 0,95% 0,100% 24%,100% 76%,95% 100%,5% 100%,0 76%,0 24%); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.play-button--small .icon { width: 18px; height: 18px; }
.server-line {
  width: min(650px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 10px 18px;
  border: 1px solid rgba(93,187,229,.23);
  border-radius: 11px;
  background: rgba(0,6,10,.72);
  box-shadow: inset 0 0 30px rgba(17,95,134,.04);
  backdrop-filter: blur(11px);
}
.server-ip { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: #dfe9ed; cursor: pointer; text-align: left; }
.server-ip > .icon { color: var(--cyan); font-size: 18px; }
.server-ip span, .server-online, .server-mode { display: grid; gap: 2px; }
.server-line small { color: #6f858f; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.server-line b { color: #e9f4f7; font-size: 12px; }
.server-online b { color: var(--gold); }.server-mode b { color: #82e9ff; }
.server-separator { width: 1px; height: 32px; background: linear-gradient(transparent, rgba(255,255,255,.33), transparent); }
.scroll-cue { position: absolute; z-index: 6; left: 50%; bottom: 17px; transform: translateX(-50%); display: grid; justify-items: center; gap: 5px; color: #748992; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue span { width: 20px; height: 30px; border: 1px solid rgba(132,208,240,.38); border-radius: 999px; }
.scroll-cue span::after { content: ""; display: block; width: 3px; height: 6px; margin: 5px auto; border-radius: 99px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: scrollDot 1.7s infinite; }
@keyframes scrollDot { 60%,100% { transform: translateY(12px); opacity: 0; } }

/* CONTENT */
.content-surface { position: relative; padding: 55px 0 74px; background: linear-gradient(180deg, rgba(2,6,10,.98), #02060a 25%, #03080c 100%); border-top: 1px solid rgba(53,163,218,.12); }
.content-surface::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(56,143,184,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(56,143,184,.12) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg,#000,transparent 80%); }
.content-surface > * { position: relative; }
.section-intro { display: grid; grid-template-columns: 1fr minmax(300px, 560px); align-items: end; gap: 40px; margin-bottom: 31px; }
.section-intro h1 { margin: 0; font-size: clamp(31px, 4vw, 52px); letter-spacing: -.03em; text-transform: uppercase; }
.section-intro > p { margin: 0; color: #8da1ac; font-size: 13px; line-height: 1.75; }
.eyebrow { margin: 0 0 7px; color: #6edcff; font-size: 9px; font-weight: 950; letter-spacing: .2em; text-transform: uppercase; }
.mode-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.neon-card {
  --accent: var(--cyan);
  position: relative;
  min-height: 260px;
  padding: 26px 18px 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  text-align: center;
  transform-style: preserve-3d;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 8%, rgba(5,15,21,.95)), rgba(1,6,10,.98) 68%);
  border: 1px solid color-mix(in srgb, var(--accent) 47%, transparent);
  border-radius: 14px;
  clip-path: polygon(7% 0,93% 0,100% 7%,100% 93%,93% 100%,7% 100%,0 93%,0 7%);
  box-shadow: inset 0 0 35px rgba(0,0,0,.45), 0 16px 40px rgba(0,0,0,.25), 0 0 18px color-mix(in srgb, var(--accent) 10%, transparent);
  transition: transform .16s ease, box-shadow .25s ease, border-color .25s ease;
}
.neon-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--tilt-x,50%) var(--tilt-y,20%), color-mix(in srgb,var(--accent) 17%,transparent), transparent 38%); opacity: .8; pointer-events: none; }
.neon-card::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 2px; background: var(--accent); box-shadow: 0 0 15px var(--accent); opacity: .5; }
.neon-card:hover { border-color: color-mix(in srgb,var(--accent) 72%,transparent); box-shadow: inset 0 0 35px rgba(0,0,0,.45), 0 24px 55px rgba(0,0,0,.38), 0 0 30px color-mix(in srgb,var(--accent) 18%,transparent); }
.neon-card--cyan { --accent: var(--cyan); }.neon-card--red { --accent: var(--red); }.neon-card--blue { --accent: var(--blue); }.neon-card--green { --accent: var(--green); }.neon-card--purple { --accent: var(--purple); }.neon-card--gold { --accent: var(--gold); }
.card-number { position: absolute; top: 14px; right: 16px; color: color-mix(in srgb,var(--accent) 38%,#3e505a); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.card-icon { position: relative; z-index: 1; width: 68px; height: 68px; display: grid; place-items: center; margin-top: 8px; border: 1px solid color-mix(in srgb,var(--accent) 38%,transparent); border-radius: 16px; background: color-mix(in srgb,var(--accent) 7%,rgba(1,8,12,.8)); color: var(--accent); box-shadow: inset 0 0 18px color-mix(in srgb,var(--accent) 6%,transparent), 0 0 20px color-mix(in srgb,var(--accent) 13%,transparent); transform: translateZ(25px); }
.card-icon .icon { width: 35px; height: 35px; filter: drop-shadow(0 0 8px var(--accent)); }
.neon-card h2 { position: relative; z-index: 1; margin: 16px 0 8px; color: var(--accent); font-size: 17px; letter-spacing: .025em; text-transform: uppercase; transform: translateZ(18px); }
.neon-card p { position: relative; z-index: 1; flex: 1; margin: 0; color: #9caeb7; font-size: 11px; line-height: 1.63; transform: translateZ(12px); }
.neon-card a { position: relative; z-index: 1; margin-top: 17px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid color-mix(in srgb,var(--accent) 55%,transparent); border-radius: 7px; background: color-mix(in srgb,var(--accent) 5%,transparent); color: var(--accent); font-size: 9px; font-weight: 900; text-transform: uppercase; transform: translateZ(20px); }
.neon-card a .icon { width: 12px; height: 12px; }

.dashboard { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 17px; margin-top: 18px; }
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(77,184,227,.28);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(5,16,22,.93), rgba(1,7,11,.97));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.035);
  contain: paint;
}

.panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(130deg, rgba(255,255,255,.04), transparent 35%); }
.panel::after { content: ""; position: absolute; top: 0; left: 9%; width: 82%; height: 1px; background: linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent); }
.panel--gold { border-color: rgba(255,199,50,.42); }.panel--green { border-color: rgba(99,243,63,.38); }.panel--blue { border-color: rgba(47,151,255,.4); }.panel--red { border-color: rgba(255,57,73,.4); }
.about-panel { display: grid; grid-template-columns: 175px 1fr; min-height: 278px; padding: 17px; gap: 20px; }
.about-art { position: relative; min-height: 242px; overflow: hidden; border-radius: 10px; background: url('../img/about-background.webp?v=1.6.2-red-castle-1') center 48% / cover no-repeat; border: 1px solid rgba(255,197,44,.3); box-shadow: inset 0 0 35px rgba(0,0,0,.48); }
.about-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.67)); }
.about-art span { position: absolute; z-index: 1; left: 13px; bottom: 12px; color: var(--gold); font-size: 12px; font-weight: 950; letter-spacing: .25em; text-shadow: 0 0 10px rgba(255,200,60,.7); }
.about-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.about-panel h2, .panel-heading h2, .support h2, .section-title h2 { margin: 0; font-size: clamp(20px,2.3vw,30px); }
.about-panel p:not(.eyebrow), .support p, .section-title > p:last-child { color: #9daeb7; font-size: 11px; line-height: 1.7; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 17px; }
.feature-tags span { padding: 5px 8px; border: 1px solid rgba(255,199,50,.22); border-radius: 999px; color: #e2c66d; background: rgba(255,199,50,.04); font-size: 8px; text-transform: uppercase; letter-spacing: .09em; }
.small-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--gold); color: var(--gold); border-radius: 6px; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.small-button .icon { width: 12px; }
.stats-panel { padding: 19px; text-align: center; }
.panel-heading { position: relative; z-index: 1; display: flex; align-items: start; justify-content: space-between; gap: 15px; text-align: left; }
.live-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid rgba(115,255,79,.25); border-radius: 99px; color: #adff9b; font-size: 7px; font-weight: 900; }
.live-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); margin: 22px 0 19px; }
.stats-grid > div { display: flex; flex-direction: column; align-items: center; gap: 4px; border-right: 1px solid rgba(255,255,255,.07); }
.stats-grid > div:last-child { border: 0; }
.stats-grid > div > span { color: var(--green); font-size: 27px; filter: drop-shadow(0 0 8px rgba(99,243,63,.45)); }
.stats-grid > div > span .icon { width: 27px; height: 27px; }
.stats-grid b { font-size: 21px; }.stats-grid small { color: #7e919b; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.network-meter { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin-bottom: 15px; font-size: 8px; color: #7e919b; text-transform: uppercase; }
.network-meter > div { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.network-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--green)); box-shadow: 0 0 10px var(--green); }
.network-meter b { color: #aef99b; }
.social-row { position: relative; z-index: 1; display: flex; gap: 8px; justify-content: center; }
.social-row a { padding: 8px 11px; border: 1px solid rgba(47,151,255,.3); border-radius: 6px; color: #63bfff; font-size: 9px; font-weight: 850; transition: .2s; }
.social-row a:hover { color: #fff; background: rgba(47,151,255,.12); transform: translateY(-1px); }
.news-panel { padding: 19px; }
.panel-symbol { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid rgba(37,141,255,.3); border-radius: 9px; color: #56b6ff; background: rgba(37,141,255,.07); }
.news-list { position: relative; z-index: 1; display: grid; gap: 9px; margin-top: 16px; }
.news-item { display: grid; grid-template-columns: 47px 1fr auto; gap: 11px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(71,153,197,.13); }
.news-badge { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--badge); border-radius: 9px; background: color-mix(in srgb,var(--badge) 9%,transparent); color: var(--badge); font-size: 20px; box-shadow: 0 0 13px color-mix(in srgb,var(--badge) 17%,transparent); }
.news-copy h3 { margin: 0 0 4px; color: #60c2ff; font-size: 11px; text-transform: uppercase; }.news-copy p { margin: 0; color: #8fa2ad; font-size: 9px; line-height: 1.45; }.news-date { font-size: 8px; color: #a7b6bd; white-space: nowrap; }

.roadmap { padding: 83px 0 65px; }
.section-title { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.section-title.compact { max-width: none; margin: 0 0 20px; text-align: left; }
.section-title.compact h2 { font-size: 30px; }.section-title.compact > p:last-child { margin: 8px 0 0; }
.roadmap-line { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.roadmap-step { position: relative; min-height: 118px; padding: 19px; display: flex; align-items: center; gap: 13px; overflow: hidden; border: 1px solid rgba(71,153,197,.2); border-radius: 12px; background: linear-gradient(145deg, rgba(4,13,18,.9), rgba(1,6,10,.94)); clip-path: polygon(6% 0,100% 0,100% 84%,94% 100%,0 100%,0 16%); }
.roadmap-step::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg,rgba(255,255,255,.03),transparent 35%); }
.roadmap-step > b { position: relative; z-index: 1; font-size: 31px; color: #465a64; }
.roadmap-step > span { position: relative; z-index: 1; display: grid; gap: 5px; }.roadmap-step strong { font-size: 12px; text-transform: uppercase; }.roadmap-step small { color: #758b96; font-size: 9px; }
.roadmap-step > i { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--cyan); box-shadow: 0 0 12px currentColor; transition: width .8s ease; }
.roadmap-step.revealed > i { width: 100%; }
.roadmap-step.done { border-color: rgba(99,243,63,.38); }.roadmap-step.done > b { color: var(--green); }.roadmap-step.done > i { background: var(--green); }
.roadmap-step.active { border-color: rgba(255,201,54,.5); box-shadow: 0 0 28px rgba(255,201,54,.07); }.roadmap-step.active > b { color: var(--gold); }.roadmap-step.active > i { background: var(--gold); }
.support { margin-bottom: 35px; padding: 28px 31px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border: 1px solid rgba(47,151,255,.3); border-radius: 16px; background: linear-gradient(90deg,rgba(5,19,28,.96),rgba(3,9,13,.92)); box-shadow: var(--shadow); }
.support-icon { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(54,190,244,.36); border-radius: 16px; color: var(--cyan); background: rgba(54,190,244,.06); box-shadow: inset 0 0 18px rgba(54,190,244,.05), 0 0 22px rgba(54,190,244,.08); }
.support-icon .icon { width: 31px; height: 31px; }
.support p { margin: 8px 0 0; }

/* INNER PAGES */
.inner-main { min-height: calc(100vh - 120px); padding-top: 106px; }
.inner-hero { position: relative; isolation: isolate; width: min(1460px, calc(100% - 48px)); min-height: 365px; margin: 0 auto; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(60,175,231,.18); border-radius: 18px; background: #02070b; box-shadow: var(--shadow); }
.inner-hero__media { position: absolute; inset: 0; z-index: -2; }
.inner-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.04); filter: brightness(.38) saturate(1.08) blur(1px); }
.inner-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(7,22,32,.1), rgba(1,5,8,.78) 72%), linear-gradient(90deg,rgba(255,35,50,.09),transparent 35%,transparent 65%,rgba(34,137,255,.11)); }
.inner-hero__content { max-width: 800px; padding: 48px 25px; display: grid; justify-items: center; text-align: center; }
.inner-hero__icon { width: 61px; height: 61px; display: grid; place-items: center; margin-bottom: 13px; border: 1px solid rgba(75,190,240,.38); border-radius: 16px; color: var(--cyan); background: rgba(5,24,34,.63); box-shadow: inset 0 0 20px rgba(43,178,235,.06), 0 0 25px rgba(43,178,235,.1); }
.inner-hero__icon .icon { width: 31px; height: 31px; }
.inner-hero h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); letter-spacing: .03em; text-transform: uppercase; text-shadow: 0 7px 30px #000; }
.inner-hero__content > p:not(.eyebrow) { max-width: 720px; margin: 13px auto 0; color: #aebdc4; font-size: 12px; line-height: 1.7; text-shadow: 0 2px 10px #000; }
.inner-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.inner-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid rgba(75,184,228,.22); border-radius: 999px; background: rgba(3,13,19,.58); color: #a8c2cd; font-size: 8px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.shop-layout { padding: 48px 0 90px; display: grid; grid-template-columns: 270px 1fr; gap: 29px; align-items: start; }
.shop-sidebar { position: sticky; top: 104px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.sidebar-title { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }.sidebar-title > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(47,151,255,.3); border-radius: 10px; color: #64c0ff; background: rgba(47,151,255,.06); }.sidebar-title small { color: #6f828d; font-size: 7px; text-transform: uppercase; letter-spacing: .16em; }.sidebar-title h2 { margin: 2px 0 0; font-size: 17px; text-transform: uppercase; }
.shop-sidebar > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 12px 13px; color: #9fb1bb; border: 1px solid transparent; border-radius: 8px; font-size: 11px; transition: .2s; }
.shop-sidebar > a small { color: #637985; font-size: 7px; text-transform: uppercase; }.shop-sidebar > a:hover, .shop-sidebar > a.active { color: #fff; border-color: rgba(52,174,255,.34); background: rgba(35,143,222,.08); transform: translateX(2px); }.shop-sidebar > a .icon { color: #61c6ff; }
.shop-note { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(50,158,225,.17); display: flex; flex-direction: column; gap: 7px; }.shop-note b { display: flex; align-items: center; gap: 7px; color: #b8e8ff; font-size: 10px; }.shop-note span { color: #7f929d; font-size: 9px; line-height: 1.55; }
.catalog-wrap { display: grid; gap: 60px; }.catalog-section { scroll-margin-top: 120px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.product-card { --accent: var(--cyan); min-height: 260px; padding: 24px; display: flex; flex-direction: column; background: linear-gradient(155deg,color-mix(in srgb,var(--accent) 8%,rgba(6,16,22,.96)),rgba(2,7,11,.98) 58%); border: 1px solid color-mix(in srgb,var(--accent) 42%,transparent); border-radius: 14px; clip-path: polygon(5% 0,95% 0,100% 8%,100% 92%,95% 100%,5% 100%,0 92%,0 8%); box-shadow: 0 16px 42px rgba(0,0,0,.38); transition: transform .2s ease, box-shadow .2s ease; }.product-card:hover { transform: translateY(-5px); box-shadow: 0 25px 55px rgba(0,0,0,.48), 0 0 25px color-mix(in srgb,var(--accent) 13%,transparent); }
.product-icon { font-size: 43px; color: var(--accent); text-shadow: 0 0 16px var(--accent); }.product-card h3 { margin: 12px 0 7px; color: var(--accent); font-size: 22px; }.product-card p { color: #9fb0b9; font-size: 11px; line-height: 1.6; flex: 1; }.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }.product-price { font-size: 20px; font-weight: 900; }.product-card button { border: 1px solid var(--accent); background: color-mix(in srgb,var(--accent) 8%,transparent); color: var(--accent); padding: 9px 13px; cursor: pointer; border-radius: 6px; font-weight: 850; }
.empty-catalog { min-height: 230px; grid-column: 1 / -1; padding: 38px; display: grid; place-items: center; text-align: center; border: 1px dashed rgba(88,174,213,.3); border-radius: 14px; background: radial-gradient(circle at 50% 0,rgba(44,148,196,.06),transparent 50%), rgba(5,15,20,.75); color: #7e929c; }.empty-catalog b { display: block; color: #d3dee3; font-size: 20px; margin-bottom: 7px; }.empty-catalog span { font-size: 10px; }

/* ACCOUNT / ADMIN DYNAMIC */
.account-layout, .admin-root { padding: 48px 0 90px; }
.loading-panel { min-height: 180px; padding: 40px; display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; color: #9eb2bc; }
.loader-ring { width: 28px; height: 28px; border: 2px solid rgba(70,184,232,.18); border-top-color: var(--cyan); border-radius: 50%; animation: spin .8s linear infinite; box-shadow: 0 0 14px rgba(54,230,244,.12); } @keyframes spin { to { transform: rotate(360deg); } }
.account-guest { max-width: 720px; margin: auto; padding: 44px; text-align: center; }.account-guest .brand-mark { margin: 0 auto 18px; }.account-guest h2 { margin: 0 0 10px; }.account-guest p { color: #9aadb6; line-height: 1.65; }.account-grid { display: grid; grid-template-columns: 330px 1fr; gap: 22px; align-items: start; }.profile-card { padding: 28px; text-align: center; }.skin-head { width: 108px; height: 108px; margin: 0 auto 18px; display: grid; place-items: center; background: radial-gradient(circle at 40% 25%,#1c4c6b,#06121b 70%); border: 1px solid #39bdfb; border-radius: 22px; color: #73d5ff; font-size: 44px; font-weight: 950; box-shadow: 0 0 0 4px rgba(39,172,255,.06), 0 0 30px rgba(39,172,255,.2); }.profile-card h2 { margin: 0 0 5px; font-size: 28px; }.role-badge { display: inline-block; margin: 7px 0 17px; padding: 5px 10px; border: 1px solid #49baff; border-radius: 999px; color: #69c9ff; font-size: 9px; text-transform: uppercase; font-weight: 900; }.profile-meta { display: grid; gap: 10px; text-align: left; }.profile-meta div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.065); color: #8297a2; font-size: 11px; }.profile-meta b { color: #e5edf1; text-align: right; }.account-main { display: grid; gap: 20px; }.account-panel { padding: 25px; }.account-panel h2 { margin: 0 0 18px; }.table-scroll { overflow-x: auto; }.order-table { width: 100%; border-collapse: collapse; font-size: 11px; }.order-table th,.order-table td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.065); text-align: left; }.order-table th { color: #718791; text-transform: uppercase; font-size: 8px; }.order-status { display: inline-block; padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(89,178,222,.35); color: #94d9fa; }.order-status.delivered { border-color: rgba(99,243,63,.4); color: #8ef77a; }.order-status.failed,.order-status.cancelled { border-color: rgba(255,57,73,.45); color: #ff7883; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.form-grid .full { grid-column: 1 / -1; }.form-grid label,.auth-form label,.admin-form label { display: grid; gap: 7px; color: #d6e1e7; font-size: 11px; font-weight: 750; }.form-grid input,.form-grid textarea,.form-grid select,.auth-form input,.admin-form input,.admin-form textarea,.admin-form select { width: 100%; padding: 12px 13px; border: 1px solid rgba(73,166,211,.25); border-radius: 8px; background: rgba(5,15,22,.86); color: #fff; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }.form-grid input:focus,.auth-form input:focus,.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus { border-color: #34b8ff; box-shadow: 0 0 0 3px rgba(44,170,237,.11); background: #06131c; }
.form-submit { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #63f33f; background: linear-gradient(180deg,#1b6c16,#0a300b); color: #fff; padding: 11px 18px; border-radius: 8px; font-weight: 900; cursor: pointer; transition: filter .2s, transform .2s; }.form-submit:hover { filter: brightness(1.16); transform: translateY(-1px); }.form-message { min-height: 20px; color: #ff8b93; font-size: 11px; }.form-message.success { color: #86f878; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }.admin-stat { padding: 20px; }.admin-stat span { display: block; color: #7d919b; font-size: 9px; text-transform: uppercase; }.admin-stat b { display: block; margin-top: 5px; font-size: 30px; color: #6fd6ff; }.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.admin-section { padding: 24px; }.admin-section.wide { grid-column: 1 / -1; }.admin-section h2 { margin: 0 0 18px; }.admin-form { display: grid; gap: 13px; }.admin-list { display: grid; gap: 9px; max-height: 440px; overflow: auto; }.admin-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid rgba(75,159,201,.17); border-radius: 8px; background: rgba(3,11,16,.65); }.admin-row strong { display: block; }.admin-row small { color: #7c909a; }.admin-row-actions { display: flex; gap: 7px; align-items: center; }.mini-button { padding: 7px 10px; border: 1px solid #43b7ee; background: rgba(31,136,190,.1); color: #78d4ff; border-radius: 5px; cursor: pointer; font-size: 10px; }.danger { border-color: #ff5663; color: #ff8991; }.mini-button.delete { border-color: #ff3949; color: #ffd3d6; background: rgba(255,57,73,.14); }.mini-button.delete:hover { background: rgba(255,57,73,.25); box-shadow: 0 0 16px rgba(255,57,73,.2); }.mini-button:disabled { opacity: .5; cursor: wait; }.admin-order { display: grid; grid-template-columns: 70px 1fr 130px 165px; gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid rgba(255,255,255,.065); font-size: 11px; }.admin-order select { padding: 7px; background: #07121a; color: #fff; border: 1px solid rgba(74,164,207,.3); border-radius: 5px; }

/* DIALOG / FOOTER */
.auth-dialog { width: min(490px, calc(100% - 28px)); overflow: hidden; border: 1px solid rgba(53,181,238,.48); border-radius: 19px; padding: 0; background: linear-gradient(160deg,#07141d,#02070b); color: #fff; box-shadow: 0 38px 130px #000; }.auth-dialog::backdrop { background: rgba(0,2,5,.78); backdrop-filter: blur(9px); }.dialog-glow { position: absolute; inset: -80px -80px auto; height: 160px; background: radial-gradient(circle,rgba(38,165,230,.14),transparent 68%); pointer-events: none; }.dialog-close { position: absolute; z-index: 3; right: 12px; top: 9px; border: 0; background: transparent; color: #8fa4ae; font-size: 28px; cursor: pointer; }.auth-brand { position: relative; display: flex; align-items: center; gap: 13px; padding: 23px 25px 17px; }.auth-brand > div { display: grid; gap: 4px; }.auth-brand b { font-size: 17px; }.auth-brand span { color: #78909c; font-size: 9px; }.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(70,171,218,.16); border-bottom: 1px solid rgba(70,171,218,.19); }.auth-tabs button { border: 0; background: transparent; color: #7f929c; padding: 15px; cursor: pointer; font-weight: 850; }.auth-tabs button.active { color: #63d4ff; background: rgba(38,153,211,.07); box-shadow: inset 0 -2px #33bfff; }.auth-form { display: none; padding: 25px; }.auth-form.active { display: grid; gap: 14px; }.auth-form h2 { margin: 0; }.auth-form > p { margin: 0 0 5px; color: #8ca0aa; font-size: 11px; line-height: 1.5; }.auth-form .form-submit { margin-top: 4px; }
.footer { position: relative; width: min(1460px, calc(100% - 48px)); margin: 0 auto; padding: 28px 0 35px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid rgba(85,166,204,.15); color: #788d97; }.footer-brand { display: flex; align-items: center; gap: 11px; }.footer-brand > div { display: flex; flex-direction: column; }.footer-brand b { color: #d8e4e9; }.footer-brand span { font-size: 10px; }.footer-center { display: flex; align-items: center; color: #6f838e; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.footer-center .status-dot { width: 6px; height: 6px; background: var(--gold); color: var(--gold); }.footer-links { display: flex; justify-content: flex-end; gap: 19px; font-size: 10px; }.footer-links a:hover { color: #fff; }
.toast { position: fixed; z-index: 150; left: 50%; bottom: 24px; transform: translate(-50%,30px); opacity: 0; pointer-events: none; max-width: min(520px,calc(100% - 30px)); padding: 12px 18px; border: 1px solid #40c5ff; border-radius: 9px; background: rgba(3,15,22,.95); box-shadow: 0 16px 50px #000; color: #dff6ff; transition: .25s; }.toast.show { opacity: 1; transform: translate(-50%,0); }.toast.error { border-color: #ff4f5b; color: #ffd6d9; }
.back-to-top { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: 42px; height: 42px; border: 1px solid rgba(65,188,239,.35); border-radius: 10px; background: rgba(4,15,22,.85); color: #82dcff; box-shadow: 0 12px 35px rgba(0,0,0,.35); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .22s; }.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }.back-to-top:hover { border-color: var(--cyan); color: #fff; }
.skeleton { min-height: 62px; border-radius: 8px; background: linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.075),rgba(255,255,255,.03)); background-size: 200% 100%; animation: pulse 1.4s infinite; }.skeleton.tall { min-height: 240px; } @keyframes pulse { to { background-position: -200% 0; } }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.26); transform: translate(-50%,-50%) scale(0); animation: ripple .55s ease-out; pointer-events: none; } @keyframes ripple { to { transform: translate(-50%,-50%) scale(1); opacity: 0; } }

/* SCROLL REVEAL */
body.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .68s ease, transform .68s cubic-bezier(.2,.75,.2,1); }
body.reveal-ready [data-reveal].revealed { opacity: 1; transform: translateY(0); }


@media (max-width: 1380px) and (min-width: 841px) {
  .brand-wordmark { min-width: 154px; }
  .admin-quick-link span { display: none; }
  .admin-quick-link { width: 40px; padding-inline: 9px; }
}

@media (max-width: 1220px) {
  .topbar { grid-template-columns: auto auto 1fr auto; }
  .nav-toggle { display: block; order: 2; }
  .nav { position: absolute; left: 15px; right: 15px; top: 83px; display: none; flex-direction: column; align-items: stretch; padding: 10px; border: 1px solid rgba(65,175,226,.35); border-radius: 12px; background: rgba(2,8,13,.98); box-shadow: 0 25px 60px #000; }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; padding: 0 14px; }
  .nav a.active::after { left: 0; right: auto; top: 9px; bottom: 9px; width: 3px; height: auto; }
  .topbar-actions { justify-self: end; }
  .admin-quick-link span { display: none; }
  .admin-quick-link { width: 40px; padding-inline: 9px; }
  .login-chip { justify-self: end; }
  .hero-hud { display: none; }
  .mode-grid { grid-template-columns: repeat(3,1fr); }
  .dashboard { grid-template-columns: 1fr 1fr; }
  .news-panel { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 840px) {
  .section-shell, .inner-hero, .footer { width: min(100% - 28px,1460px); }
  .topbar { top: 8px; width: calc(100% - 16px); min-height: 64px; padding: 0 11px; gap: 9px; }
  .brand-wordmark { display: none; }
  .brand-emblem { width: 42px; height: 42px; }
  .nav { top: 70px; }
  .install-banner { top: 82px; width: calc(100% - 28px); }
  .install-banner div span { display: none; }
  .hero { min-height: 92svh; padding: 120px 14px 58px; }
  .hero-scene img { object-position: center center; transform: scale(1.04); }
  .hero-chip { font-size: 8px; }
  .play-button { min-height: 66px; }
  .play-key { display: none; }
  .server-line { flex-wrap: wrap; }
  .server-separator:last-of-type { display: none; }
  .server-mode { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 13px; }
  .mode-grid { grid-template-columns: repeat(2,1fr); gap: 11px; }
  .dashboard { grid-template-columns: 1fr; }
  .about-panel { grid-template-columns: 150px 1fr; }
  .roadmap-line { grid-template-columns: 1fr 1fr; }
  .support { grid-template-columns: auto 1fr; }
  .support .play-button { grid-column: 1 / -1; width: 100%; }
  .footer { grid-template-columns: 1fr; justify-items: start; }
  .footer-center { order: 3; }.footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: relative; top: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .sidebar-title, .shop-note { grid-column: 1 / -1; }
  .account-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-grid { grid-template-columns: 1fr; }.admin-section.wide { grid-column: auto; }
  .admin-order { grid-template-columns: 55px 1fr; }.admin-order > *:nth-child(3), .admin-order > *:nth-child(4) { grid-column: 2; }
  .inner-main { padding-top: 87px; }.inner-hero { min-height: 300px; }.inner-hero h1 { font-size: 42px; }
  .form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }
}

@media (max-width: 560px) {
  .topbar-actions { gap: 6px; }
  .admin-quick-link { min-width: 44px; width: 44px; min-height: 44px; padding: 8px; }
  .admin-quick-link span { display: none; }
  .login-chip { min-width: 44px; width: 44px; padding: 8px; }.login-chip span { display: none; }
  .install-banner { grid-template-columns: auto 1fr; }.install-banner a { display: none; }
  .hero { min-height: 88svh; padding-bottom: 44px; }
  .hero-scene img { object-position: center center; }
  .hero-chip-row { display: none; }
  .play-button { width: 100%; min-height: 61px; }.play-icon { width: 36px; height: 36px; }.play-copy b { font-size: 20px; }.play-copy small { font-size: 8px; }
  .server-line { width: 100%; gap: 11px; padding: 9px 11px; }.server-separator { height: 28px; }.server-line b { font-size: 10px; }
  .scroll-cue { display: none; }
  .content-surface { padding-top: 38px; }
  .section-intro h1 { font-size: 29px; }
  .mode-grid { grid-template-columns: 1fr; }
  .neon-card { min-height: 225px; }
  .about-panel { grid-template-columns: 1fr; }.about-art { min-height: 170px; background-size: 210% auto; background-position: center 62%; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 19px; }.stats-grid > div:nth-child(2) { border-right: 0; }
  .news-item { grid-template-columns: 43px 1fr; }.news-date { grid-column: 2; }
  .roadmap-line { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; text-align: center; justify-items: center; }.support p { margin-inline: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .shop-sidebar { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .inner-hero { width: calc(100% - 16px); min-height: 280px; }.inner-hero h1 { font-size: 34px; }.inner-badges { display: none; }
  .order-table { display: block; overflow-x: auto; }
  .admin-row { grid-template-columns: 1fr; }.admin-row-actions { justify-content: flex-start; }
  .footer-links { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .fx-canvas { display: none; }
}

/* ========================================================================== 
   FOX SURVIVAL v1.6 — CINEMATIC VISUAL LAYER
   ========================================================================== */

html {
  scrollbar-color: rgba(54,230,244,.58) #02060a;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #02060a; }
::-webkit-scrollbar-thumb {
  border: 2px solid #02060a;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,57,75,.75), rgba(54,230,244,.75));
}

body::before {
  content: "";
  position: fixed;
  z-index: 7;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor-aura {
  position: fixed;
  z-index: 6;
  left: 0;
  top: 0;
  width: 300px;
  height: 300px;
  will-change: transform, opacity;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(54,230,244,.08), rgba(37,141,255,.025) 40%, transparent 70%);
  filter: blur(4px);
  transition: opacity .25s ease;
}
.cursor-aura.visible { opacity: 1; }
body.page-account .cursor-aura,
body.page-shop .cursor-aura { display: none !important; }

.topbar {
  overflow: hidden;
  isolation: isolate;
}
.topbar::before,
.topbar::after { z-index: 3; }
.topbar-scan {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: -22%;
  width: 13%;
  pointer-events: none;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  animation: topbarScan 7.5s ease-in-out infinite 1.5s;
}
@keyframes topbarScan {
  0%, 72% { left: -22%; opacity: 0; }
  77% { opacity: 1; }
  100% { left: 118%; opacity: 0; }
}
.brand-emblem {
  animation: emblemBreath 4.8s ease-in-out infinite;
}
@keyframes emblemBreath {
  0%,100% { box-shadow: 0 0 0 3px rgba(20,91,143,.11), 0 0 24px rgba(42,147,255,.16); }
  50% { box-shadow: 0 0 0 4px rgba(255,57,75,.08), 0 0 34px rgba(42,147,255,.28); }
}

/* Atmospheric hero layers */
.hero-beams,
.hero-fog,
.hero-scanline,
.hero-orbit,
.hero-telemetry { pointer-events: none; }
.hero-beams {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: .42;
}
.hero-beams i {
  position: absolute;
  top: -20%;
  width: 17vw;
  min-width: 170px;
  height: 125%;
  transform-origin: top center;
  filter: blur(16px);
  background: linear-gradient(180deg, rgba(80,190,255,.16), rgba(65,155,255,.025) 52%, transparent 82%);
  clip-path: polygon(43% 0,57% 0,100% 100%,0 100%);
  animation: beamDrift 10s ease-in-out infinite alternate;
}
.hero-beams i:nth-child(1) { left: 11%; transform: rotate(10deg); background: linear-gradient(180deg, rgba(255,69,77,.17), rgba(255,57,75,.02) 58%, transparent 82%); }
.hero-beams i:nth-child(2) { left: 43%; animation-delay: -4s; opacity: .55; }
.hero-beams i:nth-child(3) { right: 10%; transform: rotate(-10deg); animation-delay: -7s; }
@keyframes beamDrift {
  to { transform: translateX(28px) rotate(7deg) scaleX(1.12); opacity: .72; }
}
.hero-fog {
  position: absolute;
  z-index: -1;
  left: -18%;
  right: -18%;
  height: 220px;
  border-radius: 50%;
  filter: blur(46px);
  opacity: .23;
  background: radial-gradient(ellipse, rgba(120,205,255,.18), rgba(21,60,89,.09) 35%, transparent 72%);
}
.hero-fog--one { bottom: 17%; animation: fogMove 15s ease-in-out infinite alternate; }
.hero-fog--two { bottom: 3%; opacity: .14; transform: scaleX(.78); animation: fogMove 19s ease-in-out infinite alternate-reverse; }
@keyframes fogMove {
  from { translate: -3% 0; scale: 1 .9; }
  to { translate: 4% -10px; scale: 1.08 1.12; }
}
.hero-scanline {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: -6%;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent 5%, rgba(255,75,83,.48), rgba(255,255,255,.9) 50%, rgba(58,166,255,.5), transparent 95%);
  box-shadow: 0 0 13px rgba(115,210,255,.55);
  animation: heroScan 8.5s linear infinite 2s;
}
@keyframes heroScan {
  0%,12% { top: 7%; opacity: 0; }
  16% { opacity: .7; }
  42% { top: 87%; opacity: .16; }
  45%,100% { top: 90%; opacity: 0; }
}
.hero-orbit {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 63px;
  width: min(820px, 84vw);
  aspect-ratio: 4.8 / 1;
  transform: translateX(-50%);
  border: 1px solid rgba(83,190,235,.12);
  border-radius: 50%;
  filter: drop-shadow(0 0 15px rgba(32,141,255,.12));
}
.hero-orbit::before,
.hero-orbit::after,
.hero-orbit i {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(70,181,231,.1);
}
.hero-orbit::before { inset: 12% 8%; }
.hero-orbit::after { inset: 25% 18%; border-color: rgba(115,255,79,.09); }
.hero-orbit i { width: 7px; height: 7px; border: 0; box-shadow: 0 0 12px currentColor; animation: orbitNode 4s ease-in-out infinite; }
.hero-orbit i:nth-child(1) { left: 12%; top: 39%; color: var(--red); background: var(--red); }
.hero-orbit i:nth-child(2) { left: 50%; top: -4px; color: var(--gold); background: var(--gold); animation-delay: -1.4s; }
.hero-orbit i:nth-child(3) { right: 12%; top: 39%; color: var(--blue); background: var(--blue); animation-delay: -2.7s; }
@keyframes orbitNode { 50% { opacity: .25; transform: scale(.55); } }
.hero-controls {
  padding: 15px 18px 13px;
  border-radius: 20px;
}
.hero-controls::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(75,179,224,.08);
  border-radius: inherit;
  opacity: .7;
  background: radial-gradient(circle at var(--spot-x,50%) var(--spot-y,50%), rgba(50,185,241,.08), transparent 52%);
  mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
}
.hero-telemetry {
  position: absolute;
  z-index: 5;
  left: max(26px, calc((100vw - 1460px) / 2));
  right: max(26px, calc((100vw - 1460px) / 2));
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: rgba(140,164,176,.58);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-telemetry span:first-child { text-align: left; }
.hero-telemetry span:nth-child(2) { color: rgba(201,224,233,.62); }
.hero-telemetry span:last-child { text-align: right; }
.hero-telemetry b { color: var(--gold); }
.telemetry-dot { display: inline-block; width: 5px; height: 5px; margin: 0 5px; border-radius: 50%; box-shadow: 0 0 9px currentColor; }
.telemetry-dot--red { color: var(--red); background: var(--red); }
.telemetry-dot--blue { color: var(--blue); background: var(--blue); }

/* Moving server manifesto */
.signal-strip {
  position: relative;
  z-index: 15;
  overflow: hidden;
  height: 42px;
  border-top: 1px solid rgba(255,62,76,.22);
  border-bottom: 1px solid rgba(46,155,255,.24);
  background: linear-gradient(90deg, rgba(31,4,7,.96), rgba(3,15,22,.98) 45%, rgba(3,12,27,.96));
  box-shadow: 0 10px 45px rgba(0,0,0,.45), inset 0 0 30px rgba(69,170,224,.035);
}
.signal-strip::before,
.signal-strip::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 130px;
}
.signal-strip::before { left: 0; background: linear-gradient(90deg,#02060a,transparent); }
.signal-strip::after { right: 0; background: linear-gradient(-90deg,#02060a,transparent); }
.signal-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #91a9b4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  animation: signalMarquee 29s linear infinite;
}
.signal-track span:nth-of-type(6n+1) { color: #f3f8fa; }
.signal-track i { color: var(--gold); font-size: 7px; text-shadow: 0 0 8px currentColor; }
@keyframes signalMarquee { to { transform: translateX(-50%); } }

/* Precision lighting on cards and panels */
.neon-card,
.panel,
.network-stage,
.world-callout,
.inner-hero__content,
.product-card,
.shop-sidebar,
.support {
  --spot-x: 50%;
  --spot-y: 50%;
}
.panel::before,
.network-stage::before,
.world-callout::before,
.inner-hero__content::before,
.product-card::before,
.shop-sidebar::before,
.support::before {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(101,205,255,.105), transparent 31%),
    linear-gradient(130deg, rgba(255,255,255,.04), transparent 35%);
}
.neon-card {
  isolation: isolate;
}
.neon-card:hover .card-icon { transform: translateZ(34px) scale(1.045); }
.card-icon { transition: transform .24s ease, box-shadow .24s ease; }

/* FOX Network map */
.network-section { margin-top: 72px; }
.network-title { display: grid; grid-template-columns: minmax(300px,1fr) minmax(260px,500px); column-gap: 35px; align-items: end; margin-bottom: 23px; }
.network-title .eyebrow,
.network-title h2 { grid-column: 1; }
.network-title > p:last-child { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: end; }
.network-stage {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(67,181,231,.27);
  border-radius: 22px;
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(37,141,255,.085), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(27,108,145,.12), transparent 30%),
    linear-gradient(150deg, rgba(4,15,22,.98), rgba(1,6,10,.99));
  box-shadow: 0 35px 100px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.04);
  isolation: isolate;
}
.network-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.network-stage::after {
  content: "FOX NETWORK / TOPOLOGY 01";
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: rgba(105,151,172,.25);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .22em;
}
.network-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(54,176,231,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54,176,231,.22) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse, #000 15%, transparent 74%);
}
.network-lines { position: absolute; inset: 8% 7%; width: 86%; height: 84%; overflow: visible; }
.network-lines path {
  fill: none;
  stroke-width: 1.4;
  stroke-dasharray: 7 10;
  vector-effect: non-scaling-stroke;
  animation: networkFlow 8s linear infinite;
}
.network-lines .line-red { stroke: rgba(255,57,75,.55); }
.network-lines .line-blue { stroke: rgba(37,141,255,.58); animation-delay: -2s; }
.network-lines .line-gold { stroke: rgba(255,200,60,.5); animation-delay: -4s; }
.network-lines .line-purple { stroke: rgba(198,103,255,.5); animation-delay: -6s; }
@keyframes networkFlow { to { stroke-dashoffset: -170; } }
.network-node {
  --node: var(--cyan);
  position: absolute;
  z-index: 3;
  width: min(250px, 25%);
  min-height: 116px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid color-mix(in srgb,var(--node) 45%,transparent);
  border-radius: 12px;
  background: linear-gradient(145deg, color-mix(in srgb,var(--node) 7%,rgba(5,16,23,.94)), rgba(1,7,11,.97));
  box-shadow: 0 17px 45px rgba(0,0,0,.35), 0 0 22px color-mix(in srgb,var(--node) 8%,transparent);
  transition: transform .2s ease, border-color .2s ease;
}
.network-node::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 1px; background: linear-gradient(90deg,transparent,var(--node),transparent); box-shadow: 0 0 8px var(--node); }
.network-node--red { --node: var(--red); left: 5%; top: 12%; }
.network-node--blue { --node: var(--blue); right: 5%; top: 12%; }
.network-node--gold { --node: var(--gold); left: 7%; bottom: 10%; }
.network-node--purple { --node: var(--purple); right: 7%; bottom: 10%; }
.network-node__icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid color-mix(in srgb,var(--node) 38%,transparent); border-radius: 11px; color: var(--node); background: color-mix(in srgb,var(--node) 6%,rgba(1,8,12,.76)); box-shadow: inset 0 0 15px color-mix(in srgb,var(--node) 7%,transparent); }
.network-node__icon .icon { width: 25px; height: 25px; filter: drop-shadow(0 0 7px var(--node)); }
.network-node small { color: color-mix(in srgb,var(--node) 72%,#778a95); font-size: 7px; font-weight: 900; letter-spacing: .17em; }
.network-node h3 { margin: 3px 0 4px; font-size: 14px; }
.network-node p { margin: 0; color: #8499a4; font-size: 9px; line-height: 1.4; }
.network-node > b { grid-column: 1 / -1; justify-self: start; margin-top: -2px; padding: 4px 7px; border-radius: 99px; color: color-mix(in srgb,var(--node) 75%,#fff); background: color-mix(in srgb,var(--node) 7%,transparent); font-size: 6px; letter-spacing: .12em; }
.network-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(80,195,242,.36);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,47,65,.88), rgba(2,9,14,.98) 68%);
  box-shadow: 0 0 0 13px rgba(35,143,191,.035), 0 0 55px rgba(31,152,211,.2), inset 0 0 32px rgba(49,172,224,.08);
}
.network-core__rings,
.network-core__rings i { position: absolute; inset: 0; border: 1px solid rgba(69,181,229,.2); border-radius: 50%; }
.network-core__rings { inset: -18px; animation: coreSpin 15s linear infinite; }
.network-core__rings i:nth-child(1) { inset: -12px; border-style: dashed; border-color: rgba(255,57,75,.18); }
.network-core__rings i:nth-child(2) { inset: 10px; border-color: rgba(37,141,255,.2); animation: coreSpin 8s linear infinite reverse; }
.network-core__rings i:nth-child(3) { inset: 31px; border-style: dotted; border-color: rgba(255,200,60,.2); }
@keyframes coreSpin { to { rotate: 360deg; } }
.network-core__logo { width: 72px; height: 72px; overflow: hidden; border-radius: 50%; filter: drop-shadow(0 0 16px rgba(45,155,255,.3)); }
.network-core__logo img { width: 100%; height: 100%; object-fit: contain; }
.network-core small { margin-top: 4px; color: #70d7ff; font-size: 6px; font-weight: 900; letter-spacing: .2em; }
.network-core strong { font-size: 14px; letter-spacing: .16em; }
.network-core em { margin-top: 3px; color: #7f949f; font-size: 6px; font-style: normal; letter-spacing: .12em; }

/* Cinematic world callout */
.world-callout {
  position: relative;
  min-height: 280px;
  margin-top: 72px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 42px 45px;
  border: 1px solid rgba(75,181,229,.32);
  border-radius: 19px;
  background: #030b10;
  box-shadow: 0 34px 90px rgba(0,0,0,.43);
  isolation: isolate;
}
.world-callout::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.world-callout__image {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-color: #02101a;
  background-image: url('../img/world-callout-bg.webp?v=1.6.2-water-mountain-1');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.08) contrast(1.04) brightness(.9);
  transform: scale(1.015);
}
.world-callout__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,7,11,.97) 0, rgba(2,7,11,.8) 47%, rgba(2,7,11,.36) 100%),
    linear-gradient(180deg, rgba(2,7,11,.32), rgba(2,7,11,.82));
}
.world-callout__grid { position: absolute; z-index: -1; inset: 0; opacity: .12; background-image: linear-gradient(rgba(68,187,236,.23) 1px,transparent 1px),linear-gradient(90deg,rgba(68,187,236,.23) 1px,transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg,#000,transparent 86%); }
.world-callout__content { max-width: 720px; }
.world-callout h2 { margin: 0; max-width: 700px; font-size: clamp(28px,4vw,48px); line-height: 1.03; letter-spacing: -.035em; text-transform: uppercase; }
.world-callout__content > p:last-of-type { max-width: 610px; margin: 15px 0 20px; color: #9baeb8; font-size: 12px; line-height: 1.72; }
.world-callout__facts { display: flex; flex-wrap: wrap; gap: 9px; }
.world-callout__facts span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(91,190,235,.2); border-radius: 8px; background: rgba(2,9,14,.63); color: #afc0c8; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.world-callout__facts b { color: var(--cyan); }
.world-callout__action {
  position: relative;
  min-width: 235px;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 14px;
  padding: 15px 18px;
  overflow: hidden;
  border: 1px solid rgba(115,255,79,.46);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(29,104,25,.73), rgba(3,23,8,.92));
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 0 25px rgba(80,235,58,.12), inset 0 0 20px rgba(116,255,80,.04);
}
.world-callout__action::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.09), transparent 66%); transform: translateX(-100%); transition: transform .55s ease; }
.world-callout__action:hover::before { transform: translateX(100%); }
.world-callout__action small { grid-column: 1; color: #91c985; font-size: 7px; letter-spacing: .15em; }
.world-callout__action b { grid-column: 1; font-size: 17px; }
.world-callout__action .icon { grid-column: 2; grid-row: 1 / 3; width: 24px; height: 24px; color: var(--green); filter: drop-shadow(0 0 8px currentColor); }

/* Refined section rhythm */
.dashboard { margin-top: 24px; }
.roadmap { margin-top: 78px; }
.support { margin-top: 18px; }
.content-surface { overflow: hidden; }
.content-surface::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 23%;
  width: 75vw;
  height: 75vw;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,116,153,.055), transparent 68%);
  pointer-events: none;
}
.section-intro,
.mode-grid,
.dashboard,
.network-section,
.roadmap,
.world-callout,
.support { z-index: 1; }

/* Footer depth */
.footer { overflow: hidden; isolation: isolate; }
.footer-ghost {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  color: rgba(85,145,170,.055);
  font-size: clamp(56px,9vw,132px);
  font-weight: 1000;
  letter-spacing: -.06em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

/* Inner pages become more cinematic */
.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(70,171,218,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(70,171,218,.11) 1px,transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(90deg,#000,transparent 75%);
  opacity: .25;
}
.inner-hero__content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(83,190,236,.2);
  border-radius: 18px;
  padding: 28px 30px;
  background: linear-gradient(145deg, rgba(3,13,20,.72), rgba(2,7,11,.56));
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
  backdrop-filter: blur(9px);
}
.inner-hero__content::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.inner-hero__content > * { position: relative; z-index: 1; }

@media (max-width: 1100px) {
  .network-stage { min-height: 650px; }
  .network-lines { display: none; }
  .network-node { width: calc(50% - 38px); }
  .network-node--red { left: 25px; top: 24px; }
  .network-node--blue { right: 25px; top: 24px; }
  .network-node--gold { left: 25px; bottom: 24px; }
  .network-node--purple { right: 25px; bottom: 24px; }
  .network-core { width: 145px; height: 145px; }
}

@media (max-width: 840px) {
  .cursor-aura { display: none; }
  .hero-telemetry { display: none; }
  .hero-orbit { bottom: 44px; width: 95vw; }
  .signal-strip { height: 38px; }
  .network-title { grid-template-columns: 1fr; }
  .network-title > p:last-child { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .world-callout { grid-template-columns: 1fr; padding: 34px 28px; }
  .world-callout__action { width: 100%; }
  .world-callout__image { background-position: center center; }
  .world-callout__image::after { background: linear-gradient(90deg,rgba(2,7,11,.94),rgba(2,7,11,.68)),linear-gradient(180deg,rgba(2,7,11,.35),rgba(2,7,11,.88)); }
}

@media (max-width: 620px) {
  body::before { opacity: .08; }
  .hero-beams { opacity: .25; }
  .hero-fog { display: none; }
  .hero-orbit { display: none; }
  .signal-track { gap: 18px; font-size: 8px; }
  .network-section { margin-top: 55px; }
  .network-stage { min-height: auto; display: grid; gap: 10px; padding: 18px; }
  .network-node,
  .network-node--red,
  .network-node--blue,
  .network-node--gold,
  .network-node--purple { position: relative; inset: auto; width: 100%; min-height: 105px; }
  .network-core { position: relative; left: auto; top: auto; width: 135px; height: 135px; margin: 12px auto; transform: none; grid-row: 1; }
  .network-grid-bg { opacity: .08; }
  .world-callout { min-height: 360px; margin-top: 55px; padding: 28px 21px; }
  .world-callout h2 { font-size: 29px; }
  .world-callout__facts { display: grid; grid-template-columns: 1fr; }
  .world-callout__action { min-width: 0; }
  .inner-hero__content { padding: 23px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .signal-track,
  .hero-beams i,
  .hero-fog,
  .hero-scanline,
  .topbar-scan,
  .brand-emblem,
  .network-lines path,
  .network-core__rings,
  .network-core__rings i { animation: none !important; }
  .cursor-aura { display: none; }
}

/* ========================================================================== 
   FOX SURVIVAL v1.6 — FINAL POLISH
   ========================================================================== */

:root {
  --shell: min(1460px, calc(100% - 48px));
  --font-display: Inter, "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --ease-out: cubic-bezier(.2,.75,.2,1);
  --ease-smooth: cubic-bezier(.22,1,.36,1);
  --line-soft: rgba(105,190,230,.18);
  --line-bright: rgba(105,210,250,.38);
}

html { scroll-padding-top: 110px; }
body {
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }

::selection { color: #fff; background: rgba(38,158,220,.72); }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  background: #031018;
  color: #fff;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #6ce9ff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(54,198,244,.13);
}
:where(button, input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: .58;
  filter: saturate(.55);
}

.site-noise {
  position: fixed;
  z-index: 6;
  inset: 0;
  pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Loading screen: short, lightweight and removable */
.site-loader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(15,76,105,.18), transparent 35%),
    linear-gradient(150deg, #03090e, #010306 68%);
  opacity: 1;
  visibility: visible;
  transition: opacity .48s ease, visibility .48s ease;
}
.site-loader::before,
.site-loader::after {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(65,177,226,.08);
  pointer-events: none;
}
.site-loader::after {
  inset: 0;
  border: 0;
  background: linear-gradient(90deg, rgba(255,57,75,.22), transparent 24%, transparent 76%, rgba(37,141,255,.22));
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.site-loader__core { position: relative; width: min(310px, calc(100% - 48px)); display: grid; justify-items: center; text-align: center; }
.site-loader__logo {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgba(72,188,237,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(41,153,207,.04), 0 0 50px rgba(29,149,214,.22);
  animation: loaderFloat 2.3s ease-in-out infinite;
}
.site-loader__logo img { width: 100%; height: 100%; object-fit: contain; }
.site-loader__core strong { margin-top: 18px; font-size: 20px; letter-spacing: .16em; }
.site-loader__core > span { margin-top: 7px; color: #78929f; font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.site-loader__bar { width: 100%; height: 2px; margin-top: 20px; overflow: hidden; border-radius: 99px; background: rgba(79,167,207,.12); }
.site-loader__bar i { display: block; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, #45d7ff, #89ff69, transparent); box-shadow: 0 0 12px #45d7ff; animation: loaderBar 1.15s var(--ease-smooth) infinite; }
@keyframes loaderBar { from { transform: translateX(-115%); } to { transform: translateX(255%); } }
@keyframes loaderFloat { 50% { transform: translateY(-5px); filter: brightness(1.08); } }
.no-js .site-loader { display: none; }

/* Header and navigation refinement */
.topbar {
  width: var(--shell);
  transition: top .25s ease, min-height .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.topbar.scrolled {
  top: 8px;
  min-height: 64px;
  border-color: rgba(73,183,232,.4);
  background: rgba(2,8,13,.93);
  box-shadow: 0 18px 55px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.05);
}
.topbar.scrolled .nav a { min-height: 62px; }
.brand-mini { min-width: max-content; }
.nav a { letter-spacing: .035em; }
.nav a.section-active:not(.active) { color: #eaf8ff; }
.nav a.section-active:not(.active) .icon { color: #8fe8ff; }
.nav-backdrop {
  position: fixed;
  z-index: 48;
  inset: 0;
  display: none;
  border: 0;
  background: rgba(0,3,7,.68);
  backdrop-filter: blur(5px);
}
body.nav-open { overflow: hidden; }
body.nav-open .nav-backdrop { display: block; }

/* Development notice can now be hidden */
.install-banner { padding-right: 38px; transition: opacity .25s ease, transform .25s ease; }
.install-banner[hidden] { display: none !important; }
.install-banner.is-hiding { opacity: 0; transform: translate(-50%,-10px); }
.install-banner__close {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.045);
  color: #bcae7e;
  cursor: pointer;
  transform: translateY(-50%);
}
.install-banner__close:hover { color: #fff; background: rgba(255,255,255,.09); }

/* Typography and rhythm */
.section-shell { width: var(--shell); }
.section-intro h1,
.section-title h2,
.inner-hero h1,
.world-callout h2 { font-family: var(--font-display); text-wrap: balance; }
.section-intro > p,
.section-title > p:last-child,
.inner-hero__content > p,
.world-callout__content > p:last-of-type { text-wrap: pretty; }
.section-intro > p,
.section-title > p:last-child { font-size: 14px; line-height: 1.75; }
.eyebrow { letter-spacing: .18em; }

/* Hero contrast and control clarity */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,3,7,.16) 0, rgba(0,4,7,0) 42%, rgba(0,4,7,.3) 67%, #02060a 100%),
    radial-gradient(ellipse at 50% 40%, transparent 0 33%, rgba(0,2,5,.08) 53%, rgba(0,2,5,.64) 100%);
}
.hero-controls { max-width: 720px; }
.play-button { min-width: 0; }
.play-button:active { transform: translateY(0) scale(.992); }
.play-copy small { color: #c0edb7; }
.server-line { box-shadow: 0 14px 40px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.035); }
.hero-hud p { font-size: 11px; }
.hud-row { font-size: 11px; }

/* Feature cards: more readable, less visual noise */
.mode-grid { align-items: stretch; }
.neon-card {
  min-height: 252px;
  padding: 26px 19px 20px;
  transition: transform .25s var(--ease-out), border-color .25s ease, box-shadow .25s ease;
}
.neon-card:hover { border-color: color-mix(in srgb, var(--accent) 78%, transparent); }
.neon-card h2 { font-size: 20px; letter-spacing: -.01em; }
.neon-card p { font-size: 13px; line-height: 1.65; }
.neon-card a { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.neon-card a .icon { width: 14px; height: 14px; }
.card-number { font-size: 9px; }

/* Dashboard and news readability */
.about-copy > p:not(.eyebrow),
.news-copy p,
.support p { font-size: 13px; line-height: 1.7; }
.about-copy h2,
.stats-panel h2,
.news-panel h2 { line-height: 1.15; }
.feature-tags span { font-size: 10px; }
.news-item { min-height: 76px; }
.news-copy h3 { font-size: 14px; }
.news-date { white-space: nowrap; }
.news-badge .icon { width: 22px; height: 22px; }
.social-row a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social-row a[href="#"] { opacity: .62; cursor: default; }

/* Product catalog */
.catalog-section { scroll-margin-top: 110px; }
.product-grid { align-items: stretch; }
.product-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 22px;
  isolation: isolate;
}
.product-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -20% -45% 30%;
  height: 65%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  filter: blur(35px);
}
.product-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-type { color: #8197a2; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(110,244,85,.28);
  border-radius: 999px;
  background: rgba(75,190,52,.07);
  color: #a9ff94;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-pill--soon { border-color: rgba(255,200,60,.3); background: rgba(255,194,43,.065); color: #ffe08a; }
.product-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-top: 26px;
  border: 1px solid color-mix(in srgb,var(--accent) 35%,transparent);
  border-radius: 16px;
  background: color-mix(in srgb,var(--accent) 7%,rgba(2,9,14,.76));
}
.product-icon .icon { width: 34px; height: 34px; color: var(--accent); filter: drop-shadow(0 0 10px var(--accent)); }
.product-card h3 { font-size: 24px; }
.product-card p { font-size: 13px; line-height: 1.65; }
.product-card button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-card button .icon { width: 16px; height: 16px; }
.empty-catalog--polished {
  min-height: 190px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px dashed rgba(91,184,227,.27);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(5,17,24,.72), rgba(2,8,12,.88));
}
.empty-catalog--polished > div { display: grid; gap: 5px; }
.empty-catalog--polished small { color: #5e8395; font-size: 8px; font-weight: 900; letter-spacing: .18em; }
.empty-catalog--polished b { color: #eef8fc; font-size: 18px; }
.empty-catalog--polished span:not(.empty-catalog__icon):not(.status-pill) { color: #879ba5; font-size: 12px; }
.empty-catalog__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(77,181,230,.25);
  border-radius: 14px;
  background: rgba(28,121,165,.07);
  color: #73d9ff;
}
.empty-catalog__icon .icon { width: 30px; height: 30px; }

/* Account and admin states */
.account-guest { position: relative; max-width: 760px; padding: 54px 46px; overflow: hidden; }
.account-guest__visual { position: relative; width: max-content; margin: 0 auto 17px; }
.account-guest__state {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(89,198,241,.42);
  border-radius: 50%;
  background: #07141d;
  color: #75ddff;
  box-shadow: 0 0 16px rgba(53,174,225,.24);
}
.account-guest__state .icon { width: 15px; height: 15px; }
.account-guest > p:not(.eyebrow) { max-width: 540px; margin: 10px auto 20px; font-size: 13px; }
.guest-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.guest-features span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(76,174,218,.18); border-radius: 8px; color: #8ea4af; font-size: 9px; }
.guest-features .icon { width: 14px; height: 14px; color: #70d7ff; }
.account-panel__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.account-panel__head > span { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(77,184,227,.25); border-radius: 10px; background: rgba(35,139,186,.06); color: #74dcff; }
.account-panel__head .icon { width: 22px; height: 22px; }
.account-panel__head small { color: #708893; font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.account-panel__head h2 { margin: 3px 0 0; }
.profile-meta b { overflow-wrap: anywhere; }
.order-table tbody tr { transition: background .18s ease; }
.order-table tbody tr:hover { background: rgba(80,185,228,.035); }
.admin-stat { position: relative; min-height: 125px; overflow: hidden; }
.admin-stat > i { position: absolute; right: 17px; top: 17px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(87,183,226,.18); border-radius: 10px; color: #66d3ff; background: rgba(43,149,197,.05); }
.admin-stat > i .icon { width: 20px; height: 20px; }
.admin-section h2 { font-size: 20px; }
.admin-row { min-height: 58px; }
.admin-row small { display: block; margin-top: 4px; line-height: 1.45; }
.admin-list { scrollbar-width: thin; scrollbar-color: rgba(71,178,226,.4) transparent; }

/* Forms */
.form-grid input,
.form-grid textarea,
.form-grid select,
.auth-form input,
.admin-form input,
.admin-form textarea,
.admin-form select {
  min-height: 45px;
  font-size: 13px;
}
textarea { resize: vertical; }
.form-submit { min-height: 44px; }
.form-message { min-height: 18px; font-size: 11px; }
.form-message:not(:empty) { padding: 8px 10px; border-left: 2px solid #ff5b67; background: rgba(255,57,73,.05); }
.form-message.success:not(:empty) { border-left-color: #75f05e; background: rgba(87,217,61,.05); }

/* Dialog */
.auth-dialog { max-height: min(760px, calc(100svh - 28px)); }
.auth-dialog[open] { animation: dialogIn .28s var(--ease-smooth); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.dialog-close { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; }
.dialog-close:hover { color: #fff; background: rgba(255,255,255,.055); }

/* Error and maintenance pages */
.error-main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 130px 24px 70px;
  background:
    linear-gradient(180deg, rgba(0,3,7,.25), #02060a 92%),
    url('../img/fox-background.webp?v=1.6.2-site-x8-20260716') center / cover no-repeat;
}
.error-card {
  position: relative;
  width: min(760px, 100%);
  overflow: hidden;
  padding: 50px;
  border: 1px solid rgba(72,186,235,.34);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(5,18,25,.93), rgba(1,7,11,.96));
  box-shadow: 0 35px 110px rgba(0,0,0,.6);
  text-align: center;
  backdrop-filter: blur(14px);
}
.error-code { display: block; color: rgba(105,217,255,.16); font-size: clamp(78px,18vw,160px); font-weight: 1000; line-height: .78; letter-spacing: -.08em; }
.error-card h1 { margin: 22px 0 10px; font-size: clamp(27px,5vw,44px); text-transform: uppercase; }
.error-card p { max-width: 560px; margin: 0 auto 26px; color: #90a5af; font-size: 14px; line-height: 1.7; }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.error-actions a { min-height: 43px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(79,188,235,.35); border-radius: 9px; background: rgba(34,142,190,.07); color: #bfeeff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.error-actions a.primary { border-color: rgba(113,245,84,.4); background: rgba(66,180,43,.09); color: #b9ffa8; }
.error-actions .icon { width: 16px; height: 16px; }

/* Footer and utility */
.footer-links a { min-height: 30px; display: inline-flex; align-items: center; }
.back-to-top { display: grid; place-items: center; }
.back-to-top .icon { width: 20px; height: 20px; }
.toast { font-size: 12px; line-height: 1.45; }
.image-failed { background: linear-gradient(145deg,#07151d,#02080c); }

/* Lower sections can be skipped by the browser until near viewport */
@supports (content-visibility: auto) {
  .network-section,
  .roadmap,
  .world-callout,
  .support { content-visibility: auto; contain-intrinsic-size: 1px 620px; }
}

@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .topbar,
  .install-banner,
  .inner-hero__content,
  .auth-dialog { background-color: rgba(2,8,13,.98); }
}

@media (max-width: 1220px) {
  .nav { z-index: 52; }
  .nav.open { animation: mobileMenuIn .2s var(--ease-out); }
  @keyframes mobileMenuIn { from { opacity: 0; transform: translateY(-8px); } }
  .nav a { font-size: 13px; }
}

@media (max-width: 840px) {
  :root { --shell: min(100% - 28px, 1460px); }
  .topbar { width: calc(100% - 16px); }
  .topbar.scrolled { top: 6px; }
  .install-banner { padding-right: 36px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(0,3,7,.13), rgba(0,4,7,.02) 42%, rgba(0,4,7,.42) 69%, #02060a 100%), radial-gradient(ellipse at 50% 38%, transparent 0 28%, rgba(0,2,5,.56) 100%); }
  .section-intro > p, .section-title > p:last-child { font-size: 13px; }
  .empty-catalog--polished { grid-template-columns: auto 1fr; }
  .empty-catalog--polished .status-pill { grid-column: 2; justify-self: start; }
  .account-guest { padding: 42px 26px; }
  .error-card { padding: 40px 25px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 22px); }
  html { scroll-padding-top: 84px; }
  .site-loader__logo { width: 78px; height: 78px; }
  .site-loader__core strong { font-size: 17px; }
  .nav { left: 8px; right: 8px; padding: 8px; max-height: calc(100svh - 86px); overflow-y: auto; }
  .nav a { min-height: 52px; }
  .install-banner { top: 79px; }
  .hero { min-height: 89svh; }
  .play-copy b { font-size: clamp(18px,6vw,22px); }
  .neon-card p { font-size: 13px; }
  .empty-catalog--polished { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 25px 18px; }
  .empty-catalog--polished .status-pill { grid-column: auto; justify-self: center; }
  .product-card { min-height: 280px; }
  .product-bottom { align-items: stretch; flex-direction: column; }
  .product-card button { justify-content: center; }
  .guest-features { display: grid; grid-template-columns: 1fr; }
  .account-guest .play-button { width: 100%; }
  .account-panel { padding: 20px; }
  .order-table th, .order-table td { white-space: nowrap; }
  .admin-stat { min-height: 105px; }
  .error-main { padding: 105px 12px 40px; }
  .error-card { padding: 34px 19px; }
  .error-actions { display: grid; }
  .error-actions a { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader__logo,
  .site-loader__bar i { animation: none !important; }
  .site-loader__bar i { width: 100%; transform: none; }
}
.catalog-toolbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 17px;
}
.catalog-toolbar > div:first-child { display: flex; align-items: center; gap: 12px; }
.catalog-toolbar__icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(74,185,232,.26); border-radius: 10px; color: #78ddff; background: rgba(39,150,200,.06); }
.catalog-toolbar__icon .icon { width: 21px; height: 21px; }
.catalog-toolbar p { display: grid; gap: 3px; margin: 0; }
.catalog-toolbar small { color: #658393; font-size: 7px; font-weight: 900; letter-spacing: .18em; }
.catalog-toolbar b { font-size: 14px; }
.catalog-toolbar__meta { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.catalog-toolbar__meta > span:not(.status-pill) { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(75,176,220,.16); border-radius: 8px; color: #92a8b3; font-size: 9px; }
.catalog-toolbar__meta .icon { width: 14px; height: 14px; color: #78d9ff; }
@media (max-width: 620px) {
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .catalog-toolbar__meta { justify-content: flex-start; }
}
.no-js body.is-loading { overflow: auto; }


/* FOX SURVIVAL v1.6.1 — performance guard */
.dashboard { isolation: isolate; contain: layout style; }
.panel { -webkit-backdrop-filter: none; backdrop-filter: none; }
.network-section,
.roadmap,
.world-callout,
.support { content-visibility: auto; contain-intrinsic-size: 700px; }
body.hero-offscreen .hero-beams i,
body.hero-offscreen .hero-fog,
body.hero-offscreen .hero-scanline,
body.hero-offscreen .hero-orbit i,
body.hero-offscreen .hud-bars i { animation-play-state: paused !important; }
@media (max-width: 1100px), (prefers-reduced-motion: reduce) {
  .cursor-aura { display: none !important; }
  .panel { box-shadow: 0 18px 52px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.03); }
}


/* FOX SURVIVAL v1.6.2 — clean header wordmark */
.brand-wordmark__rail { display: none !important; }
.brand-wordmark__fox { text-shadow: 1px 1px 0 #000 !important; filter: none !important; }
.brand-wordmark b { text-shadow: none !important; filter: none !important; -webkit-text-stroke: 0 !important; }

/* v1.6.2 mobile menu + about block fix */
@media (max-width: 1220px) {
  .topbar { overflow: visible; }
}

@media (max-width: 560px) {
  .about-art {
    min-height: 188px;
    background-size: 190% auto;
    background-position: center 48%;
  }
  .world-callout__image { background-position: center center; }
}


/* FOX SURVIVAL v1.6.2 — mobile navigation reliability + about image crop */
@media (max-width: 1220px) {
  .topbar {
    z-index: 180 !important;
    overflow: visible !important;
  }

  .nav-backdrop {
    z-index: 160 !important;
    background: rgba(0, 4, 8, .76) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }

  .nav {
    position: fixed !important;
    z-index: 190 !important;
    top: 92px !important;
    left: max(12px, env(safe-area-inset-left)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 3px !important;
    max-height: calc(100dvh - 108px) !important;
    padding: 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid rgba(84, 199, 246, .46) !important;
    border-radius: 14px !important;
    background: linear-gradient(160deg, rgba(3, 14, 22, .995), rgba(1, 7, 12, .995)) !important;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .86), inset 0 1px rgba(255,255,255,.045) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) scale(.985) !important;
    transform-origin: top center !important;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease !important;
  }

  .nav.open,
  body.nav-open .nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .nav a {
    position: relative !important;
    width: 100% !important;
    min-height: 52px !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    padding: 0 15px !important;
    border-radius: 9px !important;
    color: #d9e8ef !important;
    background: transparent !important;
  }

  .nav a:hover,
  .nav a:focus-visible,
  .nav a.active {
    color: #fff !important;
    background: rgba(48, 177, 229, .09) !important;
  }

  .nav a.active::after {
    left: 0 !important;
    right: auto !important;
    top: 9px !important;
    bottom: 9px !important;
    width: 3px !important;
    height: auto !important;
  }
}

.about-art {
  background-image: url('../img/about-background.webp?v=1.6.2-red-castle-1') !important;
  background-size: cover !important;
  background-position: center 43% !important;
}

@media (max-width: 840px) {
  .nav {
    top: 82px !important;
    max-height: calc(100dvh - 94px) !important;
  }
}

@media (max-width: 560px) {
  .nav {
    top: 80px !important;
    left: max(8px, env(safe-area-inset-left)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    max-height: calc(100dvh - 90px) !important;
    padding: 8px !important;
  }

  .nav a {
    min-height: 54px !important;
    font-size: 13px !important;
  }

  .about-art {
    min-height: 230px !important;
    background-size: cover !important;
    background-position: center 38% !important;
  }
}

/* FOX Survival v1.6.2 — hero labels and navigation state fix */
.hero-telemetry {
  grid-template-columns: 1fr 1fr;
}
.hero-telemetry span:last-child {
  text-align: right;
}
.scroll-cue small {
  display: block;
}
.scroll-cue {
  gap: 5px;
}


/* FOX Survival logo — exact forum mark and sizing, 2026-07-12 */
/* Only the preloader keeps a circular frame. Every other logo is frameless. */
.site-loader__logo {
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(18,31,43,.96), rgba(2,6,10,.98) 72%);
  border: 1px solid rgba(72,188,237,.38);
  box-shadow:
    0 0 0 9px rgba(41,153,207,.04),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 0 50px rgba(29,149,214,.22);
}
.site-loader__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-emblem,
.network-core__logo {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}
.brand-emblem::after {
  display: none;
}
.brand-emblem img,
.network-core__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    saturate(1.08)
    contrast(1.08)
    drop-shadow(0 2px 2px rgba(0,0,0,.72));
}

/* Exact forum header dimensions. */
.topbar .brand-emblem {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}
.topbar .brand-emblem img {
  transform: scale(1.04);
}

@media (max-width: 840px) {
  .topbar .brand-emblem {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .topbar .brand-emblem img {
    transform: scale(1.03);
  }
}

/* FOX Survival v1.7.1 — isolated and stable admin content editing */
.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-form-actions .form-submit { flex: 1 1 220px; }
.admin-form-actions .mini-button { min-height: 42px; padding-inline: 18px; }
.admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
@media (max-width: 620px) {
  .admin-row { align-items: flex-start; gap: 12px; }
  .admin-row-actions { width: 100%; justify-content: flex-start; }
  .admin-row-actions .mini-button { flex: 1 1 auto; }
}

/* FOX Survival v1.8 — roles, permissions and conditional admin access */
.role-badge {
  --role-color: #62d9ff;
  border-color: color-mix(in srgb, var(--role-color) 56%, transparent) !important;
  color: var(--role-color) !important;
  background: color-mix(in srgb, var(--role-color) 8%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--role-color) 12%, transparent);
}
.profile-actions { display: grid; gap: 10px; margin-top: 18px; }
.profile-actions .mini-button { width: 100%; }
.admin-access-button {
  min-height: 45px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 77, 91, .42);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(120, 19, 29, .2), rgba(28, 8, 13, .48));
  color: #ffb2b9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.admin-access-button:hover { transform: translateY(-1px); border-color: rgba(255, 87, 101, .78); background: rgba(122, 22, 32, .27); }
.admin-access-button .icon { width: 18px; height: 18px; }
.admin-access-button .icon:last-child { width: 15px; height: 15px; }

.role-manager-mount { grid-column: 1 / -1; display: grid; gap: 20px; }
.role-manager-mount > .admin-section { grid-column: 1 / -1; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.admin-section-heading h2 { margin: 3px 0 0; }
.role-editor-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(198,103,255,.28); border-radius: 12px; color: #cf8aff; background: rgba(198,103,255,.06); }
.role-editor-icon .icon { width: 25px; height: 25px; }
.role-form-grid { display: grid; grid-template-columns: 1.2fr 1fr 130px 130px; gap: 13px; }
.permission-fieldset { margin: 0; padding: 17px; border: 1px solid rgba(105,190,230,.17); border-radius: 11px; background: rgba(1,8,13,.35); }
.permission-fieldset legend { padding: 0 8px; color: #b7dbea; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.permission-fieldset > p { margin: 12px 0 0; color: #758c98; font-size: 9px; line-height: 1.5; }
.permission-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.permission-option { min-height: 43px; display: flex !important; flex-direction: row !important; align-items: center; gap: 9px !important; padding: 9px 10px; border: 1px solid rgba(102,186,226,.15); border-radius: 8px; background: rgba(28,116,155,.035); cursor: pointer; }
.permission-option:hover { border-color: rgba(96,205,248,.34); }
.permission-option input { width: 16px; height: 16px; margin: 0; accent-color: #4edbff; }
.permission-option span { color: #abc1cb; font-size: 10px; line-height: 1.35; }
.role-list { margin-top: 20px; }
.role-admin-row { grid-template-columns: auto minmax(0,1fr) auto; }
.role-swatch { --role-color: #62d9ff; width: 14px; height: 38px; display: block; border-radius: 99px; background: var(--role-color); box-shadow: 0 0 12px color-mix(in srgb,var(--role-color) 55%,transparent); }
.role-admin-row small { max-width: 780px; }
.user-role-row { grid-template-columns: auto minmax(180px,1fr) minmax(300px,.75fr); }
.user-role-controls { display: grid; grid-template-columns: minmax(150px,1fr) auto; gap: 9px; align-items: center; }
.user-role-controls select { min-height: 39px; }
.role-search { width: min(300px,100%); }
.role-search input { margin-top: 5px; }
.role-form .form-message { min-height: 0; }

@media (max-width: 1100px) {
  .role-form-grid { grid-template-columns: 1fr 1fr; }
  .permission-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .user-role-row { grid-template-columns: auto minmax(150px,1fr); }
  .user-role-controls { grid-column: 2; width: 100%; }
}
@media (max-width: 620px) {
  .admin-section-heading { align-items: flex-start; flex-direction: column; }
  .role-form-grid, .permission-grid { grid-template-columns: 1fr; }
  .role-admin-row, .user-role-row { grid-template-columns: auto 1fr; align-items: start; }
  .role-admin-row .admin-row-actions, .user-role-controls { grid-column: 2; width: 100%; }
  .user-role-controls { grid-template-columns: 1fr; }
  .role-search { width: 100%; }
}

/* FOX Survival v1.9 — Minecraft player profile and per-server inventory */
.game-profile-panel { position: relative; overflow: visible; }
.game-profile-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.server-picker { min-width: 190px; display: grid; gap: 5px; }
.server-picker > span { color: #6f8792; font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.server-picker select {
  width: 100%; min-height: 39px; padding: 8px 34px 8px 11px;
  border: 1px solid rgba(81,190,235,.34); border-radius: 9px;
  background: rgba(2,10,15,.96); color: #dff6ff; font-size: 11px; font-weight: 850;
  cursor: pointer;
}
.game-profile-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 22px; align-items: start; }
.game-profile-character {
  min-height: 365px; padding: 18px 16px; display: grid; justify-items: center; align-content: start; gap: 15px;
  border: 1px solid rgba(74,176,224,.2); border-radius: 13px;
  background: linear-gradient(160deg,rgba(4,18,27,.94),rgba(1,7,11,.97));
}
.minecraft-profile-stage { width: 100%; display: grid; justify-items: center; }
.minecraft-nameplate { min-height: 43px; display: grid; justify-items: center; gap: 3px; text-align: center; }
.minecraft-nameplate b { color: #f3fbff; font-size: 15px; text-shadow: 0 2px 4px #000; }
.minecraft-nameplate span { color: var(--rank-color,#62d9ff); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.minecraft-player { position: relative; width: 144px; height: 205px; margin-top: 2px; image-rendering: pixelated; filter: drop-shadow(0 14px 15px rgba(0,0,0,.65)); }
.minecraft-player::before { content:""; position:absolute; left:12%; right:12%; bottom:0; height:15px; border-radius:50%; background:rgba(0,0,0,.56); filter:blur(5px); }
.minecraft-skin-canvas { position:absolute; left:0; top:0; width:144px; height:192px; opacity:0; image-rendering:pixelated; transition:opacity .2s ease; }
.minecraft-player.skin-loaded .minecraft-skin-canvas { opacity:1; }
.minecraft-skin-fallback { position:absolute; left:0; top:0; width:144px; height:192px; display:block; }
.minecraft-player.skin-loaded .minecraft-skin-fallback { display:none; }
.minecraft-skin-fallback i { position:absolute; display:block; border:1px solid rgba(128,226,255,.16); background:linear-gradient(145deg,#3189b3,#0d2d40); box-shadow:inset 0 0 16px rgba(120,225,255,.08); }
.minecraft-skin-fallback i:nth-child(1) { width:48px; height:48px; left:48px; top:0; }
.minecraft-skin-fallback i:nth-child(2) { width:48px; height:72px; left:48px; top:48px; }
.minecraft-skin-fallback i:nth-child(3) { width:24px; height:72px; left:24px; top:48px; }
.minecraft-skin-fallback i:nth-child(4) { width:24px; height:72px; left:96px; top:48px; }
.minecraft-skin-fallback i:nth-child(5) { width:24px; height:72px; left:48px; top:120px; }
.minecraft-skin-fallback i:nth-child(6) { width:24px; height:72px; left:72px; top:120px; }
.equipment-grid { width:100%; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; }
.game-profile-data { min-width:0; display:grid; gap:15px; }
.game-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.game-stat-grid > div { min-height:68px; padding:12px; display:grid; align-content:center; gap:5px; border:1px solid rgba(75,181,229,.17); border-radius:10px; background:rgba(3,13,19,.75); }
.game-stat-grid small,.network-summary small { color:#718893; font-size:8px; text-transform:uppercase; letter-spacing:.1em; }
.game-stat-grid b { color:#dff7ff; font-size:17px; }
.minecraft-inventory { padding:13px; border:1px solid rgba(130,139,144,.27); border-radius:11px; background:linear-gradient(145deg,rgba(31,34,36,.96),rgba(12,14,15,.98)); box-shadow:inset 0 0 28px rgba(0,0,0,.45); }
.inventory-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.inventory-title b { font-size:13px; }
.inventory-title span { color:#82ef67; font-size:9px; font-weight:850; }
.mc-inventory-grid { display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); gap:4px; }
.mc-slot { position:relative; aspect-ratio:1; min-width:0; display:grid; place-items:center; border:2px solid; border-color:#1c1e1f #777b7d #777b7d #1c1e1f; background:#4b4d4e; image-rendering:pixelated; cursor:default; }
.mc-slot.empty { background:#3b3d3e; }
.mc-slot.filled { background:radial-gradient(circle at 43% 38%,#72787a,#404345 70%); }
.mc-item-icon { width:82%; height:82%; display:none; object-fit:contain; image-rendering:pixelated; filter:drop-shadow(1px 2px 1px rgba(0,0,0,.72)); }
.mc-slot.icon-loaded .mc-item-icon { display:block; }
.mc-item-glyph { width:72%; aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(255,255,255,.17); background:linear-gradient(145deg,#507886,#152b34); color:#e9fbff; font-size:9px; font-weight:950; text-shadow:0 1px #000; }
.mc-slot.icon-loaded .mc-item-glyph { display:none; }
.mc-slot[data-material*="diamond"] .mc-item-glyph { background:linear-gradient(145deg,#7efff2,#187b83); color:#06292e; }
.mc-slot[data-material*="netherite"] .mc-item-glyph { background:linear-gradient(145deg,#665166,#211a24); }
.mc-slot[data-material*="gold"] .mc-item-glyph { background:linear-gradient(145deg,#ffe85c,#9c6f08); color:#332200; }
.mc-slot[data-material*="iron"] .mc-item-glyph { background:linear-gradient(145deg,#f1f3f3,#7b8589); color:#273033; }
.mc-slot.selected { outline:2px solid #f5f5f5; outline-offset:-3px; box-shadow:inset 0 0 0 2px rgba(26,26,26,.78),0 0 10px rgba(255,255,255,.22); }
.mc-slot b { position:absolute; right:2px; bottom:0; z-index:3; color:#fff; font-size:10px; text-shadow:1px 1px #000,-1px -1px #000; }
.mc-durability { position:absolute; left:3px; right:3px; bottom:3px; z-index:2; height:3px; padding:1px; background:#161616; }
.mc-durability i { display:block; height:100%; background:linear-gradient(90deg,#f15151,#f2df51 48%,#65e05a); }
.mc-slot-label { position:absolute; left:2px; top:1px; color:rgba(255,255,255,.62); font-size:6px; text-transform:uppercase; overflow:hidden; max-width:calc(100% - 4px); }
.network-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.network-summary span { padding:10px 12px; display:grid; gap:4px; border-left:2px solid rgba(61,205,245,.48); background:rgba(24,92,118,.08); }
.network-summary b { font-size:12px; }
.snapshot-time { margin:0; color:#607984; font-size:8px; text-align:right; }
.game-profile-empty { min-height:245px; display:grid; place-content:center; justify-items:center; gap:9px; text-align:center; color:#718893; }
.game-profile-empty b { color:#d8e9f0; font-size:18px; }
.game-profile-empty span { max-width:460px; font-size:11px; line-height:1.6; }

@media (max-width: 1120px) {
  .game-profile-layout { grid-template-columns:210px minmax(0,1fr); }
  .game-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .game-profile-head { grid-template-columns:auto 1fr; }
  .server-picker { grid-column:1 / -1; width:100%; margin-top:8px; }
  .game-profile-layout { grid-template-columns:1fr; }
  .game-profile-character { min-height:auto; }
  .equipment-grid { max-width:360px; }
  .network-summary { grid-template-columns:1fr; }
}
@media (max-width: 520px) {
  .game-profile-panel { padding:16px; }
  .game-stat-grid { grid-template-columns:1fr 1fr; }
  .minecraft-inventory { padding:8px; }
  .mc-inventory-grid { gap:2px; }
  .mc-slot { border-width:1px; }
  .mc-item-glyph { font-size:7px; }
  .equipment-grid { gap:3px; }
}
