/* iOS Install Prompt */
.ios-install-prompt {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(107, 70, 193, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    max-width: 90%;
    animation: slideUp 0.3s ease-out;
    display: none;
}

.ios-install-prompt.show {
    display: block;
}

.ios-install-prompt-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ios-install-prompt-icon {
    font-size: 24px;
}

.ios-install-prompt-text {
    flex: 1;
}

.ios-install-prompt-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.ios-install-prompt-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.ios-install-prompt-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.ios-install-prompt-close:hover {
    opacity: 1;
}

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

/* Адаптация для iPhone с notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .ios-install-prompt {
        bottom: calc(80px + env(safe-area-inset-bottom));
    }
}
