* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

/* Nouvel Écran de Démarrage */
#power-screen {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.start-menu {
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 50px;
    border: 2px solid #0055ff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 85, 255, 0.5);
}

.start-menu h2 {
    margin-bottom: 30px;
    color: #00aaff;
    letter-spacing: 2px;
}

#power-btn {
    padding: 15px 40px;
    font-size: 24px;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    transition: all 0.2s;
}

#power-btn:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 0 0 15px #fff;
}

#power-btn:active {
    transform: scale(0.95);
}

/* Vidéo de Boot */
#boot-screen {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: black;
    z-index: 50;
}

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

/* Interface OPL */
#opl-interface {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.header, .footer {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0055ff;
}

.footer {
    border-bottom: none;
    border-top: 2px solid #0055ff;
    margin-top: auto;
}

.main-content {
    display: flex;
    flex: 1;
    padding: 40px;
    gap: 50px;
}

#game-list {
    list-style: none;
    width: 40%;
    overflow-y: hidden;
}

#game-list li {
    padding: 10px 15px;
    font-size: 22px;
    color: #ccc;
    border-left: 4px solid transparent;
    margin-bottom: 5px;
}

#game-list li.selected {
    color: #fff;
    background: linear-gradient(90deg, rgba(0,85,255,0.5) 0%, rgba(0,0,0,0) 100%);
    border-left: 4px solid #00aaff;
    font-weight: bold;
    text-shadow: 0 0 5px #00aaff;
}

.game-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#game-cover {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border: 2px solid #555;
    box-shadow: 10px 10px 15px rgba(0,0,0,0.8);
    transition: all 0.2s ease-in-out;
}

.game-info {
    margin-top: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
}

#game-id {
    color: #777;
    font-size: 14px;
    margin-top: 5px;
}