/**
 * Mario Platform Game - Styles
 * Version: 1.0.0
 */

.mario-game-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mario-game-wrapper {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #5c94fc, #4776e6);
    padding: 40px 20px;
    margin: 0 auto;
}

.mario-game-container {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.mario-game-title {
    text-align: center;
    color: #e52521;
    font-size: 2.5em;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.mario-game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background: #ffd700;
    border-radius: 8px;
    border: 3px solid #ff8c00;
}

.mario-game-score, .mario-game-lives, .mario-game-timer {
    font-size: 1.3em;
    font-weight: bold;
    color: #000;
}

.mario-game-canvas {
    display: block;
    width: 100%;
    height: auto;
    border: 4px solid #000;
    border-radius: 8px;
    background: #87ceeb;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.mario-game-controls {
    margin-top: 15px;
    padding: 15px;
    background: #f0f0f0;
    border-radius: 8px;
    text-align: center;
}

.mario-game-controls h3 {
    margin-bottom: 10px;
    color: #333;
}

.mario-game-controls p {
    margin: 5px 0;
    color: #666;
}

.mario-game-controls kbd {
    background: #fff;
    border: 2px solid #333;
    border-radius: 4px;
    padding: 3px 8px;
    margin: 0 3px;
    font-family: monospace;
    font-weight: bold;
}

.mario-game-over-screen, .mario-win-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.mario-game-modal {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.mario-game-modal h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #e52521;
}

.mario-game-modal p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
}

.mario-game-btn {
    background: #4caf50;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.mario-game-btn:hover {
    transform: scale(1.05);
    background: #45a049;
}

@media (max-width: 600px) {
    .mario-game-title {
        font-size: 1.8em;
    }
    
    .mario-game-info {
        flex-direction: column;
        gap: 5px;
    }
}
