﻿.footer-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
    opacity: 0;
    transform: translateY(40px);
}

.footer-item-android {
    flex: 1;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -10px;
    opacity: 0;
    transform: translateY(40px);
}

    .footer-item img,
    .footer-item-android img {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
        transition: filter 0.3s ease, transform 0.3s ease;
    }

    .footer-item span,
    .footer-item-android span {
        display: block;
        margin-top: 2px;
        font-weight: bold;
        font-family: 'YekanBakhFaNum', sans-serif;
        font-size: 12px;
    }

.coloriconwhite {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* ✨ افکت درخشندگی + حفظ سفیدی آیکون */
.footer-item:hover img,
.footer-item:active img,
.footer-item-android:hover img,
.footer-item-android:active img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
    transform: scale(1.15);
}

/* متن همزمان با hover تغییر نکنه */
.footer-item:hover span,
.footer-item-android:hover span {
    color: #fff;
}

/* جلوگیری از انتخاب متن */
.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* انیمیشن ظاهر شدن از پایین */
@keyframes riseFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-item.animate-footer,
.footer-item-android.animate-footer {
    animation-name: riseFromBottom;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;
}
