/* Base Styles & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
  background: #1a0505;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(-45deg, #1a0505, #2d0b0b, #400f0f, #591414);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

/* Header Styles */
header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(228, 52, 52, 0.3);
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.3rem;
  text-shadow: 0 2px 10px rgba(228, 52, 52, 0.3);
  letter-spacing: 0.7rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.logo-title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.logo-title-wrapper svg {
  height: 4rem;
  width: auto;
  flex-shrink: 0;
  margin-bottom: 0.3rem;
}

.logo-title-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
}

.logo-x {
  color: #000000;
  text-shadow: none;
}

.logo-jbsales {
  color: #d7ff00;
  margin-left: 0em;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.05em;
  font-size: 3.4rem;
  font-weight: 600;
}

.subtitle {
  color: #aa6b6b;
  font-size: 2rem;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  color: #ea384c;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.countdown-item {
  background: rgba(100, 20, 20, 0.3);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  min-width: 80px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(234, 56, 76, 0.2);
  transition: transform 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-3px);
  background: rgba(120, 30, 30, 0.4);
}

.countdown-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.countdown-label {
  font-size: 0.7rem;
  color: #aa6b6b;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.update-text {
  color: #aa6b6b;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Leaderboard Styles */
.leaderboard-section {
  margin-bottom: 3rem;
}

.leaderboard {
  background: rgba(40, 10, 10, 0.7);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.user {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(234, 56, 76, 0.2);
  justify-content: space-between;
  background: rgba(50, 15, 15, 0.5);
  transition: all 0.3s ease;
}

.user:hover {
  background: rgba(70, 20, 20, 0.6);
  transform: translateX(5px);
  box-shadow: -5px 0 0 #ea384c;
}

.user:last-child {
  border-bottom: none;
}

.rank {
  color: #ea384c;
  font-weight: 600;
  min-width: 2rem;
  font-size: 1.2rem;
}

.user-name {
  flex: 1;
  color: #fff;
  margin-left: 1rem;
  font-weight: 500;
}

.wagered {
  color: #ff8c94;
  font-weight: 600;
  margin-left: 1rem;
  font-size: 1.1rem;
}

.prize {
  color: #aa6b6b;
  margin-left: 1rem;
  min-width: 3rem;
  text-align: center;
  background: rgba(234, 56, 76, 0.1);
  padding: 0.3rem 0.4rem;
  border-radius: 50px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: none; /* Hide by default */
}

/* Show the prize element only when it has content */
.prize:not(:empty) {
  display: inline-block;
}

/* Podium Styles */
.podium-container {
  margin-bottom: 3rem;
  perspective: 1000px;
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
  transform-style: preserve-3d;
}

.podium:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 56, 76, 0.3), transparent);
  transform: translateZ(-10px);
}

.podium-place {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.podium-place:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5));
  pointer-events: none;
  transform: translateZ(1px);
}

.podium-place:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.first {
  height: 280px;
  width: 280px;
  background: linear-gradient(to bottom, rgba(183, 28, 28, 0.9), rgba(93, 9, 9, 0.95));
  z-index: 3;
  position: relative;
  transform: translateZ(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
              0 3px 10px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(234, 56, 76, 0.3);
}

.first:hover {
  transform: translateY(-10px) translateZ(30px) rotateX(5deg);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4),
              0 5px 15px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(234, 56, 76, 0.4);
}

.first .podium-rank {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 2;
}

.first .podium-content {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 15px;
  text-align: center;
}

.second, .third {
  height: 240px;
  width: 240px;
  position: relative;
}

.second {
  background: linear-gradient(to bottom, rgba(136, 14, 79, 0.9), rgba(74, 7, 40, 0.95));
  z-index: 2;
  transform: translateZ(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35),
              0 3px 8px rgba(0, 0, 0, 0.25),
              0 0 15px rgba(234, 56, 76, 0.25);
}

.second:hover {
  transform: translateY(-10px) translateZ(20px) rotateX(5deg);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35),
              0 5px 12px rgba(0, 0, 0, 0.25),
              0 0 25px rgba(234, 56, 76, 0.35);
}

.third {
  background: linear-gradient(to bottom, rgba(74, 20, 140, 0.9), rgba(38, 6, 77, 0.95));
  z-index: 1;
  transform: translateZ(5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3),
              0 3px 6px rgba(0, 0, 0, 0.2),
              0 0 10px rgba(234, 56, 76, 0.2);
}

.third:hover {
  transform: translateY(-10px) translateZ(15px) rotateX(5deg);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3),
              0 5px 10px rgba(0, 0, 0, 0.2),
              0 0 20px rgba(234, 56, 76, 0.3);
}

.podium-rank {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%) translateZ(5px);
  margin: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  border: 2px solid rgba(234, 56, 76, 0.5);
  box-shadow: 0 0 15px rgba(234, 56, 76, 0.3),
              0 3px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
}

.podium-content {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 15px;
  text-align: center;
  transform: translateZ(2px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.podium-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.podium-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff8c94;
  margin-bottom: 8px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.wagered-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.podium-prize {
  display: none; /* Hide the duplicate prize display */
  font-size: 0.8rem;
  color: #fff;
  background: rgba(234, 56, 76, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(234, 56, 76, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2),
              0 0 10px rgba(234, 56, 76, 0.2);
  backdrop-filter: blur(2px);
  transform: translateZ(3px);
}

/* Prizes Section Styles */
.prizes-section {
  margin-bottom: 3rem;
  background: rgba(40, 10, 10, 0.5);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(234, 56, 76, 0.1);
}

.prizes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.prize-item {
  background: rgba(50, 15, 15, 0.7);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(234, 56, 76, 0.1);
}

.prize-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: rgba(70, 20, 20, 0.7);
}

.prize-rank {
  background-color: #ea384c;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  margin-right: 1rem;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(234, 56, 76, 0.4);
  font-size: 0.9rem;
}

.prize-details {
  flex: 1;
}

.prize-name {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #ff8c94;
  font-size: 1.1rem;
}

.prize-description {
  color: #aa6b6b;
  font-size: 0.9rem;
}

/* Loading State */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  color: #aa6b6b;
  background: rgba(40, 10, 10, 0.7);
  border-radius: 8px;
  min-height: 200px;
}

/* Spinner animation for the loading image */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading img {
  max-width: 80px;
  margin-bottom: 1.5rem;
  animation: spin 1.2s linear infinite;
}

/* Add a subtle pulse effect to the loading text */
@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.loading-text {
  animation: pulse 1.5s ease infinite;
  font-size: 1.1rem;
}

/* Error State */
.error {
  padding: 3rem 2rem;
  text-align: center;
  color: #ff4444;
  background: rgba(80, 20, 20, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 68, 68, 0.3);
}

/* Animation for loading new entries */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.user {
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

.user:nth-child(1) { animation-delay: 0.1s; }
.user:nth-child(2) { animation-delay: 0.2s; }
.user:nth-child(3) { animation-delay: 0.3s; }
.user:nth-child(4) { animation-delay: 0.4s; }
.user:nth-child(5) { animation-delay: 0.5s; }
.user:nth-child(6) { animation-delay: 0.6s; }
.user:nth-child(7) { animation-delay: 0.7s; }
.user:nth-child(8) { animation-delay: 0.8s; }
.user:nth-child(9) { animation-delay: 0.9s; }
.user:nth-child(10) { animation-delay: 1s; }
.user:nth-child(11) { animation-delay: 1.1s; }
.user:nth-child(12) { animation-delay: 1.2s; }
.user:nth-child(13) { animation-delay: 1.3s; }
.user:nth-child(14) { animation-delay: 1.4s; }
.user:nth-child(15) { animation-delay: 1.5s; }
.user:nth-child(16) { animation-delay: 1.6s; }
.user:nth-child(17) { animation-delay: 1.7s; }
.user:nth-child(18) { animation-delay: 1.8s; }
.user:nth-child(19) { animation-delay: 1.9s; }

/* Footer Styles */
footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(234, 56, 76, 0.2);
  color: #aa6b6b;
  font-size: 0.9rem;
}

.highlight {
  color: #ff8c94;
  font-weight: 500;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
}

.social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-icon {
  height: 24px;
  width: auto;
  transition: filter 0.3s ease;
}

.kick-icon {
  height: 24px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(2000%) hue-rotate(340deg) brightness(90%) contrast(90%);
}

.discord-icon {
  height: 28px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(2000%) hue-rotate(340deg) brightness(90%) contrast(90%);
}

.social-link:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(2000%) hue-rotate(340deg) brightness(100%) contrast(100%);
}

/* Responsive Styles */
@media (max-width: 900px) {
  .podium-container {
    perspective: none;
  }
  
  .podium {
    transform-style: flat;
  }
  
  .first, .second, .third {
    transform: none !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
  }
  
  .podium-place:hover {
    transform: translateY(-5px) !important;
  }
  
  .countdown {
    flex-wrap: wrap;
  }
  
  .countdown-item {
    min-width: 70px;
  }
  
  .prizes-list {
    grid-template-columns: 1fr;
  }
}

/* Specific styles for stacking podiums on mobile */
@media (max-width: 768px) {
  .podium {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .podium-place {
    width: 90%;
    max-width: 300px;
    height: auto !important;
    min-height: 200px;
  }
  
  .first {
    order: 1;
    height: auto !important;
    min-height: 220px;
  }
  
  .second {
    order: 2;
  }
  
  .third {
    order: 3;
  }

  .podium-content {
    position: relative;
    top: auto;
    padding: 1.5rem 1rem;
    transform: none;
    text-shadow: none;
  }

  .podium-rank {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: -1.5rem auto 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .podium-name {
    font-size: 1rem;
  }

  .podium-value {
    font-size: 1.1rem;
  }

  .wagered-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .logo-jbsales {
    font-size: 2.8rem;
  }
  
  .countdown {
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .countdown-item {
    min-width: 50px;
    padding: 0.4rem 0.6rem;
  }
  
  .countdown-value {
    font-size: 1.2rem;
  }
  
  .countdown-label {
    font-size: 0.5rem;
    letter-spacing: 0.5px;
  }
  
  .subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
  }
  
  .update-text {
    font-size: 0.7rem;
    margin-top: 0.5rem;
  }
  
  .user {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    position: relative;
    align-items: center;
  }
  
  .user-name {
    flex: 1;
    margin: 0.3rem 0;
    order: 2;
  }
  
  .rank {
    order: 1;
    margin-right: 0.5rem;
  }
  
  .wagered {
    width: 100%;
    text-align: left;
    order: 3;
    margin: 0.3rem 0;
    padding-left: 2rem;
  }
  
  .prize {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    order: 4;
    text-align: right;
  }
  
  .social-links {
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  .kick-icon {
    height: 20px;
  }
  
  .discord-icon {
    height: 24px;
  }
}

/* Podium Styles */
.promo-code-section {
  margin-bottom: 2rem;
  text-align: center;
}

.promo-code-container {
  display: inline-flex;
  align-items: center;
  background: rgba(234, 56, 76, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(234, 56, 76, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.promo-code-label {
  color: #aa6b6b;
  font-size: 1rem;
  margin-right: 1rem;
  font-weight: 500;
}

.promo-code {
  color: #ea384c;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-right: 1.5rem;
  font-family: 'Bebas Neue', sans-serif;
}

.copy-button {
  background: rgba(234, 56, 76, 0.8);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.copy-button:hover {
  background: rgba(234, 56, 76, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 56, 76, 0.3);
}

.copy-icon {
  width: 16px;
  height: 16px;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .promo-code-container {
    padding: 0.6rem 1.2rem;
  }
  
  .promo-code-label {
    font-size: 0.9rem;
    margin-right: 0.8rem;
  }
  
  .promo-code {
    font-size: 1.2rem;
    margin-right: 1.2rem;
  }
  
  .copy-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .copy-icon {
    width: 14px;
    height: 14px;
  }
}

/* Bonuses Page Styles */
.bonuses-content {
  position: relative;
  z-index: 10;
  background: rgba(40, 10, 10, 0.7);
  border-radius: 12px;
  overflow: hidden;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
  max-width: 800px;
  margin: 4rem auto;
}

.bonuses-title {
  color: #ea384c;
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(228, 52, 52, 0.3);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-family: 'Bebas Neue', sans-serif;
}

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.bonus-card {
  background: rgba(50, 15, 15, 0.7);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(234, 56, 76, 0.2);
}

.bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(234, 56, 76, 0.2);
  background: rgba(70, 20, 20, 0.7);
}

.bonus-site {
  color: #ea384c;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.bonus-description {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.bonus-link {
    display: inline-block;
  background: rgba(234, 56, 76, 0.8);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(234, 56, 76, 0.2);
}

.bonus-link:hover {
  background: rgba(234, 56, 76, 1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(234, 56, 76, 0.3);
}

/* Home button styles */
.home-button {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(234, 56, 76, 0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.home-button:hover {
  background: rgba(234, 56, 76, 1);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.home-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 600px) {
  .bonuses-content {
    padding: 2rem;
    margin: 2rem 1rem;
  }
  
  .bonuses-title {
    font-size: 2.5rem;
  }
  
  .bonus-site {
    font-size: 1.5rem;
  }
  
  .bonus-description {
    font-size: 1rem;
  }
}

/* Segmented Leaderboard Toggle Styles */
.leaderboard-toggle {
  display: flex;
  width: 400px;
  max-width: 100%;
  margin: 0 auto 18px auto;
  border-radius: 50px;
  background: rgba(234, 56, 76, 0.1);
  border: 1.5px solid rgba(234, 56, 76, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.2rem 0.4rem;
  align-items: center;
  gap: 0.5rem;
}
.toggle-segment {
  flex: 1 1 0;
  background: transparent;
  color: #ea384c;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 37px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toggle-segment.active {
  background: rgba(234, 56, 76, 0.8);
  color: #fff;
  box-shadow: 0 2px 8px rgba(234, 56, 76, 0.15);
}
.toggle-segment:not(.active):hover {
  background: rgba(234, 56, 76, 0.18);
  color: #ea384c;
}
.toggle-segment:not(:last-child) {
  border-right: none;
}
.toggle-segment:focus {
  z-index: 1;
  position: relative;
  box-shadow: 0 0 0 2px #ea384c33;
}
@media (max-width: 600px) {
  .leaderboard-toggle {
    width: 100%;
    font-size: 1rem;
    padding: 0.1rem 0.2rem;
  }
  .toggle-segment {
    font-size: 1rem;
    padding: 0.5rem 0.7rem;
  }
}
/* Remove old toggle-leaderboard-btn styles */
.toggle-leaderboard-btn { display: none !important; }
