/* ESTÉTICA SOFTWARE 2000s */
body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.window-container {
    background-color: #3a3d4d; /* Gris azulado metálico */
    width: 700px;
    padding: 5px;
    border: 2px solid #5a5e73;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.5);
}

.window-header {
    background: linear-gradient(to right, #2c2f3d, #4a4e63);
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    color: #ccc;
    font-size: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.window-content {
    display: flex;
    padding: 20px;
    gap: 20px;
}

/* EL CUADRO DE TEXTO MEGA */
.main-frame {
    flex: 2;
    background-color: #1a1a1a;
    border: 2px inset #5a5e73;
}

.top-bar {
    background-color: #2c2f3d;
    color: #888;
    font-size: 10px;
    padding: 2px 10px;
    border-bottom: 1px solid #5a5e73;
}

.display-screen {
    padding: 15px;
    min-height: 200px;
}

.mega-text {
    color: #00f7ff; /* Cian Neón */
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 0 8px #00f7ff;
    margin: 0;
}

/* BOTONES EJECUTIVOS */
.side-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exec-btn {
    background: linear-gradient(to bottom, #4a4e63, #2c2f3d);
    color: #eee;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    border: 2px outset #5a5e73;
    font-size: 12px;
    font-weight: bold;
    transition: 0.1s;
}

.exec-btn:hover {
    background: #00f7ff;
    color: #000;
    border: 2px inset #00c4cc;
}

/* FOOTER */
.window-footer {
    padding: 10px;
    color: #888;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #2c2f3d;
}

.cube-icon {
    width: 20px;
    height: 20px;
    background-color: #5a5e73;
    box-shadow: 2px 2px 0px #000;
}
/* --- ADAPTACIÓN MÓVIL ESTILO EJECUTIVO --- */
@media (max-width: 600px) {
    .window-container {
        width: 95%; /* La ventana ocupa casi todo el ancho */
        margin: 10px auto;
        height: auto;
    }

    .window-content {
        flex-direction: column; /* El menú pasa de estar al lado a estar abajo */
        padding: 10px;
        gap: 15px;
    }

    .main-frame {
        width: 100%;
        order: 1; /* La pantalla de texto va primero */
    }

    .display-screen {
        min-height: 150px;
        padding: 10px;
    }

    .mega-text {
        font-size: 14px; /* Un poco más pequeña para que no se corte */
    }

    /* Los botones en móvil se vuelven más grandes para el dedo */
    .side-nav {
        width: 100%;
        order: 2; /* El menú va debajo del cuadro de texto */
        display: grid;
        grid-template-columns: 1fr 1fr; /* Dos botones por fila para no ocupar tanto espacio */
        gap: 8px;
    }

    .exec-btn {
        padding: 12px 5px;
        font-size: 11px;
    }
}
/* AJUSTES PARA LA EMISIÓN EN VIVO */
.video-screen {
    position: relative;
    padding: 0 !important;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4); /* Oscurece hasta que den Play */
}

#play-trigger {
    position: absolute;
    z-index: 20;
    width: 80px;
    cursor: pointer;
    filter: drop-shadow(0 0 10px #00f7ff);
    transition: transform 0.2s;
}

#play-trigger:hover {
    transform: scale(1.2);
}

.status-indicator {
    background: #ff0000;
    color: white;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
    border: 2px inset #5a5e73;
    margin-bottom: 10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Forzar que el Iframe ocupe todo el espacio */
#player {
    pointer-events: none; /* Bloquea clics derechos e interacción sobre el video */
}