* {
  box-sizing: border-box; /* Muy útil para manejar el box model */
}

body {
  margin: 0px !important;
  padding: 0px !important;
  background: #161620;
  font-family: "Poppins" !important;
  color: white;
}

#header {
  box-sizing: border-box;
  position: fixed !important;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 9999 !important;
  padding: 8px 16px;
  background: #121212;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.4);
}

.izq {
  display: inline-block;
  margin-top: 15px !important;
}

#logo {
  width: 44px;
  background-color: white;
  display: inline-flex;
  border-radius: 100%;
  padding: 3px;
}

#header h1 {
  margin: 0px !important;
  display: inline-flex;
  color: white;
  position: relative;
  top: -14px;
  font-size: 24px;
  margin-left: 12px !important;
}

.der {
  float: right;
}

.centerMobile {
  margin: 0px auto !important;
  width: 100%;
  text-align: center;
}

.enlace {
  color: white;
  text-decoration: none;
  margin: 0px !important;
  margin-right: 24px !important;
  font-size: 1rem;
  position: relative;
  top: 14px;
}

.enlace:hover {
  font-weight: bold;
}

.centerMobile .enlace {
  top: 0px !important;
  height: 38px !important;
  display: inline-block !important;
  line-height: 38px !important;
  margin: 0px !important;
  padding: 2px 12px !important;
}

.centerMobile #copyAddress {
  font-size: 0.6rem !important;
}

.centerMobile .address {
  font-size: 0.7rem !important;
  margin-top: 11px !important;
  margin-bottom: 14px !important;
  padding-top: 0px !important;
  padding-bottom: 4px !important;
}

#copyAddress {
  font-size: 0.8rem !important;
  transition-duration: 0.5 !important;
}

.address {
  font-size: 0.9rem !important;
  cursor: pointer;
  border: 2px solid white;
  border-radius: 100px;
  padding: 8px 16px;
  margin-right: 8px !important;
}
.address:hover {
  font-weight: normal !important;
}

.address:hover {
  background-color: white !important;
  color: black !important;
  transition-duration: 0.5 !important;
}

.tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
  padding: 5px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.address.active .tooltip {
  opacity: 1;
  visibility: visible;
}

#catClickGame,
#imgCatOff,
#imgCatOn {
  width: 100%;
  height: auto;
  cursor: pointer;
  -webkit-user-select: none !important; /* Safari */
  -moz-user-select: none !important; /* Firefox */
  -ms-user-select: none !important; /* IE10+/Edge */
  user-select: none !important; /* Standard syntax */
  touch-action: manipulation !important; /* Disable the callout, etc. */
  -webkit-tap-highlight-color: transparent !important; /* Para Webkit y Chrome */
  -webkit-touch-callout: none !important; /* iOS Safari */
  outline: none !important; /* Remueve el contorno que podría aparecer al hacer clic */
}

#catClickGame {
  position: relative;
}

#containerPrincipal #userCountry {
  position: absolute;
  top: 80px;
  left: 0px;
  width: 100%;
  text-align: center;
}

#containerPrincipalMobile #userCountry {
  position: absolute;
  top: 126px;
  left: 0px;
  width: 100%;
  text-align: center;
}

.bandera {
  position: relative;
  width: 16px;
  border-radius: 50px;
  margin-right: 4px;
  top: 1.5px;
}

#ranking {
  margin-top: 20px;
}

#tituloClicks {
  font-size: 2.2rem !important;
  font-weight: bold !important;
  text-shadow: -1px 0 black, 0 4px black, 1px 0 black, 0 -1px black;
  letter-spacing: 2px;
}

#containerPrincipal #clickCountry {
  font-size: 1rem !important;
  font-weight: normal !important;
  position: absolute;
  top: 76px;
  left: 19px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 20px;
  border-radius: 18px;
}

#containerPrincipalMobile #clickCountry {
  font-size: 1rem !important;
  font-weight: normal !important;
  position: absolute;
  bottom: 10px;
  left: 19px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 20px;
  border-radius: 18px;
}

#clickNumber {
  font-size: 2rem !important;
  font-weight: 500 !important;
  text-shadow: -1px 0px black, 0 4px black, 1px 0 black, 0 -1px black;
  letter-spacing: 2px;
}

#ranking {
  position: absolute;
  top: 74px;
  right: 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  color: black;
  padding: 4px 20px;
}

#containerPrincipalMobile #ranking {
  top: unset;
  right: unset;
  background: rgb(255, 255, 255);
  border-radius: 16px;
  color: black;
  padding: 4px 20px;
  width: 90%;
  margin: 0 auto !important;
  margin-top: 12px !important;
  margin-bottom: 24px !important;
  z-index: 999 !important;
  position: relative;
}

#rankingMobileCountry {
  position: absolute;
  bottom: 26px;
  right: 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  color: black;
  padding: 4px 20px;
}

#ranking ul {
  padding: 0px !important;
  list-style: none;
}

#ranking ul li {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  border-bottom: 1px solid gray;
}

#stats {
  text-align: center;
}

.statsDiv {
  width: 20%;
  display: inline-block;
  text-align: center !important;
}

#containerPrincipalMobile .statsDiv {
  width: 100%;
  display: inline-block;
  text-align: center !important;
  margin-bottom: 34px;
}

#containerPrincipalMobile #catClickGame {
  margin-top: 40px !important;
}

.statsDiv .number {
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 0px !important;
}
.statsDiv .desc {
  margin-top: 4px !important;
}

.buttonUrl {
  color: black;
  text-decoration: none;
  background: white;
  border-radius: 50px;
  padding: 10px 18px;
  top: 8px !important;
  position: relative;
}

.buttonUrl:hover {
  background: #efefef;
}

.buttonUrl2 {
  color: white;
  text-decoration: none;
  background: #333;
  border-radius: 50px;
  padding: 10px 18px;
  top: 8px !important;
  position: relative;
}

.buttonUrl2:hover {
  background: #efefef;
  color: #333;
}

#averageBurn {
  position: relative;
  width: 700px;
  max-width: 100%;
  margin: 0px auto !important;
}

#averageBurn img {
  width: 100%;
}

.titleMobileAverage {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 0px;
}

.logoFooter {
  width: 32px;
  border-radius: 2px;
}

.social-footer {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background-color: #222; /* Light grey background, change as needed */
}

.social-btn {
  margin: 0 24px;
  display: inline-block;
  margin-bottom: 18px;
}

.social-btn:hover {
  background: #444 !important; /* Slightly lighter grey on hover */
}

.social-footer p {
  color: white;
  margin: 0px !important;
}

#galeria {
  box-sizing: border-box;
  padding: 16px;
}

#galeria-imagenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#averagesMobile {
  display: none !important;
}

#averagesPC {
  display: block !important;
}

@media (max-width: 768px) {
  #galeria-imagenes {
    grid-template-columns: 1fr;
  }

  #averagesPC {
    display: none !important;
  }

  #averagesMobile {
    display: block !important;
  }

  /* Modal Content/Box */
  .modalAlert-content {
    font-size: 0.8rem !important;
    letter-spacing: 0px !important;
    line-height: 17px !important;
  }

  .modalAlert-content {
    max-height: 90% !important;
    overflow-y: scroll !important;
  }

  .modalAlert-content ::-webkit-scrollbar {
    -webkit-appearance: none;
  }

  .modalAlert-content ::-webkit-scrollbar:vertical {
    width: 12px;
  }

  .modalAlert-content ::-webkit-scrollbar:horizontal {
    height: 12px;
  }

  .modalAlert-content ::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 2px solid #ffffff;
  }

  .modalAlert-content ::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
  }
}

.foto-item {
  background-color: #121212;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex; /* Activa Flexbox para este contenedor */
  flex-direction: column; /* Orienta los hijos verticalmente */
  justify-content: center; /* Centra los hijos verticalmente */
  align-items: center; /* Centra los hijos horizontalmente si deseas que también estén centrados de lado a lado */
  height: 100%; /* Asegúrate de que el contenedor tenga una altura para que el centrado vertical tenga efecto */
  /*height: max-content;*/
}

.foto-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Estilo del modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed; /* Fijo en toda la pantalla */
  z-index: 1; /* Situado sobre otros elementos */
  padding-top: 40px; /* Ubicación del box del modal */
  left: 0;
  top: 0;
  width: 100%; /* Ancho completo */
  height: 100%; /* Alto completo */
  overflow: auto; /* Habilitar scroll si es necesario */
  background-color: rgb(0, 0, 0); /* Fondo negro */
  background-color: rgba(0, 0, 0, 0.9); /* Negro con opacidad */
  z-index: 999999 !important;
}

/* Estilo de la imagen dentro del modal */
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 640px;
}

.modalMobile img {
  margin-top: 120px;
}

.modal img {
  border-radius: 16px;
}

/* El botón de cerrar (x) */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#containerImg {
  position: relative;
}

.pop img {
  cursor: pointer;
}

.clickable {
  cursor: pointer !important;
}

.textoDesc {
  margin: 0px auto !important;
  max-width: 90%;
  width: 900px;
  text-align: center;
}

.textoDesc p {
  font-size: 1.1rem;
}

.textoDesc h1 {
  margin-top: 50px !important;
  margin-bottom: 8px !important;
}

#swapCwif {
  width: 500px;
  max-width: 90%;
  margin: 0px auto !important;
}

.dex {
  max-width: 90%;
  width: 250px;
  background: white;
  border-radius: 16px;
  box-shadow: 11px 11px 3px rgba(0, 0, 0, 0.8) !important;
  padding: 30px 0px;
  color: black;
  padding-bottom: 0px !important;
  display: inline-block;
  margin: 8px;
}

.dex img {
  width: 60%;
}

.dex p {
  color: black;
  font-weight: bold;
}

.dex a {
  margin: 0px auto !important;
  top: -20px !important;
  position: relative;
  display: block;
  width: 300px;
  max-width: 80%;
  background: black;
  color: white;
  margin-top: 34px !important;
}

.dex a:hover {
  background: #999 !important;
  color: black !important;
}

.member {
  max-width: 90%;
  width: 250px;
  background: none;
  border-radius: 16px;
  padding: 30px 0px;
  color: white;
  padding-bottom: 0px !important;
  display: inline-block;
  margin: 8px;
}

.member img {
  width: 80%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.8);
}

.member p {
  color: white;
  font-weight: bold;
}

.member a {
  margin: 0px auto !important;
  top: -20px !important;
  position: relative;
  display: block;
  width: 300px;
  max-width: 80%;
  background: black;
  color: white;
  margin-top: 34px !important;
}

.member a:hover {
  background: #999 !important;
  color: black !important;
}

.cexDiv a {
  margin: 8px !important;
  display: inline-block;
}

.faqs {
  width: 100%;
}
#accordion {
  width: 100%;
}
#accordion h3 {
  font-family: "Poppins" !important;
  background: #e8edf3 !important;
  border: 1px solid #ddd;
  border-radius: 46px;
  padding: 15px 32px;
  font-size: 20px !important;
  font-weight: 600;
  color: #252c2d;
  line-height: 1.476;
  margin-bottom: 16px;
}

#accordion div {
  border: none !important;
}

#accordion div p {
  margin-bottom: 1.25em;
  font-size: 1.25rem;
  color: white;
  line-height: 1.476;
  text-align: left !important;
}

#accordion span {
  position: absolute !important;
  right: 16px !important;
  height: 30px !important;
  display: block !important;
  margin: 0px !important;
  text-indent: 0 !important;
  background: none !important;
  margin-right: 4px !important;
  color: #d57838 !important;
  font-weight: bold;
  line-height: 1.476 !important;
}

.ui-accordion-content {
  background: none !important;
  color: white !important;
}
.ui-accordion-content a {
  color: white !important;
  font-weight: bold !important;
  line-break: anywhere !important;
}

.bigList {
  margin-bottom: 36px !important;
  text-align: left;
  padding-left: 20px;
}

.bigList li {
  list-style: none !important;
  font-size: 1.25rem;
  margin-bottom: 0.6em;
  font-weight: 300;
}

.bigList li:before {
  content: "\25BA";
  color: #d57838 !important;
  margin-right: 4px;
}

@media (max-width: 768px) {
  #accordion h3 {
    font-size: 14px !important;
  }
  #accordion div p {
    font-size: 1.1rem !important;
  }

  #accordion div {
    padding: 1em !important;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.holder-counter {
  font-weight: bold;
  font-size: 4rem;
  color: #fff;
  background: linear-gradient(135deg, #009ffd, #2a2a72);
  padding: 20px 40px;
  border-radius: 15px;
  border: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
  text-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
}

.holder-counter::before {
  content: "";
  position: absolute;
  top: -200%;
  left: -150%;
  width: 400%;
  height: 600%;
  background-image: radial-gradient(
    circle,
    transparent 50%,
    rgba(255, 255, 255, 0.4) 52%
  );
  background-size: 25px 25px;
  animation: spin 24s linear infinite;
}

.holder-counter span {
  position: relative;
  z-index: 1;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#holdersCounter {
  font-weight: 999 !important;
}

.holdersDiv {
  position: relative;
  width: max-content;
  margin: 0px auto !important;
  display: block;
}

.holdersDiv img {
  position: absolute;
  z-index: 999;
  top: -30px;
  left: -28px;
  width: 72px;
  background: white;
  border-radius: 50px;
  padding: 5px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .holder-counter {
    font-size: 1.5rem !important;
  }

  .holdersDiv {
    margin-top: -20px !important;
  }

  .holdersDiv img {
    top: -21px !important;
    left: -16px !important;
    width: 50px !important;
  }
}

/* The Modal (background) */
.modalAlert {
  display: none; /* Hidden by default */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99999;
}

/* Modal Content/Box */
.modalAlert-content {
  background-color: #fefefe;
  margin: 12% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 700px;
  color: black;
  border-radius: 16px;
  box-shadow: 8px 8px 6px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  position: relative;
}

/* The Close Button */
.closeModal {
  color: #333 !important;
  position: absolute;
  font-size: 28px;
  font-weight: bold;
  background: none !important;
  top: 4px;
  right: 8px;
}

.closeModal:hover,
.closeModal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modalAlert button {
  text-transform: uppercase;
  margin: 0px auto !important;
  position: relative;
  display: block;
  background: #d47d30;
  border: 0px;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: bold;
  color: white;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

#floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: block;
  box-shadow: 2px 2px 6px rgba(250, 250, 250, 0.3);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  z-index: 9999999;
}

#floating-button img {
  width: 120%;
  position: absolute;
  left: calc(0px - 10%);
  top: calc(0px - 5%);
}

@keyframes floating-button-pop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

#floating-button:hover {
  animation: floating-button-pop 0.6s ease-in-out;
}

#floating-button.animated {
  animation: floating-button-pop 0.6s ease-in-out infinite;
}
