/* Global styles */
:root {
    --neon-primary: #00ff00;
    --neon-secondary: #ff00ff;
    --neon-blue: #00ffff;
    --background: #000;
    --text: #fff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--text);
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

/* Menu styles */
.menu-screen {
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--neon-primary),
                0 0 20px var(--neon-primary),
                0 0 30px var(--neon-primary);
    animation: neon-pulse 1.5s infinite alternate;
}

/* Button styles */
button {
    background: transparent;
    border: 2px solid var(--neon-primary);
    color: var(--neon-primary);
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--neon-primary);
}

button:hover {
    background: var(--neon-primary);
    color: var(--background);
    box-shadow: 0 0 20px var(--neon-primary);
}

/* Game screen styles */
.game-screen {
    display: none;
}

.game-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 0 5px var(--neon-blue);
}

#gameCanvas {
    border: 2px solid var(--neon-secondary);
    box-shadow: 0 0 20px var(--neon-secondary);
    background: rgba(0, 0, 0, 0.8);
}

/* Customize screen styles */
.customize-screen {
    display: none;
    padding: 2rem;
}

.skin-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

/* Leaderboard screen styles */
.leaderboard-screen {
    display: none;
    padding: 2rem;
}

.leaderboard-list {
    margin: 2rem 0;
    text-align: left;
}

/* Animations */
@keyframes neon-pulse {
    from {
        text-shadow: 0 0 10px var(--neon-primary),
                     0 0 20px var(--neon-primary),
                     0 0 30px var(--neon-primary);
    }
    to {
        text-shadow: 0 0 5px var(--neon-primary),
                     0 0 10px var(--neon-primary),
                     0 0 15px var(--neon-primary);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .game-container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }

    .game-header {
        font-size: 1rem;
    }
}