/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Courier New', Courier, monospace; /* Cyber/Nostalgic font */
    overflow: hidden; /* Avoid scroll bars for background */
    color: #fff;
}

/* =========================================
   FONDO DINÁMICO
   ========================================= */
#bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: #000; /* Fondo base para evitar parpadeos */
}

/* Base de la imagen */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out; /* Transición suave crossfade */
}

/* Clase para mostrar la imagen activa */
.bg-image.active {
    opacity: 1;
}

/* OVERLAY OSCURO */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: rgba(0, 0, 0, 0.65); /* Asegura la legibilidad del contenido */
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

/* =========================================
   CONTENIDO PRINCIPAL
   ========================================= */
#content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 20px;
}

/* Banner superior centrado */
.top-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.top-banner img {
    max-width: 100%;
    height: auto;
    max-height: 90px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(255, 183, 77, 0.5);
}

/* Contenedor de IFRAMES (Video y Playlist) */
.media-container {
    position: absolute;
    top: 130px; /* Separación del banner */
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-around;
    pointer-events: none; /* Para que el click no interfiera si hay algo invisible, los iframes se activan luego */
    z-index: 5;
}

.media-box {
    width: 360px;
    height: 202px; /* Aspect Ratio 16:9 */
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffb74d;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px #ffb74d;
    overflow: hidden;
    pointer-events: auto; /* Reactivamos el evento para clickear el iframe */
}

.media-box iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Texto de la página (Título nostálgico) */
.center-content {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
    /* Efecto "Glow" emulando el logo de Cyberpoints Cafe (letras con borde/relleno y sombra alrededor) */
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ffb74d,
        0 0 30px #ffb74d,
        0 0 40px #ff9800;
    text-transform: uppercase;
    letter-spacing: 4px;
}

p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #e0ffff;
    text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}
