/* ===== استایل لوگو ===== */
.logo-text {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    min-width: 150px;
    position: relative;
}

/* ===== افکت تایپ ===== */
.logo-text::after {
    content: '|';
    animation: blink 0.8s step-end infinite;
    color: #667eea;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== انیمیشن محو شدن ===== */
.logo-text.fade-out {
    animation: fadeOut 0.8s ease forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* ===== انیمیشن ظاهر شدن ===== */
.logo-text.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== انیمیشن‌های جایگزین ===== */

/* انیمیشن محو شدن با چرخش */
@keyframes fadeOutRotate {
    0% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
}

.logo-text.fade-out-rotate {
    animation: fadeOutRotate 0.8s ease forwards;
}

/* انیمیشن ظاهر شدن با چرخش */
@keyframes fadeInRotate {
    0% {
        opacity: 0;
        transform: rotate(10deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.logo-text.fade-in-rotate {
    animation: fadeInRotate 0.8s ease forwards;
}

/* انیمیشن محو شدن با حرکت به بالا */
@keyframes fadeOutUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.logo-text.fade-out-up {
    animation: fadeOutUp 0.8s ease forwards;
}

/* انیمیشن ظاهر شدن از پایین */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-text.fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
}

/* ===== واکنش‌گرایی ===== */
@media (max-width: 768px) {
    .logo-text {
        font-size: 18px;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 14px;
        min-width: 100px;
    }
}