* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: none;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e8ba3 100%);
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: fixed;
}

.screen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

.screen.hidden {
    display: none;
}

.menu-content {
    text-align: center;
    color: white;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 500px;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    color: #FFD700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.btn {
    padding: 15px 40px;
    font-size: 1.2em;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin: 10px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.controls-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: left;
}

.controls-info p {
    margin: 8px 0;
    font-size: 0.9em;
}

.stats {
    margin: 30px 0;
    font-size: 1.2em;
}

.stats p {
    margin: 10px 0;
    color: #FFD700;
}

.stats span {
    color: white;
    font-weight: bold;
}

#gameCanvas {
    display: block;
    background: linear-gradient(to bottom, #87CEEB 0%, #87CEEB 60%, #90EE90 60%, #90EE90 100%);
    width: 100%;
    height: 100%;
}

#hud {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.hud-item {
    margin: 10px 0;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: inline-block;
    margin-right: 15px;
}

.hud-label {
    color: #FFD700;
    margin-right: 8px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    .menu-content {
        padding: 20px;
        margin: 20px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1em;
    }
    
    #hud {
        font-size: 1em;
    }
}
