/* Annonce application Play Store */
#app-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#app-overlay.app-overlay-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767.98px) {
    #app-overlay {
        top: 20px;
        right: 50%;
        transform: translateX(50%) translateY(-20px);
    }
    #app-overlay.app-overlay-visible {
        transform: translateX(50%) translateY(0);
    }
}

#app-overlay .app-overlay-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 30px 40px;
    text-align: center;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#app-overlay .app-overlay-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 10px;
}

#app-overlay .app-overlay-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

#app-overlay .app-overlay-playstore-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s ease;
    margin-bottom: 20px;
}

#app-overlay .app-overlay-playstore-link:hover {
    background: #1a1a1a;
    color: #fff;
}

#app-overlay .app-overlay-playstore-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

#app-overlay .app-overlay-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

#app-overlay .app-overlay-video {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

#app-overlay .app-overlay-unmute {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease, background 0.2s ease;
    z-index: 1;
}

#app-overlay .app-overlay-unmute:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
}

#app-overlay .app-overlay-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 6px;
    opacity: 0.8;
    transition: opacity 0.2s ease, background 0.2s ease;
    z-index: 2;
}

#app-overlay .app-overlay-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.15);
    color: #000;
}
