    /* تنظیمات کلی و فونت - فرض بر وجود فونت فارسی در سایت شماست */
:root {
    --milli-gold: #ffcc00;
    --milli-dark: #2c3e50;
    --milli-white: #ffffff;
    --transition: all 0.3s ease;
}








.milli-mid-banner {
    background: #ffffff; /* زمینه سفید */
    border: 3px solid #000000; /* مرز مشکی قوی برای جدا شدن از صفحه */
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0;
    direction: rtl;
    box-shadow: 8px 8px 0px #f1c40f; /* سایه تخت مدرن (Neo-brutalism) */
}

.milli-logo { height: 32px; }

.milli-status-online {
    color: #27ae60;
    font-size: 11px;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

/* عنوان با رنگ مشکی خالص */
.banner-text h3 {
    color: #000000;
    font-size: 1.3rem;
    font-weight: 900;
    margin: 15px 0;
}

.product-name { color: #0046be; } /* نام کتاب به رنگ آبی برای کلیک‌خور بودن */

/* متن اصلی با رنگ تیره و خوانا */
.milli-main-offer {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
}

/* استایل لینک موبایل روی پس‌زمینه سفید */
.milli-contact-row {
    margin-top: 10px;
    font-weight: bold;
    color: #000;
}

.mobile-active-link {
    color: #d32f2f !important; /* قرمز پررنگ که روی سفید فریاد می‌زند */
    text-decoration: underline;
    font-size: 1.2rem;
    padding: 2px 5px;
    background: #fff5f5; /* هاله صورتی بسیار ملایم */
}

/* دکمه سیاه با متن سفید - بالاترین تضاد ممکن */
.milli-cta-black {
    display: block;
    background: #000000;
    color: #ffffff !important;
    text-align: center;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: 0.3s;
}

.milli-cta-black:active {
    background: #f1c40f;
    color: #000 !important;
}

/* بخش پایین با رنگ خاکستری تیره */
.milli-trust-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.trust-text {
    color: #444;
    font-weight: bold;
    font-size: 0.85rem;
}

#countdown {
    color: #ff0000;
    font-weight: 900;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}








/* Top Bar Styling */
.milli-top-bar {
    background-color: var(--milli-dark);
    color: var(--milli-white);
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 3px solid var(--milli-gold);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.milli-top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.milli-top-bar p {
    margin: 0;
    font-size: 0.95rem;
}

.milli-btn {
    background-color: var(--milli-gold);
    color: #000;
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    transition: var(--transition);
}

.milli-btn:hover {
    background-color: #fff;
    transform: scale(1.05);
}

/* In-Content Banner Styling */
.milli-mid-banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-right: 5px solid var(--milli-gold);
    margin: 30px 0;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.banner-icon {
    font-size: 40px;
}

.banner-text h6 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 1.2rem;
    background-color: #083727;
}
/* استایل درخواستی برای کلاس ad */
.ad {
    font-weight: 900;
    border-bottom: 2px solid #ff0000; /* خط زیر قرمز */
    padding-bottom: 1px;
    color: #000; /* رنگ متن برای وضوح بیشتر */
    display: inline-block;
    direction: ltr; /* نمایش صحیح شماره موبایل از چپ به راست */
}

/* استایل تکمیلی برای متن راهنما */
.instruction {
    margin-top: 10px !important;
    font-size: 0.85rem !important;
    color: #444;
    background: #fff3f3; /* یک پس‌زمینه بسیار ملایم برای تمایز بخش دستورالعمل */
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.banner-text h3 {
    color: #d35400; /* رنگ نارنجی تیره برای جذابیت عنوان */
    margin-bottom: 8px;
}

.banner-text p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

.milli-btn-cta {
    background-color: #27ae60; /* سبز برای دکمه فراخوان عمل */
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(39, 174, 96, 0.2);
}

.milli-btn-cta:hover {
    background-color: #219150;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(39, 174, 96, 0.3);
}

/* بهینه‌سازی برای موبایل */
@media (max-width: 768px) {
    .milli-mid-banner {
        flex-direction: column;
        text-align: center;
    }
    .banner-content {
        flex-direction: column;
    }
    .milli-btn-cta {
        width: 100%;
        text-align: center;
    }
}
