@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap');

html {
  margin: 0;
  padding: 0;
}

body {
  font: 14px "Montserrat", sans-serif;
  background-color: #07070A;
  color: white;
  margin: 0;
  /* numero 1
  background: 
    radial-gradient(circle at 30% 20%, rgba(46, 170, 240, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(0, 123, 255, 0.025) 0%, transparent 60%),
    linear-gradient(180deg, #0a0f1a 0%, #05080f 100%);*/
  /* numero 2 */
  /*background: 
    radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.03) 0%, transparent 80%),
    linear-gradient(180deg, #0a0e1a 0%, #010409 100%);*/

  /* numero 3 */
  /*
  background: 
    radial-gradient(circle at 60% 40%, rgba(0, 200, 255, 0.025) 0%, transparent 70%),
    linear-gradient(180deg, #06121d 0%, #020509 100%);*/


}


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

.lb-header-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.code-box {
  display: flex;
  align-items: center;
  background-color: #17171d;
  padding: 10px 20px;
  border-radius: 8px;
  gap: 10px;
  font-weight: bold;
  color: white;
  font-size: 1.1em;
}

.code-box .code-label {
  color: #87858E;
}

.copy-btn {
  background-color: #00B7FF;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  transition: background-color 0.2s;
}

.copy-btn:hover {
  background-color: #009edd;
}

.h1-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}


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

.coin-icon {
  width: 1em; 
  height: auto; 
  margin-left: 5px;
  margin-right: 5px;
  vertical-align: middle; 
}
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

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

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

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

.signup-button {
  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::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:hover::before {
  left: 100%;
}

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

.signup-button: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:hover .fa-user-plus {
  transform: scale(1.1);
}

.signup-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.2);
}

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

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

.countdown-line {
    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.left {
    background: linear-gradient(to right, transparent, #2EAAF0);
}

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

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

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

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


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

.lb-date-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

.lb-date-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #07070A;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.date-label {
  font-size: 0.9em;
  color: #87858E;
  margin-bottom: 5px;
}

.lb-date-item span:not(.date-label) {
  font-size: 1.1em;
  font-weight: bold;
  color: white;
}


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

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

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

}


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

}

.lb-podium-second:hover,
.lb-podium-first:hover,
.lb-podium-third: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;
}

.lb-podium-first {
  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;
}

.lb-podium-second {
  /*border: 1px solid #ccc;*/
  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;
}

.lb-podium-third {
  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;
}

.lb-podium-first img {
  width: 90px;
  height: 90px;
  border-radius: 100%;
}
.lb-podium-second img {
  width: 80px;
  height: 80px;
  border-radius: 100%;
}

.lb-podium-third img {
  width: 80px;
  height: 80px;
  border-radius: 100%;
}

.wagered-prize-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 0.25rem;
}

.wagered-container, .prize-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #87858E;
}

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

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

.lb-header {
  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 {
  margin-left: 30px;
  text-align: left;
  grid-area: user;

}

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


.lb-header-wagered{
  grid-area: wagered;
}
.lb-rest {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.lb-row {
  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:hover {
  background-color: #20202a;
  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{
  grid-area: user;
  display: flex;
  align-items: center;
  text-align: center;
}

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

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

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

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

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

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

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

a {
  color: #00B7FF;
}


hr {
  border: 0;
  border-top: 1px solid #87858E;
  margin: 20px 0;
}


.previus-lb-button{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* From Uiverse.io by PriyanshuGupta28 */ 
.pushable {
  position: relative;
  background: transparent;
  padding: 0px;
  border: none;
  cursor: pointer;
  outline-offset: 4px;
  outline-color: #17171d;
  transition: filter 250ms;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  text-decoration: none; 
}

.shadow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: hsl(226, 25%, 20%);
  border-radius: 8px;
  filter: blur(2px);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.edge {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(
    to right,
    #17171d 0%,
    hsl(248, 39%, 39%) 8%,
    hsl(248, 39%, 29%) 92%,
    #17171d 100%
  );
}

.front {
  display: block;
  position: relative;
  border-radius: 8px;
  background: #17171d;
  padding: 16px 32px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.pushable:hover {
  filter: brightness(110%);
}

.pushable:hover .front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.pushable:hover .shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}

.previous-lb-title{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.previus-lb-container{
  max-width: 800px;
  padding: 0 15px;
  margin: 0 auto;
}


.lb-cards{
  display: flex;
  width: 100%;
  padding: 25px 0px;
  list-style: none;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

.lb-card{
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  padding: 20px;
  background: #17171d;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 15%);
  scroll-snap-type: none;
  transition: all 0.2s;
  text-decoration: none;
}

.lb-card:first-child{
  margin-left: 20px;
}

.lb-card:last-child{
  margin-right: 20px;
}

.lb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(46, 170, 240, 0.4);
}

.lb-card-dates-titles {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
  color: #87858E;
  font-weight: bold;
  font-size: 18px;
}

.lb-card-dates{
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
  font-size: 12px;
}

.lb-card-winner-container{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
} 

.lb-card-winner{
  border-radius: 10px;
  background-color: #353742;
  color: white;
  width: 80%;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.lb-card-winner img{
  border-radius: 100%;
}

.lb-card-winner-titles {
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 100%;
  margin: 10px;
  color: #87858E;
  font-weight: bold;
  font-size: 12px;
}

.lb-card-winner-title {
  margin: 0 5px;
}

.lb-card-winner-values {
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 100%;
  color: white;
  font-size: 10px;
}

.lb-card-winner-value {
  display: flex;
  align-items: center;
  margin: 0 5px;
}

.lb-card-winner-value img {
  width: 10px;
  margin-right: 5px
}


.lb-card:not(:last-child){
  margin-right: 10px;
}

.lb-cards::-webkit-scrollbar {
  height: 12px;
}

.lb-cards::-webkit-scrollbar-thumb,
.lb-cards::-webkit-scrollbar-track {
  border-radius: 92px;
}

.lb-cards::-webkit-scrollbar-thumb {
  background: #00B7FF;
}

.lb-cards::-webkit-scrollbar-track {
  background: #edf2f4;
}

@media (max-width: 768px) {
  .leaderboard {
    flex-direction: column;
  }

  .lb-header, .lb-row {
    width: 100%;
  }

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

  .lb-podium-first, .lb-podium-second, .lb-podium-third {
    max-width: none;
    width: 80%;
    margin: 10px 0;
  }

  .lb-podium-first {
    margin-top: 0;
  }
}


@media (min-width: 500px) {
  .lb-card {
    flex-basis: calc(50% - 10px);
  }

  .lb-card:not(:last-child) {
    margin-right: 20px;
  }
}

@media (min-width: 700px) {
  .lb-card {
    flex-basis: calc(calc(100% / 3) - 20px);
  }

  .lb-card:not(:last-child) {
    margin-right: 30px;
  }
}

@media (min-width: 1100px) {
  .lb-card {
    flex-basis: calc(25%);
  }

  .lb-card:not(:last-child) {
    margin-right: 40px;
  }
}

.lb-podium-second,
.lb-podium-first,
.lb-podium-third {
  border-radius: 10px;
  background-color: #17171d;
  color: white;
  max-width: 250px;
  width: 100%;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  padding: 0px 50px;

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

.lb-podium-first {
  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 0.8s ease-out 0.6s forwards;
}

.lb-podium-second {
  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 0.8s ease-out 0.4s forwards; 
}

.lb-podium-third {
  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 0.8s ease-out 0.2s forwards; 
}

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


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


.lb-data {
    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 span {
    color: #2EAAF0;
    font-weight: 600;
    font-family: 'Roboto Mono', monospace;
}