body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: black;
}

/* BARRA SUPERIOR */
#top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: rgba(0,0,0,0.50);
    display: flex;
    align-items: center;
    z-index: 10;   /* cualquier número mayor a 1 vale */
}

/* CLOCK */
#clock {
    font-size: 60px;             /* grande, visible en 4K */
    font-weight: 600;
    color: #00A5E0;              /* blanco elegante */
    padding-left: 40px;          /* separación desde el borde */
    padding-right: 40px;         /* separación del ticker */
    display: flex;
    align-items: center;
}

/* TICKER */
#ticker {
    flex: 1;                 /* ⭐ CLAVE: ocupa todo el espacio libre */
    height: 100px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

#ticker-inner {
    white-space: nowrap;
    position: absolute;
    left: 100%;
    display: inline-flex;
    align-items: center;   /* ⭐ centra icono + texto */
    height: 100%;
}

.item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 80px;
    line-height: 42px; /* ⭐ Alinea icono/texto */
}

.icono-ticker {
    width: 48px;     /* ⭐ tamaño exacto */
    height: 48px;
    object-fit: contain;
}

#ticker .texto {
    font-size: 42px;         /* ⭐ tamaño TV 1080p/4K */
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: white;
}

/* ICONOS */
.icono {
    height: 96px;
    vertical-align: middle;
    margin-right: 25px;
}

/* CLIMA */
#weather {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 40px;
    margin-left: 40px;
    height: 100%;
}

.weather-icon {
    height: 48px;    /* antes 70px */
    width: 48px;
}

#weather-temp {
    font-size: 60px; /* antes ~52px */
    font-weight: 600;
    color: #00A5E0;  /* Azul Adeslas */
}

/* VIDEO */
#video-container {
    position: absolute;
    top: 0;            /* ignoramos el hueco del ticker */
    left: 0;
    width: 100%;
    height: 100vh;     /* ocupa toda la pantalla */
    z-index: 1;        /* detrás del ticker */
}

#video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

#video.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#video.fade-in {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}
