/* Sakura Falling Petals Animation */
.sakura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.sakura-petal {
    position: absolute;
    top: -20px;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #FFB7D5 0%, #FF69B4 100%);
    border-radius: 50% 0 50% 0;
    opacity: 0.7;
    animation: fall linear infinite;
    box-shadow: 0 0 10px rgba(255, 183, 213, 0.8);
}

.sakura-petal::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #FFE4F0 0%, #FFB7D5 100%);
    border-radius: 0 50% 0 50%;
    transform: rotate(90deg);
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
        opacity: 0.7;
    }
    25% {
        transform: translateY(25vh) rotate(90deg) translateX(20px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) translateX(-20px);
        opacity: 0.6;
    }
    75% {
        transform: translateY(75vh) rotate(270deg) translateX(20px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg) translateX(0);
        opacity: 0;
    }
}

/* Generate multiple petals with different timings */
.sakura-petal:nth-child(1) { left: 5%; animation-duration: 12s; animation-delay: 0s; }
.sakura-petal:nth-child(2) { left: 15%; animation-duration: 14s; animation-delay: 2s; width: 12px; height: 12px; }
.sakura-petal:nth-child(3) { left: 25%; animation-duration: 11s; animation-delay: 4s; }
.sakura-petal:nth-child(4) { left: 35%; animation-duration: 15s; animation-delay: 1s; width: 18px; height: 18px; }
.sakura-petal:nth-child(5) { left: 45%; animation-duration: 13s; animation-delay: 3s; }
.sakura-petal:nth-child(6) { left: 55%; animation-duration: 12s; animation-delay: 5s; width: 14px; height: 14px; }
.sakura-petal:nth-child(7) { left: 65%; animation-duration: 14s; animation-delay: 0.5s; }
.sakura-petal:nth-child(8) { left: 75%; animation-duration: 11s; animation-delay: 2.5s; width: 16px; height: 16px; }
.sakura-petal:nth-child(9) { left: 85%; animation-duration: 13s; animation-delay: 4.5s; }
.sakura-petal:nth-child(10) { left: 95%; animation-duration: 15s; animation-delay: 1.5s; width: 13px; height: 13px; }

/* Glow effect on hover over cards */
.card::after {
    content: '🌸';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover::after {
    opacity: 0.3;
    transform: scale(1.5) rotate(360deg);
}

/* Subtle sparkle effect */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 10% 20%, white, transparent),
        radial-gradient(2px 2px at 30% 80%, white, transparent),
        radial-gradient(2px 2px at 50% 30%, white, transparent),
        radial-gradient(2px 2px at 70% 70%, white, transparent),
        radial-gradient(2px 2px at 90% 40%, white, transparent);
    background-size: 200% 200%;
    animation: sparkle 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
