/* Уведомление о новом обновлении */
.update-notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 40, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    animation: fadeIn 0.5s ease-in-out;
    overflow: hidden;
}

.update-notification-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.update-notification-content {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 30, 60, 0.95) 0%, rgba(20, 20, 40, 0.95) 100%);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(0, 191, 255, 0.2),
                inset 0 0 50px rgba(0, 191, 255, 0.1);
    border: 2px solid rgba(0, 191, 255, 0.3);
    animation: slideUp 0.6s ease-out;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.update-notification-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.update-notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(90deg);
    border-color: rgba(0, 191, 255, 0.5);
}

.update-notification-body {
    position: relative;
    text-align: center;
    z-index: 2;
}

.update-notification-icon {
    font-size: 4rem;
    color: #00bfff;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.update-notification-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.update-notification-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
}

.update-notification-version {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.update-notification-version.major {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.update-notification-version.minor {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.update-notification-version.patch {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.update-notification-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.update-notification-preview {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.update-notification-preview-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.update-notification-preview-item i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.update-notification-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.update-notification-actions .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.update-notification-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .update-notification-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
    
    .update-notification-icon {
        font-size: 3rem;
    }
    
    .update-notification-title {
        font-size: 1.5rem;
    }
    
    .update-notification-actions {
        flex-direction: column;
    }
    
    .update-notification-actions .btn {
        width: 100%;
    }
    
    .update-notification-close {
        width: 35px;
        height: 35px;
        top: 0.5rem;
        right: 0.5rem;
    }
}

