
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px;
}

.success-popup.show {
    display: flex !important;
    animation: fadeIn 0.3s ease-out;
}

.popup-content {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    animation: popupScale 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    position: relative;
    margin: auto;
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    animation: bounce 0.6s ease-out 0.2s;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.popup-message {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 25px;
}

.popup-features {
    background: #f8faff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #667eea;
    text-align: left;
}

.popup-features h4 {
    color: #667eea;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.popup-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-features li {
    padding: 5px 0;
    color: #4a5568;
    font-size: 14px;
}

.popup-features li::before {
    content: '✨';
    margin-right: 8px;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.popup-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.popup-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.popup-btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.popup-btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #4a5568;
    text-decoration: none;
}

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

@keyframes popupScale {
    0% { transform: scale(0.7) rotate(-5deg); }
    50% { transform: scale(1.05) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); }
}

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

.email-highlight {
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #f39c12;
}

.email-highlight strong {
    color: #d35400;
}

@media (max-width: 480px) {
    .success-popup {
        padding: 10px;
        align-items: center;
        justify-content: center;
    }
    
    .popup-content {
        padding: 30px 20px;
        margin: 0;
        width: 95%;
        max-width: none;
        min-height: auto;
        max-height: 95vh;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .popup-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .popup-btn {
        width: 100%;
        padding: 15px;
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

/* Warning Popup Specific Styles */
.warning-popup-content {
    border-top: 5px solid #f59e0b !important;
}

.warning-popup-content::before {
    background: linear-gradient(90deg, #f59e0b, #f97316, #ef4444) !important;
}

.warning-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    animation: pulse 2s ease-in-out infinite !important;
}

.warning-title {
    background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.warning-highlight {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
    border: 1px solid #fdba74;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #f59e0b;
}

.warning-info {
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid #fde68a;
}

.warning-info:last-child {
    margin-bottom: 0;
}

.warning-info strong {
    color: #d97706;
    font-size: 14px;
}

.warning-info span {
    color: #92400e;
    font-weight: 600;
    font-size: 16px;
}

.days-counter {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #dc2626 !important;
}

.warning-features {
    background: #fef3c7 !important;
    border-left: 4px solid #f59e0b !important;
}

.warning-features h4 {
    color: #d97706 !important;
}

.warning-features ul li {
    color: #92400e;
    font-size: 13px;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
    }
}
