* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', cursive;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.game-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

canvas {
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    display: none;
}

.menu, .game-over {
    position: absolute;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

h1 {
    color: #ff0080;
    text-shadow: 2px 2px #00ff00;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

h2 {
    color: #ff0000;
    margin-bottom: 1rem;
}

.game-over h2 {
    color: #ff0000;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #ff0000;
}

button {
    font-family: 'Press Start 2P', cursive;
    background: #ff0080;
    color: white;
    border: none;
    padding: 1rem 2rem;
    margin: 1rem 0;
    cursor: pointer;
    transition: all 0.3s;
}

.game-over button {
    background: #ff0000;
    border: 2px solid #ff8800;
    text-shadow: 2px 2px #000;
    margin-top: 1rem;
}

button:hover {
    background: #00ff00;
    transform: scale(1.1);
}

.game-over button:hover {
    background: #ff8800;
    border-color: #ff0000;
}

.game-over {
    display: none;
}

.game-over p {
    margin: 0.5rem 0;
    color: #00ff00;
}

.warrior-message {
    color: #ff8800 !important;
    font-style: italic;
    margin: 1rem 0 !important;
    text-shadow: 0 0 5px #ff8800;
}

.credits {
    position: absolute;
    bottom: 1rem;
    color: #ff0080;
    font-size: 0.8rem;
}

.high-score {
    color: #00ff00;
    margin-top: 1rem;
}

.instructions {
    margin: 1.5rem 0;
    text-align: left;
    font-size: 0.8rem;
    color: #00ff00;
}

.instructions p {
    color: #ff0080;
    margin-bottom: 0.5rem;
    text-align: center;
}

.instructions ul {
    list-style: none;
}

.instructions li {
    margin: 0.5rem 0;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}
