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

body {
    background-color: #0b091a;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(20, 16, 45, 0.8);
    border: 2px solid #ff007f;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.5), inset 0 0 20px rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.game-header h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #00f3ff;
    text-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff;
    margin-bottom: 15px;
    text-align: center;
}

.game-header h1 span {
    color: #ff007f;
    text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f;
}

.canvas-wrapper {
    position: relative;
    width: 800px;
    height: 600px;
    border: 2px solid #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    border-radius: 4px;
    overflow: hidden;
    background: #05030a;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.ui-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 3, 10, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.screen {
    text-align: center;
    padding: 30px;
    border: 2px solid #ff007f;
    background: rgba(15, 10, 30, 0.95);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.6);
    border-radius: 8px;
    max-width: 500px;
}

.screen.hidden {
    display: none;
}

.screen h2 {
    font-size: 2.5rem;
    color: #ff007f;
    text-shadow: 0 0 10px #ff007f;
    margin-bottom: 20px;
}

.screen p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.screen p span {
    color: #00f3ff;
    font-weight: bold;
}

.neon-btn {
    background: transparent;
    color: #00f3ff;
    border: 2px solid #00f3ff;
    padding: 12px 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transition: all 0.2s ease;
}

.neon-btn:hover {
    background: #00f3ff;
    color: #05030a;
    box-shadow: 0 0 25px #00f3ff;
    transform: scale(1.05);
}

.game-footer {
    width: 100%;
    margin-top: 15px;
}

.hud {
    display: flex;
    justify-content: space-around;
    background: rgba(10, 8, 25, 0.9);
    border: 1px solid #00f3ff;
    padding: 10px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #00f3ff;
    box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.2);
}

.hud span {
    color: #ff007f;
    text-shadow: 0 0 5px #ff007f;
}