@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/Ubuntu-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: 'Ubuntu', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #bbbbbb;
    color: #e7e7e7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.header-container {
    position: absolute;
    top: 10%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.header-spacer {
    height: 20vh;
}

.header-buttons-left,
.header-buttons-right {
    display: flex;
    align-items: center;
    margin: 0 30px;
}

.header-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.header-button, 
.header-button-soon {
  font-size: 1.1em;
  color: #000000;
  cursor: pointer;
  width: 220px;
  text-align: center;
  border: none;
  border-radius: 12px;
  background-color: rgba(180, 249, 186, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

/* Botones deshabilitados - Color de texto más claro */
.header-button-soon {
  color: #70a474; 
  font-size: 1.0em;
}

.header-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  background-color: rgba(180, 249, 186, 1);
}

.header-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Efecto de iluminación al pasar el cursor */
.header-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(30deg);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.header-button:hover::after {
  transform: rotate(30deg) translate(10%, 0%);
}

a.header-button-link {
    text-decoration: none;
    color: inherit;
}

/* Estilos refinados para los elementos header-text en Pudú Finance */
.header-text {  
  font-size: 1.1em;
  color: #1a1a1a;
  text-align: center;
  width: 220px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: default;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(226, 226, 226, 0.5);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

/* Añadir un sutil resplandor para elementos que contienen datos importantes */
#rank, #multiplier {
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
  color: #1a1a1a;
  position: relative;
}

/* Efecto especial para el multiplicador, que es un valor importante */
#multiplier {
  color: #1a1a1a;
  font-weight: 700;
}

/* Mejora visual para el ícono del multiplicador */
.multiplier-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  transition: transform 0.5s ease;
}

#multiplier:hover .multiplier-icon {
  transform: rotate(20deg);
}

/* Animación sutil para números cuando cambian */
@keyframes numberChange {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.header-button, 
.header-button-soon,
.header-text {
    height: 20px;  /* altura fija para todos los elementos */
    margin: 15px 20px;
    padding: 12px 15px;
}

.header-text span.changing-number {
  animation: numberChange 0.5s ease-out;
}

.wallet-container {
    position: absolute;
    top: 0%;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    box-sizing: border-box;
    z-index: 1001;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    background-color: #262626;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.pudu-finance-title {
    height: 60px;
    width: auto;
    margin-left: 30px;
}

.status-btn {
    color: #fab400;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 130px;
    height: 30px;
    border-radius: 30px;
    position: relative;
    margin-right: 20px;
    transition: transform 0.3s;
    /* Un dorado más brillante */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.status-btn:hover {
    transform: scale(1.05);
}

.status-btn:hover .status-icon {
    animation: slowRotate 2s linear infinite;
}

.status-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    text-decoration: none;
}

.status-btn .status-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transform: rotate(0deg);
    transition: transform 0.8s ease-out;
}

.status-btn:hover .status-icon {
    animation: none;
    transform: rotate(360deg);
    transition: transform 2s linear;
}

.status-btn h3 {
    margin: 0;
    display: flex;
    align-items: center;
}

.wallet-controls {
    display: flex;
    align-items: center;
}

.language-selector {
    position: relative;
    margin-right: 20px;
}

.language-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.language-icon:hover {
    transform: scale(1.2);
}

.language-icon.clicked {
    transform: scale(1);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
}

.language-option {
    padding: 8px 10px;
    cursor: pointer;
    color: #333333;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background-color: #f0f0f0;
    color: #000000;
}

.language-dropdown.show {
    display: block;
}

.language-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.wallet-btn {
  background: linear-gradient(135deg, #292929 0%, #333333 100%);
  color: #ffffff;
  width: 220px;
  height: 44px;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 12px;
  font-size: 1.1em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #444444 0%, #444444 100%);
}

.wallet-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.wallet-icon {
    width: 15px;
    height: 15px;
    margin-right: 8px;
    display: none;
}

.wallet-icon.visible {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: inline;
}

.social-icons {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.pudu-logo {
    width: 120px;
    height: auto;
}

.stake-title {
    color: #262626;
    text-align: left;
    margin-bottom: 0;
    align-self: flex-start;
    font-size: 1.8em;
    margin-bottom: 15px;
    margin-left: 60px;
    margin-top: 200px;
    opacity: 0;
    transform: translateX(100px);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    font-weight: bolder;

}

.voting-power-container {
    margin: 10px auto;
    margin-top: 10px;
    display: flex;
    background-color: #262626;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 1000px;
    max-width: 90%;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    /* border: 1px solid #333333; */
}

.voting-power,
.amount-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

.power-section {
    text-align: left;
    width: 80%;
}

.power-value h1 {
    color: #fab400;
    /* Un dorado más brillante */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    margin: 0;
}

.power-value {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.staked-tokens {
    margin-left: 10px;
}

/* Botón de claim */
.claim-btn {
  background: linear-gradient(135deg, #333333 0%, #333333 100%);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  width: 200px;
  height: 44px;
  border-radius: 22px;
  font-size: 1em;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.claim-btn.enabled:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.claim-btn:not(.enabled):hover {
  width: 210px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.claim-btn .btn-text,
.claim-btn .hover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.claim-btn .hover-content {
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}

.claim-btn .lock-icon {
    width: 20px;
    height: 20px;
}

.claim-btn .time-until-unstake {
    font-size: 1em;
    white-space: nowrap;
}

.claim-btn:not(.enabled):hover {
    width: 200px;
}

.claim-btn:not(.enabled):hover .btn-text {
    opacity: 0;
}

.claim-btn:not(.enabled):hover .hover-content {
    opacity: 1;
}

.claim-btn.enabled .hover-content {
    display: none;
}

.claim-info {
    font-size: 0.9em;
    color: #bbbbbb;
}

.claim-info a {
    color: #b4f9ba;
    text-decoration: none;
}

.inline {
    display: inline-block;
}

.power {
    display: flex;
    align-items: center;
}

.pudu-power {
    transition: all 0.5s ease-in-out;
}

.withdraw {
    display: flex;
    align-items: left;
}

.withdraw-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

.time-until-unstake {
    color: #ffffff;
    font-size: 1em;
    margin-left: 10px;
    margin-top: 2px;
    flex-grow: 1;
    text-align: left;
}

.power-icon-image {
    margin-left: 10px;
    margin-right: 30px;
    width: 40px;
    height: 40px;
    /* Añadir solo el efecto de brillo sin cambiar el color */
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.2));
}

.amount-box {
    background-color: #262626;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    text-align: center;
    /* border: 1px solid #333333; */
}

.amount-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.amount-box h2 {
    text-align: left;
    font-size: 1.1em;
    margin-left: 20px;
}

.max-amount {
    font-size: 1.1em;
    color: #bbbbbb;
    cursor: pointer;
    transition: color 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.max-amount:hover {
    color: #ffffff;
}

.max-amount-container {
    position: relative;
    display: inline-block;
    text-align: right;
}

.input-number::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 17px;
}

.input-number::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 17px;
}

.input-number:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 17px;
}

.input-number:-moz-placeholder {
    /* Firefox 18- */
    font-size: 17px;
}

.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(190, 190, 190, 0.2) 25%,
            rgba(129, 129, 129, 0.24) 37%,
            rgba(190, 190, 190, 0.2) 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 4px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}


@keyframes shimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

/* Mejora del campo de entrada */
.amount-input {
  display: flex;
  align-items: center;
  background-color: rgba(252, 255, 252, 0.95);
  padding: 5px 15px;
  border-radius: 14px;
  height: 60px;
  margin: 12px 10px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.amount-input:focus-within {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 0 0 2px rgba(180, 249, 186, 0.3);
  border: 1px solid rgba(180, 249, 186, 0.5);
}

.amount-input input {
  background-color: transparent;
  border: none;
  color: #1a1a1a;
  width: 90%;
  text-align: right;
  outline: none;
  font-size: 1.3em;
  font-weight: 500;
}

.amount-input input::placeholder {
    color: #bbbbbb;
    font-size: 0.7em;
}

/* Botón de Stake principal */
.stake-btn {
  background: linear-gradient(135deg, #b4f9ba 0%, #8ee995 100%);
  color: #0c2e10;
  border: none;
  padding: 14px 20px;
  cursor: pointer;
  width: 350px;
  height: 66px;
  border-radius: 14px;
  font-size: 1.4em;
  font-weight: 700;
  margin: 12px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stake-btn:enabled:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #b4f9ba 0%, #7de886 100%);
}

.stake-btn:enabled:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stake-btn:disabled {
  background: linear-gradient(135deg, #b4f9ba 0%, #a9f3b0 100%);
  color: rgba(12, 46, 16, 0.6);
  cursor: not-allowed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Botones de selección de token */
.token-btn {
  background: linear-gradient(135deg, #3c3c3c 0%, #292929 100%);
  color: #ffffff;
  border: none;
  padding: 10px 10px;
  margin-left: 18px;
  cursor: pointer;
  width: 70px;
  border-radius: 12px;
  font-size: 1em;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.token-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #444444 0%, #2d2d2d 100%);
}

.hidden {
    display: none;
}

.token-btn.hidden {
    position: relative;
    top: 10px;
    z-index: 10;
}

.input-number {
    color: #000000;
    font-size: 1.5em;
    margin-right: 20px;
    margin-left: 20px;
}

.token-container {
    display: flex;
    align-items: center;
}

.token-icon {
    width: 30px;
    height: 30px;
    margin-left: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

/* message container */

.message-container {
  margin: 20px auto;
  display: flex;
  background: linear-gradient(135deg, #fab400 0%, #f59e00 100%);
  border-radius: 14px;
  padding: 14px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  width: 1000px;
  max-width: 90%;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: relative;
  min-height: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.message-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.message-text {
  color: #1a1a1a;
  font-size: 1.05em;
  margin: 0;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-text::after {
  content: ' →';
  display: inline-block;
  margin-left: 5px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.message-container:hover .message-text::after {
  opacity: 1;
  transform: translateX(2px);
}

/* Estilos para el botón de cierre */
.close-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* Ajusta según el tamaño deseado */
  height: 32px; /* Ajusta según el tamaño deseado */
  transition: all 0.2s ease;
}

.close-btn:hover {
  transform: translateY(-50%) scale(1.1); /* Efecto de escala al pasar el mouse */
}

/* Estilo para la imagen del ícono */
.close-icon {
  width: 60%;
  height: 60%;
  object-fit: contain; /* Para mantener la proporción de la imagen */
}

/* Modificar el comportamiento del contenedor de mensaje */
.message-container .message-text {
  cursor: pointer;
  flex: 1;
}

/* Para cuando el mensaje está oculto */
.message-container.hidden {
  display: none;
}


/*footer*/

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
}

.footer-left {
    text-align: right;
    margin-right: 20px;
}

.footer-email,
.footer-copyright {
    margin: 0;
    color: #262626;
    font-size: 1em;
    white-space: nowrap;
}

.footer-white-email,
.footer-white-copyright {
    margin: 0;
    color: #bbbbbb;
    font-size: 1em;
    white-space: nowrap;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer .social-button {
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
    transition: transform 0.3s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.footer .social-button:hover {
    transform: scale(1.2);
}

.footer .social-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.footer-copyright {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

/*bg*/
.area {
    background: linear-gradient(to bottom, #ffffff 40%, #ffffff 40%, #b4f9ba 100%);
    width: 100%;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.area2 {
    background: #333333;
    width: 100%;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.568);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

/*popup*/
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background-color: #1d1d1d;
    margin: 15% auto;
    padding: 20px;
    /* border: 1px solid #bbbbbb; */
    width: 80%;
    max-width: 400px;
    text-align: center;
    color: #ffffff;
    border-radius: 10px;
}

.text-gray {
    color: #bbbbbb;
    text-align: left;
    padding-left: 30px;
}

#switchToFuseBtn {
    background-color: #262626;
    color: #ffffff;
    width: 90%;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

#switchToFuseBtn:hover {
    transform: scale(1.025);
}

#disconnectBtn {
    background-color: #262626;
    color: #ffffff;
    width: 90%;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.4em;
    margin-bottom: 20px;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

#disconnectBtn:hover {
    transform: scale(1.025);
}

.switch-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Circulares de progreso moderno */

.circular-progress {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(180, 249, 186, 0.2);
  border-top: 3px solid #b4f9ba;
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  box-shadow: 0 0 10px rgba(180, 249, 186, 0.3);
}

.circular-progress-stake {
    width: 15px;
    height: 15px;
    border: 3px solid #ffffff;
    border-top: 4px solid #b4f9ba;
}

.circular-progress-unstake {
    width: 12px;
    height: 12px;
    border: 3px solid #ffffff;
    border-top: 3px solid #333333;
}

.btn-text {
    display: inline-block;
    vertical-align: middle;
}

/*leaderboard*/
body.leaderboard-page .main-container {
    padding-top: 23vh;
}

.leaderboard-title {
    color: #262626;
    text-align: left;
    margin-bottom: 10px;
    margin-left: 50px;
    font-size: 1.8em;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease forwards;
    animation-delay: 1s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: bolder;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body.leaderboard-page .header-container {
    position: fixed;
    top: 10%;
}

body.leaderboard-page .leaderboard-container {
    margin-top: 0;
}

.main-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1100px;
    z-index: 1;
}

.leaderboard-container {
    max-height: 48vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom,
            transparent,
            white 20px,
            white calc(100% - 20px),
            transparent);
    mask-image: linear-gradient(to bottom,
            transparent,
            white 20px,
            white calc(100% - 20px),
            transparent);
}

.leaderboard-container::after {
    content: '';
    display: block;
    height: 40px;
}

.leaderboard-container::-webkit-scrollbar {
    width: 10px;
}

.leaderboard-container::-webkit-scrollbar-track {
    border-radius: 10px;
}

.leaderboard-container::-webkit-scrollbar-thumb {
    background: #ffffff00;
    border-radius: 10px;
}

.leaderboard-container::-webkit-scrollbar-thumb:hover {
    background: #bbbbbba8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leaderboard-card {
    background-image: linear-gradient(135deg, #262626 0%, #262626 100%);
    border-radius: 30px;
    padding: 10px;
    width: calc(100% - 20px);
    text-align: center;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.leaderboard-card.animate {
    animation: fadeInUp 0.5s ease forwards;
}

.leaderboard-card h2 {
    margin: 0;
    margin-right: 30px;
    font-size: 1.3em;
    color: #fab400;
}

.wallet-address {
    margin: 0;
    font-size: 1.2em;
}

.rank {
    color: #ffffff;
    margin: 0;
    margin-left: 30px;
    font-size: 1.5em;
}

/*overlay*/
.overlay-container {
    margin: 10px auto;
    margin-left: 35px;
    margin-top: 10px;
    display: flex;
    background-color: #262626;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 1000px;
    height: 300px;
    max-width: 90%;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    position: absolute;
    z-index: 1000;
}

.circular-progress-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 5px solid #ffffff;
    border-top: 5px solid #262626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.overlay-content h2,
.overlay-content img {
    transition: opacity 0.3s ease;
}

.overlay-content h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.voting-power-container {
    position: relative;
}

.locked-icon {
    margin: 30px;
    width: 50px;
    height: 50px;
}

/* influence */
.influence-title {
    color: #262626;
    text-align: left;
    margin-bottom: 15px;
    margin-left: 60px;
    font-size: 1.8em;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease forwards;
    animation-delay: 0.5s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: bolder;
}

.influence-container {
    display: flex;
    background-color: #262626;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 1000px;
    max-width: 90%;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
    position: relative;
    height: 375px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: fadeInUp 1s ease forwards;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.influence-column-wrapper {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.influence-column-title {
    color: #ffffff;
    margin-bottom: 10px;
    padding: 5px;
    /* background-color: #333333; */
    border-radius: 10px;
    text-align: center;
}

.influence-column {
    flex-grow: 1;
    border-radius: 10px;
    overflow-y: auto;
    padding-right: 10px;
    background-color: #262626;
    border: 2px solid #444444;
}

.influence-text {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1em;
    color: #ffffff;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #262626;
    border: none;
    width: 200px;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    margin: 20px auto;
    transition: transform 0.3s ease;
    border: 1px solid #262626;
}

.share-button:hover {
    transform: scale(1.05);
}

.x-logo {
    width: 25px;
    height: 25px;
    margin-left: 5px;
}

.facebook-logo {
    width: 25px;
    height: 25px;
    margin-left: 5px;
}

.task-cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-top: 12px;
}

.task-card {
    background-color: #333333;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    width: 90%;
    max-width: 400px;
    cursor: pointer;
}

.task-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-card:hover {
    transform: scale(1.05);
}

.task-name {
    color: #ffffff;
    font-size: 1.1em;
    flex-grow: 1;
    text-align: left;
}

.task-reward {
    color: #b4f9ba;
    font-size: 1em;
    white-space: nowrap;
    margin-left: 20px;
}

.no-tasks-message,
.error-message {
    color: #bbbbbb;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.error-message {
    color: #bbbbbb;
}

.task-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.task-popup-content {
    background-color: #1d1d1d;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    align-content: center;
    text-align: center;
}

.task-popup-content h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.task-popup-content p {
    color: #bbbbbb;
    margin-top: 60px;
    margin-bottom: 60px;
}

.task-popup-content button {
    background-color: #b4f9ba;
    color: #1d1d1d;
    width: 140px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.task-popup-content button:hover {
    transform: scale(1.05);
}

.task-popup-content button:disabled {
    background-color: #ffffff;
    color: #444444;
    cursor: not-allowed;
}

.task-popup-content button:disabled:hover {
    transform: none;
}

.influence-column-wrapper:first-child {
    margin-right: 20px;
}

.influence-column::-webkit-scrollbar {
    width: 5px;
}

.influence-column::-webkit-scrollbar-track {
    background: #333333;
    border-radius: 5px;
}

.influence-column::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 5px;
}

.influence-column::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

/* Agregar estos estilos a tu archivo CSS */

.task-button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.task-popup-content button {
    background-color: #b4f9ba;
    color: #1d1d1d;
    width: 180px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    margin: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

/* Estilo específico para el botón Discord - Botón verde */
.discord-task-buttons button:first-child {
    background-color: #b4f9ba;
    color: #1d1d1d;
}

/* Botón para la verificación - Botón blanco */
.discord-task-buttons button:last-child {
    background-color: #ffffff;
    color: #1d1d1d;
}

.task-popup-content button:hover {
    transform: scale(1.05);
}

.task-popup-content button:disabled {
    background-color: #ffffff;
    color: #444444;
    cursor: not-allowed;
}

.task-popup-content button:disabled:hover {
    transform: none;
}

/* Eliminar los márgenes entre botones que podrían estar causando problemas */
.task-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.task-popup-content p {
    width: 100%;
    margin-bottom: 30px;
}

/* governance */
.governance-title {
    color: #262626;
    text-align: left;
    margin-bottom: 15px;
    margin-left: 60px;
    font-size: 1.8em;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease forwards;
    animation-delay: 0.5s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: bolder;
}

.governance-container {
    display: flex;
    background-color: #262626;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 1000px;
    max-width: 90%;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
    position: relative;
    height: 375px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: fadeInUp 1s ease forwards;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

/* multipliers */
.multipliers-title {
    color: #262626;
    text-align: left;
    margin-bottom: 15px;
    margin-left: 60px;
    font-size: 1.8em;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease forwards;
    animation-delay: 0.5s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: bolder;
}

.multipliers-container {
    display: flex;
    background-color: #262626;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 1000px;
    max-width: 90%;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
    position: relative;
    height: 375px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: fadeInUp 1s ease forwards;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.multiplier-icon {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
}

/* app */
.app-title {
    color: #262626;
    text-align: left;
    margin-bottom: 15px;
    margin-left: 60px;
    font-size: 1.8em;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInFromRight 1s ease forwards;
    animation-delay: 0.5s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-weight: bolder;
}

.app-container {
    display: flex;
    background-color: #262626;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 1000px;
    max-width: 90%;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
    position: relative;
    height: 375px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: fadeInUp 1s ease forwards;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.language-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Estilos para dispositivos móviles */
@media screen and (max-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0;
        padding: 0;
        overflow: hidden;
        display: flex;
    }

    .area {
        min-height: 100vh;
        height: auto;
        position: fixed;
        height: 100vh;
    }

    .header-container {
        position: fixed;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        padding: 20px 0;
        z-index: 999;
    }

    .header-buttons-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .header-button-soon {
        display: none;
    }

    .header-button-wrapper {
        margin: 10px 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-button {
        margin: 5px 0;
        font-size: 1.2em;
        width: 200px;
        padding: 15px;
    }

    .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pudu-logo {
        display: block;
        width: 120px;
        height: auto;
        margin-bottom: 80px;
        order: -1;
    }

    .wallet-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        z-index: 1000;
    }

    .pudu-finance-title {
        height: 60px;
        margin: 0 auto;
        display: block;
    }


    .wallet-btn,
    .main-container,
    .header-buttons-right,
    .header-text {
        display: none;
    }

    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 0;
        z-index: 1000;
    }

    .footer-content {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        margin-right: 0;
        margin-top: 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-right {
        margin-bottom: 2px;
    }

    .footer .social-button {
        margin: 0 5px;
    }

    .footer .social-icon {
        width: 50px;
        height: 50px;
    }

    .footer-email,
    .footer-copyright {
        font-size: 1em;
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    /* Estilos específicos para la página de leaderboard */
    body.leaderboard-page .main-container {
        display: block;
        padding-top: 100px;
        height: calc(100vh - 160px);
        overflow-y: auto;
    }

    body.leaderboard-page .header-buttons-left,
    body.leaderboard-page .pudu-logo {
        display: none;
    }

    .leaderboard-card {
        background-image: linear-gradient(135deg, #262626 0%, #262626 100%);
        border-radius: 30px;
        padding: 8px;
        width: calc(100% - 20px);
        text-align: center;
        color: #ffffff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .leaderboard-card.animate {
        animation: fadeInUp 0.5s ease forwards;
    }

    .leaderboard-card h2 {
        margin: 0;
        margin-right: 10px;
        font-size: 1em;
        color: #fab400;
    }

    .wallet-address {
        margin: 0;
        font-size: 0.6em;
    }

    .rank {
        color: #ffffff;
        margin: 0;
        margin-left: 10px;
        font-size: 0.8em;
    }

    .leaderboard-title {
        color: #262626;
        text-align: left;
        margin-bottom: 5px;
        margin-left: 50px;
        font-size: 1.1em;
        opacity: 0;
        transform: translateX(100px);
        animation: slideInFromRight 1s ease forwards;
        animation-delay: 1s;
    }

    .status-btn {
        width: 60px;
        height: 20px;
        margin-right: 30px;
        font-size: 0.8em;
    }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media screen and (max-width: 480px) {
    .header-button {
        font-size: 1.1em;
        width: 180px;
        padding: 12px;
    }

    .pudu-finance-title {
        height: 50px;
    }

    .pudu-logo {
        width: 100px;
    }

    .footer .social-icon {
        width: 40px;
        height: 40px;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .footer-email,
    .footer-copyright {
        font-size: 0.9em;
    }
}

.mobile-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-popup-content {
    background-color: #000000da;
    padding: 20px;
    width: 75%;
    max-width: 600px;
    border-radius: 10px;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

.mobile-popup-content .popup-text {
    color: #ffffff;
    margin-bottom: 15px;
    text-align: left;
}

.tap-to-close {
    font-style: italic;
    color: #bbbbbb;
    margin-top: 30px;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .mobile-popup {
        display: none !important;
    }
}