/* @import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap");

.CLAIM {
  font-family: "Alfa Slab One", serif;
} */

@font-face {
  font-family: "loos";
  src: url("../fonts/fonnts.com-Loos_Normal_Black.otf");
}

body {
  background: #151526;
}

.poppins-medium {
  font-family: "Poppins", serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: normal;
}

.nav-a {
  font-family: "Inter", sans-serif;
  color: #8787b6;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.5s;
}

.nav-a:hover {
  color: white;
}

.lottie {
  display: block;
}

@media (max-width: 1024px) {
  .lottie {
    display: none;
  }
}

ion-icon {
  color: rgb(40, 176, 255);
}

@keyframes myAnim {
  0%,
  100% {
    transform: translateY(0) rotate(0);
    transform-origin: 50% 50%;
  }

  15% {
    transform: translateY(-15px) rotate(6deg);
  }

  30% {
    transform: translateY(7.5px) rotate(-6deg);
  }

  45% {
    transform: translateY(-7.5px) rotate(3.6deg);
  }

  60% {
    transform: translateY(3.5px) rotate(-2.4deg);
  }

  75% {
    transform: translateY(-3px) rotate(1.2deg);
  }
}

@keyframes arrowAni {
  0% {
    animation-timing-function: ease-in;
    opacity: 1;
    transform: translateY(15px);
  }

  24% {
    opacity: 1;
  }

  40% {
    animation-timing-function: ease-in;
    transform: translateY(12px);
  }

  65% {
    animation-timing-function: ease-in;
    transform: translateY(6px);
  }

  82% {
    animation-timing-function: ease-in;
    transform: translateY(3px);
  }

  93% {
    animation-timing-function: ease-in;
    transform: translateY(2px);
  }

  25%,
  55%,
  75%,
  87% {
    animation-timing-function: ease-out;
    transform: translateY(0px);
  }

  100% {
    animation-timing-function: ease-out;
    opacity: 1;
    transform: translateY(0px);
  }
}

.lineUp {
  animation: 2s anim-lineUp ease-out;
}
@keyframes anim-lineUp {
  0% {
    opacity: 0;
    transform: translateY(80%);
  }
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: translateY(0%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

.jello-horizontal {
  -webkit-animation: jello-horizontal 3s ease-in-out 1s infinite both;
  animation: jello-horizontal 3s ease-in-out 1s infinite both;
}

@-webkit-keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(0.625, 0.375, 0.5);
    transform: scale3d(0.625, 0.375, 0.5);
  }
  40% {
    -webkit-transform: scale3d(0.375, 0.625, 0.5);
    transform: scale3d(0.375, 0.625, 0.5);
  }
  50% {
    -webkit-transform: scale3d(0.575, 0.425, 0.5);
    transform: scale3d(0.575, 0.425, 0.5);
  }
  65% {
    -webkit-transform: scale3d(0.475, 0.525, 0.5);
    transform: scale3d(0.475, 0.525, 0.5);
  }
  75% {
    -webkit-transform: scale3d(0.525, 0.475, 0.5);
    transform: scale3d(0.525, 0.475, 0.5);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes jello-horizontal {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(0.625, 0.375, 0.5);
    transform: scale3d(0.625, 0.375, 0.5);
  }
  40% {
    -webkit-transform: scale3d(0.375, 0.625, 0.5);
    transform: scale3d(0.375, 0.625, 0.5);
  }
  50% {
    -webkit-transform: scale3d(0.575, 0.425, 0.5);
    transform: scale3d(0.575, 0.425, 0.5);
  }
  65% {
    -webkit-transform: scale3d(0.475, 0.525, 0.5);
    transform: scale3d(0.475, 0.525, 0.5);
  }
  75% {
    -webkit-transform: scale3d(0.525, 0.475, 0.5);
    transform: scale3d(0.525, 0.475, 0.5);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes heart {
  0% {
    animation-timing-function: ease-out;
    transform: scale(1);
    transform-origin: center center;
  }

  10% {
    animation-timing-function: ease-in;
    transform: scale(0.91);
  }

  17% {
    animation-timing-function: ease-out;
    transform: scale(0.98);
  }

  33% {
    animation-timing-function: ease-in;
    transform: scale(0.87);
  }

  45% {
    animation-timing-function: ease-out;
    transform: scale(1);
  }
}

@keyframes leaf {
  0%,
  100% {
    transform: rotate(0deg);
    transform-origin: 50% 50%;
  }

  10% {
    transform: rotate(8deg);
  }

  20%,
  40%,
  60% {
    transform: rotate(-10deg);
  }

  30%,
  50%,
  70% {
    transform: rotate(10deg);
  }

  80% {
    transform: rotate(-8deg);
  }

  90% {
    transform: rotate(8deg);
  }
}

@keyframes spade {
  0% {
    transform: rotate(0);
    transform-origin: top;
  }

  100% {
    transform: rotate(360deg);
    transform-origin: top;
  }
}

.spade {
  -webkit-animation: spade 4s linear infinite both;
  animation: spade 4s linear infinite both;
}

@-webkit-keyframes spade {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
    transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(2) rotateZ(180deg);
    transform: scale(2) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
    transform: scale(1) rotateZ(360deg);
  }
}
@keyframes spade {
  0% {
    -webkit-transform: scale(1) rotateZ(0);
    transform: scale(1) rotateZ(0);
  }
  50% {
    -webkit-transform: scale(2) rotateZ(180deg);
    transform: scale(2) rotateZ(180deg);
  }
  100% {
    -webkit-transform: scale(1) rotateZ(360deg);
    transform: scale(1) rotateZ(360deg);
  }
}

.card {
  width: 190px;
  height: 254px;
  background: #3405a3;
  border-radius: 15px;
  box-shadow: 1px 5px 60px 0px #100a886b;
}

.card .card-border-top {
  width: 60%;
  height: 3%;
  background: #6b64f3;
  margin: auto;
  border-radius: 0px 0px 15px 15px;
}

.card span {
  font-weight: 600;
  color: white;
  text-align: center;
  display: block;
  padding-top: 10px;
  font-size: 16px;
}

.card .job {
  font-weight: 400;
  color: white;
  display: block;
  text-align: center;
  padding-top: 3px;
  font-size: 12px;
}

.card .img {
  width: 70px;
  height: 80px;
  background: #6b64f3;
  border-radius: 15px;
  margin: auto;
  margin-top: 25px;
}

.card button {
  padding: 8px 25px;
  display: block;
  margin: auto;
  border-radius: 8px;
  border: none;
  margin-top: 30px;
  background: #6b64f3;
  color: white;
  font-weight: 600;
}

.card button:hover {
  background: #534bf3;
}

.custom-btn {
  position: relative;
  background: linear-gradient(180deg, rgb(22 145 220) 0, rgb(70 197 227) 100%);
  border-radius: 10px;
  color: var(--white);
  text-shadow: 1px 1px 4px #96720c99;
  -webkit-text-stroke: 0.5px var(--buttered-rum);
  border: none;
  padding: 0; /* Adjusted padding */
  font-family: Inter, sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-decoration: none;
}

.custom-btn::before {
  content: "";
  width: 60%;
  height: 100%;
  position: absolute;
  left: -30%;
  top: 0;
  background: rgb(72 199 250 / 80%);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  transform: rotate(55deg);
  transition: all 0.3s ease;
}

.custom-btn:hover::before {
  left: 50%;
  width: 100%;
}

.custom-btn .btn-text-small {
  position: relative;
  padding: 10px;
  text-align: center;
  word-wrap: break-word;
  font-size: 1rem;
  text-decoration: none;
  color: white;
}

.leaderboard-text {
  background: #CD6D43;
  background: linear-gradient(to right, #CD6D43 0%, #FFDE59 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: loos;
  filter: drop-shadow(0px 4px #62462B)
}

.x-first{
  background: -webkit-linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-family: loos;
  text-shadow: 0px 0.5px 2px #AA8CE3;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
}

.hype-first{
  background: -webkit-linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-family: loos;
  text-shadow: 0px 0.5px 2px #A1A1A1;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
}

.pd-first{
  background: -webkit-linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-family: loos;
  text-shadow: 0px 0.5px 2px #5893D6;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
}

.rm-first{
  background: -webkit-linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-family: loos;
  text-shadow: 0px 0.5px 2px #ce58d6;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
}

.rain-first{
  background: -webkit-linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-family: loos;
  text-shadow: 0px 0.5px 2px #1779AD;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
}

.roo-first{
  background: -webkit-linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-family: loos;
  text-shadow: 0px 0.5px 2px #5eea0b;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
}

.chk-first{
  background: -webkit-linear-gradient(#fff, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-family: loos;
  text-shadow: 0px 0.5px 2px #307FB7;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
}

.time-container {
  text-align: center;
  position: relative;
  padding-top: 20px;
  width: 250px;
}

.top-line {
  width: 100%;
  height: 20px;
  background-color: #fff;
  opacity: 0.2;
  position: absolute;
  top: 15px;
  left: 0;
  border-radius: 10px;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px; /* Reduced gap */
  background-color: #202038;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 24px;
  font-weight: bold;
  position: relative;
}

.clock-icon {
  display: flex;
  align-items: center;
  margin-right: 3px; /* Reduced margin */
}

.time-part {
  font-weight: bold;
  color: #fff;
  font-size: 16px;
  padding: 0 5px;
}

.cta-text {
  color: #A1A1A8;
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  margin-left:-70px;
  width: 400px;
}

.code {
  color: #4DE6FF;
  font-weight: bold;
}

.link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .timer {
      flex-direction: row;
      font-size: 18px;
  }

  .cta-text {
      font-size: 16px;
  }
}

.custom-table-container {
  width: 45%;
  font-size: 16px;
}

.custom-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #202038;
  border-top: 4px solid #36364C; /* Top line for each row */
  border-radius: 5px;
}

.custom-table-row.custom-header {
  background-color: transparent;
  border-top: none; /* No top border for the header */
}

.custom-gap {
  height: 10px; /* Adds space between rows */
}

.custom-cell {
  flex: 1;
}

.custom-cell.custom-number {
  font-size: 16px;
  text-align: left;
  flex: 0.5;
}

.custom-cell.custom-user {
  font-size: 16px;
  text-align: left;
  flex: 2;
}

.custom-cell.custom-wagered, .custom-cell.custom-prize {
  font-size: 16px;
  text-align: right;
  flex: 1.5;
}

.custom-cell.custom-prize {
  font-size: 16px;

}

@media (max-width: 600px) {
  .custom-table-container {
      min-width: 390px;
      font-size: 12px;
  }
}

@media (max-width: 768px) {
    .anchor img {
          width: 50px; /* Adjust width as needed */
    }
    .arrow{
        width: 20px;
        height: 20px;
    }
}

#rules-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
}

#rules-modal.active {
  opacity: 1;
  visibility: visible;
}

#rules-modal .modal-content {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(40, 40, 70, 0.9) 100%);
  border-radius: 15px;
  padding: 2.5rem;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s ease, opacity 0.4s ease;
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#rules-modal.active .modal-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#rules-modal h2 {
  color: #EEAF0E;
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

#rules-modal p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

#rules-modal ul {
  padding-left: 0;
  margin-bottom: 2rem;
  list-style-type: none;
}

#rules-modal li {
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.4;
}

#rules-modal li::before {
  content: '➤';
  color: #EEAF0E;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
}

#rules-modal .highlight {
  color: #EEAF0E;
  font-weight: 600;
}

#rules-modal .warning {
  font-style: italic;
  color: #ff6b6b;
  font-weight: 400;
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid #ff6b6b;
  border-radius: 8px;
  background-color: rgba(255, 107, 107, 0.1);
  font-size: 1rem;
}

#rules-modal #close-rules-modal {
  background-color: #EEAF0E;
  color: #1a1a2e;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin: 2rem auto 0;
  width: 100%;
  max-width: 250px;
}

#rules-modal #close-rules-modal:hover,
#rules-modal #close-rules-modal:focus {
  background-color: #FFD700;
  outline: none;
  transform: translateY(-2px);
}

/* Hide scrollbar for Chrome, Safari and Opera */
#rules-modal .modal-content::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#rules-modal .modal-content {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

@media (max-width: 768px) {
  #rules-modal .modal-content {
    padding: 2rem;
  }

  #rules-modal h2 {
    font-size: 2rem;
  }

  #rules-modal p,
  #rules-modal li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #rules-modal .modal-content {
    padding: 1.5rem;
  }

  #rules-modal h2 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
  }

  #rules-modal p,
  #rules-modal li {
    font-size: 0.9rem;
  }

  #rules-modal .warning {
    font-size: 0.85rem;
    padding: 0.8rem;
  }

  #rules-modal #close-rules-modal {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
}
