
.inv-leaderboard {
  padding: 107px 20px;
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: #f1f5f9;
  font-family: 'Inter', sans-serif;
  text-align: center;
  cursor: default;
}

.inv-leaderboard__title {
  font-size: 2.5rem;
  margin-bottom: 80px;
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.inv-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.inv-podium__card {
  background: #1e293b;
  padding: 20px 16px;
  border-radius: 16px;
  width: 240px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  text-align: center;
  flex-shrink: 0;
}

.inv-podium__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.inv-podium__card--first {
  transform: translateY(-20px);
  background: linear-gradient(160deg, #fde68a, #facc15);
  color: #1e293b;
  order: 2;
}

.inv-podium__card--second {
  transform: translateY(0);
  background: linear-gradient(160deg, #e5e7eb, #d1d5db);
  color: #1e293b;
  order: 1;
}

.inv-podium__card--third {
  transform: translateY(5px);
  background: linear-gradient(160deg, #c084fc, #a855f7);
  color: #fff;
  order: 3;
}

.inv-podium__rank {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.inv-podium__name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.inv-podium__invites {
  font-size: 0.95rem;
  color: inherit;
}

.inv-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  overflow-x: auto;
}

.inv-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  min-width: 500px;
}

.inv-table thead th {
  text-align: left;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #94a3b8;
  padding-bottom: 8px;
}

.inv-table tbody tr {
  background-color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.inv-table tbody tr:hover {
  transform: scale(1.01);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.inv-table td {
  padding: 16px 20px;
  font-size: 1rem;
  color: #f1f5f9;
}

@media (max-width: 800px) {
  .inv-leaderboard {
    padding: 60px 16px;
  }

  .inv-leaderboard__title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .inv-podium {
    flex-direction: column;
    align-items: center;
  }

  .inv-podium__card {
    width: 90%;
    max-width: 320px;
    margin-bottom: 20px;
    transform: none !important;
  }

  .inv-podium__card--first {
    order: 1 !important;
  }

  .inv-podium__card--second {
    order: 2 !important;
  }

  .inv-podium__card--third {
    order: 3 !important;
  }

  .inv-table {
    min-width: unset;
  }

  .inv-table td {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .inv-table thead th {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .inv-leaderboard__title {
    font-size: 1.6rem;
  }

  .inv-table td {
    font-size: 0.9rem;
    padding: 10px;
  }

  .inv-table thead th {
    font-size: 0.75rem;
  }
}


th {
    text-align: center !important;
}



.leaderboard-switcher {
  padding-top: 107px;
  background: linear-gradient(to right, #0f172a, #1e293b);
  text-align: center;
}

.leaderboard-logo {
  width: 162px;
  height: 186px;
  margin: 0 auto;
}

.leaderboard-title {
  font-size: 48px;
  margin-top: 20px;
  font-weight: bold;
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.leaderboard-button-switch {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.switch-button {
  background: none;
  border: none;
  border-bottom: 4px solid transparent; 
  color: white;
  font-size: 18px;
  padding: 10px 30px; 
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.switch-button.active {
  border-bottom: 4px solid #ffffff; 
}

.switch-button:focus {
  outline: none;
}


.switch-button:not(.active) {
  border-bottom: 4px solid #555; 
}

.switch-content {
  margin-top: 30px;
  font-size: 18px;
  color: white;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}



