.body-upgrader {
  background-color: #05060b;
  color: #EAEAEA;
  margin: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(46, 170, 240, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0a0c14 0%, #040509 100%);
  font-family: 'Montserrat', sans-serif;
}

.container-upgrader {
  min-height: 100vh;
  flex: 1;
}

.lb-info-upgrader {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.h1-inner-upgrader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.coin-icon-upgrader {
    width: 1em;
    margin: 0 6px;
}

.code-section-upgrader {
    display: flex;
    align-items: center;
    gap: 15px; 
    margin-top: 20px; 
    padding: 9px 18px;
    height: 50px;
    background-color: #17171d;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(87, 69, 248, 0.1);
    position: relative;
}


.code-display-upgrader {
    font-size: 1.1em;
    font-weight: bold;
    color: #E0E0E0;
}

.code-display-upgrader span {
    color: #2EAAF0; 
    font-family: 'Roboto Mono', monospace;
}

.signup-button-upgrader {
    background: linear-gradient(135deg, #1e7fc7 0%, #007ab8 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signup-button-upgrader::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.signup-button-upgrader:hover::before {
  left: 100%;
}

.fa-user-plus {
  font-size: 1em;
  transition: transform 0.3s ease;
}

.signup-button-upgrader:hover {
  background: linear-gradient(135deg, #1b6fad 0%, #0069a1 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.35);
}

.signup-button-upgrader:hover .fa-user-plus {
  transform: scale(1.1);
}

.button-text-upgrader,
.button-text-prev-upgrader {
  font-size: 0.9em;
}

.leaderboard-upgrader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.lb-podium-upgrader {
  display: flex;
  gap: 30px;
  margin: 50px 0;
}

.lb-podium-first {
  min-width: 150px;
}

.lb-podium-first-upgrader,
.lb-podium-second-upgrader,
.lb-podium-third-upgrader {
  border-radius: 10px;
  background-color: #181820;
  color: white;
  max-width: 250px;
  width: 100%;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  padding: 0 50px;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;

  opacity: 0;
  transform: translateY(20px);
  animation-fill-mode: forwards;
}


.lb-podium-first-upgrader {
  margin: -50px 0px 0px;
  box-shadow: rgba(46, 170, 240, 0.4) 0px 5px, rgba(46, 170, 240, 0.3) 0px 10px,
    rgba(46, 170, 240, 0.2) 0px 15px, rgba(46, 170, 240, 0.1) 0px 20px,
    rgba(46, 170, 240, 0.05) 0px 25px;

  animation: slideInFadeIn-upgrader 0.8s ease-out 0.6s forwards;
}

.lb-podium-second-upgrader {
  box-shadow: rgba(46, 170, 240, 0.4) -5px 5px,
    rgba(46, 170, 240, 0.3) -10px 10px, rgba(46, 170, 240, 0.2) -15px 15px,
    rgba(46, 170, 240, 0.1) -20px 20px, rgba(46, 170, 240, 0.05) -25px 25px;

  animation: slideInFadeIn-upgrader 0.8s ease-out 0.4s forwards; 
}

.lb-podium-third-upgrader {
  box-shadow: rgba(46, 170, 240, 0.4) 5px 5px, rgba(46, 170, 240, 0.3) 10px 10px,
    rgba(46, 170, 240, 0.2) 15px 15px, rgba(46, 170, 240, 0.1) 20px 20px,
    rgba(46, 170, 240, 0.05) 25px 25px;

  animation: slideInFadeIn-upgrader 0.8s ease-out 0.2s forwards; 
}

@keyframes slideInFadeIn-upgrader {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lb-podium-first-upgrader img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}
.lb-podium-second-upgrader img,
.lb-podium-third-upgrader img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.wagered-prize-container-upgrader {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.wagered-container-upgrader,
.prize-container-upgrader {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #9c9aa5;
}

.wagered-content-upgrader,
.prize-content-upgrader {
  display: flex;
  align-items: center;
  color: white;
}

.wagered-content-upgrader img,
.prize-content-upgrader img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.countdown-upgrader {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px; 
    padding: 0; 
    width: 100%; 
    max-width: unset; 
}

.countdown-display-wrapper-upgrader {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%; 
    justify-content: center;
}

.countdown-line-upgrader {
    height: 2px;
    flex-grow: 1; 
    max-width: 300px;
    min-width: 50px; 
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #2EAAF0, #2EAAF0, rgba(255, 255, 255, 0)); /* Adjust gradient colors */
}

.countdown-line-upgrader.left-upgrader {
    background: linear-gradient(to right, transparent, #2EAAF0);
}

.countdown-line-upgrader.right-upgrader {
    background: linear-gradient(to left, transparent, #2EAAF0);
}

.countdown-time-units-upgrader {
    display: flex;
    gap: 30px; 
    align-items: flex-end; 
}

.time-unit-upgrader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-unit-upgrader .number-upgrader {
    font-size: 2.5em;
    font-weight: bold;
    color: #2EAAF0;
    margin-bottom: 5px;
    line-height: 1;
    font-family: 'Roboto Mono', monospace;
}


.time-units-upgrader .label-upgrader {
    font-size: 0.8em; 
    color: #87858E; 
    font-weight: normal; 
    letter-spacing: 0.5px;
}


.lb-rest-upgrader {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.lb-header-upgrader {
  display: grid;
  grid-template-columns: 4fr 1fr 1fr;
  grid-template-areas: "user prize wagered";
  padding-bottom: 10px;
  width: 800px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  color: #ABAAB0;
}

.lb-header-user-upgrader {
  margin-left: 30px;
  text-align: left;
  grid-area: user;
}


.lb-header-prize-upgrader {
  grid-area: prize;
}


.lb-header-wagered-upgrader {
  grid-area: wagered;
}

.lb-row-upgrader {
  display: grid;
  grid-template-columns: 4fr 1fr 1fr;
  grid-template-areas: "user prize wagered";
  align-items: center;
  border-radius: 25px;
  background-color: #17171d;
  width: 800px;
  height: 40px;
  padding: 10px;
  margin-bottom: 15px;
  font-weight: 600;
}

.lb-row-upgrader:hover {
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: rgba(46, 170, 240, 0.4) 0px 5px, rgba(46, 170, 240, 0.3) 0px 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;  
}

.lb-user-info-upgrader {
  grid-area: user;
  display: flex;
  align-items: center;
  text-align: center;
}

.lb-place-upgrader {
  margin: 0 20px;
  width: 30px; 
  text-align: center;
  flex-shrink: 0;
}

.lb-user-image-upgrader {
    margin-right: 15px;
  flex-shrink: 0;
}

.lb-user-image-upgrader img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.lb-username-upgrader {
  margin-right: 50px;
}

.lb-wagered-upgrader{
  grid-area: wagered;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-prize-upgrader {
  grid-area: prize;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-wagered-upgrader img,
.lb-prize-upgrader img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}



.lb-data-upgrader {
    background: rgba(23, 23, 29, 0.6);
    border-radius: 8px;
    padding: 15px 25px;
    margin: 20px auto;
    max-width: 700px;
    font-size: 0.85em;
    color: #87858E;
    text-align: center;
    border: 1px solid rgba(46, 170, 240, 0.2);
}

.lb-data-upgrader span {
    color: #2EAAF0;
    font-weight: 600;
    font-family: 'Roboto Mono', monospace;
}

.final-message-text-upgrader {
  text-align: center;
  font-size: 1rem;
  color: #2EAAF0 !important;
  font-weight: bold !important;
  margin-bottom: 25px;
}


.lb-podium-second-upgrader:hover,
.lb-podium-first-upgrader:hover,
.lb-podium-third-upgrader:hover {
  transform: translateY(-8px);
  box-shadow: rgba(46, 170, 240, 0.4) 0px -15px 25px -8px,
              rgba(46, 170, 240, 0.6) 0px 10px 20px,
              rgba(46, 170, 240, 0.4) 0px 5px 10px;
  cursor: pointer;
}