.bowling-game-container {
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    box-shadow: var(--neon-red);
}

#bowlingGame {
    width: 700px;
    height: 600px;
    border: 2px solid var(--primary-blue);
    border-radius: 5px;
    box-shadow: var(--neon-blue);
    cursor: crosshair;
    display: block;
    margin: 0 auto;
}

.game-instructions {
    color: var(--light);
    text-align: center;
    margin: 1rem 0;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px var(--primary-blue);
}

/* Style pour le tableau de score en jeu */
#gameScore {
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border: 2px solid var(--primary-blue);
    border-radius: 5px;
    box-shadow: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    color: var(--light);
}

#gameScore .frame {
    margin: 5px 0;
    padding: 5px;
    border: 1px solid var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

#gameScore .frame.current {
    border-color: var(--primary-red);
    box-shadow: var(--neon-red);
    background-color: rgba(255, 0, 0, 0.1);
    transform: scale(1.05);
}

#gameScore .frame-number {
    font-weight: bold;
    color: var(--primary-blue);
    text-shadow: var(--neon-blue);
    font-size: 1.2em;
    margin-bottom: 5px;
}

#gameScore .rolls {
    color: var(--primary-red);
    font-size: 1.1em;
    font-weight: bold;
    text-shadow: var(--neon-red);
    font-style: italic;
}

#gameScore .score {
    color: var(--primary-blue);
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: var(--neon-blue);
    margin-top: 5px;
}

/* Style pour les strikes */
#gameScore .rolls:contains('X') {
    color: #ff0000;
    font-weight: bold;
    animation: glow 1s ease-in-out infinite alternate;
}

/* Style pour les spares */
#gameScore .rolls:contains('/') {
    color: #00ff00;
    font-weight: bold;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff0000;
    }
    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff0000;
    }
}
