/* custom.css */
.up-reg {
  color: #ffa726; /* ярче */
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
}
.downloads__title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
[data-section="header"] {
  background-image: url(../images/header/bg.png) !important;
}
.server__progress .progress__load {
  background: linear-gradient(
    90deg,
    #ffd27a 0%,
    #ff9a2a 20%,
    #ff7a18 40%,
    #ff4d00 65%,
    #ff2d00 85%,
    #ff7a18 100%
  ) !important;

  border-radius: 4px !important;

  box-shadow:
    0 0 6px rgba(255, 140, 40, 0.5),
    0 0 12px rgba(255, 80, 0, 0.35) !important;
}
.up-run {
  color: #ff6a00;
  font-weight: bold;
}
.header__rating,
.header__servers {
  margin-top: 0;
}
@media (min-width: 1200px) {
  .header__box {
    padding-top: 0 !important;
  }
}
.preload__logo {
  display: block;
  transform-origin: center center;
  animation: preloadLogoPulse 1.4s ease-in-out infinite;
  will-change: transform, filter, opacity;
}

@keyframes preloadLogoPulse {
  0% {
    transform: scale(1);
    opacity: 0.96;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.96;
  }
}
.server {
  -webkit-animation: serverTilt 1.1s ease-in-out infinite;
  animation: serverTilt 1.1s ease-in-out infinite;
  transform-origin: 50% 60%;
  will-change: transform;
}

@-webkit-keyframes serverTilt {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(-0.75deg) scale(1.02);
  }

  50% {
    transform: rotate(0deg) scale(1);
  }

  75% {
    transform: rotate(0.75deg) scale(1.02);
  }
}

@keyframes serverTilt {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(-0.75deg) scale(1.02);
  }

  50% {
    transform: rotate(0deg) scale(1);
  }

  75% {
    transform: rotate(0.75deg) scale(1.02);
  }
}

@media (min-width: 1200px) {
  [data-section="inform"] {
    position: fixed;
  }
  .navigation__el_desktop {
    align-items: center;
  }
}

.stream__btn {
  padding: 5px 10px;
}

.btn,
.stream__btn,
.file__btn {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  color: #ffd9a0;
  background: linear-gradient(180deg, #7a250f, #4a0d05);
  box-shadow:
    0 0 20px rgba(255, 120, 0, 0.35),
    inset 0 0 12px rgba(255, 180, 90, 0.25);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.btn::before,
.stream__btn::before,
.file__btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    #ffcc7a,
    #ff6a00,
    #ffd27d,
    transparent
  );
  background-size: 300% 100%;
  -webkit-animation: borderSlide 4s linear infinite;
  animation: borderSlide 4s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0, #000 0) content-box,
    linear-gradient(#000 0, #000 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@-webkit-keyframes borderSlide {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 150% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes borderSlide {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 150% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.btn_auth {
  height: 43px;
}

.countdown {
  position: relative !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  background: rgba(40, 15, 5, 0.6) !important;
  box-shadow:
    inset 0 0 12px rgba(255, 150, 80, 0.25),
    0 0 20px rgba(255, 80, 0, 0.25);
}

.gw-timer__amount {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffdca0 !important;
  text-shadow:
    0 0 10px rgba(255, 200, 120, 0.6),
    0 0 20px rgba(255, 120, 0, 0.5);
}

.char__img {
  height: 43%;
  transform: translate(-10%, 78px);
}

.savage_box {
  height: 300px;
}

h1,
h2 {
  color: #ffe3a3 !important;
  font-weight: 700;
  text-shadow:
    0 0 6px rgba(255, 170, 60, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.95);
}

.header__content,
.post__desc {
  color: #cfe6ff !important;
  font-weight: 600;
  text-shadow:
    0 0 6px rgba(120, 180, 255, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.9);
}

.inform__content {
  color: #ffd27a !important;
  font-weight: 600;
  text-shadow:
    0 0 8px rgba(255, 160, 40, 0.75),
    0 2px 6px rgba(0, 0, 0, 0.95);
}

.stream__content {
  justify-content: flex-end;
}

.stream__ico {
  display: none !important;
}

.stream__desc {
  box-shadow:
    0 0 12px rgba(255, 90, 31, 0.6),
    0 0 28px rgba(255, 40, 0, 0.45),
    inset 0 0 12px rgba(255, 120, 40, 0.6);
  color: #ffe3a3 !important;
  text-shadow:
    0 0 6px rgba(255, 170, 60, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.95);
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 1));
  font-weight: bold;
}

.top__btns {
  background-color: transparent;
}

.top__title {
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 1));
  color: #ffe3a3 !important;
}

.header__title {
  color: #ffe3a3 !important;
  text-shadow:
    0 0 6px rgba(255, 170, 60, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.95);
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 1));
}
/* =========================
   TOP PvP / TOP CLANS RESTYLE
   ========================= */

.header__rating {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.header__top.top {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(
      180deg,
      rgba(45, 18, 8, 0.88) 0%,
      rgba(18, 8, 18, 0.88) 100%
    ),
    radial-gradient(
      circle at top center,
      rgba(255, 120, 0, 0.16) 0%,
      rgba(255, 120, 0, 0) 60%
    );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 140, 40, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 180, 90, 0.05) inset,
    0 10px 35px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(255, 120, 0, 0.16);
}

/* легкое внутреннее свечение */
.header__top.top::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 145, 0, 0.12), transparent 35%),
    radial-gradient(
      circle at 80% 100%,
      rgba(120, 70, 255, 0.1),
      transparent 35%
    );
  pointer-events: none;
}

/* тонкая декоративная линия сверху */
.header__top.top::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 170, 70, 0.55),
    transparent
  );
  pointer-events: none;
}

.top__title {
  position: relative;
  margin-bottom: 14px;
  text-align: center;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffd78a 0%, #ff9b2f 52%, #ffdc9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 10px rgba(255, 140, 0, 0.18),
    0 0 24px rgba(255, 120, 0, 0.14);
}

/* таблица */
.top__table {
  position: relative;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  z-index: 1;
}

.top__row {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.top__row:not(.top__row_head) {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 140, 0, 0.04),
    rgba(120, 70, 255, 0.04)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 160, 70, 0.08);
}

.top__row:not(.top__row_head):hover {
  transform: translateX(4px);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 150, 40, 0.1),
    rgba(120, 70, 255, 0.08)
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 175, 90, 0.16),
    0 0 18px rgba(255, 120, 0, 0.1);
}

.top__row_head {
  background: transparent !important;
  box-shadow: none !important;
}

.top__cell {
  padding: 10px 12px;
  vertical-align: middle;
  font-size: 16px;
  color: rgba(255, 240, 220, 0.92);
  border: 0;
}

.top__row_head .top__cell {
  padding-top: 0;
  padding-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 198, 125, 0.78);
}

.top__cell_num {
  width: 54px;
  text-align: center;
  font-weight: 800;
}

.top__cell_name {
  font-weight: 700;
}

.top__cell_score {
  width: 90px;
  text-align: right;
  font-weight: 800;
  color: #ffd36f;
  text-shadow: 0 0 10px rgba(255, 150, 40, 0.14);
}

/* округление строк */
.top__row .top__cell:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.top__row .top__cell:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* иконки / эмблемы */
.top__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.08);
  box-shadow: 0 0 10px rgba(255, 120, 0, 0.1);
  overflow: hidden;
}

.top__ico img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.top__cell_place {
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 170, 70, 0.18));
}

/* топ 1-2-3 */
.top__row_1 {
  background: linear-gradient(
    90deg,
    rgba(255, 191, 73, 0.1),
    rgba(255, 145, 0, 0.16),
    rgba(255, 208, 120, 0.08)
  ) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 195, 90, 0.18),
    0 0 24px rgba(255, 150, 50, 0.12) !important;
}

.top__row_2 {
  background: linear-gradient(
    90deg,
    rgba(201, 214, 255, 0.08),
    rgba(162, 186, 255, 0.12),
    rgba(210, 220, 255, 0.06)
  ) !important;
  box-shadow:
    inset 0 0 0 1px rgba(185, 205, 255, 0.14),
    0 0 20px rgba(132, 154, 255, 0.1) !important;
}

.top__row_3 {
  background: linear-gradient(
    90deg,
    rgba(255, 164, 96, 0.08),
    rgba(220, 126, 58, 0.13),
    rgba(255, 184, 122, 0.06)
  ) !important;
  box-shadow:
    inset 0 0 0 1px rgba(233, 146, 84, 0.14),
    0 0 20px rgba(255, 126, 40, 0.1) !important;
}

.top__row_1 .top__cell_name,
.top__row_1 .top__cell_score {
  color: #ffe7a8;
}

.top__row_2 .top__cell_name,
.top__row_2 .top__cell_score {
  color: #dbe6ff;
}

.top__row_3 .top__cell_name,
.top__row_3 .top__cell_score {
  color: #ffd1ae;
}

/* обычные строки */
.top__row_ordinary .top__cell_num {
  color: rgba(255, 214, 170, 0.88);
}

/* кнопка */
.top__btns {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.top__btns .btn.btn_size_small {
  min-width: 176px;
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 162, 67, 0.34);
  background: linear-gradient(
    180deg,
    rgba(140, 44, 10, 0.96) 0%,
    rgba(90, 24, 8, 0.96) 100%
  );
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 120, 0, 0.12);
  color: #ffd59a;
  font-weight: 700;
  text-transform: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.top__btns .btn.btn_size_small:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 187, 100, 0.52);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.32),
    0 0 26px rgba(255, 120, 0, 0.18);
}

/* адаптив если надо */
@media (max-width: 1200px) {
  .top__title {
    font-size: 28px;
  }

  .top__cell {
    font-size: 14px;
    padding: 9px 10px;
  }

  .top__cell_score {
    width: 74px;
  }
} /* =========================
   TOP PvP / CLANS — CLEAN DARK VERSION
   ========================= */

.header__rating {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header__top.top {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 18px 20px 18px;
  background: linear-gradient(
    180deg,
    rgba(22, 10, 18, 0.78) 0%,
    rgba(12, 8, 18, 0.86) 100%
  );
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 170, 90, 0.12);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(255, 120, 0, 0.08);
}

.header__top.top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top center,
      rgba(255, 120, 0, 0.08),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom center,
      rgba(120, 70, 255, 0.08),
      transparent 40%
    );
}

.top__title {
  position: relative;
  margin-bottom: 14px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffcf7a;
  text-shadow: 0 0 12px rgba(255, 145, 50, 0.18);
}

.top__table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
}

.top__row {
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.top__row_head .top__cell {
  padding: 0 10px 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 210, 150, 0.72);
  border-bottom: 1px solid rgba(255, 170, 90, 0.1);
}

.top__cell {
  padding: 12px 10px;
  font-size: 15px;
  color: rgba(255, 238, 220, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.top__row:not(.top__row_head):hover {
  background: rgba(255, 140, 0, 0.05);
  transform: translateX(2px);
}

.top__cell_num {
  width: 46px;
  text-align: center;
  font-weight: 800;
  color: rgba(255, 215, 160, 0.88);
}

.top__cell_name {
  font-weight: 700;
}

.top__cell_score {
  width: 82px;
  text-align: right;
  font-weight: 800;
  color: #ffd27c;
}

/* 1-2-3 без жирных плашек */
.top__row_1 .top__cell_name,
.top__row_1 .top__cell_score {
  color: #ffd76a;
  text-shadow: 0 0 10px rgba(255, 185, 70, 0.12);
}

.top__row_2 .top__cell_name,
.top__row_2 .top__cell_score {
  color: #d7e3ff;
}

.top__row_3 .top__cell_name,
.top__row_3 .top__cell_score {
  color: #ffcfb2;
}

.top__cell_place {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 170, 70, 0.12));
}

.top__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  overflow: hidden;
  border-radius: 50%;
}

.top__ico img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.top__btns {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.top__btns .btn.btn_size_small {
  min-width: 168px;
  height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 170, 90, 0.28);
  background: linear-gradient(
    180deg,
    rgba(135, 52, 14, 0.92) 0%,
    rgba(86, 28, 10, 0.92) 100%
  );
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.28),
    0 0 14px rgba(255, 120, 0, 0.1);
  color: #ffd39c;
  font-weight: 700;
  transition: 0.2s ease;
}

.top__btns .btn.btn_size_small:hover {
  transform: translateY(-1px);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(255, 120, 0, 0.14);
} /* =========================================
   TOP PvP / TOP CLANS
   АККУРАТНЫЙ РЕСТАЙЛ БЕЗ ЛОМА ГЕОМЕТРИИ
   ========================================= */

.header__rating {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* сам блок — почти те же размеры, только чище */
.header__top.top {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 14px 14px 14px;
  background: linear-gradient(
    180deg,
    rgba(42, 15, 12, 0.76) 0%,
    rgba(21, 10, 22, 0.82) 100%
  );
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 153, 51, 0.12);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 120, 0, 0.06);
}

/* мягкий свет, без перегруза */
.header__top.top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top center,
      rgba(255, 120, 0, 0.06),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom center,
      rgba(120, 70, 255, 0.05),
      transparent 38%
    );
}

/* заголовок */
.top__title {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  text-align: center;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f1c46a;
  text-shadow: 0 0 8px rgba(255, 145, 40, 0.14);
}

/* таблица */
.top__table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.top__row_head .top__cell {
  padding: 6px 8px 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(240, 200, 135, 0.72);
  text-transform: none;
  border-bottom: 1px solid rgba(255, 170, 90, 0.1);
}

.top__cell {
  padding: 9px 8px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 236, 215, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  vertical-align: middle;
}

/* ширины как были, без расширения */
.top__cell_num {
  width: 30px;
  text-align: center;
  font-weight: 700;
  color: rgba(255, 214, 160, 0.88);
}

.top__cell_name {
  width: auto;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top__cell_score {
  width: 56px;
  text-align: right;
  font-weight: 800;
  color: #f3cb73;
  white-space: nowrap;
}

/* строки — без жирных коробок */
.top__row:not(.top__row_head) {
  background: transparent;
  transition: background 0.18s ease;
}

.top__row:not(.top__row_head):hover {
  background: rgba(255, 140, 0, 0.04);
}

/* топ 1/2/3 — только легкий акцент */
.top__row_1 {
  background: linear-gradient(
    90deg,
    rgba(255, 175, 55, 0.08),
    rgba(255, 175, 55, 0.02)
  ) !important;
}

.top__row_2 {
  background: linear-gradient(
    90deg,
    rgba(170, 190, 255, 0.07),
    rgba(170, 190, 255, 0.02)
  ) !important;
}

.top__row_3 {
  background: linear-gradient(
    90deg,
    rgba(255, 170, 120, 0.06),
    rgba(255, 170, 120, 0.02)
  ) !important;
}

.top__row_1 .top__cell_name,
.top__row_1 .top__cell_score {
  color: #ffd76f;
}

.top__row_2 .top__cell_name,
.top__row_2 .top__cell_score {
  color: #d9e3ff;
}

.top__row_3 .top__cell_name,
.top__row_3 .top__cell_score {
  color: #ffd0b2;
}

/* иконки */
.top__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.top__ico img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.top__cell_place {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 0 4px rgba(255, 165, 70, 0.1));
}

/* кнопка — тоже аккуратнее */
.top__btns {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.top__btns .btn.btn_size_small {
  min-width: 160px;
  height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  border: 1px solid rgba(255, 168, 78, 0.26);
  background: linear-gradient(
    180deg,
    rgba(133, 52, 15, 0.88) 0%,
    rgba(89, 31, 10, 0.88) 100%
  );
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 0 12px rgba(255, 120, 0, 0.08);
  color: #ffd59d;
  font-weight: 700;
  transition: 0.18s ease;
}

.top__btns .btn.btn_size_small:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.24),
    0 0 15px rgba(255, 120, 0, 0.1);
} /* =========================================
   TOP PvP / TOP CLANS
   КРАСИВО + БЕЗ ЛОМА СТРУКТУРЫ
   ========================================= */

.header__rating {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.header__top.top {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  border-radius: 26px;
  padding: 16px 16px 14px;
  background: linear-gradient(
    180deg,
    rgba(54, 15, 14, 0.74) 0%,
    rgba(26, 10, 24, 0.82) 100%
  );
  backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 150, 60, 0.14);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(255, 110, 0, 0.05),
    inset 0 1px 0 rgba(255, 190, 120, 0.05);
}

.header__top.top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top center,
      rgba(255, 135, 40, 0.07),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom center,
      rgba(116, 75, 255, 0.05),
      transparent 38%
    );
}

.header__top.top::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 180, 100, 0.24),
    transparent
  );
  pointer-events: none;
}

.top__title {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  text-align: center;
  font-size: 23px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #f6c96e;
  text-shadow:
    0 0 8px rgba(255, 145, 40, 0.16),
    0 0 16px rgba(255, 120, 0, 0.06);
}

.top__table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.top__row {
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.top__row_head {
  background: transparent !important;
}

.top__row_head .top__cell {
  padding: 6px 8px 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(244, 204, 138, 0.74);
  border-bottom: 1px solid rgba(255, 175, 90, 0.1);
  text-transform: none;
}

.top__cell {
  padding: 10px 8px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 238, 220, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  vertical-align: middle;
}

.top__row:not(.top__row_head):hover {
  background: rgba(255, 145, 45, 0.035);
}

.top__cell_num {
  width: 34px;
  text-align: center;
  font-weight: 700;
  color: rgba(255, 215, 166, 0.88);
}

.top__cell_name {
  width: auto;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top__cell_score {
  width: 70px;
  text-align: right;
  font-weight: 800;
  color: #f4ca72;
  white-space: nowrap;
}

/* топ 1 / 2 / 3 */
.top__row_1 {
  background: linear-gradient(
    90deg,
    rgba(255, 190, 65, 0.08),
    rgba(255, 190, 65, 0.02)
  ) !important;
}

.top__row_2 {
  background: linear-gradient(
    90deg,
    rgba(176, 194, 255, 0.07),
    rgba(176, 194, 255, 0.02)
  ) !important;
}

.top__row_3 {
  background: linear-gradient(
    90deg,
    rgba(255, 174, 124, 0.06),
    rgba(255, 174, 124, 0.02)
  ) !important;
}

.top__row_1 .top__cell_name,
.top__row_1 .top__cell_score {
  color: #ffd96f;
}

.top__row_2 .top__cell_name,
.top__row_2 .top__cell_score {
  color: #dce6ff;
}

.top__row_3 .top__cell_name,
.top__row_3 .top__cell_score {
  color: #ffd2b3;
}

.top__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.top__ico img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.top__cell_place {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255, 165, 70, 0.12));
}

/* кнопка */
.top__btns {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.top__btns .btn.btn_size_small {
  min-width: 162px;
  height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 170, 85, 0.28);
  background: linear-gradient(
    180deg,
    rgba(141, 52, 14, 0.9) 0%,
    rgba(92, 30, 10, 0.9) 100%
  );
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.22),
    0 0 12px rgba(255, 120, 0, 0.08);
  color: #ffd6a0;
  font-weight: 700;
  transition: 0.18s ease;
}

.top__btns .btn.btn_size_small:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 185, 100, 0.38);
  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.24),
    0 0 14px rgba(255, 120, 0, 0.1);
}

/* убираем слишком сильные старые стили если были */
.top__row_ordinary,
.top__row_1,
.top__row_2,
.top__row_3 {
  box-shadow: none !important;
}

/* если где-то были старые фоны у ячеек */
.top__row .top__cell {
  background: transparent !important;
}

/* адаптив */
@media (max-width: 1360px) {
  .header__top.top {
    max-width: 360px;
    padding: 14px 14px 13px;
  }

  .top__title {
    font-size: 21px;
  }

  .top__cell {
    padding: 9px 7px;
    font-size: 13px;
  }

  .top__cell_num {
    width: 30px;
  }

  .top__cell_score {
    width: 64px;
  }

  .top__btns .btn.btn_size_small {
    min-width: 154px;
    height: 38px;
  }
} /* =========================================
   TOP PvP / TOP CLANS
   АККУРАТНЫЙ РЕСТАЙЛ ПОД ТВОЮ СТРУКТУРУ
   ========================================= */

.header__rating {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.header__top.top {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 355px;
  border-radius: 24px;
  padding: 14px 14px 14px;
  background: linear-gradient(
    180deg,
    rgba(52, 16, 16, 0.72) 0%,
    rgba(24, 10, 24, 0.82) 100%
  );
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 145, 50, 0.12);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(255, 120, 0, 0.05);
}

.header__top.top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top center,
      rgba(255, 130, 35, 0.06),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom center,
      rgba(110, 75, 255, 0.05),
      transparent 38%
    );
}

.top__title {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  text-align: center;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #f3c66c;
  text-shadow: 0 0 8px rgba(255, 145, 40, 0.14);
}

.top__table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.top__row {
  transition: background 0.18s ease;
}

.top__row_head .top__cell {
  padding: 6px 8px 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(243, 205, 145, 0.72);
  border-bottom: 1px solid rgba(255, 175, 90, 0.1);
}

.top__cell {
  padding: 9px 8px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 236, 220, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  vertical-align: middle;
  background: transparent;
}

.top__row:not(.top__row_head):hover {
  background: rgba(255, 145, 45, 0.035);
}

.top__cell_num {
  width: 34px;
  text-align: center;
  font-weight: 700;
  color: rgba(255, 214, 160, 0.88);
  white-space: nowrap;
}

.top__cell_name {
  width: auto;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top__cell_score {
  width: 68px;
  text-align: right;
  font-weight: 800;
  color: #f3cb73;
  white-space: nowrap;
}

/* топ 1-2-3 */
.top__row_1 {
  background: linear-gradient(
    90deg,
    rgba(255, 185, 60, 0.07),
    rgba(255, 185, 60, 0.015)
  );
}

.top__row_2 {
  background: linear-gradient(
    90deg,
    rgba(176, 194, 255, 0.06),
    rgba(176, 194, 255, 0.015)
  );
}

.top__row_3 {
  background: linear-gradient(
    90deg,
    rgba(255, 174, 124, 0.05),
    rgba(255, 174, 124, 0.015)
  );
}

.top__row_1 .top__cell_name,
.top__row_1 .top__cell_score {
  color: #ffd76f;
}

.top__row_2 .top__cell_name,
.top__row_2 .top__cell_score {
  color: #dce6ff;
}

.top__row_3 .top__cell_name,
.top__row_3 .top__cell_score {
  color: #ffd2b3;
}

.top__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.top__ico img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.top__cell_place {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255, 165, 70, 0.1));
}

.top__btns {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.top__btns .btn.btn_size_small {
  min-width: 156px;
  height: 38px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  border: 1px solid rgba(255, 168, 78, 0.26);
  background: linear-gradient(
    180deg,
    rgba(136, 51, 15, 0.9) 0%,
    rgba(88, 30, 10, 0.9) 100%
  );
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 0 10px rgba(255, 120, 0, 0.06);
  color: #ffd59d;
  font-weight: 700;
  transition: 0.18s ease;
}

.top__btns .btn.btn_size_small:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 185, 100, 0.34);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.24),
    0 0 12px rgba(255, 120, 0, 0.08);
}

@media (max-width: 1360px) {
  .header__top.top {
    max-width: 340px;
    padding: 13px 13px 13px;
  }

  .top__title {
    font-size: 20px;
  }

  .top__cell {
    padding: 8px 7px;
    font-size: 13px;
  }

  .top__cell_num {
    width: 30px;
  }

  .top__cell_score {
    width: 62px;
  }
} /* =========================================
   TOP PvP / TOP CLANS
   FINAL VERSION - БЕЗ ЛОМА СТРУКТУРЫ
   ========================================= */

.header__rating {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}

.header__top.top {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 410px;
  border-radius: 24px;
  padding: 16px 18px 16px;
  background: linear-gradient(
    180deg,
    rgba(58, 18, 18, 0.68) 0%,
    rgba(25, 10, 28, 0.78) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 150, 70, 0.14);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(255, 120, 0, 0.05),
    inset 0 1px 0 rgba(255, 210, 150, 0.05);
}

.header__top.top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top center,
      rgba(255, 130, 35, 0.07),
      transparent 42%
    ),
    radial-gradient(
      circle at bottom center,
      rgba(100, 70, 255, 0.05),
      transparent 40%
    );
}

.header__top.top::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 180, 100, 0.26),
    transparent
  );
  pointer-events: none;
}

.top__title {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  text-align: center;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #f4c86f;
  text-shadow:
    0 0 8px rgba(255, 145, 40, 0.16),
    0 0 18px rgba(255, 120, 0, 0.06);
}

.top__table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.top__row {
  transition: background 0.18s ease;
}

.top__row_head .top__cell {
  padding: 6px 8px 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(243, 205, 145, 0.72);
  border-bottom: 1px solid rgba(255, 175, 90, 0.12);
  text-transform: none;
}

.top__cell {
  padding: 10px 8px;
  font-size: 15px;
  line-height: 1.2;
  color: rgba(255, 236, 220, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
  background: transparent;
}

.top__row:not(.top__row_head):hover {
  background: rgba(255, 145, 45, 0.04);
}

.top__cell_num {
  width: 36px;
  text-align: center;
  font-weight: 700;
  color: rgba(255, 214, 160, 0.9);
  white-space: nowrap;
}

.top__cell_name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}

.top__cell_name .top__ico {
  margin-right: 7px;
}

.top__cell_score {
  width: 74px;
  text-align: right;
  font-weight: 800;
  color: #f3cb73;
  white-space: nowrap;
}

/* топ 1 / 2 / 3 */
.top__row_1 {
  background: linear-gradient(
    90deg,
    rgba(255, 185, 60, 0.08),
    rgba(255, 185, 60, 0.015)
  );
}

.top__row_2 {
  background: linear-gradient(
    90deg,
    rgba(176, 194, 255, 0.07),
    rgba(176, 194, 255, 0.015)
  );
}

.top__row_3 {
  background: linear-gradient(
    90deg,
    rgba(255, 174, 124, 0.06),
    rgba(255, 174, 124, 0.015)
  );
}

.top__row_1 .top__cell_name,
.top__row_1 .top__cell_score {
  color: #ffd96f;
}

.top__row_2 .top__cell_name,
.top__row_2 .top__cell_score {
  color: #dce6ff;
}

.top__row_3 .top__cell_name,
.top__row_3 .top__cell_score {
  color: #ffd2b3;
}

.top__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.top__ico img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.top__cell_place {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255, 165, 70, 0.1));
}

.top__btns {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.top__btns .btn.btn_size_small {
  min-width: 168px;
  height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 168, 78, 0.28);
  background: linear-gradient(
    180deg,
    rgba(136, 51, 15, 0.9) 0%,
    rgba(88, 30, 10, 0.9) 100%
  );
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 0 10px rgba(255, 120, 0, 0.06);
  color: #ffd59d;
  font-weight: 700;
  transition: 0.18s ease;
}

.top__btns .btn.btn_size_small:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 185, 100, 0.34);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.24),
    0 0 12px rgba(255, 120, 0, 0.08);
}

/* если старые стили где-то мешают */
.top__row .top__cell {
  box-shadow: none !important;
}

.top__row_ordinary,
.top__row_1,
.top__row_2,
.top__row_3 {
  box-shadow: none !important;
}

/* адаптив */
@media (max-width: 1360px) {
  .header__top.top {
    max-width: 390px;
    padding: 15px 16px 15px;
  }

  .top__title {
    font-size: 23px;
  }

  .top__cell {
    padding: 9px 7px;
    font-size: 14px;
  }

  .top__cell_num {
    width: 34px;
  }

  .top__cell_score {
    width: 70px;
  }
}

@media (max-width: 1200px) {
  .header__top.top {
    max-width: 370px;
  }

  .top__title {
    font-size: 21px;
  }
}
