- Shortened player shoot sound from 0.5s to 0.25s sweep - Added classic Space Invaders alien march with 4 descending bass notes (G#1, G1, F#1, F1) matching original 1978 arcade frequencies - Alien march tempo increases as more aliens are destroyed - Aliens strobe brighter on each note played (0.25s brightening) - Added explosion sound effect: white noise boom fading 0.25s - Explosion triggered on player missile hitting alien
45 lines
681 B
CSS
45 lines
681 B
CSS
.hero {
|
|
position: relative;
|
|
}
|
|
|
|
.hero .base {
|
|
width: 170px;
|
|
}
|
|
|
|
#center {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 25px;
|
|
place-content: center;
|
|
place-items: center;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#center h1 {
|
|
font-size: 48px;
|
|
letter-spacing: -1.5px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.main-menu-btn {
|
|
font-size: 18px;
|
|
padding: 12px 32px;
|
|
border-radius: 8px;
|
|
color: #fff;
|
|
background: #6366f1;
|
|
border: 2px solid #6366f1;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.main-menu-btn:hover {
|
|
background: #4f46e5;
|
|
border-color: #4f46e5;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.main-menu-btn:focus-visible {
|
|
outline: 2px solid #6366f1;
|
|
outline-offset: 2px;
|
|
} |