/*
=================================
Estilos Originales del Tema
=================================
*/

#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;
}

.text-cambios {
    display: inline-block;
    overflow: hidden;
    height: 30px;
    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;
}

/* AJUSTE: Título principal en blanco con filos negros */
.section-title {
    font-size: 30px;
    font-weight: 700;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    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;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.link-plataformas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--stats-background);
    padding: 10px;
    border-radius: 5px;
    max-width: 400px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

.animacionnetflix:hover {
    background-color: #000000 !important;
}
.animaciondisney:hover {
    background-color: #0063e5 !important;
}
.animacionstar:hover {
    background-color: #00A8E1 !important;
}


.tituloplataformas {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
    transition: margin-left 0.3s ease;
}

.url:hover .tituloplataformas {
    margin-left: 20px;
}

h5 {
    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: 0px 5px 0px 5px;
    transition: margin-left 0.3s ease;
}

.url:hover .description {
    margin-left: 20px;
}

.icono-plataforma {
    flex-shrink: 0;
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}

.url:hover .platform-icon {
    transform: scale(1.1);
}

.fa-solid, .fas, .bi {
    font-weight: 900;
}

.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;
    padding: 5px;
}

.logo-img-animacion {
    max-width: 320px;
    transform: translatey(0px);
    animation: float 4s ease-in-out infinite;
}

.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);
}

/*
==========================================================
ESTILOS GENERALES Y DE BARRAS (VERSIÓN FINAL)
==========================================================
*/

body {
    background-color: #1b1b1b;
    padding-bottom: 45px;
    margin: 0; /* Previene márgenes inesperados */
}

/* AJUSTE: Se elimina la franja sobre el pie de página */
#fondo1 {
    background-image: url('../img/bg1.jpg');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
    padding-top: 90px;
    min-height: 100vh;
    box-sizing: border-box; 
    display: flex; /* Se añade display flex para controlar mejor el contenido interno */
    flex-direction: column;
}


/* --- Barra de Navegación Superior --- */
.navbar {
    background-color: red !important;
    border-bottom: 3px solid black !important;
    padding: 8px 15px !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-mobile {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.logo-link .logo img {
    max-height: 40px;
    display: block;
}

.navbar-title {
    color: white;
    font-weight: bold;
    font-size: 1.4em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.navbar .links .link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white !important;
    font-weight: bold;
    text-decoration: none;
}
.navbar .links .link:hover {
    opacity: 0.8;
}

.navbar .links {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.navbar .hamburger {
    display: none;
}

/* Media Query para vista móvil */
@media (max-width: 992px) {
    .navbar .links {
        display: none;
    }
    .navbar .hamburger {
        display: block;
        flex-shrink: 0;
    }
    .navbar-title {
        position: static;
        transform: none;
        margin-left: 15px;
        text-align: left;
        pointer-events: auto;
    }
}

/* --- Pie de Página --- */
#footer {
    background: #000000 !important;
    border-top: 2px solid red;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1030;
}

#footer .copyright {
    font-size: 0.9em;
    margin: 0;
    color: white;
    width: 100%;
}

#footer .copyright a {
    color: white;
    text-decoration: none;
}

#footer .social-links {
    display: none;
}