/* Stile generale per il gioco Frogger in stile retro */
/* Gli stili per navbar, footer e layout base sono in game-page-base.css */

body {
    font-family: 'Press Start 2P', cursive;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 1.6;
}

/* Schermata iniziale */
.start-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 2px solid #0f0;
}

.start-screen.hidden {
    display: none;
}

.start-screen h1 {
    font-size: 40px;
    color: #0f0;
    margin: 0 auto 30px;
    text-align: center;
    text-shadow: 3px 3px 0 #0a0, -3px -3px 0 #070, 0 0 10px #0f0;
    animation: blink 1.5s infinite;
    width: 100%;
    letter-spacing: 4px;
}

.play-button {
    background-color: #000;
    color: #0f0;
    border: 2px solid #0f0;
    padding: 15px 40px;
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.play-button:hover {
    background-color: #0f0;
    color: #000;
    box-shadow: 0 0 20px #0f0;
}

/* Game message overlay (Game Over, Level Complete) */
.game-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border: 4px solid #0f0;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    z-index: 100;
}

.hidden {
    display: none;
}

.game-message h2 {
    color: #f00;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #700;
}

.game-message button {
    font-family: 'Press Start 2P', cursive;
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s;
}

.game-message button:hover {
    background-color: #0a0;
    transform: scale(1.05);
}

/* Animazione per effetto lampeggiante */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.blink {
    animation: blink 0.8s infinite;
}
