* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #000 !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.ranking-table {
  width: 90%;
  margin: 20px auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

thead {
  background-color: #33333342;
}

thead th {
  padding: 15px;
  text-align: left;
  font-weight: normal;
  color: #999;
}

tbody tr {
  background-color: rgba(255, 255, 255, 0.027);
  border-bottom: 1px solid #333;
}

tbody tr:hover {
  background-color: rgba(51, 51, 51, 0.24);
}

tbody td {
  padding: 15px;
  text-align: left;
}

.player-info {
  display: flex;
  align-items: center;
}

.player-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.player-name {
  font-weight: bold;
}

.player-tag {
  color: #999;
}

.rank-info {
  display: flex;
  align-items: center;
}

.rank-info img {
  width: 30px;
  margin-right: 10px;
}

.winrate {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.winrate-bar {
  background-color: #444;
  height: 10px;
  width: 100px;
  border-radius: 5px;
  overflow: hidden;
  margin-left: 10px;
}

.winrate-filled {
  background-color: red;
  height: 100%;
  width: 50%;
}

.social-icons a {
  text-decoration: none;
}

.social-icons a img {
  display: inline-block;
  width: 30px;
  margin-right: 10px;
}

.live-badge {
  background-color: red;
  padding: 1px 5px;
  color: white;
  font-size: 12px;
  border-radius: 5px;
  line-height: 20px;
}

::-webkit-scrollbar {
  display: none;
}

.top-button {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background-color: #33333348;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  z-index: 2;
}

.slider {
  /* slider */
  --slider-width: 100%;
  --slider-height: 50px;
  --slider-bg: rgba(255, 255, 255, 0.178);
  --slider-border-radius: 9px;
  /* level */
  --level-color: #ffffff;
  --level-transition-duration: 0.1s;
  /* icon */
  --icon-margin: 15px;
  --icon-color: var(--slider-bg);
  --icon-size: 25px;
}

.slider {
  position: fixed;
  left: -1%;
  height: 70%;
  cursor: pointer;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
}

.slider .volume {
  color: #000;
  display: inline-block;
  width: var(--icon-size);
  height: auto;
  position: absolute;
  z-index: 2; 
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.slider .level {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--slider-width);
  height: var(--slider-height);
  background: var(--slider-bg);
  overflow: hidden;
  border-radius: var(--slider-border-radius);
  transition: height var(--level-transition-duration);
  cursor: inherit;
  position: relative;
  z-index: 1; 
  transform: rotate(270deg);
}

.slider .level::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0;
  height: 0;
  -webkit-box-shadow: -200px 0 0 200px var(--level-color);
  box-shadow: -200px 0 0 200px var(--level-color);
}
.slider .level::-moz-range-thumb {
  width: 0;
  height: 0;
  border-radius: 0;
  border: none;
  box-shadow: -200px 0 0 200px var(--level-color);
}

@media only screen and (max-width: 600px) {
  body {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .ranking-table {
    width: 100%;
    margin: 10px auto;
  }

  thead th,
  tbody td {
    padding: 10px;
    font-size: 12px;
  }

  .player-avatar {
    width: 40px;
    height: 40px;
  }

  .player-name {
    font-size: 14px;
  }

  .rank-info img {
    width: 20px;
  }

  .winrate-bar {
    width: 80px;
  }

  .live-badge {
    font-size: 10px;
    padding: 1px 3px;
  }

  .top-button {
    padding: 8px 16px;
    font-size: 12px;
  }

  .social-icons a img {
    width: 15px;
    margin-right: 0px;
  }
}

@media (max-width: 1500px) {
  .slider {
    display: none;
  }
}
