/* Doğum Günü Pastası */
.birthday-cake {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: cakeFloat 3s ease-in-out infinite;
}

.cake-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 30px;
    background: #ff6b6b;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.cake-middle {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 40px;
    background: #ffd93d;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.3);
}

.cake-bottom {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 50px;
    background: #ff6b6b;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.candle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background: #fff;
    border-radius: 2px;
}

.flame {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 15px;
    background: linear-gradient(to top, #ff6b6b, #ffd93d);
    border-radius: 50% 50% 20% 20%;
    box-shadow: 0 0 10px #ff6b6b, 0 0 20px #ffd93d;
    animation: flameFlicker 1s ease-in-out infinite alternate;
}

@keyframes cakeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes flameFlicker {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-50%) scale(1.1);
        opacity: 1;
    }
}

/* Konfeti Animasyonu */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    animation: confettiFall 5s linear infinite;
}

.confetti:nth-child(2n) {
    background: #ffd93d;
    width: 8px;
    height: 8px;
}

.confetti:nth-child(3n) {
    background: #4ecdc4;
    width: 12px;
    height: 12px;
}

.confetti:nth-child(4n) {
    background: #ff6b6b;
    width: 9px;
    height: 9px;
}

.confetti:nth-child(5n) {
    background: #ffd93d;
    width: 11px;
    height: 11px;
}

.confetti:nth-child(1) { left: 10%; animation-delay: 0s; }
.confetti:nth-child(2) { left: 20%; animation-delay: 0.5s; }
.confetti:nth-child(3) { left: 30%; animation-delay: 1s; }
.confetti:nth-child(4) { left: 40%; animation-delay: 1.5s; }
.confetti:nth-child(5) { left: 50%; animation-delay: 2s; }
.confetti:nth-child(6) { left: 60%; animation-delay: 2.5s; }
.confetti:nth-child(7) { left: 70%; animation-delay: 3s; }
.confetti:nth-child(8) { left: 80%; animation-delay: 3.5s; }
.confetti:nth-child(9) { left: 90%; animation-delay: 4s; }
.confetti:nth-child(10) { left: 95%; animation-delay: 4.5s; }

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
} 