* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Fredoka', sans-serif;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff9a9e 100%);
}

#game-container {
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

#canvas {
    display: block;
    touch-action: none;
    max-width: 100%;
}

#ui-overlay {
    position: absolute;
    pointer-events: none;
}

footer {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

footer a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-family: 'Fredoka', sans-serif;
    transition: color 0.2s;
}

footer a:hover {
    color: #333;
}

@media (min-width: 600px) {
    #game-container {
        padding-top: 20px;
    }
    
    #canvas {
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
}

/* Animations for UI elements if needed */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}