* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    font-family: 'Bangers', cursive;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 800px;
    max-height: 600px;
    background: linear-gradient(180deg, #87CEEB 0%, #98D8C8 50%, #7CB342 100%);
    overflow: hidden;
}

#game-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

#score-display, #level-display {
    position: absolute;
    top: 10px;
    font-size: clamp(18px, 4vw, 28px);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
}

#score-display {
    left: 15px;
}

#level-display {
    right: 15px;
}

#touch-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 5;
}

#controls-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(12px, 3vw, 16px);
    color: rgba(255,255,255,0.8);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 10;
}

#start-screen, #game-over-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    gap: 20px;
}

#start-screen h1, #game-over-screen h2 {
    font-size: clamp(36px, 10vw, 64px);
    color: #FFD700;
    text-shadow: 3px 3px 0 #FF4444, 6px 6px 0 rgba(0,0,0,0.3);
    letter-spacing: 4px;
}

#start-screen p {
    font-size: clamp(16px, 4vw, 24px);
    color: #fff;
}

button {
    font-family: 'Bangers', cursive;
    font-size: clamp(20px, 5vw, 32px);
    padding: 15px 40px;
    background: linear-gradient(180deg, #FF6B6B 0%, #EE4444 100%);
    color: #fff;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 6px 0 #AA2222, 0 8px 10px rgba(0,0,0,0.3);
    transition: transform 0.1s, box-shadow 0.1s;
    letter-spacing: 2px;
}

button:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #AA2222, 0 4px 5px rgba(0,0,0,0.3);
}

button:hover {
    filter: brightness(1.1);
}

.hidden {
    display: none !important;
}

#game-over-screen p {
    font-size: clamp(18px, 4vw, 28px);
    color: #fff;
}

@media (min-width: 768px) {
    #game-container {
        border-radius: 10px;
        box-shadow: 0 0 30px rgba(0,0,0,0.3);
    }
}
