* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #2c3e50;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

#gameContainer {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#gameCanvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

#startScreen,
#gameOverScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    pointer-events: none;
}

#gameOverScreen {
    display: none;
}

#startScreen h1,
#gameOverScreen h1 {
    font-size: min(8vw, 64px);
    margin-bottom: 2vh;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#startScreen p,
#gameOverScreen p {
    font-size: min(3vw, 24px);
    margin-bottom: 1vh;
}

#startScreen .instruction,
#gameOverScreen .instruction {
    font-size: min(2vw, 18px);
    color: #ccc;
    margin-top: 1vh;
}

#startScreen .instruction {
    font-style: italic;
}
