* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0015;
    color: #00ffcc;
    font-family: 'VT323', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100%" height="100%"/><circle fill="%2300ffcc" opacity="0.3" cx="10" cy="10" r="1"/><circle fill="%23ff00ff" opacity="0.3" cx="90" cy="20" r="1"/><circle fill="%23ffffff" opacity="0.5" cx="50" cy="50" r="1"/><circle fill="%2300ffcc" opacity="0.3" cx="30" cy="80" r="1"/><circle fill="%23ff00ff" opacity="0.3" cx="70" cy="70" r="1"/></svg>');
    background-size: 50px 50px;
}

.container {
    text-align: center;
}

.header {
    display: flex;
    justify-content: space-between;
    width: 800px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #ff00ff;
    border-radius: 5px;
    margin-bottom: 10px;
}

.score, .health {
    font-size: 24px;
    text-shadow: 0 0 5px #ff00ff;
    display: flex;
    align-items: center;
}

.health #health-bar {
    width: 100px;
    height: 15px;
    background: #1c0033;
    border: 2px solid #00ffcc;
    border-radius: 3px;
    margin-left: 10px;
    position: relative;
}

.health #health-fill {
    height: 100%;
    background: #00ffcc;
    border-radius: 1px;
    transition: width 0.3s;
}

#game-canvas {
    border: 2px solid #00ffcc;
    background: #120021;
}

#game-title {
    font-size: 48px;
    color: #00ffcc;
    text-shadow: 
        0 0 5px #00ffcc,
        0 0 10px #00ffcc,
        0 0 20px #00ffcc,
        0 0 40px #ff00ff,
        0 0 80px #ff00ff;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-align: center;
    animation: neon-flicker 1.5s infinite alternate;
}

@keyframes neon-flicker {
    0% {
        text-shadow: 
            0 0 5px #00ffcc,
            0 0 10px #00ffcc,
            0 0 20px #00ffcc,
            0 0 40px #ff00ff,
            0 0 80px #ff00ff;
    }
    100% {
        text-shadow: 
            0 0 2px #00ffcc,
            0 0 5px #00ffcc,
            0 0 10px #00ffcc,
            0 0 20px #ff00ff,
            0 0 40px #ff00ff;
    }
}

#play-button {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    font-family: 'VT323', monospace;
    font-size: 24px;
    color: #00ffcc;
    background: #1c0033;
    border: 2px solid #00ffcc;
    border-radius: 5px;
    cursor: pointer;
    text-shadow: 0 0 5px #00ffcc;
    box-shadow: 0 0 10px #00ffcc;
    transition: all 0.3s;
}

#play-button:hover {
    background: #00ffcc;
    color: #1c0033;
    text-shadow: 0 0 5px #1c0033;
    box-shadow: 0 0 15px #00ffcc;
}

.modal {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(28, 0, 51, 0.9);
    padding: 20px;
    border: 2px solid #ff00ff;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 0 15px #ff00ff;
}

.modal h2 {
    font-size: 36px;
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
    margin-bottom: 10px;
}

.modal p {
    font-size: 24px;
    margin-bottom: 20px;
}

.modal button {
    padding: 10px 20px;
    font-family: 'VT323', monospace;
    font-size: 24px;
    color: #ff00ff;
    background: #1c0033;
    border: 2px solid #ff00ff;
    border-radius: 5px;
    cursor: pointer;
    text-shadow: 0 0 5px #ff00ff;
    box-shadow: 0 0 10px #ff00ff;
    transition: all 0.3s;
}

.modal button:hover {
    background: #ff00ff;
    color: #1c0033;
    text-shadow: 0 0 5px #1c0033;
    box-shadow: 0 0 15px #ff00ff;
}