/* Custom popup notification styles for Komedius new website announcement */

#new-web-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#new-web-popup.show {
    opacity: 1;
    pointer-events: auto;
}

#new-web-popup .popup-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(15, 185, 11, 0.2);
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

#new-web-popup.show .popup-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Glassmorphism gradient light source in the background of the card */
#new-web-popup .popup-card::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(15, 185, 11, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

#new-web-popup .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: #6f7275;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    background: none;
    border: none;
    outline: none;
    line-height: 1;
    padding: 5px;
}

#new-web-popup .close-btn:hover {
    color: #0fb90b;
    transform: rotate(90deg);
}

#new-web-popup .icon-container {
    width: 80px;
    height: 80px;
    background: rgba(15, 185, 11, 0.08);
    color: #0fb90b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
    position: relative;
    animation: pulse 2s infinite ease-in-out;
}

#new-web-popup .icon-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(15, 185, 11, 0.3);
    animation: ripple 2s infinite ease-out;
}

#new-web-popup .popup-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #0f0f0f;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

#new-web-popup .popup-text {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 30px;
}

#new-web-popup .cta-btn {
    background: #0fb90b;
    color: #0f0f0f;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 12px 35px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(15, 185, 11, 0.3);
    outline: none;
}

#new-web-popup .cta-btn:hover {
    background: #0eab0a;
    color: #0f0f0f;
    box-shadow: 0 6px 20px rgba(15, 185, 11, 0.5);
    transform: translateY(-2px);
}

#new-web-popup .cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(15, 185, 11, 0.3);
}

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

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}
