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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #87CEEB;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.dog-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.dog {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 50px auto;
}

.dog-body {
    position: absolute;
    width: 140px;
    height: 90px;
    background-color: #8B4513;
    border-radius: 50px;
    bottom: 0;
    left: 30px;
}

.dog-head {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: #8B4513;
    border-radius: 50%;
    top: 50px;
    left: 50px;
}

.dog-ears {
    position: absolute;
    width: 40px;
    height: 60px;
    background-color: #8B4513;
    border-radius: 20px;
}

.dog-ears.left {
    transform: rotate(-30deg);
    left: -10px;
    top: -20px;
}

.dog-ears.right {
    transform: rotate(30deg);
    right: -10px;
    top: -20px;
}

.dog-eyes {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #000;
    border-radius: 50%;
    top: 40px;
}

.dog-eyes.left {
    left: 25px;
}

.dog-eyes.right {
    right: 25px;
}

.dog-nose {
    position: absolute;
    width: 20px;
    height: 15px;
    background-color: #000;
    border-radius: 10px;
    bottom: 25px;
    left: 40px;
}

.dog-mouth {
    position: absolute;
    width: 40px;
    height: 20px;
    border-bottom: 4px solid #000;
    border-radius: 0 0 20px 20px;
    bottom: 15px;
    left: 30px;
}

.dog-tail {
    position: absolute;
    width: 40px;
    height: 10px;
    background-color: #8B4513;
    border-radius: 5px;
    bottom: 40px;
    right: 0;
    transform-origin: left center;
    animation: tailWag 0.5s infinite alternate;
}

.ball {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #ff4444;
    border-radius: 50%;
    display: none;
    transition: all 0.3s ease;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.1);
}

@keyframes tailWag {
    from {
        transform: rotate(-10deg);
    }
    to {
        transform: rotate(10deg);
    }
}

.dog.excited {
    animation: bounce 0.5s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-20px);
    }
} 