/* static/intro/style.css */

#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 1s ease; /* برای محو شدن نرم در پایان */
}

/* انیمیشن حرکت رنگ طلایی (مشابه کدی که خودت نوشته بودی) */
@keyframes goldLinearGradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* انیمیشن بالا آمدن و ظاهر شدن متن */
@keyframes introFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-main-text {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 900; /* وزن Black برای تیتر اصلی */
    font-size: 3.5rem;
    margin-bottom: 0.5rem;

    /* ترکیب چند رنگ طلایی برای درخشش */
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #bf953f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;

    animation: goldLinearGradientMove 3s linear infinite, introFadeInUp 1.5s ease-out;
    text-align: center;
}

.intro-sub-text {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700; /* وزن Bold طبق خواسته شما */
    font-size: 1.2rem;

    /* گرادیانت طلایی ملایم‌تر برای زیرنویس */
    background: linear-gradient(to right, #d4af37, #ffdf73, #d4af37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;

    /* با کمی تاخیر نسبت به متن اصلی لود می‌شود */
    animation: goldLinearGradientMove 4s linear infinite reverse, introFadeInUp 1.5s ease-out 0.5s both;
    text-align: center;
    margin-top: 15px;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .intro-main-text { font-size: 2.2rem; }
    .intro-sub-text { font-size: 0.9rem; }
}