.birthdays-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, #fefce8 0%, #fff7ed 50%, #f0fdf4 100%);
    position: relative;
    overflow: hidden;
    display: none; /* JS will toggle */
    border-top: 5px solid #fbbf24;
    border-bottom: 5px solid #3b82f6;
}

.birthdays-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(251, 191, 36, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(244, 114, 182, 0.15) 0%, transparent 40%);
    z-index: 0;
}

/* Confetti Layer */
.birthdays-section::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    background-image: url('data:image/svg+xml,<svg width="120" height="120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="4" fill="%23fbbf24" opacity="0.6"/><rect x="70" y="30" width="8" height="8" rx="2" fill="%233b82f6" opacity="0.5" transform="rotate(45 74 34)"/><circle cx="100" cy="80" r="5" fill="%23f472b6" opacity="0.5"/><path d="M40 90 L46 98 L52 90" stroke="%2334d399" stroke-width="3" fill="none" opacity="0.6"/><rect x="10" y="70" width="6" height="2" fill="%23ef4444" opacity="0.5" transform="rotate(-30 13 71)"/></svg>');
    background-repeat: repeat;
    animation: partyFloat 40s linear infinite;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

/* Floating Balloons (Visual decoration) */
.birthdays-section .container::before,
.birthdays-section .container::after {
    content: '🎈';
    position: absolute;
    font-size: 3rem;
    z-index: 2;
    animation: balloonFloat 6s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.6;
}

.birthdays-section .container::before {
    left: -5%;
    top: 10%;
    animation-delay: 0s;
}

.birthdays-section .container::after {
    right: -5%;
    bottom: 10%;
    animation-delay: 3s;
}

@keyframes partyFloat {
    from { transform: translate(0, 0); }
    to { transform: translate(120px, 120px); }
}

@keyframes balloonFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Garante que o conteúdo fique acima do fundo novo */
.birthdays-section .container {
    position: relative;
    z-index: 5;
}

.birthdays-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.birthday-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 250px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.birthday-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.birthday-card.is-today {
    border-color: #fbbf24;
    background: linear-gradient(135deg, white, #fffbeb);
}

.birthday-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fbbf24;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.birthday-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.birthday-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.birthday-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--neutral-800);
    margin: 0 0 0.25rem;
}

.birthday-date {
    color: var(--primary-600);
    font-weight: 600;
    margin: 0;
}

.birthday-role {
    color: var(--neutral-500);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Modal Overlay */
.birthday-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.birthday-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.birthday-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.birthday-modal-overlay.active .birthday-modal-content {
    transform: scale(1);
}

.birthday-confetti {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.birthday-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-600);
    margin: 0 0 0.5rem;
}

.birthday-message {
    font-size: 1.2rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
}

.birthday-people {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.birthday-person {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.birthday-person-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.5rem;
    background: #e0f2fe;
    border: 3px solid var(--primary-200);
}

.birthday-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.birthday-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--neutral-400);
    line-height: 1;
}

.birthday-close:hover {
    color: var(--neutral-800);
}

.birthday-footer {
    color: var(--neutral-500);
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Confetti Effect (Simple CSS Implementation) */
/* Would require JS for full confetti, keeping it simple here for now */