body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    touch-action: none;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #1e90ff 0%, #87ceeb 50%, #ffffff 100%);
}

.clouds {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.3;
    background-image: 
        radial-gradient(circle at 20% 30%, white 5%, transparent 10%),
        radial-gradient(circle at 50% 10%, white 8%, transparent 15%),
        radial-gradient(circle at 80% 40%, white 6%, transparent 12%),
        radial-gradient(circle at 10% 70%, white 7%, transparent 14%),
        radial-gradient(circle at 90% 80%, white 5%, transparent 10%);
    pointer-events: none;
    z-index: 0;
}

canvas {
    background-color: transparent;
    display: block;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#ui {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.screen {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #bb86fc;
    text-align: center;
    color: white;
    pointer-events: auto;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.title {
    margin: 0 0 30px 0;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: #bb86fc;
}

.menu-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

button {
    background: #bb86fc;
    color: #000;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

button:hover {
    transform: translateY(-2px);
    background: #d7b7fd;
}

button:active {
    transform: translateY(0);
}

button.secondary {
    background: #03dac6;
}

button.secondary:hover {
    background: #66fff1;
}

#hud {
    font-family: monospace;
    font-size: 1.2rem;
    text-shadow: 2px 2px 2px black;
}
