﻿:root {
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --primary: #6366f1; /* Indigo-500 */
    --background-dark: #0f172a; /* Slate-900 */
    --background-gradient-end: #312e81; /* Violet-800 */
}

body {
    margin: 0;
    font-family: 'Vazirmatn FD', sans-serif;
    background: linear-gradient(135deg, var(--background-dark), var(--background-gradient-end));
}

    body::-webkit-scrollbar {
        display: none;
    }

header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 56px;
    background: radial-gradient(circle at 70% 30%, #4f46e5, #0f172a 60%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom-right-radius: 66px;
    border-bottom: 2px solid #0303fc;
    z-index: 1000;
}

.header-center {
    text-align: center;
    flex: 1;
    margin-right: 40px; /* فاصله برای منو آیکون سمت راست */
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .header-center h1 {
        color: ghostwhite;
        font-size: 20px;
        margin: 2px;
        line-height: 1.2;
    }

.typing-text {
    color: ghostwhite;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    border-right: .15em solid #0303fc;
    text-shadow: 0 0 5px rgba(0,0,0,0.7);
    padding: 4px;
}

    .typing-text.done {
        border-right: none;
    }

/*menu paiini*/

.bottom-menu1 {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70px;
    background: radial-gradient(circle at 70% 30%, #4f46e5, #0f172a 60%);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 998;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    border: 2px solid #0303fc;
}

    .bottom-menu1::before {
        content: "";
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 80px;
        background: radial-gradient(circle at 70% 30%, #4f46e5, #0f172a 60%);
        border-radius: 50%;
        z-index: 997;
    }

    .bottom-menu1 a {
        padding: 8px 16px;
        font-size: 15px;
        color: ghostwhite;
        text-decoration: none;
        transition: background 0.2s;
    }

.menu-item1 {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f0309d;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
    position: relative;
}

    .menu-item1 i {
        font-size: 18px;
    }

    .menu-item1:hover {
        color: #0077cc;
    }

.brand-b1 {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle at 70% 30%, #f0309d, #0f172a 60%);
    color: #30a0f0;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 6px 12px rgba(0,0,0,1);
    text-decoration: none;
    z-index: 999;
}

.dropdown1 {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: floralwhite;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 140px;
    display: none;
    flex-direction: column;
    z-index: 1001;
}

    .dropdown1 a {
        padding: 8px 16px;
        font-size: 20px;
        color: ghostwhite;
        text-decoration: none;
        transition: background 0.2s;
    }

        .dropdown1 a:hover {
            background-color: black;
        }

.overlay1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 997;
    display: none;
}

.shake-icon {
    display: inline-block;
    animation: shake 0.4s infinite;
}

@keyframes shake {
    0% {
        transform: translate(0,0) rotate(0deg);
    }

    25% {
        transform: translate(-2px,1px) rotate(-6deg);
    }

    50% {
        transform: translate(2px,-1px) rotate(6deg);
    }

    75% {
        transform: translate(-1px,-2px) rotate(-4deg);
    }

    100% {
        transform: translate(0,0) rotate(0deg);
    }
}

@media (max-width: 600px) {
    .menu-item1 {
        font-size: 14px;
    }

        .menu-item1 i {
            font-size: 16px;
        }

    .dropdown1 {
        min-width: 120px;
        font-size: 12px;
    }

    .brand-b1 {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .bottom-menu1::before {
        width: 70px;
        height: 70px;
        top: -30px;
    }
}

.noLtr {
    direction: rtl !important;
}

/*عنوان متحرک با متن ثابت*/

/* تنظیمات پایه برای مرکزیت و زیبایی */
.header-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 7px;
    width: 100%;
    background: white;
}

.glowing-title {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: clamp(0.8rem, 2.5vw, 1.5rem); /* واکنش‌گرایی فونت بدون مدیا کوئری */
    font-weight: bold;
    color: black;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    margin: 0;
}

/* افکت فلش‌ها */
.arrow {
    animation: blink-arrow 1.5s infinite alternate;
    color: #f0309d; /* رنگ قرمز مدرن برای فلش‌ها */
}

/* افکت متن (تیره و روشن شدن) */
.text {
    animation: pulse-text 3s infinite ease-in-out;
}

/* انیمیشن فلش‌ها (تک‌تک شدن) */
@keyframes blink-arrow {
    0%, 100% {
        opacity: 0;
        transform: translateX(10px);
    }

    50% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* انیمیشن تغییر غلظت رنگ متن */
@keyframes pulse-text {
    0%, 100% {
        color: #333;
    }

    50% {
        color: #888;
    }
}

/* تنظیمات ریسپانسیو برای موبایل */
@media (max-width: 600px) {
    .glowing-title {
        gap: 8px;
    }
}


/*عنوان متحرک با متن متغیر*/

.multi-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-top: 60px;
    background: radial-gradient(circle at 70% 30%, #f0309d, #0f172a 60%);
   border-top-left-radius: 58px;
}

.multi-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: clamp(0.9rem, 1.8vw, 1.5rem); /* واکنش‌گرایی فونت بدون مدیا کوئری */
    font-weight: bold;
    color: ghostwhite;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    margin: 0;
}

/* فلش‌ها */
.multi-arrow {
    color: #4f46e5;
    animation: multi-blink 3.5s infinite alternate;
}

/* متن با ترنزیشن اختصاصی */
.multi-text {
    animation: pulse-text 3s infinite ease-in-out;
}

    /* کلاس برای مدیریت حالت محو شدن */
    .multi-text.is-fading {
        opacity: 0;
    }

/* انیمیشن تغییر غلظت رنگ متن */
@keyframes pulse-text {
    0%, 100% {
        color: #333;
    }

    50% {
        color: ghostwhite;
    }
}

@keyframes multi-blink {
    0%, 100% {
        opacity: 0;
        transform: translateX(10px);
    }

    50% {
        opacity: 1;
        transform: translateX(0);
    }
}
