body, html {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(to bottom, #87ceeb 0%, #98d8e8 100%);
    font-family: 'Arial', sans-serif;
}

#gameCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    background: transparent;
    z-index: 1;
}

#ui-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
    box-sizing: border-box;
    gap: 20px;
    border-bottom: 3px solid #8B4513;
}

#scoreboard, #levelDisplay {
    font-size: 1.4em;
    font-weight: bold;
    color: #FFD700;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    padding: 8px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    border: 2px solid #654321;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    min-width: 120px;
    text-align: center;
}

#scoreboard span, #levelDisplay span {
    color: #FFA500;
    font-size: 1.2em;
}

#resetBtn {
    font-size: 1.1em;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(45deg, #FF6B6B, #FF5252);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.2s ease;
    border: 2px solid #D32F2F;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#resetBtn:hover {
    background: linear-gradient(45deg, #FF5252, #D32F2F);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

#resetBtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

@media (max-width: 600px) {
    #ui-bar {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 10px;
    }
    #scoreboard, #levelDisplay {
        font-size: 1.1em;
        padding: 6px 12px;
        min-width: 100px;
    }
    #resetBtn {
        font-size: 1em;
        padding: 8px 16px;
    }
}

/* Angry Birds style loading/transition effects */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce {
    animation: bounce 1s ease-in-out;
} 