/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

#game-container {
    text-align: center;
    background-color: #444;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.game-header .stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

h1 {
    color: #f1c40f; /* Amarillo */
}

h2 {
    margin: 0 15px;
}

/* La Bomba */
#bomb {
    width: 200px;
    height: 200px;
    background-color: #2c3e50; /* Azul oscuro */
    border-radius: 50%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 5px solid #1c2833;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.5);
}

#problem {
    font-size: 3em;
    font-weight: bold;
}

/* Los Cables */
#cables-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espacio entre los cables */
    padding: 20px;
}

.cable {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.cable:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0,0,0,0.5);
}

.cable:active {
    transform: scale(0.95);
}

#cable-blue { background-color: #3498db; }
#cable-red { background-color: #e74c3c; }
#cable-yellow { background-color: #f1c40f; }
#cable-green { background-color: #2ecc71; }


/* Pantalla de Game Over */
.hidden {
    display: none;
    visibility: hidden;
}

#game-over-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.game-over-box {
    background-color: #e74c3c;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255,0,0,0.5);
}

#game-over-screen h2 {
    font-size: 4em;
    margin-bottom: 10px;
}

#game-over-screen p {
    font-size: 1.5em;
}

#restart-button {
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: #e74c3c;
    background-color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}

#restart-button:hover {
    background-color: #f0f0f0;
}