* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.container {
    text-align: center;
}

h1 {
    color: white;
    font-size: 3rem;
    margin-top: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce 0.6s ease-in-out infinite;
}

p {
    color: white;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.dancing-meme {
    width: 150px;
    height: 250px;
    margin: 0 auto;
    position: relative;
    animation: sway 0.8s ease-in-out infinite;
}

.head {
    width: 80px;
    height: 80px;
    background: #FFD700;
    border-radius: 50%;
    margin: 0 auto 10px;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: headBounce 0.6s ease-in-out infinite;
}

.body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    position: relative;
}

.torso {
    width: 50px;
    height: 80px;
    background: #FF6B6B;
    border-radius: 10px;
    position: relative;
}

.arm {
    width: 50px;
    height: 15px;
    background: #FFD700;
    border-radius: 10px;
    position: absolute;
    top: 15px;
}

.left-arm {
    left: -60px;
    animation: armLeft 0.8s ease-in-out infinite;
    transform-origin: right center;
}

.right-arm {
    right: -60px;
    animation: armRight 0.8s ease-in-out infinite;
    transform-origin: left center;
}

.legs {
    display: flex;
    justify-content: center;
    gap: 20px;
    height: 80px;
}

.leg {
    width: 30px;
    height: 80px;
    background: #4A90E2;
    border-radius: 10px;
}

.left-leg {
    animation: legLeft 0.8s ease-in-out infinite;
}

.right-leg {
    animation: legRight 0.8s ease-in-out infinite;
}

/* Animations */

@keyframes sway {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes headBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes armLeft {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-45deg);
    }
    75% {
        transform: rotate(45deg);
    }
}

@keyframes armRight {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(45deg);
    }
    75% {
        transform: rotate(-45deg);
    }
}

@keyframes legLeft {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(20deg);
    }
}

@keyframes legRight {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-20deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
