body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background: linear-gradient(45deg, #ff6ec4, #7873f5, #55b9f3, #61f3d8);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.container {
    margin-top: 50px;
}

h1 {
    color: #ffffff;
}

.button {
    padding: 15px 30px;
    margin: 10px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    background-color: #6200ea;
    color: white;
    transition: background-color 0.3s ease;
}

.mas_button {
    padding: 15px 30px;
    margin: 10px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    background-color: #ffeb3b; /* Amarillo */
    color: black;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.mas_button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.8) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.8) 75%, transparent 75%, transparent);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0.75;
    border-radius: 25px;
}

.mas_button:hover::before {
    opacity: 0.9;
}



.button:hover {
    background-color: #3700b3;
}

.claim-btn {
    padding: 15px 30px;
    margin: 10px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 25px;
    background-color: #ffc400;
    color: white;
    transition: background-color 0.3s ease;
}

.claim-btn:hover {
    background-color: #ffc400;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #333333;
    color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    width: 70%;
    max-width: 500px;
    background: linear-gradient(135deg, #ff6ec4, #7873f5);
}

.caracter {
    font-size: 24px;
    margin: 10px;
    cursor: pointer;
    display: inline-block;
    background-color: #e0e0e0;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    color: #333333;
}

.caracter:hover {
    background-color: #bdbdbd;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 34px;
    color: #ffffff;
}

footer {
    margin-top: 30px;
}

footer a {
    color: #ffffff;
    margin: 10px;
    text-decoration: none;
    font-size: 16px;
}

footer a:hover {
    text-decoration: underline;
}

#igDetails {
    margin: 20px 0;
}

#igDetails img {
    border-radius: 50%;
    width: 100px; /*Original 150*/
    height: 100px; /*Original 150*/
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.copied {
    animation: fadeOut 1s ease-in-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Animación de COPIADO */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    25% {
        opacity: 1;
        transform: translateY(0);
    }
    75% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.popup-copied {
    position: fixed;
    bottom: 20px;
    left: 33%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    z-index: 999;
    animation: fadeInOut 2s ease-in-out;
}

.rounded-input {
    border-radius: 15px; /* Redondea los bordes */
    border: 2px solid #ccc; /* Color y grosor del borde */
    padding: 10px; /* Espaciado interno */
    width: 100%; /* Ancho completo */
    box-sizing: border-box; /* Incluye el padding y el borde en el tamaño total */
    font-size: 16px; /* Tamaño de fuente */
}

.rounded-input:focus {
    border-color: #007bff; /* Cambia el color del borde al enfocar */
    outline: none; /* Elimina el borde azul por defecto */
}

input[type="file"] {
  display: none;
}

.custom-file-upload {
  border-radius: 15px;
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}

#referralMessage {
    text-align: center;
    margin-bottom: 20px;
}

#referralLink {
    background-color: white;
    border-radius: 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#referralLink:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.referral {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    width: 80%;
    margin: 0 auto 10px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.user {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    width: 80%;
    margin: 0 auto 10px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}



.count {
    font-weight: bold; /* Hace el texto en negrita */
    color: black;      /* Color del texto negro */
    background-color: white; /* Fondo blanco */
    padding: 10px;      /* Espaciado interno opcional para mejorar la visibilidad */
    border-radius: 10px; /* Bordes redondeados opcional para un toque estético */
    margin-left: 10px;
    white-space: nowrap; /* Evita que el texto se divida en múltiples líneas */
}




.progress-bar-container {
    margin-bottom: 10px;
    margin-right: 20px;
    margin-left: 20px;
}

.progress-bar {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar > div {
    height: 20px;
    background-color: #4caf50;
    width: 20;
    transition: width 0.5s;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Aplicar un margen para que el contenido no pegue a los bordes */
body {
    margin: 10px; /* Espacio respecto a los bordes de la pantalla */
}

/* Estilo de la caja redondeada */
.caja-redondeada {
    background-color: #ffffff; /* Fondo blanco */
    border-radius: 15px; /* Bordes redondeados */
    padding: 5px; /* Espacio interior */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    max-width: 500px; /* Ancho máximo */
    margin: 20px auto; /* Centrado horizontal */
    text-align: center; /* Centrado del texto */
    color: black;
}

/* Estilo del enlace dentro de la caja */
.caja-redondeada a {
    color: #007bff; /* Color del enlace */
    text-decoration: none; /* Quitar subrayado */
    font-weight: bold; /* Negrita */
    font-size: 30px;
    /* Asegúrate de que no haya sombra */
    text-shadow: none;
}

/* Estilo del enlace al pasar el ratón */
.caja-redondeada a:hover {
    text-decoration: underline; /* Subrayar al pasar el ratón */
}


#userList {
            display: flex;
            flex-wrap: wrap;
            gap: 10px; /* Espacio entre los elementos */
            justify-content: center;
        }
        /* Contenedor de cada usuario */
        .user {
            display: flex;
            align-items: center;
            justify-content: center; /* Centra horizontalmente */
            margin: 5px;
            width: calc(90% - 10px); /* Ajusta el ancho para dos columnas */
            box-sizing: border-box; /* Asegura que el padding y el border se incluyan en el ancho */
        }
        .user img {
            width: 24px;  /* Ajusta el tamaño aquí */
            height: 24px; /* Ajusta el tamaño aquí */
            margin-right: 10px;
        }

.limites-laterales {

    margin-left: 40px;
    margin-right: 40px;
    align-items: center;

}
.fpfUser {
    font-weight: bold;
}

#caracteresCompletos {
  overflow-y: auto;
  max-height: 300px;
}
