/* Archivo: css/juego.css (Versión Final con Imágenes Estáticas) */

body { background-color: #eef2f7; }
.game-wrapper { max-width: 900px; margin: 20px auto; background: white; padding: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }


#scoreboard { display: flex; justify-content: space-between; align-items: center; background: var(--primary-color); color: white; padding: 10px 20px; border-radius: 8px; font-family: var(--font-primary); }
.team-score { display: flex; align-items: center; gap: 15px; }
.points { font-size: 2.5rem; font-weight: 700; }
.sets { display: flex; gap: 5px; }
.set-icon { width: 15px; height: 15px; border-radius: 50%; background: #555; }
.set-icon.won { background: var(--accent-color); }
.game-info { text-align: center; } .game-info span { display: block; }

/* CANCHA (Nuevo estilo para el visor de imágenes) */
#court-container { padding: 10px; background-color: #333; border-radius: 5px; margin: 20px auto; }
#court {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#court-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
}

/* CONTROLES, MODAL, EXPLICACIÓN (Sin cambios) */
#game-controls { background: #f0f0f0; padding: 15px; border-radius: 8px; }
#message-log { min-height: 50px; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
#decision-panel { display: flex; justify-content: center; gap: 15px; margin-top: 15px; flex-wrap: wrap; }
#decision-panel button { padding: 12px 25px; font-size: 1rem; font-weight: 700; border-radius: 5px; border: 2px solid var(--secondary-color); background: white; cursor: pointer; transition: all 0.2s; }
#decision-panel button:hover { background: var(--secondary-color); color: white; transform: translateY(-2px); }
#consejo-box { margin-top: 20px; padding: 15px; background: #eef2f7; border-left: 5px solid var(--accent-color); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 2000; }
.modal-content { background: white; padding: 40px; border-radius: 10px; text-align: center; max-width: 500px; }
#level-selection { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.btn-level, #modal-button { width: 100%; padding: 15px; font-size: 1.1rem; background: var(--primary-color); color: white; border: none; cursor: pointer; border-radius: 5px; }
.btn-level:hover { background: var(--secondary-color); }
.btn-level.selected { background-color: var(--accent-color); }
.game-explanation { margin-top: 30px; padding: 30px; background-color: white; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); max-width: 900px; }
.game-explanation h2 { font-family: var(--font-primary); text-align: center; margin-bottom: 20px; }
.game-explanation h4 { font-family: var(--font-primary); margin-top: 20px; margin-bottom: 10px; }
.game-explanation ul { list-style: none; padding-left: 0; }
.game-explanation li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.game-explanation li::before { content: '🏐'; position: absolute; left: 0; }