@font-face {
    font-family: 'Vazir';
    src: url('/main/assets/fonts/Vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ANegaarBold';
    src: url('/main/assets/fonts/ANegaarBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'ANegaarRegular';
    src: url('/main/assets/fonts/ANegaarRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* انیمیشن روشن و خاموش شدن */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* هدر اصلی */
.goldCrest {
    background: linear-gradient(45deg, #1C2526, #2E3A3B);
    padding: 8px 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Vazir', sans-serif;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* کانتینر ناوبری */
.luxVault {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* لوگو */
.jewelEmblem a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.emblemImage {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.jewelEmblem a:hover .emblemImage {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(184, 134, 11, 0.5));
}

/* نمایش قیمت */
.priceDisplay {
    display: flex;
    align-items: center;
}

.priceItem {
    background: #1C2526;
    color: #B8860B;
    font-size: 0.9rem; /* بزرگ‌تر شدن فونت قیمت */
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'ANegaarRegular', sans-serif;
    transition: opacity 0.2s ease-in-out;
}

.priceItem:hover {
    color: #DAA520;
}

.priceLabel {
    margin-left: 4px;
    font-size: 0.85rem; /* متناسب با فونت اصلی */
}

.onlineIndicator {
    font-size: 0.6rem; /* متناسب با فونت اصلی */
    color: #B8860B;
    animation: pulse 1.5s infinite ease-in-out;
}

/* دکمه منوی موبایل */
.menuSpark {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: #B8860B;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menuSpark.active {
    color: #DAA520;
}

/* منوی ناوبری */
.aurumLinks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.aurumLinks li a {
    color: #F5F5F5;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.aurumLinks li a.authGlow {
    color: #B8860B;
    font-weight: 600;
}

.aurumLinks li a.authGlow::after {
    background-color: #B8860B;
}

.aurumLinks li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    right: 0;
    background-color: #B8860B;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.aurumLinks li a:hover::after {
    width: 100%;
}

.aurumLinks li a:hover {
    color: #DAA520;
    transform: translateY(-2px);
}

/* دکمه بستن منو */
.closeMenu {
    display: none;
    position: absolute;
    top: 15px;
    left: 15px;
}

.closeBtn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #B8860B;
    cursor: pointer;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.closeBtn:hover {
    color: #DAA520;
}

/* منوی موبایل */
@media (max-width: 768px) {
    .luxVault {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }

    .priceDisplay {
        order: 2;
    }

    .menuSpark {
        display: block;
        order: 3;
    }

    .aurumLinks {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: linear-gradient(45deg, #1C2526, #2E3A3B);
        flex-direction: column;
        padding: 50px 25px;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.4);
        opacity: 0;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .aurumLinks.active {
        right: 0;
        opacity: 1;
        transform: translateX(0);
    }

    .aurumLinks li {
        margin: 15px 0;
    }

    .aurumLinks li a {
        font-size: 1.1rem;
        gap: 8px;
    }

    .aurumLinks li a.authGlow {
        color: #B8860B;
    }

    .closeMenu {
        display: block;
    }

    .emblemImage {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .goldCrest {
        padding: 6px 10px;
    }

    .luxVault {
        gap: 6px;
    }

    .emblemImage {
        width: 50px;
        height: 50px;
    }

    .menuSpark {
        font-size: 1.4rem;
    }

    .aurumLinks {
        width: 100%;
        padding: 40px 15px;
    }

    .aurumLinks li a {
        font-size: 1rem;
    }

    .closeMenu {
        top: 10px;
        left: 10px;
    }

    .closeBtn {
        font-size: 1.4rem;
    }

    .priceItem {
        font-size: 0.8rem; /* بزرگ‌تر شدن در موبایل */
    }

    .priceLabel {
        font-size: 0.75rem;
    }

    .onlineIndicator {
        font-size: 0.55rem;
    }
}