body {
    background-color: #0b0f19;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#game-wrapper {
    width: 100%;
    max-width: 400px;
    background: #1a2238;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
    border: 2px solid #374151;
}

#hud {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

#score-board {
    background: #374151;
    color: #f3f4f6;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.5px;
}

#right-hud {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

#lives {
    font-size: 18px;
    background: #374151;
    padding: 4px 10px;
    border-radius: 10px;
}

#weapon-box {
    background: #4b5563;
    padding: 6px 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #f3f4f6;
    border: 1px solid #6b7280;
}

#weapon-icon {
    font-size: 20px;
}

canvas {
    background: linear-gradient(to bottom, #7dd3fc 0%, #bae6fd 40%, #fde047 70%, #d97706 100%);
    border-radius: 10px;
    width: 100%;
    height: auto;
    display: block;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

#controls {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

#controls button {
    flex: 1;
    padding: 14px;
    font-size: 15px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

#controls button:active {
    background: #1d4ed8;
    transform: scale(0.98);
}