.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.popup-wrapper {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    transform: scale(0.95);
    animation: scaleUp 0.4s ease-out forwards;
}

@keyframes scaleUp {
    to {
        transform: scale(1);
    }
}

.popup-header {
    background: linear-gradient(135deg, #3B5998, #1A8ECB);
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.popup-content {
    padding: 30px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.popup-content p {
    margin: 15px 0;
}

.popup-content strong {
    color: #3B5998;
    font-weight: 600;
}

.news-heading {
    color: #3B5998;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 30px 30px;
}

.popup-button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn {
    background: linear-gradient(135deg, #1A8ECB, #1E4B7D);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.2);
}

.secondary-btn {
    background-color: #f0f2f5;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.popup-button:hover {
    transform: translateY(-2px);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #1E4B7D, #1A8ECB);
    box-shadow: 0 6px 20px rgba(59, 89, 152, 0.3);
}

.secondary-btn:hover {
    background-color: #e4e6e9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.individual-news {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    border-left: 4px solid #3B5998;
}

@media (max-width: 600px) {
    .popup-button-container {
        flex-direction: column;
    }
    
    .popup-content {
        font-size: 1rem;
        padding: 20px;
    }
    
    .popup-header h2 {
        font-size: 1.4rem;
    }
    
    .popup-logo {
        height: 40px;
    }
    
    .popup-button {
        width: 100%;
        justify-content: center;
    }
} 