body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: 'Courier New', Courier, monospace;
}

canvas {
    display: block;
    touch-action: none;
}

#menu {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
    color: #00f2ff;
    text-align: center;
}

h1 {
    font-size: clamp(40px, 8vw, 70px);
    margin-bottom: 40px;
    text-shadow: 0 0 20px #00f2ff, 0 0 40px #00f2ff;
    letter-spacing: 12px;
    font-weight: 900;
}

.button-container {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

button {
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

#menu button, #restartBtn {
    padding: 15px 35px;
    font-size: 18px;
    color: #00f2ff;
    border: 2px solid #00f2ff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

#menu button:hover, #restartBtn:hover {
    background: #00f2ff;
    color: #000;
    box-shadow: 0 0 50px #00f2ff;
}

#menuBtn {
    padding: 15px 35px;
    font-size: 18px;
    color: #ff0055;
    border: 2px solid #ff0055;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

#menuBtn:hover {
    background: #ff0055;
    color: #000;
    box-shadow: 0 0 50px #ff0055;
}

#ui-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
    margin-top: 140px; 
}

#menu p {
    margin-top: 40px;
    font-size: 14px;
    color: #00f2ff;
    opacity: 0.6;
    letter-spacing: 2px;
}