/* Lunix visual layer — intentionally isolated from the upstream NEO theme. */
:root {
  --span: #c47aff;
  --span-low: rgba(196, 122, 255, .08);
  --span-10: rgba(196, 122, 255, .13);
  --span-middle: rgba(196, 122, 255, .28);
  --span-half: rgba(196, 122, 255, .55);
  --money: #f3d7ff;
  --money-bg: rgba(192, 112, 255, .17);
  --bg: #10091a;
  --card: rgba(39, 24, 58, .72);
  --tooltip: #2d1a42;
  --bg-modal: rgba(17, 9, 27, .92);
  --input-form: rgba(48, 31, 70, .82);
  --button: rgba(72, 43, 99, .72);
  --button-hover: rgba(105, 58, 145, .88);
  --grey: rgba(44, 27, 64, .85);
  --text-custom: #efe2ff;
  --text-secondary: #cbb3dc;
  --text-default: #fff;
  --top-one: #ffe889;
  --top-two: #d9ebff;
  --top-three: #ffc9b4;
  --lunix-border: rgba(220, 177, 255, .16);
  --lunix-glow: 0 0 0 1px rgba(213, 155, 255, .16), 0 18px 55px rgba(26, 8, 44, .42);
}

html {
  background: #0d0715;
}

body {
  min-height: 100vh;
  background-position: center !important;
  background-size: cover !important;
  color: var(--text-default);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 5, 20, .52), rgba(11, 6, 18, .88)),
    radial-gradient(circle at 50% 5%, rgba(191, 111, 255, .2), transparent 48%);
  backdrop-filter: blur(7px);
}

.global-container {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.container-fluid {
  max-width: 1240px;
  padding: 32px 24px 0;
}

.navbar {
  height: 76px;
  margin-top: 0;
  margin-bottom: 16px;
  padding: 0 10px;
  border: 1px solid var(--lunix-border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47, 27, 67, .72), rgba(24, 15, 37, .66));
  box-shadow: var(--lunix-glow);
  backdrop-filter: blur(24px) saturate(145%);
  z-index: 1000;
  isolation: isolate;
  overflow: visible;
}

.navbar::before {
  display: none;
}

.site_logo_neo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site_logo_neo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 6px;
  border-radius: 13px;
  border: 1px solid rgba(238, 212, 255, .55);
  background: radial-gradient(circle at 35% 25%, rgba(211, 157, 255, .34), rgba(55, 27, 82, .92));
  box-shadow: inset 0 0 13px rgba(255, 255, 255, .1), 0 0 24px rgba(194, 118, 255, .45);
}

.lunix-wordmark,
.footer_sitename {
  color: #fff;
  font-family: var(--font-family-1);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(210, 153, 255, .55);
}

.online__counter,
.dropbtn,
.navbar_usermenu > button,
.search_players {
  border-radius: 12px;
}

@media (min-width: 1080px) {
  .dropdown {
    z-index: 1100;
  }

  .dropdown_block {
    z-index: 1200;
  }

  .dropbtn {
    height: 44px;
    margin: 14px 0;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 12px;
  }

  .dropbtn.active_btn {
    color: #fff;
    border: 1px solid rgba(226, 190, 255, .48);
    background: linear-gradient(135deg, rgba(183, 92, 255, .52), rgba(101, 52, 139, .42));
    box-shadow: inset 0 0 18px rgba(217, 166, 255, .16), 0 0 24px rgba(174, 82, 255, .22);
  }
}

.search-input-block,
.search_players,
button,
.button {
  border-color: rgba(220, 178, 255, .12) !important;
}

.card,
.statistics_container,
.servers_filter,
.info-block__card,
.footer_global {
  border: 1px solid var(--lunix-border);
  background: linear-gradient(145deg, rgba(50, 30, 72, .74), rgba(26, 17, 39, .72));
  box-shadow: var(--lunix-glow);
  backdrop-filter: blur(22px) saturate(135%);
}

.statistics_container {
  min-height: 88px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(65, 39, 90, .72), rgba(38, 24, 55, .72));
}

.statistics_container:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 165, 255, .44);
  box-shadow: 0 0 32px rgba(179, 87, 255, .2);
}

.statistics_number {
  color: #fff;
  text-shadow: 0 0 18px rgba(205, 138, 255, .65);
}

.statistics_name {
  color: #d8c0ea;
}

.statistics_icon svg {
  fill: #c895f4;
  filter: drop-shadow(0 0 9px rgba(201, 135, 255, .55));
}

.statistic__premium {
  outline: 1px solid #e1b5ff;
  box-shadow: inset 0 0 24px rgba(203, 134, 255, .15), 0 0 24px rgba(196, 114, 255, .2);
}

.image-slider {
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(230, 202, 255, .25);
  border-radius: 18px;
  box-shadow: 0 18px 54px rgba(19, 5, 34, .52), inset 0 0 38px rgba(194, 115, 255, .08);
}

.image-slider__image::before {
  content: "LUNIX";
  position: absolute;
  z-index: 2;
  top: 25px;
  left: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(231, 201, 255, .34);
  border-radius: 8px;
  color: #f4eaff;
  background: rgba(51, 27, 73, .68);
  font-family: var(--font-family-1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
}

.image-slider__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 8, 30, .8) 0%, rgba(24, 10, 39, .42) 43%, transparent 75%);
}

.image-slider__image img {
  position: absolute;
  inset: 0;
  object-position: center;
}

.image-slider__image h3,
.image-slider__image p,
.image-slider__image .swiper_btn {
  z-index: 3;
}

.image-slider__image h3 {
  left: 30px;
  bottom: 112px;
  width: 45%;
  margin: 0;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.image-slider__image p {
  left: 30px;
  bottom: 78px;
  width: 48%;
  color: #e8d9f2;
  font-size: 13px;
}

.image-slider__image .swiper_btn {
  left: 30px;
  bottom: 24px;
  height: 44px;
  border-color: #dbadff !important;
  background: linear-gradient(135deg, #ba65ff, #713b9e);
  box-shadow: 0 0 28px rgba(197, 105, 255, .5), inset 0 0 16px rgba(255, 255, 255, .14);
}

.swiper-buttons {
  border: 1px solid rgba(231, 203, 255, .15);
  background: rgba(25, 13, 38, .72);
}

.lk-top__card {
  height: 300px;
}

.lk-top__title {
  background: rgba(255, 255, 255, .035);
  color: #f3e8fb;
}

.lk-top__user-data,
.loader {
  background: linear-gradient(100deg, rgba(255, 255, 255, .04), rgba(193, 123, 255, .07));
  border-color: rgba(223, 181, 255, .12);
}

.filter.active,
.chips_active {
  background: linear-gradient(135deg, #d69bff, #8e48c8) !important;
  box-shadow: 0 0 22px rgba(198, 113, 255, .35);
}

.servers_filter {
  border-radius: 16px;
  padding: 8px;
}

.info-block__card {
  height: 108px;
  padding-inline: 28px;
  background: linear-gradient(90deg, rgba(65, 35, 90, .9), rgba(36, 20, 52, .65));
}

.info-block__title {
  font-size: 18px;
}

.info-block__description {
  max-width: 34rem;
  color: #dac6e8 !important;
}

.footer_global {
  max-width: 1192px;
  margin-top: 10px;
  padding: 20px 24px;
}

.footer_sitename {
  width: auto;
  max-width: none;
  opacity: 1;
}

@media (max-width: 900px) {
  .container-fluid {
    padding: 16px 12px;
  }

  .navbar {
    height: 68px;
  }

  .lunix-wordmark {
    display: none;
  }

  .image-slider,
  .lk-top__card {
    height: 270px;
  }

  .image-slider__image h3 {
    width: 55%;
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  body {
    background-position: 62% center !important;
  }

  .navbar {
    padding: 0 6px;
  }

  .image-slider__image::after {
    background: linear-gradient(90deg, rgba(18, 8, 30, .87), rgba(24, 10, 39, .55));
  }

  .image-slider__image h3,
  .image-slider__image p {
    width: calc(100% - 54px);
  }

  .image-slider__image h3 {
    left: 24px;
    font-size: 28px;
  }

  .image-slider__image p,
  .image-slider__image .swiper_btn,
  .image-slider__image::before {
    left: 24px;
  }

  .info-block__description {
    max-width: 70%;
    white-space: normal;
  }
}
