body {
    font-family: 'Vazirmatn', Arial, sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
    background-color: #fdf6f0; /* رنگ پس زمینه کرم بسیار ملایم */
    color: #4a4a4a; /* رنگ متن اصلی */
    line-height: 1.8;
    font-size: 16px;
}

.container {
    max-width: 960px;
    margin: 30px auto;
    padding: 25px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e0c0a0; /* جداکننده ملایم */
}

header h1 {
    color: #a46c53; /* قهوه‌ای مایل به صورتی برای عنوان */
    font-size: 2.2em;
    margin-bottom: 20px;
}

.book-posters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.book-posters img {
    max-width: 320px; /* اندازه کوچک برای پوسترها */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.book-posters img:hover {
    transform: scale(1.2);
}

h2 {
    color: #b88a74; /* قهوه‌ای روشن‌تر برای سرفصل‌ها */
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0e0d0;
}

.book-summary p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #a46c53;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px; /* دکمه با گوشه‌های گرد */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1em;
}

.btn:hover {
    background-color: #8a5a44;
    transform: translateY(-2px);
}

.pdf-download {
    margin-top: 10px;
    display: block;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

.audio-files {
    margin-bottom: 30px;
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* چیدمان گرید برای فایل‌های صوتی */
    gap: 20px;
}

.audio-item {
    background-color: #fffaf5; /* پس زمینه خیلی روشن برای هر آیتم صوتی */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-right: 5px solid #e0c0a0; /* یک نوار رنگی در کنار */
}

.audio-item p {
    font-weight: bold;
    color: #7a523f;
    margin-top: 0;
    margin-bottom: 10px;
}

.audio-item audio {
    width: 100%;
    border-radius: 5px;
}

.support-section {
    background-color: #f9f1e9; /* پس‌زمینه کمی متفاوت برای بخش حمایت */
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin-top: 40px;
}

.support-section p {
    font-size: 1.05em;
}

.card-number {
    font-weight: bold;
    font-size: 1.3em;
    color: #5c3a2b; /* رنگ تیره‌تر برای شماره کارت */
    background-color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    letter-spacing: 2px; /* فاصله بین ارقام */
    border: 1px dashed #a46c53;
}

footer {
    text-align: center; /* محتویات فوتر (لوگو و متن) را وسط‌چین می‌کند */
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0c0a0;
    font-size: 0.9em;
    color: #777;
}

.footer-logo {
    max-width: 60px; /* حداکثر عرض لوگو، می‌توانید این مقدار را تغییر دهید */
    height: auto;    /* ارتفاع به صورت خودکار تنظیم می‌شود تا نسبت تصویر حفظ شود */
    margin-bottom: 10px; /* فاصله بین لوگو و متن کپی‌رایت */
    /* اگر می‌خواهید لوگو و متن در یک خط باشند و لوگو کنار متن باشد:
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px; /* یا margin-right بسته به اینکه کدام طرف متن باشد */
    /* margin-bottom: 0; */
    /* و برای پاراگراف هم display: inline-block; vertical-align: middle; */
}


/* برای صفحه نمایش‌های کوچکتر */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    .book-posters {
        flex-direction: column;
        align-items: center;
    }
    .book-posters img {
        max-width: 280px; /* در موبایل پوسترها کمی بزرگتر دیده شوند */
    }
    .audio-grid {
        grid-template-columns: 1fr; /* در موبایل فایل‌های صوتی زیر هم */
    }
    .footer-logo {
        max-width: 50px; /* شاید بخواهید در موبایل لوگو کمی کوچکتر باشد */
    }
}

.btn-audio-download {
    display: block; /* باعث می‌شود دکمه در یک خط جدید قرار بگیرد */
    margin-top: 10px; /* فاصله از پلیر صوتی بالا */
    text-align: center; /* متن دکمه وسط چین شود */
    font-size: 0.9em; /* کمی کوچکتر از دکمه اصلی دانلود PDF */
    background-color: #b88a74; /* یک رنگ کمی متفاوت برای تمایز */
    padding: 8px 18px; /* پدینگ کمی کمتر */
}

.btn-audio-download:hover {
    background-color: #a46c53; /* رنگ هاور کمی تیره‌تر */
}

/* برای اینکه دکمه دانلود PDF همچنان استایل اصلی خود را داشته باشد */
.pdf-download {
    margin-top: 10px;
    display: block;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    background-color: #a46c53; /* رنگ اصلی دکمه PDF */
    font-size: 1em; /* اندازه فونت اصلی دکمه PDF */
    padding: 12px 25px; /* پدینگ اصلی دکمه PDF */
}

.pdf-download:hover {
    background-color: #8a5a44; /* رنگ هاور اصلی دکمه PDF */
}