#petalsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

#sun {
    position: fixed;
    top: -100px;  
    left: -30px; 
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #FFD700 40%, rgba(255, 215, 0, 0.8) 70%);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.7);
    opacity: 0;
    animation: sunrise 6s ease-out forwards, glow 2s infinite alternate ease-in-out, sunset 6s ease-out 6s forwards; 
    transition: opacity 3s ease-in-out; 
}

@keyframes sunrise {
    0% {
        top: -100px;  
        opacity: 0;
    }
    50% {
        top: 50px;  
        opacity: 0.5; 
    }
    100% {
        top: 20px;  
        opacity: 1; 
    }
}

@keyframes sunset {
    0% {
        top: 20px;  
        opacity: 1;
    }
    100% {
        top: -100px;  
        opacity: 0;  
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    }
    to {
        box-shadow: 0 0 60px rgba(255, 215, 0, 1);
    }
}