/* ============================================================ */
/* ======= إعدادات عامة ======= */
/* ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tahoma', Arial, sans-serif;
    background-color: #ede1b5;
    color: #2c3e50;
    text-align: center;
    direction: rtl;
    margin: 0;
    padding: 0;
    padding-bottom: 80px;
}

/* ============================================================ */
/* ======= تنسيق رأس الصفحة ======= */
/* ============================================================ */

header {
    background-color: #075af5;
    padding: 0;
    margin: 0;
}

/* ============================================================ */
/* ======= الشريط العلوي الأسود ======= */
/* ============================================================ */

.top-bar {
    background-color: #594c03;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    direction: ltr;
    width: 100%;
    margin: 0;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* ============================================================ */
/* ======= أيقونات الجهة اليسرى (التواصل الاجتماعي) ======= */
/* ============================================================ */

.top-bar-left a {
    color: #ffffff;
    font-size: 30px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    position: relative;
    overflow: visible;
}

/* ======= الألوان الأصلية لكل منصة تواصل اجتماعي ======= */
.top-bar-left a.social-whatsapp:hover { color: #25D366; }
.top-bar-left a.social-youtube:hover { color: #FF0000; }
.top-bar-left a.social-instagram:hover { color: #E1306C; }
.top-bar-left a.social-telegram:hover { color: #229ED9; }
.top-bar-left a.social-x:hover { color: #000000; }
.top-bar-left a.social-facebook:hover { color: #1877F2; }

body.dark-mode .top-bar-left a.social-x:hover { color: #ffffff; }

/* ======= زر الوضع الليلي: بني فاتح عند التمرير ======= */
.top-bar-left a#darkModeToggle:hover {
    color: #c19a6b;
}

/* ============================================================ */
/* ======= تأثير اللمعان عند التمرير (يحل محل اللون الأخضر) ======= */
/* ============================================================ */

.shine-hover {
    position: relative;
    overflow: hidden;
}

.shine-hover::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -75%;
    width: 50%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.shine-hover:hover::after {
    left: 125%;
}

/* ============================================================ */
/* ======= زر تسجيل الدخول ======= */
/* ============================================================ */

.top-bar-left .login-btn {
    color: #ffffff;
    font-size: 16px;
    font-family: 'Amiri', serif;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-direction: row-reverse;
}

.top-bar-left .login-btn i {
    font-size: 20px;
}

.top-bar-left .login-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #c19a6b;
}

/* ============================================================ */
/* ======= أيقونات الجهة اليمنى (حول الموقع / لجنة الإشراف / المتجر) ======= */
/* ============================================================ */

.top-bar-right a {
    color: #ffffff;
    font-size: 18px;
    font-family: 'Amiri', serif;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-direction: row-reverse;
    border-radius: 20px;
    padding: 6px 10px;
}

.top-bar-right a i {
    font-size: 26px;
}

.top-bar-right a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #c19a6b;
}

/* ============================================================ */
/* ======= القسم السفلي من الـ Header ======= */
/* ============================================================ */

.header-content {
    background-color: #ffffff;
    height: 110px;
    width: 100%;
    margin: 0;
    padding: 0 30px;
    display: flex;
    align-items: center;
    direction: rtl;
    gap: 0;
}

/* ============================================================ */
/* ======= الأزرار الجديدة ======= */
/* ============================================================ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ============================================================ */
/* ======= زر تبديل اللغة ======= */
/* ============================================================ */

.header-actions .lang-btn {
    color: #000000;
    font-size: 16px;
    font-family: 'Amiri', serif;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    font-weight: bold;
}

.header-actions .lang-btn:hover {
    background-color: rgba(0, 0, 0, 0.15);
    color: #c19a6b;
    transform: scale(1.05);
}

/* ============================================================ */
/* ======= زر البحث ======= */
/* ============================================================ */

.header-actions .search-btn {
    color: #000000;
    font-size: 22px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    width: 44px;
    height: 44px;
}

.header-actions .search-btn:hover {
    background-color: rgba(0, 0, 0, 0.15);
    color: #c19a6b;
    transform: scale(1.1);
}

/* ============================================================ */
/* ======= أيقونات المتجر وتسجيل الدخول (للموبايل) ======= */
/* ============================================================ */

.header-actions .store-btn-mobile,
.header-actions .login-btn-mobile {
    display: none;
}

/* ============================================================ */
/* ======= الصور (مرنة - تتحرك تدريجياً مع التصغير) ======= */
/* ============================================================ */

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 auto;
    justify-content: center;
    margin: 0 20px;
    min-width: 0;
}

.header-logo a {
    text-decoration: none;
}

.header-logo .logo-main {
    width: 100px;
    height: auto;
    max-width: 200px;
    display: block;
    transition: filter 0.3s;
}

.header-logo .logo-secondary {
    width: 210px;
    height: auto;
    max-width: 210px;
    display: block;
    transition: transform 0.3s, filter 0.3s;
}

.header-logo a:hover img {
    transform: scale(1.05);
}

/* ============================================================ */
/* ======= زر القائمة (الهمبرغر) والقائمة المنسدلة ======= */
/* ============================================================ */

.header-button {
    position: relative;
    flex-shrink: 0;
    margin-right: 0;
    margin-left: auto;
}

.header-button .menu-btn {
    color: #000000;
    font-size: 28px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.header-button .menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #c19a6b;
    transform: rotate(90deg);
}

/* ======= القائمة المنسدلة ======= */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1000;
    border: 1px solid #e0e0e0;
    direction: rtl;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-family: 'Amiri', serif;
    font-size: 18px;
    transition: background-color 0.3s, color 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f5e6c8;
    color: #594c03;
}

.dropdown-menu a i {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.dropdown-menu.active {
    display: block;
}

/* ============================================================ */
/* ======= القسم الرئيسي (Main) ======= */
/* ============================================================ */

main {
    padding: 40px 20px;
}

main h2 {
    font-size: 32px;
    color: #000000;
    border-bottom: 3px solid #f5c842;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 40px;
    font-family: 'Amiri', serif;
    min-height: 1.3em;
}

/* ============================================================ */
/* ======= صورة البسملة ======= */
/* ============================================================ */

.basmalah-img {
    display: block;
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    margin-right: 0;
    margin-left: auto;
    margin-top: -20px;
    transition: filter 0.3s;
}

/* ============================================================ */
/* ======= البطاقات (الصفحة الرئيسية) ======= */
/* ============================================================ */

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-burned {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: linear-gradient(160deg, #f9efd6 0%, #f0dfb8 100%);
    padding: 55px 40px 45px;
    border-radius: 24px;
    box-shadow:
        0 15px 40px rgba(89, 76, 3, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    flex: 1 1 300px;
    max-width: 340px;
    min-height: 340px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    cursor: pointer;
    border: 3px solid #d4b88c;
    position: relative;
    font-family: 'Amiri', serif;
    overflow: hidden;
}

.card-burned::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 8px;
    background: linear-gradient(90deg, #8B4513, #f5c842, #8B4513);
}

.card-burned::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.card-burned-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f5c842, #d4980f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(212, 152, 15, 0.35);
    transition: transform 0.4s;
}

.card-burned-icon i {
    font-size: 40px;
    color: #ffffff;
}

.card-burned h3 {
    font-family: 'Amiri', serif;
    font-size: 28px;
    font-weight: 700;
    color: #3d2b1f;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    margin: 0 0 12px;
}

.card-burned p {
    font-size: 16px;
    color: #6b5844;
    line-height: 1.7;
    margin: 0 0 22px;
    flex-grow: 1;
}

.card-burned-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #8B4513;
    padding-top: 15px;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
    width: 100%;
    justify-content: center;
    transition: gap 0.3s, color 0.3s;
}

.card-burned-more i {
    font-size: 14px;
    transition: transform 0.3s;
}

.card-burned:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(89, 76, 3, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border-color: #f5c842;
}

.card-burned:hover .card-burned-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-burned:hover .card-burned-more {
    gap: 12px;
    color: #594c03;
}

.card-burned:hover .card-burned-more i {
    transform: translateX(-4px);
}

/* ============================================================ */
/* ======= البطاقة المشتركة (طالب / أستاذ / تلميذ) ======= */
/* ============================================================ */

.space-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: linear-gradient(160deg, #ffffff 0%, #f8f4ef 100%);
    padding: 45px 30px 35px;
    border-radius: 24px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    flex: 1 1 280px;
    max-width: 320px;
    min-height: 320px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    cursor: pointer;
    border: 2px solid #e8ddd0;
    position: relative;
    font-family: 'Amiri', serif;
    color: #2c3e50;
    overflow: hidden;
}

.space-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #d4980f, #f5c842, #d4980f);
}

.space-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f5c842, #d4980f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(212, 152, 15, 0.3);
    transition: transform 0.4s;
}

.space-card-icon i {
    font-size: 34px;
    color: #ffffff;
}

.space-card h3 {
    font-size: 22px;
    color: #1a2a3a;
    margin: 0 0 10px;
    text-align: center;
}

.space-card p {
    font-size: 15px;
    color: #7f8c8d;
    text-align: center;
    margin: 0 0 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.space-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #d4980f;
    padding-top: 14px;
    border-top: 1px solid rgba(212, 152, 15, 0.2);
    width: 100%;
    justify-content: center;
    transition: gap 0.3s, color 0.3s;
}

.space-card-more i {
    font-size: 13px;
    transition: transform 0.3s;
}

.space-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border-color: #f5c842;
}

.space-card:hover .space-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.space-card:hover .space-card-more {
    gap: 12px;
    color: #594c03;
}

.space-card:hover .space-card-more i {
    transform: translateX(-4px);
}

body.dark-mode .space-card {
    background: linear-gradient(160deg, #2d2d3d 0%, #242432 100%);
    border-color: #4a4a5a;
    color: #e0e0e0;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.dark-mode .space-card h3 {
    color: #f0e6d3;
}

body.dark-mode .space-card p {
    color: #aab7c4;
}

body.dark-mode .space-card-more {
    color: #f5c842;
    border-top-color: rgba(245, 200, 66, 0.2);
}

body.dark-mode .space-card:hover {
    border-color: #f5c842;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* ============================================================ */
/* ======= تذييل الصفحة (Footer) ======= */
/* ============================================================ */

footer {
    background-color: #594c03;
    color: #ffffff;
    padding: 12px 20px;
    font-family: 'Amiri', serif;
    font-size: 18px;
    direction: rtl;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-top: 2px solid #3d2b1f;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    gap: 15px;
}

.footer-copyright {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 16px;
}

.footer-icon-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.footer-icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #c19a6b;
    transform: scale(1.1);
}

/* ============================================================ */
/* ======= التعديلات الخاصة بالشاشات الصغيرة ======= */
/* ============================================================ */

@media (max-width: 900px) {

    .top-bar {
        display: none;
    }

    .header-content {
        height: 80px;
        padding: 0 15px;
        background-color: #ffffff;
    }

    .header-button {
        margin-left: auto;
        margin-right: 0;
        order: 1;
    }

    .header-logo {
        margin-left: 0;
        margin-right: 0;
        order: 2;
        gap: 10px;
    }

    .header-logo .logo-main {
        width: 70px;
        max-width: 90px;
    }
    .header-logo .logo-secondary {
        width: 130px;
        max-width: 150px;
    }

    .header-actions {
        order: 3;
        gap: 8px;
        margin-left: 0;
        margin-right: auto;
    }

    .top-bar-left .login-btn span,
    .top-bar-right a span,
    .header-actions .lang-btn span {
        display: none;
    }

    .header-actions .lang-btn {
        display: none;
    }
    .header-actions .search-btn {
        display: none;
    }

    .header-actions .store-btn-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000000;
        font-size: 22px;
        text-decoration: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: background-color 0.3s, color 0.3s;
    }
    .header-actions .store-btn-mobile:hover {
        background-color: rgba(255, 255, 255, 0.3);
        color: #c19a6b;
    }

    .header-actions .login-btn-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000000;
        font-size: 22px;
        text-decoration: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: background-color 0.3s, color 0.3s;
    }
    .header-actions .login-btn-mobile:hover {
        background-color: rgba(255, 255, 255, 0.3);
        color: #c19a6b;
    }

    .header-button .menu-btn {
        color: #000000;
        background-color: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .cards {
        gap: 25px;
    }

    .card-burned {
        padding: 40px 25px 35px;
        min-height: auto;
        max-width: 100%;
        flex: 1 1 260px;
    }

    .card-burned-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
    }

    .card-burned-icon i {
        font-size: 30px;
    }

    .card-burned h3 {
        font-size: 22px;
    }

    .card-burned p {
        font-size: 14px;
    }

    .space-card {
        padding: 35px 22px 28px;
        min-height: auto;
        max-width: 100%;
        flex: 1 1 240px;
    }

    .space-card-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 14px;
    }

    .space-card-icon i {
        font-size: 26px;
    }

    .space-card h3 {
        font-size: 19px;
    }

    .space-card p {
        font-size: 14px;
    }

    main h2 {
        font-size: 26px;
    }

    footer {
        font-size: 14px;
        padding: 10px 12px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .footer-icon-btn {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    /* ======= الوضع المظلم عند التصغير ======= */

    body.dark-mode .header-content {
        background-color: #1a1a2e;
    }

    body.dark-mode .header-button .menu-btn {
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.2);
    }

    body.dark-mode .header-button .menu-btn:hover {
        color: #c19a6b;
    }

    body.dark-mode .header-actions .store-btn-mobile,
    body.dark-mode .header-actions .login-btn-mobile {
        color: #ffffff;
        background-color: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.2);
    }

    body.dark-mode .header-actions .store-btn-mobile:hover,
    body.dark-mode .header-actions .login-btn-mobile:hover {
        color: #c19a6b;
    }

    body.dark-mode .dropdown-menu {
        background-color: #1a1a2e;
        border-color: #3d3d5c;
    }

    body.dark-mode .dropdown-menu a {
        color: #e0e0e0;
        border-bottom-color: #2d2d4a;
    }

    body.dark-mode .dropdown-menu a:hover {
        background-color: #2d2d4a;
        color: #f5c842;
    }

    body.dark-mode .card-burned {
        background: linear-gradient(160deg, #2d2618 0%, #241f14 100%);
        border-color: #4a4a5a;
    }

    body.dark-mode .card-burned h3 {
        color: #f0e6d3;
    }
}

/* ============================================================ */
/* ======= الوضع المظلم (Dark Mode) ======= */
/* ============================================================ */

body.dark-mode {
    background-color: #3f2f01;
    color: #e0e0e0;
}

body.dark-mode header {
    background-color: #0d0d1a;
}

body.dark-mode .top-bar {
    background-color: #0d0d1a;
}

body.dark-mode .top-bar-left a,
body.dark-mode .top-bar-right a {
    color: #ffffff;
}

/* ======= زر الوضع الليلي: بني فاتح عند التمرير (الوضع المظلم) ======= */
body.dark-mode .top-bar-left a#darkModeToggle:hover {
    color: #c19a6b;
}

body.dark-mode .top-bar-right a:hover {
    color: #c19a6b;
}

body.dark-mode .top-bar-left .login-btn {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .top-bar-left .login-btn:hover {
    color: #c19a6b;
}

/* ============================================================ */
/* ======= أيقونات header-content في الوضع المظلم ======= */
/* ============================================================ */

body.dark-mode .header-actions .lang-btn {
    color: #000000;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .header-actions .lang-btn:hover {
    color: #c19a6b;
}

body.dark-mode .header-actions .search-btn {
    color: #000000;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .header-actions .search-btn:hover {
    color: #c19a6b;
}

body.dark-mode .header-button .menu-btn {
    color: #000000;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .header-button .menu-btn:hover {
    color: #c19a6b;
}

/* ============================================================ */
/* ======= باقي تنسيقات الوضع المظلم ======= */
/* ============================================================ */

body.dark-mode .header-content {
    background-color: #6c4007;
}

body.dark-mode .card-burned {
    background: linear-gradient(160deg, #2d2618 0%, #241f14 100%);
    border-color: #4a4a5a;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.dark-mode .card-burned h3 {
    color: #f0e6d3;
}

body.dark-mode .card-burned p {
    color: #b8a888;
}

body.dark-mode .card-burned-more {
    color: #f5c842;
    border-top-color: rgba(245, 200, 66, 0.2);
}

body.dark-mode .card-burned:hover {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark-mode footer {
    background-color: #0d0d1a;
    color: #aab7c4;
}

body.dark-mode .footer-icon-btn {
    color: #aab7c4;
}

body.dark-mode .footer-icon-btn:hover {
    color: #c19a6b;
}

body.dark-mode main h2 {
    color: #ffffff;
}

body.dark-mode .header-logo .logo-main,
body.dark-mode .header-logo .logo-secondary,
body.dark-mode .basmalah-img {
    filter: invert(1) hue-rotate(180deg);
}

body.dark-mode .dropdown-menu {
    background-color: #1a1a2e;
    border-color: #3d3d5c;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

body.dark-mode .dropdown-menu a {
    color: #e0e0e0;
    border-bottom-color: #2d2d4a;
}

body.dark-mode .dropdown-menu a:hover {
    background-color: #2d2d4a;
    color: #f5c842;
}

body.dark-mode .dropdown-menu a i {
    color: #e0e0e0;
}