body {
    font-family: 'Comic Sans MS', cursive, sans-serif; 
    background: linear-gradient(
        45deg, 
        #FF6B6B, 
        #4ECDC4, 
        #45B7D1, 
        #FDCB6E  
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* Animated Gradient Background */
@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

#colorBox {
    width: 250px;
    height: 250px;
    background-color: #FFFFFF;
    margin: 20px;
    border-radius: 20px;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.2),
        0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    transform: perspective(500px);
    border: 5px solid transparent;
    background-clip: padding-box;
    background-origin: padding-box;
    position: relative;
    overflow: hidden;
}

#colorBox::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 90deg at 40% -30%, 
        #ff9a9e, 
        #fad0c4, 
        #ffecd2, 
        #fcb69f
    );
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#colorBox:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.3),
        0 20px 50px rgba(0,0,0,0.2);
}

#changeColorBtn, #discoModeBtn {
    background: linear-gradient(
        135deg, 
        #FF6B6B, 
        #4ECDC4
    );
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-family: 'Comic Sans MS', cursive;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#changeColorBtn:hover, #discoModeBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.3);
}