/* Volunteer Popup Styles */
.volunteer-popup-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;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.volunteer-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.volunteer-popup-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.7) translateY(50px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.volunteer-popup-overlay.show .volunteer-popup-container {
    transform: scale(1) translateY(0);
}

.volunteer-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.volunteer-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.volunteer-popup-content {
    padding: 60px 40px 40px;
    text-align: center;
    color: white;
}

.volunteer-popup-icon {
    font-size: 80px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

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

.volunteer-popup-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.volunteer-popup-subtitle {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.volunteer-popup-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.volunteer-popup-stats {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.volunteer-popup-stat {
    text-align: center;
    flex: 1;
}

.volunteer-popup-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd89b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.volunteer-popup-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.volunteer-popup-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 20px 0;
    box-shadow: 0 10px 25px rgba(238, 90, 36, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.volunteer-popup-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(238, 90, 36, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.volunteer-popup-button i {
    margin-right: 10px;
}

.volunteer-popup-footer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    font-style: italic;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .volunteer-popup-content {
        padding: 40px 20px 20px;
    }
    
    .volunteer-popup-title {
        font-size: 2rem;
    }
    
    .volunteer-popup-icon {
        font-size: 60px;
    }
    
    .volunteer-popup-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .volunteer-popup-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .volunteer-popup-text {
        font-size: 1rem;
    }
}

/* Animation for entrance */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.volunteer-popup-overlay.show .volunteer-popup-content > * {
    animation: slideInUp 0.6s ease forwards;
}

.volunteer-popup-overlay.show .volunteer-popup-content > *:nth-child(1) { animation-delay: 0.1s; }
.volunteer-popup-overlay.show .volunteer-popup-content > *:nth-child(2) { animation-delay: 0.2s; }
.volunteer-popup-overlay.show .volunteer-popup-content > *:nth-child(3) { animation-delay: 0.3s; }
.volunteer-popup-overlay.show .volunteer-popup-content > *:nth-child(4) { animation-delay: 0.4s; }
.volunteer-popup-overlay.show .volunteer-popup-content > *:nth-child(5) { animation-delay: 0.5s; }
.volunteer-popup-overlay.show .volunteer-popup-content > *:nth-child(6) { animation-delay: 0.6s; }