@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: radial-gradient(circle at top left, #0f1b3d, #090d1f);
    color: white;
    overflow: hidden;
    text-align: center;
}

/* Title */
h1 {
    margin-top: 20px;
    font-size: 40px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #00f2ff,
                 0 0 20px #00f2ff,
                 0 0 40px #0088ff;
}

/* Game Container */
#gameArea {
    width: 420px;
    height: 620px;
    margin: 30px auto;
    position: relative;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 30px rgba(0,200,255,0.4);
    overflow: hidden;
}

/* Starfield */
.stars {
    position: absolute;
    width: 100%;
    height: 200%;
    background: radial-gradient(white 1px, transparent 1px);
    background-size: 30px 30px;
    animation: stars 10s linear infinite;
    opacity: 0.4;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

/* Player */
#player {
    position: absolute;
    bottom: 20px;
    left: 180px;
    font-size: 42px;
    z-index: 2;
}

/* Enemies & Objects */
.enemy, .boss, .bullet, .powerup {
    position: absolute;
    z-index: 2;
}

.enemy { font-size: 28px; }
.boss  { font-size: 60px; }
.bullet { font-size: 18px; }
.powerup { font-size: 24px; }

/* UI Panel */
.ui {
    width: 420px;
    margin: auto;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 20px rgba(0,200,255,0.3);
}

/* Stats */
.ui p {
    margin: 6px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Buttons */
button {
    margin-top: 10px;
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(45deg, #00f2ff, #0088ff);
    color: white;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    box-shadow: 0 0 10px #00f2ff;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00f2ff;
}