:root {
    --bg-dark: #090613;
    --bg-dark-2: #130b22;
    --bg-dark-3: #1b1230;
    --text-light: #8b5cf6;
    --text-muted: #b8aecf;
    --text-soft: #d8d0ea;
    --primary-purple: #8b5cf6;
    --primary-purple-dark: #5b21b6;
    --primary-purple-soft: #a78bfa;
    --primary-purple-light: #c4b5fd;
    --glass-bg: rgba(24, 16, 40, 0.62);
    --glass-bg-strong: rgba(17, 11, 30, 0.82);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glow-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
    --glow-shadow-strong: 0 0 32px rgba(139, 92, 246, 0.5);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
    --radius-sm: 5px;
    --radius-md: 6px;
    --radius-lg: 7px;
    --radius-xl: 10px;
    --transition-fast: 0.25s ease;
    --transition-normal: 0.35s ease;
}

@font-face {
    font-family: iransan;
    src: url(/Yekan.woff);
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--text-light);
    font-family: iransan, sans-serif;
    background: white;
    min-height: 100vh;
}

a {
    text-decoration: none;
    transition: all var(--transition-fast);
}

img {
    max-width: 100%;
}

.text-muted-custom,
.results-meta {
    color: white;
}

.glass-panel,
.feature-box,
.product-card,
.hero-caption,
.dropdown-menu,
.navbar-collapse,
footer {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-panel {
    background: rgba(143, 91, 244, 0.61);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    color:white;
}
    .glass-panel .product-title {
        color: white;
    }


    .bkgChange {
        background: white !important;
    }
/* =========================
   Navbar
========================= */
.navbar-custom {
    background: rgb(150, 126, 249);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand,
.nav-link {
    color: #ffffff !important;
}

    .navbar-brand:hover,
    .nav-link:hover,
    .nav-link:focus {
        color: var(--primary-purple-soft) !important;
    }

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.14);
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-collapse {
    background: transparent;
}

/* =========================
   Dropdown
========================= */
.dropdown-menu {
    background: rgb(150, 126, 249);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    min-width: 230px;
    padding: 10px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
}

.dropdown-item {
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: all var(--transition-fast);
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: rgb(116, 86, 240);
        color: #ffffff;
        padding-right: 18px;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        right: 100%;
        margin-top: -1px;
        display: none;
    }

    .dropdown-submenu > .submenu-toggle::before {
        content: "‹";
        transform: rotateY(180deg);
        float: left;
        color: var(--primary-purple-soft);
        font-size: 18px;
        line-height: 1;
    }

/* =========================
   Hero / Slider
========================= */
.hero-slider .carousel-item img {
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius-xl);
    display: block;
}

.hero-caption {
    background: rgba(18, 12, 32, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

    .hero-caption h2,
    .hero-caption p {
        color: #ffffff;
    }

.hero-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.swiper {
    padding: 10px 4px 46px;
}

.swiper-wrapper {
    height: auto !important;
}

.swiper-main {
    height: 400px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.swiper-thumbs {
    height: 100px;
    cursor: pointer;
}

    .swiper-thumbs .swiper-slide {
        border-radius: 12px;
        border: 2px solid transparent;
        overflow: hidden;
    }

    .swiper-thumbs .swiper-slide-thumb-active {
        border-color: var(--primary-purple);
    }

/* =========================
   Titles / Section
========================= */
.section-title {
    position: relative;
    margin-bottom: 26px;
    padding-right: 16px;
    font-weight: 400;
    color: black;
    display: flex;
    align-items: center;
    gap: 14px;
}

    .section-title::before {
        content: "";
        width: 6px;
        height: 28px;
        border-radius: 10px;
        background: linear-gradient(180deg, var(--primary-purple-light), var(--primary-purple-dark));
        box-shadow: var(--glow-shadow);
        flex: 0 0 auto;
    }

    .section-title::after {
        content: "";
        height: 1px;
        flex: 1;
        background: linear-gradient(to left, rgba(139, 92, 246, 0.45), transparent);
    }

/* =========================
   Feature Box
========================= */
.feature-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 22px;
    text-align: center;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

    .feature-box:hover {
        transform: translateY(-6px);
        border-color: rgba(139, 92, 246, 0.35);
        box-shadow: var(--glow-shadow);
    }

    .feature-box p {
        color: var(--text-muted);
        margin-bottom: 0;
    }

/* =========================
   Product Card
========================= */
.product-card {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(167, 139, 250, 0.10);
    border-radius: 9px;
    box-shadow: 0px 2px 10px #00000085;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    min-height: 460px;
}

    .product-card .btn-red, .product-card-lg .btn-red {
        position: absolute;
        left: 5%;
        right: 5%;
        width: 90% !important;
        bottom: 10px;
    }

    .product-card:hover {
        transform: translateY(-10px);
        border-color: rgba(139, 92, 246, 0.45);
        box-shadow: var(--glow-shadow-strong);
    }

.product-thumb-wrap {
    position: relative;
    overflow: hidden;
    background: white;
}

.product-thumb {
    width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
    transition: transform 0.45s ease;
}

.product-card:hover .product-thumb {
    transform: translateY(-3);
}

.product-body {
    padding: 16px;
}

.product-category {
    color: var(--primary-purple-soft);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: inline-block;
}

.product-title {
    color: black;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    min-height: 58px;
    margin-bottom: 10px;
    max-height: 80px;
    overflow-y: hidden;
}

.product-rating {
    color: #ffce4a;
    font-size: 0.88rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .product-rating span {
        color: var(--text-muted);
    }

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.old-price {
    color: #7f8799;
    font-size: 0.9rem;
    text-decoration: line-through;
}

.product-price {
    color: var(--primary-purple-dark);
    font-size: 1.05rem;
    font-weight: 400;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-purple-soft);
}

.stock-status {
    font-size: 0.82rem;
    color: #63d18a;
    white-space: nowrap;
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary-purple-light), #6d28d9);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(109, 40, 217, 0.35);
}

.product-actions {
    position: absolute;
    left: 14px;
    top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.28s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Buttons
========================= */
.btn-red {
    background: linear-gradient(180deg, #b79bff 0%, #9b78ec 20%, #5b21b6 100%);
    border: none;
    color: #fff;
    border-radius: -4px;
    padding: 10px 18px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    transition: all var(--transition-fast);
}

    .btn-red:hover {
        color: #fff;
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 0 26px rgba(139, 92, 246, 0.58);
    }

.btn-glow {
    background: linear-gradient(135deg, var(--primary-purple), #6d28d9);
    border: none;
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
}

    .btn-glow:hover {
        box-shadow: var(--glow-shadow);
        transform: translateY(-3px);
    }

.btn-outline-light-custom {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px 18px;
    transition: all var(--transition-fast);
}

    .btn-outline-light-custom:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.18);
    }

.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 14, 24, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

    .icon-btn:hover {
        color: #fff;
        background: rgba(139, 92, 246, 0.88);
        box-shadow: var(--glow-shadow);
    }

/* =========================
   Tabs
========================= */
.nav-tabs {
    border: none;
    margin-bottom: 20px;
}

    .nav-tabs .nav-link {
        color: var(--text-muted) !important;
        border: none !important;
        font-weight: 600;
        padding: 10px 20px;
    }

        .nav-tabs .nav-link.active {
            color: #fff !important;
            border-bottom: 2px solid var(--primary-purple) !important;
            background: transparent !important;
        }

/* =========================
   Swiper Controls
========================= */
.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-fast);
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: rgba(139, 92, 246, 0.92);
        box-shadow: var(--glow-shadow);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
        font-weight: 700;
    }

.swiper-pagination-bullet {
    background: var(--primary-purple-light);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-purple);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.7);
}

.related-swiper {
    padding: 20px 0;
}

/* =========================
   Pagination
========================= */
.pagination-custom .page-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px !important;
    margin: 0 4px;
}

    .pagination-custom .page-link:hover {
        background: rgba(139, 92, 246, 0.18);
        border-color: rgba(139, 92, 246, 0.28);
        color: #fff;
    }

.pagination-custom .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-purple-dark));
    border-color: transparent;
    box-shadow: var(--glow-shadow);
}

/* =========================
   Toolbar / Sidebar
========================= */
.toolbar {
    background: rgba(156, 107, 255, 0.62);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--card-shadow);
    margin: 5px
}

.sticky-sidebar {
    position: static;
}

/* =========================
   Footer
========================= */
footer {
    margin-top: 50px;
    background: rgba(82, 4, 147, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    footer a {
        color: #fff;
    }

        footer a:hover {
            color: var(--primary-purple-soft);
        }

.footer-divider,
hr.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* =========================
   Tables / Custom
========================= */
.custom-gaming-table td {
    background: transparent;
    color: var(--text-light);
}

/* =========================
   Responsive
========================= */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu li:hover > .dropdown-menu {
        display: block;
    }

    .sticky-sidebar {
        position: sticky;
        top: 100px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(10, 12, 18, 0.92);
        padding: 14px;
        border-radius: 18px;
        margin-top: 12px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 8px;
    }

    .dropdown-submenu > .dropdown-menu {
        right: 0;
        margin-right: 0;
        margin-top: 8px;
        padding-right: 12px;
        display: none;
    }

        .dropdown-submenu > .dropdown-menu.show {
            display: block;
        }

    .dropdown-submenu > .submenu-toggle::before {
        content: "+";
    }

    .hero-slider .carousel-item img {
        height: 340px;
    }

    .product-thumb {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider .carousel-item img {
        height: 230px;
    }

    .hero-box {
        padding: 20px;
    }

    .toolbar {
        padding: 14px;
    }

    .product-thumb {
        height: 190px;
        object-fit: contain;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .hero-caption {
        padding: 16px;
    }

        .hero-caption h2 {
            font-size: 1.15rem;
        }

        .hero-caption p {
            font-size: 0.9rem;
        }

    .product-title {
        min-height: auto;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.custom-pagination .page-link {
    background: white;
    border: 1px solid var(--primary-purple-dark);
    color: var(--primary-purple-dark);
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px !important;
    margin: 0 4px;
}

    .custom-pagination .page-link:hover {
        background: var(--primary-purple-dark);
        border-color: var(--primary-purple-dark);
        color: #fff;
    }

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(180deg, #b79bff 0%, #9b78ec 20%, #5b21b6 100%);
    border: none;
    color: #fff;
    border-radius: 0px;
    padding: 10px 18px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    transition: all var(--transition-fast);
}

.container p, .container strong {
    color: var(--primary-purple-dark) !important;
}

.disabled > .page-link, .page-link.disabled {
}

.page-link .page-link.active {
}

.page-link {
}

.tree-container {
    padding: 10px;
    background: #121212;
    border-radius: 8px;
    border: 1px solid #8a2be2;
}

.category-item {
    margin-top: 8px;
    position: relative;
}

/* خط راهنمای درختی */
.children-container {
    border-right: 1px dashed #444;
    margin-right: 10px;
    padding-right: 15px;
}

.category-name {
    color: #ddd;
    font-size: 0.9rem;
    transition: 0.3s;
}

.custom-checkbox:hover .category-name {
    color: #bc13fe;
    text-shadow: 0 0 5px #bc13fe;
}

/* استایل چک‌باکس نئونی (همون قبلی با کمی بهبود) */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

    .custom-checkbox input {
        display: none;
    }

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #8a2be2;
    background: #1a1a1a;
    display: inline-block;
    border-radius: 3px;
    position: relative;
}

.custom-checkbox input:checked + .checkmark {
    background: #8a2be2;
    box-shadow: 0 0 10px #bc13fe;
}

    .custom-checkbox input:checked + .checkmark::after {
        content: '✔';
        color: white;
        font-size: 12px;
        position: absolute;
        top: -2px;
        right: 2px;
    }


/* استایل باکس جستجو */
.search-form .form-control {
    background-color: white;
    border: 1px solid #8a2be2;
    color: black;
    border-radius: 5px;
    transition: all 0.4s ease;
}

    .search-form .form-control:focus {
        background-color: white;
        border-color: #bc13fe;
         
        color: black;
    }

/* استایل دکمه جستجو */
.btn-outline-purple {
    border: 1px solid #8a2be2;
    color: #8a2be2;
    border-radius: 7px;
    transition: 0.3s;
}

    .btn-outline-purple:hover {
        background: linear-gradient(45deg, #8a2be2, #bc13fe);
        color: white;
        box-shadow: 0 0 3px #bc13fe;
    }

footer 
{
    color:white;
}

.serachResult {
    display: block;
    position: absolute;
    background: white;
    z-index: 2000;
    border: 1px var(--bg-dark-3);
    border-radius: 2px;
    


    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);

}


.category-img {
  
    width: 100%;
    object-fit: cover; /* تصویر بدون دفرمه شدن، باکس رو پر می‌کنه */
    transition: transform 0.4s ease;
}

.category-link {
    aspect-ratio: 1 / 1; /* ایجاد باکس کاملاً مربعی برای هماهنگی بیشتر */
}

/* افکت زوم هنگام هاور کردن روی تصویر */
.category-card:hover .category-img {
    transform: scale(1.1);
}

/* استایل‌های اورلی (Overlay) روی تصویر برای نمایش متن */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-title {
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 5px;
}

@media (min-width: 992px) {
    .row-cols-lg-8 {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
    }

        .row-cols-lg-8 > * {
            width: 100%;
        }
}


.circle {
    background: var(--primary-purple-light);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    border-radius: 100%;
    box-shadow: 0px 0px 5px black;
}

.goForward
{
    z-index:4;
    position:absolute;
    width:80%;
    left:10%;
    top:10%;
}


.cart-link {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -6px;
    left: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: gray;
    color: white;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
}



.cart-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-summary {
    position: sticky;
    top: 20px;
}

.quantity-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

    .quantity-box a {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #6f42c1;
        background-color: #f8f9fa;
        font-size: 18px;
        font-weight: bold;
    }

        .quantity-box a:hover {
            background-color: #e9dfff;
        }

.quantity-number {
    min-width: 38px;
    text-align: center;
    font-weight: bold;
}

.btn-purple {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, #a855f7, #6f42c1);
}

    .btn-purple:hover {
        color: #fff;
        background: linear-gradient(135deg, #9333ea, #59359c);
    }


.countdown-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    direction: rtl;
    background: linear-gradient(135deg, #f5f7fa, #e4ecfb);
  
}

.countdown-box {
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 500px;
}

.countdown-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.countdown-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 25px;
}

.countdown-timer {
    font-size: 3rem;
    font-weight: bold;
    direction: ltr;
    color: #111;
}

.hidden-colon {
    visibility: hidden;
}

.countdown-labels {
    margin-top: 10px;
    font-size: 1rem;
    color: #666;
    direction: ltr;
    word-spacing: 28px;
}


/* ===== ستاره‌های نمایشی (فقط خواندنی) ===== */
.stars-display .star {
    color: #444;
    transition: color .2s;
}

    .stars-display .star.active {
        color: #fbbf24;
        text-shadow: 0 0 8px rgba(251, 191, 36, .5);
    }

/* ===== ستاره‌های ورودی (قابل کلیک) ===== */
.stars-input .star-input {
    color: #444;
    transition: color .15s, transform .15s;
    user-select: none;
}

    .stars-input .star-input:hover {
        transform: scale(1.15);
    }

    .stars-input .star-input.active {
        color: #fbbf24;
        text-shadow: 0 0 10px rgba(251, 191, 36, .6);
    }

    .stars-input .star-input.hover-active {
        color: #fbbf24;
    }

/* ===== آیتم نظر ===== */
.comment-item {
    border: 1px solid rgba(168, 85, 247, .15);
    border-radius: 14px;
    transition: border-color .2s;
}

    .comment-item:hover {
        border-color: rgba(168, 85, 247, .4);
    }

.timePart
{
    background:#eeeeee;
    color:black;
    display:inline-block;
    border-radius:10px;
    padding:5px 0px 0px 5px;
}


.timeBack
{
    position:relative;
    border-radius:10px;
    min-height:300px;

}
.timeBkg
{
    position:absolute;
    left:0px;
    right:0px;
    bottom:0px;
    top:0px;
    width:100%;
    height:100%;
    z-index:1;
    object-fit:cover;
    opacity:0.7;
    object-position:center;
}
.timeFront
{
    position:absolute;
    bottom:10px;
    z-index:2;
    right:10px;
}
    .timeFront .countdown-subtitle, .timeFront .countdown-title {
        color: black;
        text-shadow:0px 0px 3px white;
    }


#btnBackToTop {
    /* تثبیت موقعیت در گوشه پایین صفحه */
    position: fixed;
    bottom: 30px;
    right: 30px; /* یا left: 30px بسته به طراحی RTL/LTR */
    z-index: 9999; /* بالا نگه داشتن دکمه از بقیه لایه‌ها */
    /* هندسه دایره‌ای */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* استایل و رنگ‌آمیزی */
    background: linear-gradient(135deg, #6366f1, #4f46e5); /* یه گرادیان بنفش/نیلی جذاب */
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
    /* تراز کردن آیکون در مرکز دقیق دایره */
    display: flex;
    align-items: center;
    justify-content: center;
    /* وضعیت اولیه: کاملاً مخفی و نامرئی */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* افکت جذاب هاور و اکتیو */
    #btnBackToTop:hover {
        background: linear-gradient(135deg, #4f46e5, #4338ca);
        box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
        transform: translateY(-3px) scale(1.05);
    }

    #btnBackToTop:active {
        transform: translateY(1px) scale(0.95);
    }

    /* کلاسی که با جاوااسکریپت اضافه میشه تا دکمه رو ظاهر کنه */
    #btnBackToTop.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
