/* --- Styles de base --- */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: black;
}

/* --- 1. LE CADRE TÉLÉVISEUR (Reste le même, z-index élevé) --- */
#menu-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Assure que l'image de la télévision couvre tout */
    object-fit: cover; 
    z-index: 3;
    pointer-events: none;
}

/* --- 2. L'IMAGE D'ARRIÈRE-PLAN (LA CLÉ) --- */
/* Ces valeurs sont estimées pour centrer l'image dans l'écran blanc */
#background-content {
    position: fixed;
    z-index: 1; /* Doit être sous le cadre (z-index 3) et les options (z-index 2) */
    
    /* Dimensions et position pour cibler l'écran blanc */
    /* Ces pourcentages doivent être ajustés avec précision */
    top: 9%;    /* Environ 25% du haut */
    left: 10%;   /* Environ 30% de la gauche */
    width: 80%;  /* Environ 40% de la largeur totale */
    height: 60%; /* Environ 50% de la hauteur totale */

    /* Image ymir-fritz.jpg */
    background-image: url("img/ymir-fritz-3.jpg");
    background-size: cover; /* L'image remplit la zone #background-content */
    background-position: center;
}

/* --- 3. LES OPTIONS INTERACTIVES (Transparente, recouvrant la nouvelle image de fond) --- */

#menu-options {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex; 
    z-index: 2;
}

#option1 {
    flex: 1;
    background: red; /* Mettez une couleur de fond pour tester l'opacité */
    opacity: 0;
}

#option2 {
    flex: 1;
    background: blue; /* Mettez une couleur de fond pour tester l'opacité */
    opacity: 0;
}
    
#option1:hover{
    opacity: 0.3;
    cursor: pointer;
}

#option2:hover{
    opacity: 0.3;
    cursor: pointer;
}

#telecommande {
    position: fixed;
    bottom: 20px; /* Distance du bas de l'écran */
    left: 50%;
    transform: translateX(-50%); /* Centrer horizontalement */
    z-index: 10; /* Très haut pour être au-dessus de tout (menu-frame est z-index 3) */
    pointer-events: none; /* La télécommande est décorative et ne doit pas bloquer les clics futurs */
}

/* Masquer toutes les images de télécommande par défaut */
#telecommande img {
    display: none;
    max-height: 200px; /* Optionnel : Limiter la taille si l'image est trop grande */
    width: auto;
}

/* Style de transition optionnel pour une apparition plus douce */
#telecommande img.active {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}