/* =============================================================
   YATARLSREALM — оформление сайта
   Собственный дизайн. Тёмная осенняя тема, янтарный акцент.
   Фиолетовый остался только у Twitch — это его цвет, а не наш.
   ============================================================= */

:root {
  --bg:            #120e0a;
  --bg-soft:       rgba(20, 15, 10, 0.72);
  --surface:       rgba(35, 27, 19, 0.84);
  --surface-2:     rgba(50, 39, 27, 0.90);
  --border:        #443627;
  --border-soft:   #33281c;

  --text:          #f4ece1;
  --text-muted:    #b9a68f;
  --text-dim:      #8b7a66;

  --accent:        #e0761f;
  --accent-hover:  #f79338;
  --accent-soft:   rgba(224, 118, 31, 0.15);

  --twitch:        #9146ff;
  --twitch-hover:  #a970ff;

  --ok:            #7fc94b;
  --warn:          #fbbf24;
  --bad:           #ef6a4a;

  --radius:        14px;
  --radius-sm:     9px;
  --wrap:          1120px;
  --header-h:      78px;
}

/* Monocraft — шрифт по мотивам майнкрафтовского. SIL Open Font License 1.1,
   свободен в том числе коммерчески, кириллица покрыта полностью.
   Лежит локально: CSP пускает только свои источники, да и лишний запрос к
   чужому CDN на каждой загрузке не нужен. TTF, а не woff2 — конвертировать
   на этой машине нечем; на боевом сервере включите gzip для шрифтов. */
@font-face {
  font-family: "Monocraft";
  src: url("/assets/fonts/Monocraft.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Monocraft";
  src: url("/assets/fonts/Monocraft-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  /* Шрифт моноширинный и пиксельный, поэтому кегль чуть меньше обычного,
     а строки — просторнее: так текст не сливается в сплошную сетку. */
  font: 14px/1.7 "Monocraft", "Segoe UI", system-ui, Consolas, monospace;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Осенняя обложка — фон всего сайта, а не только главной.

   Она в fixed-псевдоэлементе, а не в `background-attachment: fixed` у body:
   в мобильных браузерах закреплённый фон у body либо дёргается при скролле,
   либо не работает вовсе. Фиксированный слой ведёт себя одинаково везде.

   Поверх фотографии — затемнение: без него ни один текст на ней не читается. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 620px at 50% 8%, rgba(224, 118, 31, 0.14), transparent 72%),
    linear-gradient(180deg,
      rgba(18, 14, 10, 0.46) 0%,
      rgba(18, 14, 10, 0.60) 42%,
      rgba(18, 14, 10, 0.76) 100%),
    url("/assets/img/hero-autumn.jpg") center / cover no-repeat;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}

/* Страницы с длинным текстом — правила, лаунчер. 760px для моноширинного
   шрифта оказалось узко: строки рвались слишком часто. */
.wrap.narrow { max-width: 1000px; }

h1, h2, h3 { margin: 0 0 12px; line-height: 1.3; font-weight: 700; }
h1 { font-size: 33px; letter-spacing: -0.02em; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
p  { margin: 0 0 12px; }
a  { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 1px 6px;
}

.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.text-ok  { color: var(--ok); }
.text-bad { color: var(--bad); }
.link-muted { color: var(--text-muted); }
.link-muted:hover { color: var(--text); }

/* ------------------------------------------------------------ шапка

   Слева навигация, справа игрок. Отдельной плашкой полоса выглядеть не
   должна: ни рамки, ни ровной заливки — только затемнение, сходящее на нет
   к низу. Поэтому же нет и backdrop-filter: у размытия есть чёткая нижняя
   граница, и она сразу выдаёт «блок».
   ------------------------------------------------------------------- */

.site-header {
  /* Именно fixed, а не sticky: липкий элемент внутри flex-колонки body
     ведёт себя по-разному в разных браузерах, а полоса должна висеть
     сверху всегда и везде. Место под неё возвращают отступы ниже. */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(180deg,
    rgba(14, 10, 6, 0.88) 0%,
    rgba(14, 10, 6, 0.62) 45%,
    rgba(14, 10, 6, 0.18) 80%,
    rgba(14, 10, 6, 0) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
  /* Содержимое прижато к верхней, плотной части градиента. */
  align-items: flex-start;
  padding-top: 17px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.nav-soon {
  position: relative;
  color: var(--text-muted);
  padding: 4px 0;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--text); text-decoration: none; }

.main-nav a.is-active { color: var(--accent-hover); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
}

/* Вики уходит в новую вкладку — помечаем значком, чтобы это не было
   сюрпризом. Значок нарисован маской, а не символом: в пиксельном шрифте
   стрелки U+2197 нет, и вместо неё вылезает подстановка из другого шрифта. */
.nav-wiki::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  vertical-align: baseline;
  background: currentColor;
  opacity: 0.7;
  -webkit-mask: var(--ico-out) center / contain no-repeat;
  mask: var(--ico-out) center / contain no-repeat;
  --ico-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3zM5 5h5v2H7v10h10v-3h2v5H5V5z'/%3E%3C/svg%3E");
}

.header-user {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Голова со скина — пиксельная, увеличение должно быть чётким. */
.skin-head {
  width: 34px;
  height: 34px;
  flex: none;
  image-rendering: pixelated;
  border-radius: 4px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.user-name {
  font-weight: 700;
  font-size: 14px;
  margin-right: 4px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  display: inline-block;
  flex: none;
}
.avatar-lg { width: 68px; height: 68px; border-radius: 14px; }
.avatar-empty { background: var(--surface-2); }

/* ------------------------------------------------------------ кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .06s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-lg { padding: 13px 26px; font-size: 15px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(224, 118, 31, 0.30);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-twitch { background: var(--twitch); color: #fff; }
.btn-twitch:hover { background: var(--twitch-hover); }

/* Прозрачная кнопка на фотографии не читается — подкладываем стекло. */
.btn-ghost {
  background: rgba(20, 15, 10, 0.55);
  backdrop-filter: blur(8px);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); }

.btn-staff {
  background: rgba(145, 70, 255, 0.22);
  border-color: rgba(145, 70, 255, 0.5);
  color: #d3b6ff;
}
.btn-staff:hover { background: rgba(145, 70, 255, 0.34); }

.btn-danger {
  background: transparent;
  border-color: rgba(248, 113, 113, 0.4);
  color: var(--bad);
}
.btn-danger:hover { background: rgba(248, 113, 113, 0.1); }

/* ------------------------------------------------------- список сборки

   Две колонки: слева готовые моды, справа свои. Описание всплывает по
   наведению — иначе полсотни абзацев подряд никто не дочитает.
   ------------------------------------------------------------------- */

.mods-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.mods-col {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
  backdrop-filter: blur(10px);
}

.mods-col-own {
  border-color: rgba(224, 118, 31, 0.42);
  background: linear-gradient(165deg, rgba(224, 118, 31, 0.13), var(--surface) 62%);
}

.mods-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  margin-bottom: 16px;
}

.mods-count {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.mod-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mod {
  position: relative;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--bg-soft);
  font-size: 13.5px;
  cursor: help;
  transition: border-color .15s, color .15s, background .15s;
}

.mod:hover,
.mod:focus-visible {
  outline: none;
  border-color: var(--accent);
  color: var(--accent-hover);
  background: var(--surface-2);
}

.mod-own {
  font-weight: 700;
  border-color: rgba(224, 118, 31, 0.4);
}

/* Всплывающая подсказка. Текст берётся прямо из data-атрибута: так он
   лежит рядом с названием мода и не требует ни скрипта, ни дублирования. */
.mod::after {
  content: attr(data-desc);
  position: absolute;
  left: 0;
  top: calc(100% + 7px);
  z-index: 5;
  width: max-content;
  max-width: 300px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(18, 13, 8, 0.97);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  white-space: normal;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .14s, transform .14s, visibility .14s;
  pointer-events: none;
}

.mod:hover::after,
.mod:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* У правой колонки подсказка растёт влево, иначе уходит за край страницы. */
.mods-col-own .mod::after { left: auto; right: 0; }

.mods-note { margin: 18px 0 0; }

/* Без мыши наведения не будет — описания просто показываем сразу. */
@media (hover: none) {
  .mod-list { display: grid; gap: 12px; }

  .mod {
    cursor: default;
    padding: 12px 14px;
  }

  .mod::after {
    position: static;
    display: block;
    width: auto;
    max-width: none;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--text-muted);
    font-size: 12.5px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Иконки соцсетей. Маска вместо <img>, чтобы цвет брался из currentColor
   и менялся вместе с наведением на ссылку. */
.ico {
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}

.ico-discord  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z'/%3E%3C/svg%3E"); }
.ico-telegram { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.16.194.036.454.02.641-.183 1.92-.978 6.58-1.382 8.73-.171.91-.508 1.216-.834 1.246-.708.065-1.246-.468-1.933-.919-1.074-.706-1.68-1.146-2.724-1.833-1.204-.798-.424-1.237.263-1.953.18-.187 3.3-3.023 3.36-3.28.008-.033.015-.152-.056-.215s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E"); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(20, 15, 10, 0.55);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
  transition: border-color .15s, background .15s, color .15s, transform .1s;
}

.contact-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

/* Фирменные цвета появляются только при наведении: в покое ссылки живут
   в осенней гамме страницы и не спорят с ней. */
.contact-discord:hover {
  color: #c3ceff;
  border-color: #5865f2;
  background: rgba(88, 101, 242, 0.18);
}

.contact-telegram:hover {
  color: #bfe4fa;
  border-color: #29a7e1;
  background: rgba(41, 167, 225, 0.18);
}

/* В подвале — компактный вариант без рамок. */
.contact-links-sm { margin-top: 0; gap: 16px; }

.contact-links-sm .contact-link {
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.contact-links-sm .contact-link:hover { transform: none; background: none; border: 0; }
.contact-links-sm .ico { width: 16px; height: 16px; }

/* Маленькая тыква на кнопке скачивания. */
.btn-pumpkin {
  width: 24px;
  height: auto;
  flex: none;
  margin-right: -2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.ico-twitch {
  width: 15px; height: 15px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--twitch-mask) center/contain no-repeat;
  mask: var(--twitch-mask) center/contain no-repeat;
  --twitch-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2 2 6v14h5v3h3l3-3h4l5-5V2H4zm16 11-3 3h-4l-3 3v-3H6V4h14v9zm-3-6v5h-2V7h2zm-5 0v5h-2V7h2z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ главная */

/* Шапка вынута из потока, поэтому отступ сверху отдаём вручную. */
.site-main { flex: 1 0 auto; padding: calc(var(--header-h) + 34px) 0 70px; }

/* На лендинге обложка занимает весь экран целиком, а место под шапку
   отводит уже она сама — иначе логотип уехал бы вниз. */
body.page-landing .site-main { padding: 0; }

/* --------------------------------------------------------------- обложка

   Первый экран — только логотип и листопад. Всё остальное ниже по странице.
   ------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: 60px;
}

.hero-title { margin: 0; }

.hero-logo {
  display: block;
  width: min(1080px, 92vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.6));
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------- листопад

   Листья сыплются с логотипа и уходят за нижний край обложки.
   Никакого JS: у каждого листа свой класс с точкой старта (--y0), размером,
   скоростью и отрицательной задержкой — из-за неё при загрузке страницы
   листопад уже идёт, а не начинается с пустого неба.

   Два вложенных элемента, потому что это два независимых движения:
   внешний span — падение вниз, внутренний i — качание вбок и вращение.
   ------------------------------------------------------------------- */

/* Слой зафиксирован во вьюпорте, как и фоновая фотография: листья сыплются
   на всех страницах и не кончаются при прокрутке. Лежит поверх фона, но под
   содержимым — у .wrap z-index: 1. */
.leaf-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.leaf {
  position: absolute;
  top: 0;
  --y0: -8vh;
  /* Стартовое положение задано и вне анимации: если анимация выключена
     (reduced motion, скриншотилка), лист всё равно лежит там, где нужно. */
  transform: translateY(var(--y0));
  animation-name: leaf-drop;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.leaf i {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  animation-name: leaf-sway;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.4));
}

@keyframes leaf-drop {
  0%   { transform: translateY(var(--y0)); opacity: 0; }
  6%   { opacity: 1; }
  86%  { opacity: 1; }
  100% { transform: translateY(114vh); opacity: 0; }
}

@keyframes leaf-sway {
  0%   { transform: translateX(-19px) rotate(-32deg); }
  50%  { transform: translateX(19px) rotate(36deg); }
  100% { transform: translateX(-19px) rotate(-32deg); }
}

.leaf-1 { left: 1.0%; --y0: -13.3vh; width: 21px; height: 21px;
  animation-duration: 12.8s; animation-delay: -1.5s; }
.leaf-1 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 2.7s; animation-delay: -0.8s; }

.leaf-2 { left: 6.0%; --y0: -10.7vh; width: 15px; height: 15px;
  animation-duration: 10.8s; animation-delay: -9.1s; }
.leaf-2 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 3.4s; animation-delay: -4.5s; }

.leaf-3 { left: 8.5%; --y0: -13.3vh; width: 17px; height: 17px;
  animation-duration: 16.5s; animation-delay: -0.4s; }
.leaf-3 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e0a41c'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f4c144'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%2391641a'/%3E%3C/svg%3E");
  animation-duration: 4.4s; animation-delay: -0.2s; }

.leaf-4 { left: 12.7%; --y0: -11.3vh; width: 17px; height: 17px;
  animation-duration: 11.5s; animation-delay: -10.7s; }
.leaf-4 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 4.6s; animation-delay: -5.3s; }

.leaf-5 { left: 18.6%; --y0: -4.0vh; width: 15px; height: 15px;
  animation-duration: 15.8s; animation-delay: -5.7s; }
.leaf-5 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 3.7s; animation-delay: -2.9s; }

.leaf-6 { left: 20.3%; --y0: -11.3vh; width: 19px; height: 19px;
  animation-duration: 9.7s; animation-delay: -15.9s; }
.leaf-6 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e0a41c'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f4c144'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%2391641a'/%3E%3C/svg%3E");
  animation-duration: 5.0s; animation-delay: -8.0s; }

.leaf-7 { left: 25.2%; --y0: -10.7vh; width: 19px; height: 19px;
  animation-duration: 13.6s; animation-delay: -15.0s; }
.leaf-7 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 5.0s; animation-delay: -7.5s; }

.leaf-8 { left: 28.9%; --y0: -9.3vh; width: 23px; height: 23px;
  animation-duration: 11.3s; animation-delay: -7.7s; }
.leaf-8 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 3.3s; animation-delay: -3.9s; }

.leaf-9 { left: 31.9%; --y0: -4.7vh; width: 15px; height: 15px;
  animation-duration: 9.4s; animation-delay: -10.6s; }
.leaf-9 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e0a41c'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f4c144'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%2391641a'/%3E%3C/svg%3E");
  animation-duration: 3.4s; animation-delay: -5.3s; }

.leaf-10 { left: 36.7%; --y0: -8.7vh; width: 19px; height: 19px;
  animation-duration: 10.2s; animation-delay: -11.5s; }
.leaf-10 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 2.8s; animation-delay: -5.8s; }

.leaf-11 { left: 41.9%; --y0: -6.7vh; width: 21px; height: 21px;
  animation-duration: 11.2s; animation-delay: -6.0s; }
.leaf-11 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 4.7s; animation-delay: -3.0s; }

.leaf-12 { left: 43.6%; --y0: -7.3vh; width: 19px; height: 19px;
  animation-duration: 9.8s; animation-delay: -1.0s; }
.leaf-12 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e0a41c'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f4c144'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%2391641a'/%3E%3C/svg%3E");
  animation-duration: 3.2s; animation-delay: -0.5s; }

.leaf-13 { left: 49.0%; --y0: -6.7vh; width: 17px; height: 17px;
  animation-duration: 10.0s; animation-delay: -15.9s; }
.leaf-13 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 3.4s; animation-delay: -8.0s; }

.leaf-14 { left: 50.2%; --y0: -10.0vh; width: 15px; height: 15px;
  animation-duration: 16.2s; animation-delay: -16.2s; }
.leaf-14 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 4.7s; animation-delay: -8.1s; }

.leaf-15 { left: 57.4%; --y0: -14.0vh; width: 19px; height: 19px;
  animation-duration: 11.6s; animation-delay: -2.6s; }
.leaf-15 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e0a41c'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f4c144'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%2391641a'/%3E%3C/svg%3E");
  animation-duration: 4.4s; animation-delay: -1.3s; }

.leaf-16 { left: 60.9%; --y0: -4.0vh; width: 25px; height: 25px;
  animation-duration: 15.5s; animation-delay: -5.0s; }
.leaf-16 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 3.1s; animation-delay: -2.5s; }

.leaf-17 { left: 63.2%; --y0: -12.7vh; width: 21px; height: 21px;
  animation-duration: 13.8s; animation-delay: -2.7s; }
.leaf-17 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 4.2s; animation-delay: -1.4s; }

.leaf-18 { left: 66.8%; --y0: -8.7vh; width: 19px; height: 19px;
  animation-duration: 15.3s; animation-delay: -6.2s; }
.leaf-18 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e0a41c'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f4c144'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%2391641a'/%3E%3C/svg%3E");
  animation-duration: 3.4s; animation-delay: -3.1s; }

.leaf-19 { left: 69.7%; --y0: -2.7vh; width: 21px; height: 21px;
  animation-duration: 16.3s; animation-delay: -1.9s; }
.leaf-19 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 2.8s; animation-delay: -0.9s; }

.leaf-20 { left: 75.8%; --y0: -7.3vh; width: 17px; height: 17px;
  animation-duration: 13.9s; animation-delay: -9.3s; }
.leaf-20 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 4.2s; animation-delay: -4.7s; }

.leaf-21 { left: 78.2%; --y0: -14.0vh; width: 23px; height: 23px;
  animation-duration: 11.3s; animation-delay: -16.9s; }
.leaf-21 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e0a41c'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f4c144'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%2391641a'/%3E%3C/svg%3E");
  animation-duration: 4.4s; animation-delay: -8.4s; }

.leaf-22 { left: 81.6%; --y0: -12.0vh; width: 21px; height: 21px;
  animation-duration: 12.3s; animation-delay: -0.6s; }
.leaf-22 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 3.8s; animation-delay: -0.3s; }

.leaf-23 { left: 85.6%; --y0: -3.3vh; width: 17px; height: 17px;
  animation-duration: 13.0s; animation-delay: -0.5s; }
.leaf-23 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 3.3s; animation-delay: -0.2s; }

.leaf-24 { left: 89.4%; --y0: -12.0vh; width: 17px; height: 17px;
  animation-duration: 12.3s; animation-delay: -4.4s; }
.leaf-24 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e0a41c'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f4c144'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%2391641a'/%3E%3C/svg%3E");
  animation-duration: 3.5s; animation-delay: -2.2s; }

.leaf-25 { left: 95.6%; --y0: -10.7vh; width: 15px; height: 15px;
  animation-duration: 16.9s; animation-delay: -6.9s; }
.leaf-25 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23e2661f'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23f6913c'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%238a3f14'/%3E%3C/svg%3E");
  animation-duration: 5.1s; animation-delay: -3.5s; }

.leaf-26 { left: 98.6%; --y0: -4.7vh; width: 25px; height: 25px;
  animation-duration: 9.3s; animation-delay: -6.6s; }
.leaf-26 i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 7' shape-rendering='crispEdges'%3E%3Cg fill='%23c4381e'%3E%3Crect x='2' width='1' height='1'/%3E%3Crect x='4' width='1' height='1'/%3E%3Crect x='1' y='1' width='5' height='1'/%3E%3Crect y='2' width='7' height='1'/%3E%3Crect x='1' y='3' width='5' height='1'/%3E%3Crect x='2' y='4' width='3' height='1'/%3E%3C/g%3E%3Crect x='1' y='2' width='2' height='1' fill='%23e05c34'/%3E%3Crect x='3' y='5' width='1' height='2' fill='%237c2411'/%3E%3C/svg%3E");
  animation-duration: 3.8s; animation-delay: -3.3s; }

/* --------------------------------------------------- имя сервера и онлайн */

/* --------------------------------------------------- блок сервера */

.server-section {
  padding: 96px 0 104px;
  text-align: center;
}

.server-block {
  width: min(560px, 90vw);
  margin: 0 auto;
}

/* Размытия внутри нет: фотография под панелью и так приглушена общим
   затемнением страницы. */
.server-panel {
  position: relative;
  padding: 30px 24px 32px;
  border-radius: 10px;
  background: rgba(20, 15, 10, 0.62);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.5);
}

/* Рамка из цепи. Два псевдоэлемента, а не border-image: у исходной текстуры
   нет угловых кусков, а девятичастная нарезка их требует. Горизонтальные
   звенья — та же цепь, повёрнутая на 90 градусов при сборке картинок. */
.server-panel::before,
.server-panel::after {
  content: "";
  position: absolute;
  inset: -15px;
  pointer-events: none;
  image-rendering: pixelated;
}

.server-panel::before {
  background:
    url("/assets/img/chain-h.png") repeat-x left top,
    url("/assets/img/chain-h.png") repeat-x left bottom;
  background-size: 160px 30px;
}

.server-panel::after {
  background:
    url("/assets/img/chain-v.png") repeat-y left top,
    url("/assets/img/chain-v.png") repeat-y right top;
  background-size: 30px 160px;
}

.panel-kicker {
  margin: 0 0 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-hover);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Верхняя строка панели: жив сервер или нет. Число игроков ниже — оно
   отвечает на другой вопрос и не должно с этим сливаться. */
.status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(224, 118, 31, 0.22);
}

.status-icon {
  width: 42px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.status-text { font-size: 14px; color: var(--text-muted); }

.status-badge {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 13px;
  border-radius: 99px;
  background: rgba(127, 201, 75, 0.16);
  border: 1px solid rgba(127, 201, 75, 0.45);
  color: #a3dc74;
}

.is-offline .status-badge {
  background: rgba(180, 160, 140, 0.10);
  border-color: var(--border);
  color: var(--text-dim);
}

.online {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.online-count {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.online-count b {
  font-size: 1.45em;
  color: var(--accent-hover);
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.75);
}

.online-down .online-count b { color: var(--text-dim); }

.online-label {
  font-size: 15px;
  color: #f0dfc6;
  letter-spacing: 0.03em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.8);
}

/* ------------------------------------------------ как зайти на сервер */

.join-section {
  padding: 0 0 110px;
  text-align: center;
}

.join-title {
  font-size: 24px;
  margin: 0 0 26px;
  color: var(--accent-hover);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.join-list {
  list-style: none;
  margin: 0 auto 34px;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px 40px;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.join-list li { display: flex; gap: 12px; align-items: flex-start; }
.join-list b { display: block; font-size: 14px; }
.join-list p { margin: 0; color: #cbbaa2; font-size: 12.5px; line-height: 1.5; }

/* Костёр и тыква сидят ровно на нижних углах панели: центр картинки
   совпадает с точкой угла, поэтому половина уходит наружу, а не внутрь.
   Ни свечения, ни покачивания: двигается только дым. */

.decor {
  position: absolute;
  top: 100%;
  z-index: 2;
}


/* Костёр заметно меньше тыквы: он и в игре мельче, и дым от большого
   костра перекрывал бы половину плашки. */
.decor-fire {
  left: 0;
  width: clamp(58px, 6.4vw, 92px);
  transform: translate(-50%, -50%);
}

.decor-pumpkin {
  right: 0;
  width: clamp(56px, 6vw, 84px);
  transform: translate(50%, -50%);
}

.decor img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
}

/* Дым костра: квадратные частицы, как в самой игре — поднимаются, растут,
   сносятся вбок и тают. Точка выхода — примерно верх пламени. */
.smoke {
  position: absolute;
  left: 48%;
  top: 24%;
  width: 0;
  height: 0;
}

.smoke i {
  position: absolute;
  display: block;
  width: 7px;
  height: 7px;
  background: rgba(216, 212, 204, 0.85);
  animation: smoke-rise 3.6s linear infinite;
}

@keyframes smoke-rise {
  0%   { transform: translate(-50%, 0) scale(0.45); opacity: 0; }
  12%  { opacity: 0.7; }
  65%  { opacity: 0.4; }
  100% { transform: translate(calc(-50% + var(--dx)), -62px) scale(1.7); opacity: 0; }
}

.smoke i:nth-child(1) { --dx:  10px; width: 7px; height: 7px; animation-duration: 3.4s; animation-delay: -0.2s; }
.smoke i:nth-child(2) { --dx:  -8px; width: 6px; height: 6px; animation-duration: 4.1s; animation-delay: -1.1s; }
.smoke i:nth-child(3) { --dx:  16px; width: 5px; height: 5px; animation-duration: 3.0s; animation-delay: -1.9s; }
.smoke i:nth-child(4) { --dx:   2px; width: 8px; height: 8px; animation-duration: 4.6s; animation-delay: -2.6s; }
.smoke i:nth-child(5) { --dx: -14px; width: 6px; height: 6px; animation-duration: 3.7s; animation-delay: -3.3s; }
.smoke i:nth-child(6) { --dx:   7px; width: 5px; height: 5px; animation-duration: 4.3s; animation-delay: -4.0s; }

/* ----------------------------------------------- нумерованные шаги

   Используются и в обложке, и на странице лаунчера. */

.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step-list.compact { gap: 10px; }

.step-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  backdrop-filter: blur(10px);
}

.step-num {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hover);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.step-list b { display: block; margin-bottom: 2px; }
.step-list p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }

/* В обложке шаги идут без карточек — там они лежат прямо на фотографии. */
.join-list li { background: none; border: 0; padding: 0; backdrop-filter: none; }

/* ------------------------------------------------------------ карточки */

.page-head { margin-bottom: 26px; }
.page-head h1 { overflow-wrap: anywhere; }

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.card p,
.card li { font-size: 15px; line-height: 1.75; }
.card p.small,
.card .muted.small { font-size: 13.5px; }
.card h2 { font-size: 20px; margin-bottom: 14px; }

.card-center { text-align: center; }
.card-center .btn { margin: 8px 4px; }

.card-actions { margin-top: 14px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: start;
}
.grid-2 .card { margin-bottom: 0; }

/* Кабинет: панели идут списком, одна под другой во всю ширину колонки.
   Так длинным значениям хватает места, а порядок чтения задан сверху вниз. */
.card-stack { display: flex; flex-direction: column; gap: 18px; }
.card-stack .card { margin-bottom: 0; }

/* Заголовок панели и её кнопка стоят в одной строке. Кнопка больше не
   висит под содержимым и не вылезает за рамку на узком экране. */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.panel-head h2 { margin: 0; }
.panel-head .btn { flex: none; }

.panel-text { margin: 0; max-width: 64ch; }

.grid-skin {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 18px;
  align-items: start;
}
.grid-skin .card { margin-bottom: 0; }
.grid-skin .card:nth-child(3) { grid-column: 2; }

.kv {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
}
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--text-muted); flex: none; }
.kv b { font-weight: 600; text-align: right; }
.kv code { text-align: right; }

/* Длинное значение — ник или UUID — переносится внутри своей колонки,
   а не выталкивает строку за рамку карточки. */
.kv > b,
.kv > i,
.kv > code { min-width: 0; overflow-wrap: anywhere; }

.kv-list { flex: 1; min-width: 0; }

.rules-list { margin: 0; padding-left: 22px; }
.rules-list li { margin-bottom: 11px; }
.rules-list li:last-child { margin-bottom: 0; }

.card h3 { margin-top: 24px; font-size: 17px; color: var(--accent-hover); }
.card h3:first-of-type { margin-top: 6px; }

.uuid { font-size: 12px; word-break: break-all; }
.hash { font-size: 12px; }

/* Предупреждение о SmartScreen: не пугающее, но заметное.
   Игрок должен прочитать его ДО того, как увидит синее окно Windows. */
.card-notice {
  border-color: var(--accent-soft);
  background: linear-gradient(180deg,
              color-mix(in srgb, var(--accent) 7%, var(--surface)),
              var(--surface));
}
.card-notice h2 { margin-top: 0; }
.card-notice p { margin: 0 0 10px; }
.card-notice p:last-child { margin-bottom: 0; }

.hash-full {
  display: block;
  word-break: break-all;
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-2);
}

.profile-row { display: flex; gap: 18px; align-items: flex-start; }
.profile-row > div:last-child { flex: 1; min-width: 0; }

.skin-row { display: flex; gap: 18px; align-items: center; }
.skin-row > div:last-child { flex: 1; min-width: 0; }

/* ------------------------------------------------------------ скин */

.skin-stage {
  background:
    linear-gradient(180deg, rgba(224, 118, 31, 0.12), transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 16px;
}

.skin-stage canvas,
.skin-preview-small canvas {
  image-rendering: pixelated;
  display: block;
}

.skin-stage-actions { display: flex; justify-content: center; margin-top: 12px; }

.skin-preview-small {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 8px;
  flex: none;
}

.launcher-approve {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
  margin: 18px 0;
  text-align: left;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.launcher-approve .avatar-lg { display: block; margin: 0 auto 14px; }

.check-list { margin: 0 0 12px; padding-left: 18px; color: var(--text-muted); font-size: 14px; }
.check-list li { margin-bottom: 5px; }

/* ------------------------------------------------------------ формы */

.form { display: grid; gap: 18px; }
.form-inline { margin-top: 16px; }

.field { display: block; border: 0; padding: 0; margin: 0; }
fieldset.field { display: grid; gap: 8px; }

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.field-hint {
  display: block;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 7px;
}

.input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 14px;
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input-lg { font-size: 17px; padding: 13px 16px; letter-spacing: 0.01em; }

.input[type="file"] { padding: 9px 12px; color: var(--text-muted); }

.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
}
.radio:hover { border-color: var(--accent); }
.radio input { accent-color: var(--accent); }

.form .btn { justify-self: start; }

/* ------------------------------------------------------------ сообщения */

.alert {
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  border: 1px solid;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.alert-ok    { background: rgba(74, 222, 128, 0.08); border-color: rgba(74, 222, 128, 0.32); }
.alert-error { background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.32); }
.alert-warn  { background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.30); }

.alert .btn { margin-left: auto; }
.banner-ban { margin-top: 18px; }

.release-version {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-hover);
  margin-bottom: 16px;
}

.release-notes {
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ------------------------------------------------------------ подвал */

.site-footer {
  flex: none;
  border-top: 1px solid var(--border-soft);
  background: rgba(14, 11, 7, 0.7);
  backdrop-filter: blur(10px);
  padding: 22px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 26px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-brand { font-weight: 700; letter-spacing: 0.08em; color: var(--accent-hover); }

/* ------------------------------------------------------------ адаптив */

@media (max-width: 900px) {
  .grid-skin { grid-template-columns: 1fr; }
  .grid-skin .card:nth-child(3) { grid-column: 1; }

  /* Навигация уезжает под логотип и растягивается на всю ширину полосы.
     Полоса становится двухэтажной — обложка должна знать её новую высоту,
     иначе логотип уедет ниже середины видимой части экрана. */
  :root { --header-h: 97px; }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 14px;
    gap: 10px;
  }
  .main-nav { order: 3; width: 100%; margin: 0; justify-content: center; gap: 18px; }
  .header-user { margin-left: auto; }

  .server-section { padding: 64px 0 76px; }
  .card { padding: 22px 20px; }
  .mods-cols { grid-template-columns: 1fr; }
  .mods-col { padding: 20px; }
  .mods-col-own .mod::after { left: 0; right: auto; }
  .join-section { padding-bottom: 76px; }

  .hero-logo { width: min(1080px, 90vw); }
}

/* Узкий экран: цепь в 30 пикселей вокруг узкой панели выглядит канатом —
   уменьшаем звенья вместе с рамкой. */
@media (max-width: 720px) {
  .server-panel::before,
  .server-panel::after { inset: -9px; }
  .server-panel::before { background-size: 96px 18px; }
  .server-panel::after  { background-size: 18px 96px; }
  .server-block { width: min(560px, 78vw); }
  .hero-inner { padding-bottom: 34px; }
}

@media (max-width: 640px) {
  .header-user { gap: 6px; }
  .user-name { display: none; }
  .skin-head { width: 30px; height: 30px; }
  .main-nav { font-size: 12.5px; gap: 14px; }
  .status-row { flex-wrap: wrap; gap: 8px; }
  .btn-sm { padding: 6px 11px; }
  h1 { font-size: 24px; }
  .profile-row, .skin-row { flex-direction: column; align-items: stretch; }
  /* Превью скина не растягиваем на всю колонку — оно остаётся своего
     размера и встаёт по центру. */
  .skin-row .skin-preview-small { align-self: center; }

  /* На узком экране двадцать листьев — это мусор в кадре. Оставляем половину. */
  .leaf:nth-child(even) { display: none; }
  .online { flex-wrap: wrap; justify-content: center; }
  .server-panel { padding-left: 18px; padding-right: 18px; }
}

/* Анимация — украшение, а не смысл. Кому она мешает, тот её не увидит. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .leaf, .leaf i, .smoke i { animation: none; }
  .smoke { display: none; }
  .leaf { opacity: 0.85; }
}

/* ------------------------------------------------------------ админка */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.stat span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 3px;
}

.stat-bad span { color: var(--bad); }

.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.search-form .input { flex: 1; min-width: 200px; }
.search-form select.input { flex: 0 1 280px; }

.table-scroll { overflow-x: auto; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--surface-2); }

.nowrap { white-space: nowrap; }

.role {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.role-vip       { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); }
.role-moderator { color: #60a5fa; border-color: rgba(96, 165, 250, 0.35); }
.role-owner     { color: var(--accent-hover); border-color: rgba(224, 118, 31, 0.45); }

.pager {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: center;
}

.pager-item {
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-muted);
}
.pager-item:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }
.pager-current { background: var(--accent-soft); color: var(--accent-hover); border-color: transparent; }

.form-inline-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.form-inline-row .input { flex: 0 1 200px; }

select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
                    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
