#buscar-email {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid #007BFF;
    border-radius: 25px;
    transition: all 0.3s ease;
    outline: none;
}

#buscar-email:focus {
    border-color: #0056b3;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.alert-danger {
    --bs-alert-color: #c5a9ac;
    --bs-alert-bg: #4b3e3f;
}

/* Texto cambiante */
.text-cambios {
    display: inline-block;
    overflow: hidden;
    height: 30px; /* Ajusta según el tamaño de tu texto */
    color: #39beff;
}
.dynamic-text {
    display: inline-block;
    animation: slideUp 2s infinite;
}
@keyframes slideUp {
    0%   { transform: translateY(100%); opacity: 0; }
    10%  { transform: translateY(0);   opacity: 1; }
    90%  { transform: translateY(0);   opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
}

.texto-contenido {
    color: #d2d0d0;
    font-size: 17px;
    max-width: 80%;
    line-height: 1.6;
    text-align: justify;
}

/* Animaciones */
@keyframes entrada-desde-la-derecha {
    0%   { transform: translateX(100%); }
    60%  { transform: translateX(-30%); }
    80%  { transform: translateX(10%); }
    100% { transform: translateX(0); }
}
@keyframes entrada-desde-la-izquierda {
    0%   { transform: translateX(-100%); opacity: 0; }
    60%  { transform: translateX(30%);  opacity: 0.5; }
    80%  { transform: translateX(-10%); opacity: 0.8; }
    100% { transform: translateX(0);    opacity: 1; }
}
@keyframes entrada-desde-abajo {
    0%   { transform: translateY(100%); }
    60%  { transform: translateY(-30%); }
    80%  { transform: translateY(10%); }
    100% { transform: translateY(0); }
}

/* Imágenes */
.imagenyorobot {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 45px 3px;
    transition: 0.2s;
}

.logo-img-animacion {
    margin-top: 20px;
    max-width: 400px;
    transform: translateY(-10px);
    /* animation: float 4s ease-in-out infinite; */
    opacity: 0.6;
}

/* Títulos de sección */
.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
}
.section-title::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: #d2d0d0;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: #39beff;
}

.url {
    text-decoration: none;
}

/* Contenedor de links */
.links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.link-plataformas {
    display: flex; /* ← CORREGIDO */
    flex-direction: column;
    gap: 10px;
    background: var(--stats-background);
    padding: 10px;
    border-radius: 5px;
    max-width: 400px;
    margin: 5px;
}
.link-plataformas:hover {
    background: #272727;
}

.tituloplataformas {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
    transition: margin-left 0.3s ease; /* transición suave */
}
.url:hover .tituloplataformas {
    margin-left: 20px; /* Ajusta el valor según tus necesidades */
}

h5 {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
}
h5:hover {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
}

.link-description {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.description {
    color: #D2D0D0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    padding: 0 5px;
    transition: margin-left 0.3s ease;
}
.url:hover .description {
    margin-left: 20px;
}

/* Iconos por plataforma */
.icono-netflix {
    border-radius: 5px;
    background: rgba(255, 2, 24, 0.5);
    padding: 10px;
    transition: 0.2s ease-in-out;
}
.icono-netflix i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    position: relative;
    background: #ff0218;
    color: #ffffff;
    border-radius: 5px;
}
.animacionnetflix {
    animation: entrada-desde-la-derecha 0.5s ease-out;
}

.icono-disney {
    border-radius: 5px;
    background: rgba(29, 83, 255, 0.5);
    padding: 10px;
    transition: 0.2s ease-in-out;
}
.icono-disney i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    position: relative;
    background: #1d53ff;
    color: #ffffff;
    border-radius: 5px;
}
.animaciondisney {
    animation: entrada-desde-la-izquierda 0.5s ease-out;
}

.icono-star {
    border-radius: 5px;
    background: rgba(13, 31, 88, 0.5);
    padding: 10px;
    transition: 0.2s ease-in-out;
}
.icono-star i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    position: relative;
    background: #0d1f58;
    color: #ffffff;
    border-radius: 5px;
}
.animacionstar {
    animation: entrada-desde-abajo 0.5s ease-out;
}

.icono-primevideo {
    border-radius: 5px;
    background: rgba(57, 190, 255, 0.5);
    padding: 10px;
    transition: 0.2s ease-in-out;
}
.icono-primevideo i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    position: relative;
    background: #39beff;
    color: #ffffff;
    border-radius: 5px;
}

/* Icon genérico con zoom al hover */
.icon {
    border-radius: 5px;
    background: rgba(57, 190, 255, 0.5);
    padding: 10px;
    transition: 0.2s ease-in-out;
}
.icon:hover {
    transform: scale(1.1);
}
.icon i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    position: relative;
    background: #39beff;
    color: #ffffff;
    border-radius: 5px;
}

/* Borde/ícono personalizado */
.miiconoborde {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px; /* ← CORREGIDO */
    position: relative;
    background: #39beff;
    color: #ffffff;
    border-radius: 5px;
}

.fa-solid, .fas, .bi {
    font-weight: 900;
}

/* Imagen con anim y hover */
.imgyorobot {
    transition: transform 0.3s ease;
    animation: entrada-desde-la-izquierda 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.imgyorobot:hover {
    transform: rotate(5deg);
}

/* Alerta “no correo” */
.alertanocorreoborde {
    border-radius: 5px;
    background: rgba(57, 190, 255, 0.5);
    padding: 10px;
    width: 100%;
}
.alertanocorreo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 18px;
    position: relative;
    background: #39beff;
    color: #ffffff;
    border-radius: 5px;
}

/* (Opcional) botón flotante de WhatsApp — si lo estás usando en el index */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    opacity: .95;
}
.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
    opacity: 1;
}
.whatsapp-float .wa-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 32 32"><path d="M19.11 17.2c-.28-.14-1.64-.8-1.89-.89-.25-.1-.43-.14-.62.14-.19.29-.71.89-.87 1.08-.16.19-.32.21-.6.07-.28-.14-1.16-.43-2.2-1.37-.81-.72-1.36-1.61-1.52-1.88-.16-.28-.02-.43.12-.57.12-.12.28-.32.42-.48.14-.16.19-.28.28-.47.1-.19.05-.36-.02-.5-.07-.14-.62-1.5-.85-2.06-.22-.53-.45-.46-.62-.47-.16-.01-.35-.01-.53-.01-.19 0-.5.07-.76.36-.26.29-1 1-1 2.43s1.02 2.82 1.16 3.02c.14.19 2 3.05 4.85 4.28.68.3 1.21.48 1.63.62.68.22 1.3.19 1.79.12.55-.08 1.64-.67 1.87-1.33.23-.66.23-1.22.16-1.33-.07-.12-.25-.19-.53-.33z"/><path d="M26.67 5.33C23.78 2.44 20.03 1 16 1S8.22 2.44 5.33 5.33C2.44 8.22 1 11.97 1 16c0 2.57.65 5.06 1.88 7.28L1 31l7.78-1.82C10.99 30.35 13.46 31 16 31c4.03 0 7.78-1.44 10.67-4.33C29.56 23.78 31 20.03 31 16s-1.44-7.78-4.33-10.67zm-3.07 18.27C20.99 26.21 18.6 27 16 27c-2.25 0-4.46-.6-6.38-1.73l-.46-.27-4.74 1.11 1.08-4.63-.29-.47C3.1 19.17 2.5 17.6 2.5 16c0-7.44 6.06-13.5 13.5-13.5S29.5 8.56 29.5 16c0 7.44-6.06 13.5-13.5 13.5-2.48 0-4.82-.71-6.82-2.07l-.33-.22-2.73.64.63-2.69-.22-.34C4.87 23.82 4.5 21.93 4.5 20c0-6.34 5.16-11.5 11.5-11.5S27.5 13.66 27.5 20c0 2.56-.79 4.98-2.23 7.06z"/></svg>') center/contain no-repeat;
}
.whatsapp-float .wa-text {
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}
@media (max-width: 520px) {
    .whatsapp-float .wa-text { display: none; }
    .whatsapp-float { padding: 12px; border-radius: 999px; }
}
/* ===== Corregir desplazamiento lateral SOLO en móvil/tablet ===== */
@media (max-width: 992px){
  /* Reduce el padding de la barra en pantallas pequeñas */
  .navbar{
    padding: 10px 24px !important;
  }

  /* Si los links no caben, que bajen a otra línea */
  .navbar .links{
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Evita cualquier scroll horizontal accidental */
  html, body{
    overflow-x: hidden;
  }
}

/* Afinado extra para celulares muy chicos (opcional) */
@media (max-width: 480px){
  .navbar{ padding: 10px 16px !important; }
}