/* Android App Download Modal Styles */
.android-app-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

.android-app-overlay.show {
    opacity: 1;
    visibility: visible;
}

.android-app-modal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.android-app-overlay.show .android-app-modal {
    transform: scale(1);
}

.android-app-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 25px 15px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.android-app-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.android-app-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.android-app-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.android-app-close i {
    font-size: 16px;
}

.android-app-content {
    padding: 25px;
    background: white;
}

.android-app-icon {
    text-align: center;
    margin-bottom: 20px;
}

.android-app-icon img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #f0f0f0;
}

.android-app-info h4 {
    color: #333;
    font-size: 1.5em;
    margin: 0 0 10px 0;
    text-align: center;
    font-weight: 600;
}

.android-app-info p {
    color: #666;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.android-app-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.android-app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95em;
}

.android-app-features li i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.android-app-footer {
    padding: 20px 25px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.android-app-download-btn {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.android-app-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
    text-decoration: none;
}

.android-app-download-btn i {
    font-size: 18px;
}

.android-app-later-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.android-app-later-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 480px) {
    .android-app-modal {
        width: 95%;
        margin: 10px;
    }
    
    .android-app-header {
        padding: 15px 20px 10px;
    }
    
    .android-app-header h3 {
        font-size: 1.2em;
    }
    
    .android-app-content {
        padding: 20px;
    }
    
    .android-app-icon img {
        width: 70px;
        height: 70px;
    }
    
    .android-app-info h4 {
        font-size: 1.3em;
    }
    
    .android-app-footer {
        padding: 15px 20px 20px;
    }
    
    .android-app-download-btn {
        padding: 12px 15px;
        font-size: 1em;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .android-app-content {
        background: #1a1a1a;
    }
    
    .android-app-info h4 {
        color: #fff;
    }
    
    .android-app-info p {
        color: #ccc;
    }
    
    .android-app-features li {
        color: #ddd;
    }
}

/* Animation for modal entrance */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.android-app-overlay.show .android-app-modal {
    animation: modalSlideIn 0.4s ease-out;
}

/* Loading animation for download button */
.android-app-download-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.android-app-download-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
} 