/* ==================== PWA INSTALL SCREEN ==================== */

.pwa-install-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pwa-install-screen.active {
    opacity: 1;
}

.pwa-install-content {
    text-align: center;
    padding: 40px 24px;
    max-width: 400px;
    animation: slideUp 0.6s ease-out;
}

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

.pwa-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    margin-bottom: 24px;
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pwa-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pwa-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Features */
.pwa-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.pwa-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: left;
}

.pwa-feature i {
    font-size: 24px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.pwa-feature span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Install Button */
.btn-install-pwa {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(127, 176, 105, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.btn-install-pwa:hover {
    background: #6a9e5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(127, 176, 105, 0.5);
}

.btn-install-pwa:active {
    transform: translateY(0);
}

.btn-install-pwa i {
    font-size: 18px;
}

/* Skip Button */
.btn-skip-install {
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-skip-install:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.5);
}

/* Hide when not supported */
.pwa-install-screen.not-supported {
    display: none !important;
}

/* Responsive */
@media (max-width: 480px) {
    .pwa-install-content {
        padding: 32px 20px;
    }

    .pwa-logo {
        width: 100px;
        height: 100px;
    }

    .pwa-title {
        font-size: 24px;
    }

    .pwa-subtitle {
        font-size: 14px;
    }

    .pwa-feature {
        padding: 12px;
    }

    .pwa-feature i {
        font-size: 20px;
    }

    .pwa-feature span {
        font-size: 13px;
    }
}

/* Animation for fade out */
.pwa-install-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}
