@font-face {
  font-family: 'Treker Inter';
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Treker Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Treker Play';
  src: url('../fonts/play-cyrillic-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}

@font-face {
  font-family: 'Treker Play';
  src: url('../fonts/play-cyrillic-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0400-052F, U+2DE0-2DFF, U+A640-A69F;
}

@font-face {
  font-family: 'Treker Play';
  src: url('../fonts/play-latin-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF;
}

@font-face {
  font-family: 'Treker Play';
  src: url('../fonts/play-latin-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-024F, U+1E00-1EFF;
}

.index-page {
  color: #fafafa;
  font-family: 'Treker Play', Arial, sans-serif;
}

.index-page .content-wrapper {
  width: min(100%, 1600px);
  max-width: 1600px;
  margin: 0 auto;
  padding: 22px 18px 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.index-page .content-wrapper::before,
.index-page .content-wrapper::after,
.index-page .home-promo::after {
  content: none;
}

.index-page .content-container {
  display: grid;
  grid-template-columns: clamp(180px, 12vw, 220px) minmax(0, 1fr) 250px;
  column-gap: 16px;
  row-gap: 16px;
  max-width: none;
  padding: 0;
  align-items: start;
  position: relative;
}

.index-page .content-container::before {
  content: none;
}

.index-page .home-center {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  border-radius: 24px;
  background: #171717;
}

.index-page .home-center-header {
  min-width: 0;
  padding: 22px 18px 16px;
}

.index-page .home-center-header .home-list-title {
  margin: 18px 0 0;
  padding-top: 17px;
  position: relative;
}

.index-page .home-center-header .home-list-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color) 0 48px, #404040 48px 100%);
}

.index-page .server-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-count: auto;
  align-items: start;
  gap: 16px;
  min-width: 0;
  padding: 0 18px 40px;
  font-family: 'Treker Inter', Arial, sans-serif;
}

.index-page .home-list-title {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #fafafa;
  font: 700 30px / 1.15 'Treker Inter', Arial, sans-serif;
  text-shadow: none;
  letter-spacing: 0;
}

.index-page .server-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 16px;
}

.index-page .server-list-section {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #262626;
  box-shadow: none;
}

.index-page .section-header {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.index-page .section-icon {
  width: 18px;
  color: #a1a1a1 !important;
  font-size: 16px;
}

.index-page .section-title {
  padding-left: 0;
  color: #fafafa;
  font: 500 15px / 1.2 'Treker Inter', Arial, sans-serif;
  text-shadow: none;
  letter-spacing: 0;
}

.index-page .server-list {
  padding: 8px;
  gap: 4px;
  border-radius: 14px;
  background: #1a1a1a;
}

.index-page .server-item,
.index-page .server-item:not(.vip-premium):not(.vip-2) {
  height: 24px;
  min-height: 24px;
  gap: 6px;
  padding: 0 6px 0 0;
  border: 0;
  border-radius: 8px;
  background: #1b1b1b;
  box-shadow: none;
  overflow: visible;
  transition: background-color .15s ease;
}

.index-page .server-item:hover,
.index-page .server-item:not(.vip-premium):not(.vip-2):hover,
.index-page .server-item.vip-premium:hover,
.index-page .server-item.vip-2:hover {
  border: 0;
  box-shadow: none;
  filter: none;
  transform: none;
  animation: none;
}

.index-page .server-item:not(.vip-premium):not(.vip-2):hover {
  background: #292929;
}

.index-page .server-item.vip-2 {
  background: #1b1b1b;
}

.index-page .server-item.vip-2:hover {
  background: #292929;
}

.index-page .server-item.vip-premium {
  background: #2b2a1b;
}

.index-page .server-item.vip-premium:hover {
  background: #353321;
}

.index-page .server-item.vip-premium::after,
.index-page .server-item.vip-2::before {
  content: none;
}

.index-page .server-badge {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  height: 24px;
  margin: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font: 700 10px / 1 'Treker Inter', Arial, sans-serif;
  text-shadow: none;
  letter-spacing: 0;
}

.index-page .vip-badge {
  background: #d5d8dc;
  color: #202124;
}

.index-page .premium-badge {
  background: #ffe02f;
  color: #171717;
}

.index-page .standard-badge {
  background: #262626;
  color: #666;
  font-size: 10px;
  font-weight: 400;
}

.index-page .server-info {
  min-width: 0;
}

.index-page .server-title {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  gap: 4px;
}

.index-page .server-name,
.index-page .server-item.vip-2 .server-name {
  flex: 0 1 auto;
  min-width: 0;
  margin-right: auto;
  padding-right: 0;
  color: #fafafa;
  font: 700 15px / 1 'Treker Inter', Arial, sans-serif;
  text-shadow: none;
  letter-spacing: 0;
}

.index-page .server-marker {
  display: inline-grid;
  flex: 0 0 16px;
  place-items: center;
  width: 16px;
  height: 16px;
  color: #8d8d8d;
  font-size: 13px;
}

.index-page .server-marker--bonus {
  font-size: 12px;
}

.promo-floating-tooltip.server-marker-tooltip {
  padding: 6px 9px;
  border: 1px solid #454545;
  border-radius: 4px;
  background: #262626;
  box-shadow: 0 4px 12px #0009;
  color: #eee;
  font: 500 12px / 1.2 'Treker Play', Arial, sans-serif;
}

.promo-floating-tooltip.server-marker-tooltip::after {
  content: none;
}

.index-page .server-meta {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 40px 64px 54px;
  align-items: center;
  gap: 6px;
}

.index-page .server-rate,
.index-page .server-chronicle,
.index-page .server-date {
  width: auto;
  height: auto;
  padding: 0;
  overflow: hidden;
  color: #fafafa;
  background: none;
  font: 400 12px / 1 'Treker Inter', Arial, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.index-page .server-date {
  text-align: right;
}

.index-page .server-chronicle::before,
.index-page .server-date::before {
  content: none;
}

.index-page .server-item.vacancy-item:not(.vip-premium):not(.vip-2),
.index-page .server-item.vacancy-item:not(.vip-premium):not(.vip-2):hover {
  height: 28px;
  min-height: 28px;
  border-radius: 8px;
  background: #ee2b2b;
  color: #fff;
  filter: none;
}

.index-page .vacancy-crown {
  flex: 0 0 32px;
  color: #ffe02f;
  font-size: 16px;
  text-align: center;
}

.index-page .vacancy-item strong {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.index-page .vacancy-cta {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 6px;
  background: #fff;
  color: #171717;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.index-page .right-sidebar {
  grid-column: 3;
  grid-row: 1;
  width: 250px;
  margin-top: 0;
  position: sticky;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.index-page .home-banner-rail {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin-top: 0;
  position: sticky;
  top: 18px;
}

.index-page .home-banner-rail__empty {
  display: flex;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  border-radius: 16px;
  background: #230e16;
}

.index-page .home-banner-rail__empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 12px;
  color: #fff;
  text-align: center;
}

.index-page .home-banner-rail__empty > span:first-child {
  padding: 6px 12px;
  border: 1px solid #ffe02f66;
  border-radius: 4px;
  color: #ffe02f;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.index-page .home-banner-rail__empty strong {
  font-size: 25px;
  line-height: 1.2;
}

.index-page .home-banner-rail__cta {
  padding: 10px 14px;
  border-radius: 6px;
  background: #ffe02f;
  color: #171717;
  font-size: 13px;
  font-weight: 700;
}

.index-page .home-banner-rail .slot-tall.st {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 600px;
  max-height: none;
  padding: 12px 6px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: radial-gradient(90% 55% at 50% 108%, #ff5a1f 0, #c2160f 35%, transparent 75%), linear-gradient(180deg, #1b0d18 0%, #3a0f12 55%, #6e1409 100%);
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.index-page .home-banner-rail .slot-tall.st > *:not(.st-embers) {
  position: relative;
  z-index: 1;
}

.index-page .st-embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.index-page .st-embers i {
  position: absolute;
  bottom: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffb347;
  box-shadow: 0 0 8px 2px #ff7a1acc;
  opacity: 0;
  animation: treker-st-rise 5s linear infinite;
}

.index-page .st-embers i:nth-child(1) { left: 8%; animation-delay: 0s; }
.index-page .st-embers i:nth-child(2) { left: 18%; animation-delay: 2.2s; animation-duration: 6s; }
.index-page .st-embers i:nth-child(3) { left: 29%; animation-delay: 1.1s; }
.index-page .st-embers i:nth-child(4) { left: 41%; animation-delay: 3.4s; animation-duration: 4.4s; }
.index-page .st-embers i:nth-child(5) { left: 52%; animation-delay: .6s; animation-duration: 5.6s; }
.index-page .st-embers i:nth-child(6) { left: 63%; animation-delay: 2.8s; }
.index-page .st-embers i:nth-child(7) { left: 72%; animation-delay: 1.7s; animation-duration: 6.4s; }
.index-page .st-embers i:nth-child(8) { left: 83%; animation-delay: 4s; animation-duration: 4.8s; }
.index-page .st-embers i:nth-child(9) { left: 92%; animation-delay: .3s; }
.index-page .st-embers i:nth-child(10) { left: 36%; animation-delay: 4.6s; animation-duration: 5.2s; }

@keyframes treker-st-rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(14px, -420px) scale(.3); opacity: 0; }
}

.index-page .st-rib {
  padding: 5px 16px;
  border: 1px solid #ffd34d80;
  border-radius: 4px;
  color: #ffd34d;
  font: 800 12px / 1 'Treker Play', Arial, sans-serif;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.index-page .st-pct {
  background: linear-gradient(100deg, #ffcf4a 0%, #fff6c8 18%, #ffcf4a 32%, #f29a1f 70%, #ffcf4a 100%);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font: 900 64px / .95 'Treker Play', Arial, sans-serif;
  filter: drop-shadow(0 4px 0 #6b0f06) drop-shadow(0 0 18px #ff7a1a66);
  animation: treker-st-glint 3s ease-in-out infinite;
}

@keyframes treker-st-glint {
  0% { background-position: 100% 0; }
  55%, 100% { background-position: -60% 0; }
}

.index-page .st-h {
  margin-top: -2px;
  font: 800 18px / 1.1 'Treker Play', Arial, sans-serif;
  text-transform: uppercase;
}

.index-page .st-left {
  margin-top: 8px;
  color: #ffcfb8;
  font: 700 11px / 1 'Treker Play', Arial, sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.index-page .st-clock {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 4px;
}

.index-page .st-clock > span {
  display: grid;
  place-items: center;
  gap: 3px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 50px;
  padding: 7px 0 6px;
  border-radius: 4px;
  background: #00000066;
  box-shadow: inset 0 0 0 1px #ffffff14;
}

.index-page .st-clock b {
  color: #fff;
  font: 800 18px / 1 'Treker Play', Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}

.index-page .st-clock small {
  color: #ffcfb8;
  font: 700 8px / 1 'Treker Play', Arial, sans-serif;
  text-transform: uppercase;
}

.index-page .st-cta {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  background: #ffd34d;
  color: #6b1500;
  font: 800 12px / 1 'Treker Play', Arial, sans-serif;
  text-transform: uppercase;
  animation: treker-st-cta 2s ease-in-out infinite;
}

@keyframes treker-st-cta {
  50% { box-shadow: 0 0 0 6px #ffd34d33, 0 0 22px #ffb34766; }
}

.index-page .st-note {
  margin-top: 6px;
  color: #ffffffb3;
  font: 600 10px / 1.3 'Treker Play', Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  .index-page .st-embers i,
  .index-page .st-pct,
  .index-page .st-cta { animation: none; }
}

.index-page .right-sidebar > * {
  width: 100%;
  margin: 0;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: #171717;
  box-shadow: none;
}

.index-page .right-sidebar > .banner-container {
  max-height: none;
  height: auto;
  padding: 6px;
  border-radius: 8px;
}

.index-page .filter-title {
  color: #fafafa;
  font: 700 15px / 1.2 'Treker Play', Arial, sans-serif;
  text-shadow: none;
  letter-spacing: 0;
}

.index-page .filter-title::after,
.index-page .find-server-btn::before {
  content: none;
}

.index-page #expandChronicles {
  margin-top: 14px;
}

.index-page .filter-section .expandable-content {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.index-page .filter-section .expandable-content.show {
  max-height: min(70vh, 600px);
  padding-top: 12px;
  overflow-y: auto;
}

.index-page .filter-section .expandable-content .filter-buttons,
.index-page .filter-section .expandable-content .rate-filters {
  margin-bottom: 0;
}

.index-page .filter-btn,
.index-page .rate-filter-btn,
.index-page .find-server-btn {
  background: #262626;
  border: 1px solid #ffffff14;
  border-radius: 6px;
  box-shadow: none;
  color: #fafafa;
  font-family: 'Treker Play', Arial, sans-serif;
  letter-spacing: 0;
}

.index-page .filter-btn.active,
.index-page .rate-filter-btn.active {
  background: #e5e5e5;
  border-color: #e5e5e5;
  color: #171717;
  box-shadow: none;
}

.index-page .calendar-month-year {
  color: #fafafa;
}

.index-page .home-promo {
  margin-bottom: 0;
}

.index-page .home-center-header .home-promo__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

.index-page .home-center-header .home-promo__center {
  flex: 0 0 auto;
}

.index-page .home-center-header .home-promo__cta {
  flex: 0 0 230px;
  min-width: 0;
  padding-inline: 12px;
}

.index-page .home-center-header .home-promo__join {
  min-width: 150px;
  height: 48px;
  min-height: 48px;
  padding: 0 10px;
  gap: 9px;
  align-self: center;
  border: 1px solid #2aabee;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: #2aabee;
  cursor: pointer;
  font: 700 17px / 1 'Treker Play', Arial, sans-serif;
  transform: none;
}

.index-page .home-center-header .home-promo__join:hover {
  border-color: #65c8f5;
  background: transparent;
  color: #65c8f5;
  transform: none;
}

.index-page .home-center-header .home-promo__join:focus-visible {
  outline: 2px solid #2aabee;
  outline-offset: -2px;
}

.index-page .home-center-header .home-promo__logo {
  flex: none;
  width: 44px;
  height: 44px;
}

.index-page .home-promo__cta {
  background: #e5e5e5;
  color: #171717;
  box-shadow: none;
  font-family: 'Treker Play', Arial, sans-serif;
  letter-spacing: 0;
}

.index-page .home-promo__logo {
  background: #262626;
  border-color: #ffffff1a;
  box-shadow: none;
  color: #fafafa;
  font-family: 'Treker Play', Arial, sans-serif;
}

.index-page .home-promo__join-icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 22px;
}

.index-page .home-promo__logo--add {
  color: #e5e5e5;
  text-shadow: none;
}

.index-page .home-promo__banner {
  flex: 1 1 0;
  min-width: 160px;
  width: auto;
  max-width: none;
  height: 60px;
  margin-left: 0;
  border-color: #ffffff1a;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .index-page .content-container {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .index-page .home-center {
    grid-column: 1;
    grid-row: 1;
  }
  .index-page .right-sidebar {
    grid-column: 2;
    grid-row: 1;
  }
  .index-page .home-banner-rail {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(220px, 100%);
    margin-top: 0;
    position: static;
  }
  .index-page .home-banner-rail__empty {
    min-height: 220px;
  }
}

@media (max-width: 800px) {
  .index-page .home-center-header .home-promo__inner {
    flex-wrap: wrap;
  }
  .index-page .home-promo__banner {
    flex: 1 0 100%;
    width: 100%;
    height: 84px;
  }
}

@media (max-width: 992px) {
  .index-page .content-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .index-page .home-center {
    grid-column: 1;
    grid-row: 1;
  }
  .index-page .right-sidebar {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin-top: 0;
    position: static;
  }
  .index-page .home-banner-rail {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 600px) {
  .index-page .content-wrapper {
    width: 100%;
    padding: 16px 12px 32px;
  }
  .index-page .home-center {
    border-radius: 16px;
  }
  .index-page .home-center-header {
    padding: 16px 12px;
  }
  .index-page .home-center-header .home-promo__cta {
    flex: 1 1 100%;
  }
  .index-page .server-lists {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 12px 24px;
  }
  .index-page .home-list-title {
    font-size: 24px;
  }
  .index-page .server-item,
  .index-page .server-item:not(.vip-premium):not(.vip-2) {
    gap: 4px;
  }
  .index-page .server-name {
    font-size: 14px;
  }
  .index-page .server-meta {
    grid-template-columns: 32px 52px 50px;
    gap: 3px;
  }
  .index-page .server-rate,
  .index-page .server-chronicle,
  .index-page .server-date {
    font-size: 11px !important;
  }
  .index-page .vacancy-item strong {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .index-page .server-list-section {
    width: 100% !important;
  }
}
