/* iOS Add to Home Screen Prompt */

.tun-ios-prompt {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.tun-ios-prompt--visible {
    transform: translateY(0);
}

.tun-ios-prompt__inner {
    padding: 24px 24px 34px;
    text-align: center;
}

.tun-ios-prompt__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(202, 79, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tun-ios-prompt__icon svg {
    width: 28px;
    height: 28px;
    stroke: #ca4f2e;
}

.tun-ios-prompt__title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 8px;
}

.tun-ios-prompt__body {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0 0 20px;
}

.tun-ios-prompt__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    color: #1F2937;
    margin-bottom: 20px;
    font-weight: 500;
}

.tun-ios-prompt__share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #007AFF;
    border-radius: 6px;
}

.tun-ios-prompt__share-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
    fill: none;
}

.tun-ios-prompt__btn {
    display: inline-block;
    padding: 14px 32px;
    background: #ca4f2e;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.tun-ios-prompt__btn:hover {
    background: #b04528;
}

.tun-ios-prompt__arrow {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100001;
    animation: tunBounce 1s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.tun-ios-prompt--visible .tun-ios-prompt__arrow {
    opacity: 1;
}

.tun-ios-prompt__arrow svg {
    width: 32px;
    height: 32px;
    fill: #ca4f2e;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@keyframes tunBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Overlay */
.tun-ios-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.tun-ios-overlay--visible {
    opacity: 1;
    visibility: visible;
}
