/* === PWA Install Prompt Styles === */
.pwa-install-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    /* Highest priority */
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    /* Hidden by default via transform, but layout ready */
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pwa-install-modal.visible {
    transform: translateY(0);
}

.pwa-content {
    max-width: 500px;
    width: 100%;
}

.pwa-icon {
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.pwa-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.pwa-desc {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 24px;
    line-height: 1.5;
}

.pwa-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00d4ff 0%, #0080ff 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 128, 255, 0.4);
    margin-bottom: 12px;
}

.pwa-btn:active {
    transform: scale(0.98);
}

.pwa-close {
    background: transparent;
    border: none;
    color: #666;
    font-size: 14px;
    padding: 8px;
    cursor: pointer;
    text-decoration: underline;
}

/* iOS Specific Instructions */
.ios-instructions {
    display: none;
    /* Hidden by default */
    background: #1c1c1e;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: left;
    width: 100%;
}

.ios-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #fff;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ios-step:last-child {
    border-bottom: none;
}

.ios-icon {
    font-size: 20px;
    color: #007aff;
    /* iOS Blue */
}

/* Animations */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}