* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden; 
}

body {
    /* Gradiente rojo y blanco inclinado a 135 grados (diagonal) */
    background: linear-gradient(135deg, #ffffff 10%, #d32f2f 50%, #ffffff 90%);
    background-size: 300% 300%; /* Se hace mucho más grande para que pueda "moverse" */
    
    /* 10.5s es el tiempo exacto que tardan los 3 textos en dar la vuelta (3.5s x 3) */
    animation: barridoOla 10.5s infinite ease-in-out;
    
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
}

h1 {
    text-align: left;
    background-color: #ffffff; /* Cabecera blanca */
    color: #cc0000;            /* Texto rojo */
    padding: 10px;
    font-family: "Orbitron", sans-serif;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.contenedor-principal {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    text-align: center;
    padding: 10px;
}

/* --- ESTILOS DEL ROTADOR --- */
.rotator-container {
    position: relative;
    width: 100%;
    height: 140px; /* Antes 90px */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.rotator-item {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(26px, 4vh, 36px);
    color: #ffffff;
    
    /* OPCIÓN 1 APLICADA: Mezcla de colores dinámicos */
    mix-blend-mode: difference; 
    
    opacity: 0;
    position: absolute;
    transition: all 0.6s ease-in-out;
    transform: translateY(15px);
}

.rotator-item.active {
    opacity: 1;
    transform: translateY(0);
}

.rotator-item img {
    max-height: 130px; /* Antes 80px */
    width: auto;
    border-radius: 8px;
}
/* --------------------------- */

#extassisnetwork {
    width: 290px;
    height: 340px;
    max-height: 50vh; 
    border-radius: 15px; /* Bordes redondeados para el reproductor */
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.footer-bar {
    position: relative;
    height: 100px; 
    width: 100%;
    flex-shrink: 0;
}

.solido {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 25px;
}

.iconow, .iconof, .iconoi {
    transition: transform 0.2s;
    height: 55px; 
    width: auto;
}

.iconow { background-color: #25d366; border-radius: 50%; }

.iconow:hover, .iconof:hover, .iconoi:hover {
    transform: scale(1.1);
}

@media (max-height: 650px) {
    .footer-bar { height: 70px; }
    .iconow, .iconof, .iconoi { height: 40px; }
    #extassisnetwork { transform: scale(0.8); height: 300px; margin-top: -20px; }
    .rotator-container { height: 60px; margin-bottom: 5px;}
    .rotator-item img { max-height: 60px; }
}

@keyframes barridoOla {
    0% {
        background-position: 0% 0%; /* Inicia arriba a la izquierda */
    }
    50% {
        background-position: 100% 100%; /* Llega abajo a la derecha a la mitad del ciclo */
    }
    100% {
        background-position: 0% 0%; /* Vuelve a la posición inicial para reiniciar junto con el Logo */
    }
}