* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    color: #fff;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    text-align: center;
}

header {
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    margin-bottom: 10px;
}

.score {
    font-size: 1.5em;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

#game-board {
    width: 400px;
    height: 400px;
    border: 2px solid #ff00ff;
    margin: 0 auto;
    position: relative;
    background-color: #000;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.snake {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #00ff00;
    border-radius: 4px;
    box-shadow: 0 0 5px #00ff00;
}

.food {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff0000;
}

.controls {
    margin-top: 20px;
    color: #888;
}

button {
    background-color: #ff00ff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1em;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

button:hover {
    background-color: #ff40ff;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #ff00ff;
    text-align: center;
}

.hidden {
    display: none;
} 