html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

@font-face {
  font-family: "SelznickRemixNF";
  src: url("/fonts/SELZNICK_REMIX_NF.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #000;
  color: #fff;
  font-family: "TikTok Sans", sans-serif;
  font-size: 24px;
  font-weight: 300;
  font-variation-settings: "slnt" -6;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  border: none;
  background-color: transparent;
}

ul {
  list-style: none;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
}

.title {
  font-family: "SelznickRemixNF", sans-serif;
  text-transform: uppercase;
  font-style: normal;
  font-size: 155px;
  font-weight: 300;
  line-height: 0.9;
}

.header__inner {
  padding: 50px 0px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  font-family: "SelznickRemixNF", sans-serif;
  text-transform: uppercase;
  font-style: normal;
  font-size: 36px;
  align-items: center;
}

.logo__img {
  width: 253px;
  display: block;
}

.menu__btn {
  display: none;
  width: 50px;
  height: 25px;
}

.menu__btn span {
  background-color: #fff;
  height: 3px;
  width: 100%;
}

.menu__list {
  display: flex;
  gap: 50px;
  align-items: center;
}

.menu__list-item.active .menu__list-link {
  color: #7e00ff;
}

.footer {
  position: relative;
  padding: 50px 0;
}
.social {
  display: flex;
  gap: 30px;
}

.social__link img {
  height: 105px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer__text {
  font-size: 20px;
  align-self: flex-end;
  max-width: 200px;
  text-align: right;
}

.footer__brand {
  position: absolute;
  right: 20px;
  bottom: 0;
}

.footer__brand-image {
  height: 40px;
}

.main {
  flex-grow: 1;
}

.top {
  padding-top: 380px;
  position: relative;
  padding-bottom: 500px;
  z-index: 3;
  overflow: hidden;
}

.top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bgs/main_page_top_bg.jpg");
  background-size: cover;
  background-position: top center;
  z-index: 0;
  height: 100%;
  background-repeat: no-repeat;
}

.top__inner {
  max-width: 790px;
}

.main__text {
  font-size: 52px;
  font-family: "SelznickRemixNF", sans-serif;
  font-style: normal;
}

.main__text span {
  color: #7e00ff;
}

.bottom {
  position: relative;
  z-index: 5;
  margin-top: -600px;
  padding-top: 50px;
}

.bottom::before {
  content: "";
  position: absolute;
  right: 0;
  top: 100px;
  width: 110%;
  height: 110%;
  background-image: url("../images/bgs/main_page_bottom_bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  z-index: 1;
}

.bottom__inner {
  padding-top: 430px;
  margin-bottom: 260px;
  max-width: 630px;
}

.bottom__text {
  text-align: justify;
  margin-top: 40px;
}

.bottom__text:last-child {
  font-weight: 400;
}

.bottom__text-item {
  padding-left: 15px;
  position: relative;
}

.bottom__text-item::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
}

.contributors__title,
.leaderboards__title {
  max-width: 820px;
  padding-bottom: 30px;
}

.download {
  padding-top: 260px;
  margin-bottom: 30px;
}

.download__inner {
  padding-top: 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  transform: translateY(-100px);
}

.download-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-size: 40px;
}

.download-sidebar__item.active .download-sidebar__link {
  color: #7e00ff;
  font-weight: 700;
  font-size: 48px;
}

.download__display {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.download__text a {
  color: #7e00ff;
}

.download__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border: 5px solid #fff;
}

.download__link {
  display: flex;
  gap: 10px;
  font-family: "SelznickRemixNF", sans-serif;
  font-style: normal;
  font-size: 62px;
}
.download__link a,
.download-sidebar__item a {
  transition: color 0.3s ease;
}
.download__link a:hover,
.download-sidebar__item a:hover {
  color: #7e00ff;
}

.contributors {
  padding-top: 260px;
  margin-bottom: 140px;
  background-image: url("../images/bgs/contributors_bg.png");
  background-position: right 160px top 189px;
  background-repeat: no-repeat;
  background-size: 50%;
}

.contributors__inner {
  padding-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
  justify-content: center;
  align-items: center;
}

.contributors__text {
  max-width: 430px;
  padding-top: 70px;
  padding-bottom: 150px;
}

.contributors__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
}

.contributors__img {
  max-width: 260px;
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
}

.contributors__name {
  font-size: 60px;
  font-family: "SelznickRemixNF", sans-serif;
  font-style: normal;
  text-transform: uppercase;
}

.leaderboards {
  padding-top: 260px;
  margin-bottom: 140px;
  position: relative;
  overflow-x: hidden;
}
.leaderboards::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc((100% - 1820px) / 2);
  width: 1140px;
  aspect-ratio: 1140 / 917;
  background: url("../images/bgs/leaderboards_bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.leaderboards__inner {
  display: flex;
  gap: 80px;
  padding-bottom: 20px;
}

.leaderboards__info {
  max-width: 750px;
}

.leaderboards__text {
  font-size: 30px;
  text-align: justify;
  margin-top: 40px;
}
.leaderboards__text a {
    color: #7e00ff;
}
.leaderboards__text-item {
  margin-top: 40px;
  position: relative;
  padding-left: 130px;
}

.leaderboards__text-item::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  left: 70px;
  top: 12px;
}

.leaderboards__ranks {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.leaderboards__rank:first-child {
  grid-column: span 4;
}

.leaderboards__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leaderboards__rank:first-child .leaderboards__rank-img {
  width: 300px;
}

.leaderboards__rank:first-child .leaderboards__rank-name {
  font-size: 76px;
}

.leaderboards__rank:first-child .leaderboards__rank-description {
  font-size: 36px;
}

.leaderboards__rank-img {
  width: 150px;
}

.leaderboards__rank-name {
  font-size: 38px;
  font-family: "SelznickRemixNF", sans-serif;
  font-style: normal;
  text-transform: uppercase;
}

.leaderboards__rank-description {
  font-size: 18px;
}

.leaderboard__table-title {
  text-align: center;
}

.table-wrapper {
  margin: 60px 0 140px 0;
  background-image: url(../images/bgs/table_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 1550px;
  padding-bottom: 20px;
  position: relative;
}

.table-controls {
  display: flex;
  justify-content: space-between;
  padding: 20px 70px;
}

.table-controls input {
  height: 60px;
  border-radius: 15px;
  padding: 0 15px;
  border: none;
  background-color: #000;
  font-family: "TikTok Sans", sans-serif;
  font-size: 24px;
  font-weight: 300;
  font-variation-settings: "slnt" -6;
  width: 520px;
  color: #fff;
}

.table-controls input:focus,
.filter-header:hover {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.filters-wrapper {
  display: flex;
  gap: 10px;
}

.custom-filter {
  position: relative;
  width: 350px;
}

.filter-header {
  display: flex;
  gap: 10px;
  height: 60px;
  align-items: center;
  padding: 0 15px;
  border-radius: 15px;
  background-color: #000;
  color: #4b4b4b;
  cursor: pointer;
}

.filter-text {
  flex: 1;
}

.filter-icon {
  height: 35px;
}
.filter-arrow {
  height: 18px;
}

.filter-options {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: #000;
  border-radius: 15px;
  display: none;
  z-index: 20;
  max-height: 450px;
  overflow-y: auto;
}

.filter-options div {
  padding: 12px 15px;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.15s ease;
}

.filter-options div:hover {
  background: #1a1a1a;
}

.custom-filter.open .filter-options {
  display: block;
}

.filter-options > div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 15px;
}

.filter-options img {
  width: 60px;
}

.filter-text.selected {
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.filter-options {
  scrollbar-width: thin;
  scrollbar-color: #939393 #262626;
}

.filter-options::-webkit-scrollbar {
  width: 8px;
}

.filter-options::-webkit-scrollbar-track {
  background: #262626;
  border-radius: 10px;
}

.filter-options::-webkit-scrollbar-thumb {
  background-color: #939393;
  border-radius: 10px;
}

.leaderboard__wrapper {
  width: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow-x: auto;
}

.leaderboard__table-row--header {
  font-weight: 600;
  margin-bottom: 20px;
}

.leaderboard__table-body {
  display: contents;
}

.leaderboard__inner {
  margin: 0 70px;
  display: grid;
  min-width: 650px;
}

.leaderboard__table-row,
.leaderboard__table-row--header {
  display: grid;
  grid-template-columns: 0.5fr 2fr 1fr 1fr 1fr 1.2fr;
  align-items: center;
  justify-items: center;
  padding: 5px 0;
  gap: 20px;
}

.leaderboard__table-cell--rank img {
  width: 75px;
}

.leaderboard__table-cell img {
  display: block;
}

.leaderboard__table-cell--last-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.leaderboard__table-cell--nickname {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: start;
}

.leaderboard__table-cell--nickname span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.leaderboard__avatar {
  width: 45px;
  height: 45px;
  border-radius: 10%;
}

.leaderboard__pick-icon {
  width: 50px;
  height: 50px;
}
.leaderboard__table-cell--nickname,
.leaderboard__table-cell--region {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.leaderboard__table-row {
  transition: background 0.4s ease;
}

.leaderboard__table-body .leaderboard__table-row:hover {
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.leaderboard__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.pagination__arrow,
.pagination__page {
  font-size: 30px;
  font-family: "TikTok Sans", sans-serif;
  font-weight: 300;
  font-variation-settings: "slnt" 0;
}

.pagination__arrow {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

.pagination__arrow:disabled {
  color: #4b4b4b;
  cursor: default;
}

.pagination__page {
  display: inline-block;
  width: 50px;
  text-align: center;
  text-decoration: none;
  color: #fff;
}
.pagination__page--active {
  color: #7e00ff;
  font-weight: 700;
}
.pagination__dots {
  display: inline-block;
  width: 30px;
  text-align: center;
  font-size: 30px;
  font-family: "TikTok Sans", sans-serif;
  font-weight: 300;
  color: #fff;
}
.player {
  padding-top: 260px;
  padding-bottom: 200px;
  background-image: url(../images/bgs/profile_bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top 210px;
}

.player__top {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  height: 400px;
}
.player__avatar {
  width: 400px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}
.player__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: space-between;
}
.player__name {
  font-size: 170px;
  font-family: "SelznickRemixNF", sans-serif;
  font-style: normal;
  font-weight: 300;
  margin: 0;
  line-height: 0.8;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 800px;
}
.player__rank {
  display: flex;
  gap: 20px;
  align-items: center;
}
.player__rank-current,
.player__rank-num {
  font-size: 30px;
}

.player__rank-icon {
  width: 70px;
}
.player__team {
  display: flex;
  gap: 5px;
}
.player__team-img {
  width: 130px;
  height: auto;
}
.matches__top {
  margin-top: 70px;
  display: flex;
  justify-content: center;
  font-size: 30px;
}
.matches__box {
  background-color: #000;
  border-radius: 20px;
  position: relative;
  margin-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
  scrollbar-width: thin;
  scrollbar-color: #939393 #262626;
  width: 100%;
  height: 400px;
}
.matches__inner {
  height: 100%;
  overflow-x: auto;
}
.matches__box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 100%);
  z-index: 2;
  border-radius: 20px;
}

.matches__box::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.matches__box::-webkit-scrollbar-thumb {
  background-color: #939393;
  border-radius: 10px;
}
.matches__box::-webkit-scrollbar-track {
  background-color: #262626;
}
.matches {
  position: relative;
  min-width: 800px;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow-y: auto;
  font-size: 24px;
  padding-right: 70px;
  scrollbar-width: thin;
  scrollbar-color: #939393 #262626;
}
.matches::-webkit-scrollbar {
  width: 8px;
}
.matches::-webkit-scrollbar-thumb {
  background-color: #939393;
  border-radius: 10px;
}
.matches::-webkit-scrollbar-track {
  background-color: #262626;
}
.matches__header {
  font-weight: 600;
  height: 40px;
  position: sticky;
  top: 0;
  background-color: #000;
  z-index: 5;
}

.matches__body {
  display: flex;
  flex-direction: column;
}

.matches__row:last-child {
  flex-grow: 1;
}

.matches__row {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr 1fr 1fr;
}

.cell__wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 5px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.matches__cell {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
}
.cell__wrapper:nth-child(odd)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #111111;
  z-index: -1;
}

.matches__body
  .matches__row:hover
  > .cell__wrapper:nth-child(odd)
  .matches__cell {
  background-color: #353535;
}

.matches__body
  .matches__row:hover
  > .cell__wrapper:nth-child(even)
  .matches__cell {
  background-color: #222;
}

.matches__player span,
.matches__opponent span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.matches__score--win,
.matches__rp--plus {
  color: #00ff00;
}

.matches__score--lose,
.matches__rp--minus {
  color: #ff0a0a;
}

.matches__separator {
  opacity: 0.5;
}

@media (max-width: 1800px) {
  .contributors__inner {
    padding-top: 10px;
    gap: 50px;
  }
  .player__top {
    height: 350px;
  }
  .player__avatar {
    width: 350px;
  }
  .matches__top {
    margin-top: 20px;
  }
}

@media (max-width: 1500px) {
  .container {
    max-width: 1200px;
  }
  .contributors {
    background-position: right top 189px;
  }
  .download {
    padding-top: 150px;
  }
  .download__inner {
    transform: none;
  }
  .download-sidebar__item.active .download-sidebar__link {
    font-size: 40px;
  }

  .leaderboards__text {
    font-size: 24px;
    text-align: left;
    margin-top: 20px;
  }
  .leaderboards__text-item {
    margin-top: 20px;
    padding-left: 70px;
  }
  .leaderboards__text-item::before {
    left: 10px;
  }
  .leaderboards__rank-img {
    width: 100px;
  }
  .leaderboards__rank-name {
    font-size: 30px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-img {
    width: 230px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-name {
    font-size: 66px;
  }
  .leaderboard__table-content {
    font-size: 22px;
  }
  .leaderboard__inner {
    margin: 0 30px;
  }
  .table-controls {
    padding: 20px 20px;
  }
  .table-controls input {
    width: 400px;
  }
  .custom-filter {
    width: 300px;
  }
  .leaderboards__title {
    max-width: 680px;
  }
  .leaderboards::after {
    top: 90px;
    right: calc((100% - 1420px) / 2);
    width: 900px;
  }
  .player__top {
    height: 250px;
  }
  .player__avatar {
    width: 250px;
  }
  .player__name {
    font-size: 120px;
    max-width: 500px;
  }
  .player__rank-current,
  .player__rank-num {
    font-size: 24px;
  }
  .player__rank-icon {
    width: 50px;
  }
  .player__team-img {
    width: 70px;
  }
  .player__rank {
    display: flex;
    gap: 15px;
  }
  .player {
    padding-bottom: 100px;
    background-size: cover;
  }
  .matches {
    font-size: 20px;
  }
  .matches__rank-icon {
    height: 25px;
  }
  .matches__avatar {
    width: auto;
    height: 35px;
  }
}

@media (max-width: 1200px) {
  .menu__list {
    gap: 30px;
  }
  .top {
    padding-top: 300px;
  }
  .top::before {
    background-position: top right -100px;
  }
  .bottom__inner {
    padding-top: 250px;
    margin-bottom: 100px;
  }
  .bottom::before {
    width: 90%;
    height: 90%;
  }
  .contributors__title,
  .leaderboards__title {
    max-width: 600px;
  }
  .contributors {
    margin-bottom: 100px;
  }
  .contributors__text {
    padding-top: 30px;
    padding-bottom: 100px;
  }
  .download-sidebar__list {
    font-size: 30px;
  }
  .download-sidebar__item.active .download-sidebar__link {
    font-size: 32px;
  }
  .download__text {
    font-size: 20px;
  }
  .download__display {
    gap: 20px;
  }
  .download__link {
    font-size: 40px;
  }

  .matches__box {
    margin-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
  }
  .matches {
    padding-right: 0px;
  }
  .leaderboards__inner {
    gap: 30px;
  }
  .leaderboards::after {
    top: 200px;
    right: calc((100% - 1320px) / 2);
    width: 740px;
  }
  .leaderboard__table-cell {
    font-size: 20px;
    text-align: center;
  }
  .leaderboard__pick-icon {
    width: 30px;
    height: 30px;
  }
  .leaderboard__table-cell--rank img {
    width: 55px;
  }
  .leaderboard__avatar {
    width: 35px;
    height: 35px;
  }
  .table-controls input {
    font-size: 20px;
    width: 350px;
  }
  .custom-filter {
    font-size: 20px;
    width: 270px;
  }
  .pagination__arrow,
  .pagination__page,
  .pagination__dots {
    font-size: 24px;
  }
  .table-wrapper {
    min-height: 1400px;
  }
}
@media (max-width: 1024px) {
  .top {
    padding-top: 250px;
  }
  .title {
    font-size: 125px;
  }
  .header__inner {
    padding: 20px 0;
  }
  .menu {
    font-size: 30px;
    gap: 20px;
  }
  .logo__img {
    width: 200px;
  }
  .bottom__inner,
  .contributors,
  .download {
    margin-bottom: 70px;
  }
  .bottom::before {
    background-position: top 100px right -90px;
    width: 80%;
    height: 80%;
  }
  .social__link img {
    height: 85px;
  }
  .footer__text {
    font-size: 16px;
    max-width: 150px;
  }

  .contributors,
  .player {
    padding-top: 200px;
  }
  .download {
    padding-top: 100px;
  }
  .download__inner {
    gap: 20px;
  }
  .contributors__img {
    width: 210px;
    height: 210px;
  }
  .contributors__name {
    font-size: 45px;
  }

  .leaderboards__text,
  .leaderboards__text-item {
    font-size: 20px;
  }

  .matches__player,
  .matches__ranking,
  .matches__set {
    gap: 2px;
  }

  .player {
    padding-bottom: 50px;
    background-position: center top 150px;
  }
  .matches {
    font-size: 16px;
  }
  .matches__avatar {
    width: auto;
    height: 30px;
  }
  .matches__rank-icon {
    height: 20px;
  }
  .matches__cell {
    height: 30px;
  }
  .leaderboard__table-cell--rank img {
    width: 50px;
  }
  .filter-icon {
    height: 25px;
  }
  .table-controls input {
    height: 50px;
    width: 290px;
  }
  .filter-arrow {
    height: 10px;
  }
  .filter-header {
    height: 50px;
  }
  .custom-filter {
    width: 240px;
  }
  .pagination__arrow,
  .pagination__page,
  .pagination__dots {
    font-size: 20px;
  }
  .table-wrapper {
    min-height: 1300px;
    margin-bottom: 50px;
  }
  .filter-options img {
    width: 50px;
  }
  .filter-options {
    top: 60px;
  }
  .filter-options div {
    padding: 5px 10px;
    font-size: 16px;
  }
  .leaderboards__rank-img {
    width: 90px;
  }
  .leaderboards__rank-name {
    font-size: 26px;
  }
  .leaderboards__rank-description {
    font-size: 16px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-img {
    width: 200px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-name {
    font-size: 56px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-description {
    font-size: 30px;
  }

  .leaderboards__title {
    max-width: 500px;
  }
  .leaderboards::after {
    top: 190px;
    right: calc((100% - 1100px) / 2);
    width: 670px;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 20px;
  }
  .footer__brand-image {
    height: 30px;
  }
  .menu__list {
    transform: translateY(-100%);
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 100dvh;
    margin: 0 auto;
    background-color: #000;
    flex-direction: column;
    gap: 80px;
    padding-top: 150px;
    transition: transform 0.5s ease;
  }
  .menu__btn,
  .logo {
    position: relative;
    z-index: 10;
  }
  .menu__list.menu__list--open {
    transform: translateY(0%);
  }
  .menu__btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .title {
    font-size: 100px;
  }
  .main__text {
    font-size: 40px;
  }
  .bottom::before {
    top: 200px;
    width: 80%;
    height: 80%;
    background-position: top right -50px;
  }
  .bottom__text {
    margin-top: 20px;
  }
  .bottom__inner,
  .contributors {
    padding-top: 250px;
  }
  .download,
  .contributors {
    margin-bottom: 30px;
  }

  .leaderboards {
    padding-top: 150px;
  }
  .contributors__title {
    max-width: 500px;
  }
  .leaderboards__title {
    max-width: 450px;
  }
  .contributors {
    padding-top: 150px;
    background-position: right top 150px;
  }
  .contributors__text {
    padding-top: 10px;
    padding-bottom: 50px;
  }
  .contributors__img {
    width: 170px;
    height: 170px;
  }
  .contributors__name {
    font-size: 35px;
  }
  .download__inner {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
  }
  .download__sidebar {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }
  .download-sidebar__list {
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    align-items: flex-end;
    font-size: 24px;
    justify-content: space-between;
  }
  .download-sidebar__item.active .download-sidebar__link {
    font-size: 24px;
  }
  .download__link {
    align-self: center;
  }
  .download-sidebar__item {
    flex-shrink: 0;
  }
  .download-sidebar__link {
    white-space: nowrap;
    display: inline-block;
    padding: 8px 12px;
  }
  .download-sidebar__list {
    scrollbar-width: thin;
    scrollbar-color: #262626 transparent;
  }
  .download-sidebar__list::-webkit-scrollbar {
    height: 4px;
  }
  .download-sidebar__list::-webkit-scrollbar-track {
    background: transparent;
  }
  .download-sidebar__list::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 10px;
  }
  .leaderboards__text-item::before {
    width: 8px;
    height: 8px;
  }
  .leaderboards__text-item {
    padding-left: 40px;
  }
.player__top{
  height: 200px;
}
  .player__avatar {
    width: 200px;
  }
  .player__name {
    font-size: 90px;
  }
  .player__top {
    gap: 30px;
  }
   .player__team-img {
    width: 50px;
  }
  .matches__top {
    margin-top: 10px;
    font-size: 24px;
  }
  .player__rank-current,
  .player__rank-num {
    font-size: 20px;
  }
  .matches {
    overflow-y: unset;
  }

  .matches__box::after {
    content: "";
    position: absolute;
    left: auto;
    bottom: auto;
    right: 0;
    top: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 100%);
    z-index: 10;
  }

  .matches__player {
    max-width: 100px;
  }
  .leaderboard__table-cell--last-pick {
    gap: 1px;
  }
  .leaderboard__pick-icon {
    width: 20px;
    height: 20px;
  }
  .leaderboard__table-cell--rank img {
    width: 40px;
  }
  .leaderboard__avatar {
    width: 30px;
    height: 30px;
  }
  .table-controls {
    flex-direction: column;
    gap: 10px;
  }
  .table-controls input {
    width: 100%;
  }
  .custom-filter {
    width: 50%;
  }
  .table-wrapper {
    min-height: 1200px;
  }
  .leaderboard__pagination {
    gap: 8px;
  }
  .pagination__arrow,
  .pagination__page,
  .pagination__dots {
    font-size: 18px;
  }
  .pagination__page {
    width: 36px;
  }
  .pagination__dots {
    width: 22px;
  }
  .leaderboards__title {
    max-width: 400px;
  }
  .leaderboards::after {
    top: 170px;
    right: calc((100% - 900px) / 2);
    width: 550px;
  }
  .leaderboards__rank-img {
    width: 70px;
  }
  .leaderboards__rank-name {
    font-size: 20px;
  }
  .leaderboards__rank-description {
    font-size: 12px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-img {
    width: 150px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-name {
    font-size: 46px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-description {
    font-size: 24x;
  }
  .leaderboards__ranks {
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .top {
    padding-top: 200px;
    padding-bottom: 300px;
  }
  .top__inner {
    max-width: 600px;
  }
  .title {
    font-size: 90px;
  }
  .main__text {
    font-size: 36px;
  }
  .bottom {
    margin-top: -500px;
  }
  .bottom__inner {
    max-width: 550px;
  }
  .contributors__text {
    max-width: 300px;
  }
  .contributors__title {
    max-width: 350px;
  }
  .contributors__inner {
    gap: 30px;
  }
  .player__top{
  height: 150px;
  }
  .player__avatar {
    width: 150px;
  }
  .player__name {
    font-size: 70px;
    max-width: 300px;
  }
  .player__rank {
    gap: 8px;
  }
  .player__rank-icon {
    width: 40px;
  }
  .player__team-img {
    width: 35px;
  }
  .player__info {
    gap: 10px;
  }
  .player__top {
    gap: 15px;
  }
  .matches__top {
    margin-top: 0;
  }
  .matches {
    font-size: 14px;
  }
  .matches__avatar {
    height: 25px;
  }
  .matches__cell {
    height: 35px;
  }
  .matches__inner {
    scrollbar-width: none;
  }
  .matches__inner::-webkit-scrollbar {
    display: none;
  }
  .matches__box,
  .leaderboard__wrapper {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .leaderboard__table-cell {
    font-size: 16px;
  }
  .leaderboards__inner {
    gap: 40px;
    flex-direction: column;
  }
  .leaderboards::after {
    top: 60px;
    right: calc((100% - 770px) / 2);
    width: 450px;
  }
  .table-wrapper {
    min-height: 900px;
  }
  .leaderboard__pagination {
    gap: 5px;
  }
  .pagination__arrow,
  .pagination__page,
  .pagination__dots {
    font-size: 16px;
  }
  .pagination__page {
    width: 30px;
  }
  .pagination__dots {
    width: 18px;
  }
  .table-controls input {
    font-size: 16px;
    height: 40px;
  }
  .filter-header {
    height: 40px;
    gap: 5px;
  }
  .custom-filter {
    font-size: 16px;
  }
  .filter-icon {
    height: 15px;
  }

  .filter-arrow {
    height: 7px;
  }

  .filter-options {
    top: 50px;
  }
  .filter-options img {
    width: 40px;
  }
  .leaderboards__rank-img {
    width: 90px;
  }
  .leaderboards__rank-name {
    font-size: 24px;
  }
  .leaderboards__rank-description {
    font-size: 16px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-img {
    width: 200px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-name {
    font-size: 60px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-description {
    font-size: 26x;
  }
  .leaderboards__ranks {
    align-self: center;
  }
  .table-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    width: 50px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000 70%);
  }
}

@media (max-width: 560px) {
  .top::before {
    height: 70%;
  }
  .top {
    padding-bottom: 300px;
  }
  .title {
    font-size: 80px;
  }
  .main__text {
    font-size: 30px;
  }
  .bottom__inner {
    padding-top: 200px;
  }
  .bottom__text {
    text-align: left;
  }
  .bottom::before {
    top: 70px;
    width: 70%;
    height: 70%;
  }
  .contributors__text {
    max-width: 200px;
  }
  .contributors__title {
    max-width: 270px;
  }
  .player__team-img {
    width: 35px;
  }
  .download__text {
    font-size: 15px;
  }
  .download__link {
    font-size: 32px;
  }
  .download-sidebar__list {
    gap: 10px;
  }
  .table-wrapper {
    min-height: 600px;
  }
  .leaderboard__pagination {
    gap: 3px;
  }
  .pagination__arrow,
  .pagination__page,
  .pagination__dots {
    font-size: 14px;
  }
  .pagination__page {
    width: 26px;
  }
  .pagination__dots {
    width: 16px;
  }
  .leaderboards__text,
  .leaderboards__text-item {
    font-size: 16px;
  }
  .leaderboards__title {
    max-width: 300px;
  }
  .leaderboards__inner {
    gap: 20px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-img {
    width: 150px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-name {
    font-size: 36px;
  }
  .leaderboards__rank:first-child .leaderboards__rank-description {
    font-size: 24px;
  }
  .leaderboards__rank-img {
    width: 70px;
  }
  .leaderboards__rank-name {
    font-size: 24px;
  }
  .leaderboards__rank-description {
    font-size: 14px;
  }
  .table-controls input,
  .custom-filter {
    font-size: 12px;
  }
  .filter-options div {
    font-size: 14px;
  }
  .leaderboards {
    margin-bottom: 50px;
  }
  .leaderboards::after {
    top: 100px;
    right: calc((100% - 550px) / 2);
    width: 350px;
  }
  .social__link img {
    height: 75px;
  }
  .footer {
    padding: 30px 0;
  }
  .footer__inner {
    flex-wrap: wrap;
  }
  .footer__brand {
    right: 10px;
  }
  .footer__brand-image {
    height: 20px;
  }
  .footer__text {
    max-width: fit-content;
  }
  .player__rank-current,
  .player__rank-num {
    font-size: 16px;
  }

  .matches__box {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 70px;
  }
  .bottom::before {
    background-position: top 100px right -30px;
  }
  .contributors__title,
  .leaderboards__title {
    padding-bottom: 15px;
  }
  .leaderboards__title {
    max-width: 250px;
  }
  .leaderboard__table-title {
    font-size: 60px;
  }
  .filters-wrapper {
    flex-direction: column;
  }
  .custom-filter {
    width: 100%;
  }
  .leaderboards__rank-description {
    font-size: 12px;
  }
  .contributors__img {
    width: 170px;
    height: 170px;
  }
  .contributors__name {
    font-size: 24px;
  }
  .download__inner {
    padding-top: 10px;
  }
  .player__name {
    font-size: 50px;
    min-width: 250px;
  }
  .player__top{
    height: 100px;
  }
  .player__avatar {
    width: 100px;
  }
  .player {
    padding-top: 150px;
    background-position: center top 100px;
  }
  .player__rank-current,
  .player__rank-num {
    font-size: 14px;
  }
  .player__rank-icon {
    width: 30px;
  }
  .player__team-img {
    width: 25px;
  }
}
