/* Birthday Popup Styles - Temporary */
.birthday-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out;
}

.birthday-modal {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
    border: 3px solid #15803d;
    position: relative;
}

.birthday-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #15803d, #22c55e, #15803d);
    animation: shimmer 2s infinite;
}

.birthday-content {
    display: flex;
    min-height: 400px;
}

.birthday-image {
    flex: 1;
    background: linear-gradient(135deg, #15803d, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.birthday-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.birthday-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: imageGlow 2s ease-in-out infinite alternate;
}

.birthday-message {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #fff;
    position: relative;
}

.birthday-message::before {
    content: '🎂';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.birthday-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: titleGlow 3s ease-in-out infinite;
}

.birthday-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
}

.birthday-quote {
    font-size: 1.1rem;
    color: #15803d;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4, #e6f4ea);
    border-radius: 15px;
    border-left: 5px solid #15803d;
    animation: quotePulse 2s ease-in-out infinite;
}

.birthday-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #15803d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.birthday-close:hover {
    background: #0f5f2d;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes imageGlow {
    from { box-shadow: 0 10px 30px rgba(21, 128, 61, 0.3); }
    to { box-shadow: 0 15px 40px rgba(21, 128, 61, 0.6); }
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 2px 2px 4px rgba(21, 128, 61, 0.3); }
    50% { text-shadow: 2px 2px 8px rgba(21, 128, 61, 0.6); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes quotePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .birthday-content {
        flex-direction: column;
    }
    
    .birthday-image {
        min-height: 200px;
    }
    
    .birthday-message {
        padding: 30px 20px;
    }
    
    .birthday-title {
        font-size: 2rem;
    }
    
    .birthday-subtitle {
        font-size: 1rem;
    }
    
    .birthday-quote {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #15803d;
    animation: confettiFall 3s linear infinite;
}

.confetti:nth-child(2n) {
    background: #22c55e;
    animation-delay: 0.5s;
}

.confetti:nth-child(3n) {
    background: #fbbf24;
    animation-delay: 1s;
}

.confetti:nth-child(4n) {
    background: #ef4444;
    animation-delay: 1.5s;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}
