.update-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

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

.update-popup {
    background: linear-gradient(135deg, #1e2024 0%, #252830 100%);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    position: relative;
    transform: scale(0.9);
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow: visible;
}

@keyframes popIn {
    to {
        transform: scale(1);
    }
}

.update-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
}

.update-popup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.update-popup-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.update-popup-icon svg {
    width: 28px;
    height: 28px;
    stroke: #1e2024;
    stroke-width: 2.5;
}

.update-popup-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fbbf24;
    margin: 0;
}

.update-popup-content {
    margin-bottom: 1.5rem;
}

.update-popup-section {
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.update-popup-section:last-child {
    margin-bottom: 0;
}

.update-popup-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.update-popup-section h3 svg {
    width: 20px;
    height: 20px;
    stroke: #fbbf24;
    flex-shrink: 0;
}

.update-popup-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.update-popup-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fbbf24;
    margin-left: 0.5rem;
}

.update-popup-footer {
    display: flex;
    gap: 1rem;
}

.update-popup-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.update-popup-btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e2024;
}

.update-popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.update-popup-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.update-popup-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.update-popup-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 640px) {
    .update-popup {
        padding: 1.5rem;
    }
    
    .update-popup-title {
        font-size: 1.5rem;
    }
    
    .update-popup-footer {
        flex-direction: column;
    }
}
