/* Utility class to hide elements without forced reflow */
.is-hidden {
    display: none !important;
}

.nebula-info-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    margin: 24px 0;
    border: 1px solid rgba(108, 92, 231, 0.15);
}

.nebula-info-table th,
.nebula-info-table td {
    padding: 16px 20px;
    text-align: right;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nebula-info-table th {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(108, 92, 231, 0.08));
    color: #1a1d2f;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(108, 92, 231, 0.2);
    width: 35%;
    min-width: 120px;
}

.nebula-info-table td {
    background: rgba(255, 255, 255, 0.6);
    color: #2d3748;
    font-weight: 600;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1.6;
}

.nebula-info-table tr:last-child th,
.nebula-info-table tr:last-child td {
    border-bottom: none;
}

.nebula-info-table tbody tr:hover {
    background: rgba(108, 92, 231, 0.05);
}

.nebula-info-table tbody tr:hover th {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.18), rgba(108, 92, 231, 0.12));
}

.nebula-info-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.9);
}

.nebula-info-table tbody tr:nth-child(even) th {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.06));
}

.nebula-info-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.7);
}

/* تحسين الجداول داخل محتوى المقال */
.nebula-article__content table,
.entry-content table,
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.nebula-article__content table th,
.entry-content table th,
.post-content table th {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.05));
    color: #1a1d2f;
    font-weight: 700;
    padding: 16px 20px;
    text-align: right;
    border-bottom: 2px solid rgba(108, 92, 231, 0.2);
    font-size: 0.9rem;
}

.nebula-article__content table td,
.entry-content table td,
.post-content table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-align: right;
    color: #2d3748;
    line-height: 1.6;
}

.nebula-article__content table tr:last-child td,
.entry-content table tr:last-child td,
.post-content table tr:last-child td {
    border-bottom: none;
}

.nebula-article__content table tr:hover,
.entry-content table tr:hover,
.post-content table tr:hover {
    background: rgba(108, 92, 231, 0.03);
}

.nebula-article__content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even),
.post-content table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.nebula-article__content table tbody tr:nth-child(even):hover,
.entry-content table tbody tr:nth-child(even):hover,
.post-content table tbody tr:nth-child(even):hover {
    background: rgba(108, 92, 231, 0.05);
}

/* تحسين الجداول في الموبايل */
@media (max-width: 640px) {
    .nebula-article__content table,
    .entry-content table,
    .post-content table {
        font-size: 0.85rem;
        margin: 16px 0;
        border-radius: 12px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nebula-article__content table th,
    .entry-content table th,
    .post-content table th,
    .nebula-article__content table td,
    .entry-content table td,
    .post-content table td {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}
:root {
    color-scheme: light;
    --font-primary: "Changa", "Cairo", "Tajawal", "Segoe UI", sans-serif;
    --radius-md: 16px;
    --radius-lg: 28px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    font-feature-settings: "liga" 1, "kern" 1;
    background:
        radial-gradient(circle at 0% 0%, rgba(108, 92, 231, 0.12), transparent 58%),
        radial-gradient(circle at 100% 0%, rgba(255, 77, 109, 0.08), transparent 58%),
        linear-gradient(180deg, #fbfcff 0%, #eef1ff 100%);
    color: #1a1d2f;
    direction: rtl;
    text-align: right;
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease, opacity 180ms ease;
}

a:hover,
a:focus {
    color: #ff4d6d;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

main {
    max-width: 960px;
    margin: 60px auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow:
        rgba(50, 50, 93, 0.05) 0 40px 60px -20px,
        rgba(0, 0, 0, 0.08) 0 25px 50px -30px;
    padding: 60px 40px;
}









.nebula-site-footer {
    margin-top: 80px;
    background: var(--footer-bg, #ffffff);
    color: var(--footer-text, #1a1d2f);
    border-top: 1px solid var(--footer-border, #dee1ec);
    position: relative;
    overflow: hidden;
}

.nebula-site-footer::before,
.nebula-site-footer::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--footer-social-hover, #ff4d6d) 36%, transparent) 0%, transparent 68%);
    opacity: 0.75;
    pointer-events: none;
    transition: transform 400ms ease, opacity 300ms ease;
}

.nebula-site-footer::before {
    width: 420px;
    height: 420px;
    top: -260px;
    inset-inline-start: -180px;
}

.nebula-site-footer::after {
    width: 360px;
    height: 360px;
    bottom: -240px;
    inset-inline-end: -140px;
    background: radial-gradient(circle, color-mix(in srgb, var(--footer-social-hover, #ff4d6d) 28%, var(--footer-bg, #ffffff) 72%) 0%, transparent 72%);
}

.nebula-site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, rgba(255, 255, 255, 0.4) 55%, transparent);
    backdrop-filter: blur(18px);
    box-shadow: rgba(17, 19, 37, 0.08) 0 40px 80px -28px;
}

.nebula-site-footer__columns {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nebula-site-footer__column {
    flex: 1;
    min-width: 220px;
    display: grid;
    gap: 18px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, rgba(255, 255, 255, 0.6) 32%, transparent);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.nebula-site-footer__column-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nebula-site-footer__column-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.nebula-site-footer__column-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, color-mix(in srgb, var(--footer-social-hover, #ff4d6d) 70%, transparent) 0%, rgba(255, 255, 255, 0.18) 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(17, 19, 37, 0.18);
}

.nebula-site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.nebula-site-footer__menu li {
    position: relative;
    padding-inline-start: 22px;
}

.nebula-site-footer__menu li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--footer-social-hover, #ff4d6d), rgba(108, 92, 231, 0.65));
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
    opacity: 0.95;
}

.nebula-site-footer__menu-fallback {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(26, 29, 47, 0.6);
}

.nebula-site-footer__menu a {
    display: inline-block;
    font-size: 0.95rem;
    color: color-mix(in srgb, var(--footer-text, #1a1d2f) 85%, rgba(255, 255, 255, 0.2) 15%);
    padding: 6px 10px;
    border-radius: 12px;
    transition: color 160ms ease, transform 160ms ease, background 160ms ease;
}

.nebula-site-footer__menu a:hover,
.nebula-site-footer__menu a:focus {
    color: var(--footer-social-hover, #ff4d6d);
    background: color-mix(in srgb, var(--footer-social-hover, #ff4d6d) 18%, transparent);
    transform: translateX(-4px);
}

.nebula-site-footer__social {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nebula-site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--footer-social-bg, #f2f4fb) 90%, transparent);
    color: var(--footer-social-color, #1a1d2f);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nebula-site-footer__social-link:hover,
.nebula-site-footer__social-link:focus {
    transform: translateY(-4px);
    background: rgba(255, 77, 109, 0.14);
    color: var(--footer-social-hover, #ff4d6d);
    border-color: rgba(255, 77, 109, 0.38);
}

.nebula-site-footer__bottom {
    margin-top: 12px;
    padding: 18px 24px 30px;
    border-top: 1px solid var(--footer-border, #dee1ec);
    text-align: center;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--footer-text, #1a1d2f) 72%, rgba(255, 255, 255, 0.2) 28%);
    letter-spacing: 0.02em;
}

.nebula-site-footer--alpha .nebula-site-footer__inner {
    border-radius: 32px 32px 0 0;
    padding-top: 56px;
    box-shadow:
        rgba(50, 50, 93, 0.04) 0 -40px 60px,
        rgba(17, 19, 37, 0.12) 0 -18px 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 255, 0.72));
}

.nebula-site-footer--alpha {
    background:
        radial-gradient(circle at top, rgba(108, 92, 231, 0.16), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 255, 0.86));
    border-top-color: rgba(108, 92, 231, 0.12);
}

.nebula-site-footer--alpha .nebula-site-footer__columns {
    align-items: flex-start;
    gap: 36px;
}

.nebula-site-footer--alpha .nebula-site-footer__inner {
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        rgba(50, 50, 93, 0.06) 0 40px 80px -24px,
        rgba(108, 92, 231, 0.12) 0 18px 36px -18px;
}

.nebula-site-footer--alpha .nebula-site-footer__column {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 0 1px rgba(108, 92, 231, 0.1);
}

.nebula-site-footer--beta {
    position: relative;
    overflow: hidden;
}

.nebula-site-footer--beta::before {
    content: "";
    position: absolute;
    inset: -12%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 48%),
        radial-gradient(circle at top center, rgba(108, 92, 231, 0.42), transparent 60%),
        radial-gradient(circle at bottom left, rgba(255, 77, 109, 0.28), transparent 62%);
    opacity: 0.95;
    pointer-events: none;
}

.nebula-site-footer--beta .nebula-site-footer__inner,
.nebula-site-footer--beta .nebula-site-footer__bottom {
    position: relative;
    z-index: 1;
}

.nebula-site-footer--beta .nebula-site-footer__inner {
    border-radius: 28px;
    padding: 58px 32px 44px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(32px);
    gap: 44px;
}

.nebula-site-footer--beta {
    background:
        radial-gradient(circle at 18% 0%, rgba(108, 92, 231, 0.38), transparent 60%),
        radial-gradient(circle at 88% 12%, rgba(255, 107, 129, 0.28), transparent 68%),
        linear-gradient(160deg, rgba(13, 15, 32, 0.95) 0%, rgba(20, 22, 40, 0.96) 55%, rgba(8, 10, 26, 0.98) 100%);
    border-top-color: rgba(255, 255, 255, 0.12);
    color: rgba(245, 247, 255, 0.9);
}

.nebula-site-footer--beta .nebula-site-footer__columns {
    gap: 48px;
}

.nebula-site-footer--beta .nebula-site-footer__column-icon {
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.nebula-site-footer--beta .nebula-site-footer__social-link {
    background: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.nebula-site-footer--beta .nebula-site-footer__social-link:hover,
.nebula-site-footer--beta .nebula-site-footer__social-link:focus {
    background: rgba(255, 255, 255, 0.3);
}

.nebula-site-footer--beta .nebula-site-footer__inner {
    background: rgba(21, 23, 42, 0.7);
    box-shadow: rgba(0, 0, 0, 0.45) 0 40px 100px -28px;
}

.nebula-site-footer--beta .nebula-site-footer__column {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.nebula-site-footer--beta .nebula-site-footer__menu a {
    color: rgba(245, 247, 255, 0.78);
}

.nebula-site-footer--beta .nebula-site-footer__menu a:hover,
.nebula-site-footer--beta .nebula-site-footer__menu a:focus {
    color: #ffffff;
    background: color-mix(in srgb, rgba(255, 107, 129, 0.4) 60%, transparent);
}

.nebula-site-footer--beta .nebula-site-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.12);
    color: rgba(245, 247, 255, 0.75);
}

.nebula-site-footer--beta .nebula-site-footer__menu-fallback {
    color: rgba(245, 247, 255, 0.7);
}

.nebula-site-footer--gamma .nebula-site-footer__columns {
    justify-content: center;
    gap: 64px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--footer-border, #dee1ec);
}

.nebula-site-footer--gamma {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 243, 255, 0.84));
}

.nebula-site-footer--gamma .nebula-site-footer__inner {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(17, 19, 37, 0.04) 0 30px 70px -24px;
}

.nebula-site-footer--gamma .nebula-site-footer__column {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 0 0 1px rgba(17, 19, 37, 0.06);
}

.nebula-site-footer--gamma .nebula-site-footer__column {
    align-items: center;
    text-align: center;
}

.nebula-site-footer--gamma .nebula-site-footer__column-head {
    justify-content: center;
}

.nebula-site-footer--gamma .nebula-site-footer__menu {
    gap: 14px;
}

.nebula-site-footer--gamma .nebula-site-footer__menu li {
    padding-inline-start: 0;
}

.nebula-site-footer--gamma .nebula-site-footer__menu li::before {
    display: none;
}

.nebula-site-footer--gamma .nebula-site-footer__social {
    justify-content: center;
    gap: 16px;
}

.nebula-site-footer--gamma .nebula-site-footer__bottom {
    text-align: center;
    padding-top: 24px;
}

@media (max-width: 992px) {
    main {
        margin: 40px auto;
        padding: 40px 28px;
    }

    .nebula-site-footer__columns {
        gap: 24px;
    }

    .nebula-site-footer__social {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    main {
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .nebula-site-footer__columns {
        flex-direction: column;
    }

    .nebula-site-footer__social {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.nebula-single {
    padding: 10px clamp(16px, 4vw, 32px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 255, 0.85));
    border-top: 4px solid rgba(108, 92, 231, 0.35);
}

main.nebula-single {
    margin: 10px auto 40px !important;
}

.nebula-single__wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.nebula-breadcrumb {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(108, 92, 231, 0.08);
    font-size: 0.9rem;
    color: rgba(17, 19, 37, 0.7);
}

.nebula-breadcrumb ol {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nebula-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nebula-breadcrumb li + li::before {
    content: "›";
    font-size: 1rem;
    color: rgba(17, 19, 37, 0.4);
}

.nebula-breadcrumb a {
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.nebula-breadcrumb a:hover,
.nebula-breadcrumb a:focus {
    color: rgba(17, 19, 37, 0.9);
}

.nebula-breadcrumb span[aria-current="page"] {
    font-weight: 700;
    color: rgba(17, 19, 37, 0.92);
}

.nebula-hero {
    margin: 0;
    padding: 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--hero-bg-start, #0f2034) 0%, var(--hero-bg-end, #122f49) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 42px 96px rgba(8, 18, 32, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    .nebula-single {
        padding: 10px 0 30px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .nebula-single__wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        gap: 0 !important;
        padding-inline: 0 !important;
        overflow-x: hidden !important;
    }

    .nebula-single__wrapper > * {
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* إزالة الفراغات من الحاوية الرئيسية للمربعات */
    .nebula-single__wrapper .nebula-suggestions,
    .nebula-single__wrapper .nebula-shelf {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .nebula-suggestions > .nebula-shelf {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
    }
    
    /* شريط التنقل - تصميم جديد احترافي */
    .nebula-breadcrumb {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 16px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    .nebula-breadcrumb ol {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
    
    .nebula-breadcrumb li {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nebula-breadcrumb li + li::before {
        content: "›" !important;
        font-size: 1rem !important;
        color: rgba(108, 92, 231, 0.5) !important;
        margin: 0 4px !important;
        font-weight: 400 !important;
    }
    
    .nebula-breadcrumb a {
        font-weight: 500 !important;
        color: rgba(108, 92, 231, 0.85) !important;
        text-decoration: none !important;
        transition: color 200ms ease !important;
        padding: 4px 8px !important;
        border-radius: 8px !important;
        background: transparent !important;
        border: none !important;
        font-size: 0.9rem !important;
    }
    
    .nebula-breadcrumb a:hover,
    .nebula-breadcrumb a:focus {
        color: rgba(108, 92, 231, 1) !important;
        background: rgba(108, 92, 231, 0.08) !important;
        transform: none !important;
    }
    
    .nebula-breadcrumb span[aria-current="page"] {
        font-weight: 600 !important;
        color: rgba(17, 19, 37, 0.85) !important;
        padding: 4px 8px !important;
        border-radius: 8px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        font-size: 0.9rem !important;
    }
    
    .nebula-article__content img,
    .nebula-article__content iframe,
    .nebula-article__content video,
    .nebula-article__content embed,
    .nebula-article__content object {
        max-width: 100% !important;
        height: auto !important;
    }

    /* إزالة جميع الفراغات الجانبية من المربعات */
    .nebula-shelf,
    .nebula-unified-card,
    .nebula-gallery,
    .nebula-info-table {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* المربعات الرئيسية - إظهارها وتنسيقها */
    .nebula-suggestions {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 20px 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        padding: 20px 16px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-inline: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        gap: 20px !important;
    }
    
    .nebula-shelf {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        padding: 20px 16px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-inline: 16px !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border: 2px solid rgba(168, 182, 229, 0.45) !important;
        box-shadow: 0 18px 36px rgba(21, 30, 62, 0.12) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .nebula-shelf__head {
        text-align: center !important;
        padding: 0 5px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
    }
    
    .nebula-shelf__head h2 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .nebula-section-title {
        text-align: center !important;
        width: 100% !important;
        margin-inline: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-inline: 12px !important;
    }
    
    .nebula-hero__body .nebula-info-table {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
    }

    .nebula-download-section {
        padding: 12px 5px !important;
        border-radius: 16px !important;
        margin-inline: 5px !important;
        margin-block-start: 0 !important;
        margin-block-end: 10px !important;
        background: #ffffff !important;
        border: 2px solid rgba(0, 0, 0, 0.12) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
        overflow: visible !important;
    }

    .nebula-download-section__head {
        padding-inline: 5px !important;
        margin-block-end: 10px !important;
        margin-block-start: 0 !important;
    }

    .nebula-download-section__head h2 {
        font-size: 1.1rem !important;
        color: #000000 !important;
        text-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-weight: 800 !important;
        letter-spacing: -0.02em !important;
        line-height: 1.4 !important;
        --download-heading-color: #000000 !important;
    }

    .nebula-download-section__head p {
        display: none !important;
    }

    .nebula-download-deck {
        gap: 5px !important;
        padding-inline: 5px !important;
        margin: 0 !important;
    }

    .nebula-hero {
        padding: 18px 10px !important;
        border-radius: 0;
        margin-inline: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__layout {
        gap: 0 !important;
        grid-template-columns: 1fr !important;
        justify-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__aside {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        margin-inline: 0 !important;
        justify-items: stretch !important;
        box-sizing: border-box !important;
        border: 2px solid #6c5ce7 !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(0, 206, 201, 0.03)) !important;
        box-shadow: 
            0 4px 20px rgba(108, 92, 231, 0.15),
            inset 0 0 0 1px rgba(108, 92, 231, 0.1) !important;
        position: relative !important;
    }

    .nebula-hero__heading {
        width: 100% !important;
        max-width: 100% !important;
        padding-inline: 0 !important;
        margin-inline: 0 !important;
        margin-block-end: 0 !important;
        justify-items: stretch !important;
        text-align: center !important;
        box-sizing: border-box !important;
        position: relative;
    }
    
    /* خط فاصل أعلى الصورة - موبايل فقط */
    .nebula-hero__heading::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: rgba(108, 92, 231, 0.2);
        margin-bottom: 5px;
    }

    /* العنوان - تصميم جديد احترافي مع خلفية شفافة */
    .nebula-hero__title {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        padding: 12px 16px !important;
        margin: 0 !important;
        margin-top: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        line-height: 1.5 !important;
        letter-spacing: -0.02em !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, 
            rgba(108, 92, 231, 0.08) 0%, 
            rgba(97, 87, 255, 0.06) 50%,
            rgba(0, 206, 201, 0.08) 100%) !important;
        color: #ffffff !important;
        border: 1px solid rgba(108, 92, 231, 0.2) !important;
        box-shadow: 
            0 2px 8px rgba(108, 92, 231, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
        text-align: center !important;
        backdrop-filter: none !important;
    }

    .nebula-hero__tagline {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-inline: 0 !important;
        margin-block: 6px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nebula-hero__visual {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        margin: 0 !important;
        margin-top: 5px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, rgba(97, 87, 255, 0.08), rgba(0, 198, 215, 0.08)) !important;
        position: relative;
        border-radius: 24px !important;
    }
    
    .nebula-hero__visual::before {
        display: none !important;
    }
    
    /* خط فاصل ملون بين الصورة وزرار التحميل - موبايل فقط */
    .nebula-hero__visual::after {
        display: none !important;
    }
    
    .nebula-hero__visual img,
    .nebula-hero__visual-media {
        width: 170px !important;
        height: 130px !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 20px !important;
        margin: 0 auto !important;
        padding: 8px !important;
        display: block !important;
        box-shadow: 
            0 8px 24px rgba(97, 87, 255, 0.25),
            0 0 0 8px rgba(97, 87, 255, 0.1),
            0 0 0 12px rgba(0, 198, 215, 0.08) !important;
        background: linear-gradient(135deg, rgba(97, 87, 255, 0.15), rgba(0, 198, 215, 0.15)) !important;
        border: none !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        will-change: auto !important;
        position: relative;
        z-index: 1;
        box-sizing: border-box !important;
    }
    
    .nebula-hero__visual-placeholder {
        width: 150px !important;
        height: 150px !important;
        border-radius: 24px !important;
        box-shadow: 
            0 12px 32px rgba(97, 87, 255, 0.35),
            0 0 0 10px rgba(97, 87, 255, 0.15),
            0 0 0 16px rgba(108, 92, 231, 0.12),
            0 0 0 22px rgba(0, 198, 215, 0.08) !important;
        background: linear-gradient(135deg, 
            rgba(97, 87, 255, 0.2), 
            rgba(108, 92, 231, 0.18),
            rgba(0, 198, 215, 0.2)) !important;
        border: 3px solid rgba(255, 255, 255, 0.3) !important;
        opacity: 1 !important;
        transform: scale(1) translateY(0) !important;
        margin: 0 auto !important;
        position: relative;
        z-index: 1;
    }

    .nebula-hero__download {
        width: 100% !important;
        max-width: 100% !important;
        gap: 5px !important;
        margin-block-start: 5px !important;
        margin-block-end: 5px !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        display: grid !important;
        box-sizing: border-box !important;
        justify-items: stretch !important;
        min-height: 60px !important;
        contain: layout style paint;
    }

    .nebula-hero__buttons {
        margin-block-start: 5px !important;
        margin-block-end: 0 !important;
    }

    .nebula-hero__download .nebula-hero__button {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 44px !important;
        margin-inline: 0 !important;
        contain: layout style paint;
        display: block !important;
        box-sizing: border-box !important;
        padding: 16px 20px !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        border-radius: 18px !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 
            0 12px 28px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
        position: relative;
        overflow: hidden;
        contain: layout style paint;
    }

    .nebula-hero__download .nebula-hero__button::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
        opacity: 0;
    }

    .nebula-hero__download .nebula-hero__button:hover::before,
    .nebula-hero__download .nebula-hero__button:focus-visible::before {
        opacity: 1;
    }

    .nebula-hero__download .nebula-hero__button:hover,
    .nebula-hero__download .nebula-hero__button:focus-visible {
        box-shadow: 
            0 16px 36px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    }

    .nebula-hero__buttons {
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
        margin-block: 5px 10px !important;
        margin-inline: 0 !important;
        padding: 16px !important;
        display: grid !important;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 255, 0.98)) !important;
        border: 2px solid rgba(108, 92, 231, 0.2) !important;
        border-radius: 20px !important;
        box-shadow: 0 8px 24px rgba(17, 19, 37, 0.1) !important;
    }
    
    /* فاصل بين الأزرار */
    .nebula-hero__buttons .nebula-hero__button:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.3), transparent);
    }

    .nebula-hero__buttons .nebula-hero__button {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding: 14px 18px !important;
        border-radius: 12px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        display: block !important;
        box-sizing: border-box !important;
        border: 2px solid rgba(108, 92, 231, 0.25) !important;
        box-shadow: 
            0 4px 12px rgba(108, 92, 231, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
        position: relative;
        overflow: hidden;
        contain: layout style paint;
    }

    .nebula-hero__buttons .nebula-hero__button::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
        opacity: 0;
    }

    .nebula-hero__buttons .nebula-hero__button:hover::before,
    .nebula-hero__buttons .nebula-hero__button:focus-visible::before {
        opacity: 1;
    }

    .nebula-hero__buttons .nebula-hero__button:hover,
    .nebula-hero__buttons .nebula-hero__button:focus-visible {
        box-shadow: 
            0 14px 32px rgba(0, 0, 0, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
    }

    .nebula-hero__help-wrapper {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 5px !important;
        width: 100% !important;
    }

    .nebula-hero__button--help {
        flex: 1;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto !important;
    }

    .nebula-hero__button--help:hover,
    .nebula-hero__button--help:focus {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
    }

    .nebula-hero__button--contact {
        position: relative;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        flex-shrink: 0;
    }

    .nebula-hero__button--contact:hover,
    .nebula-hero__button--contact:focus-visible {
        background: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
    }

    .nebula-hero__contact-tooltip {
        position: absolute;
        bottom: calc(100% + 10px);
        inset-inline-end: 0;
        padding: 10px 14px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.95));
        color: #ffffff;
        font-size: 0.8rem;
        font-weight: 600;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px) scale(0.95);
        transition: opacity 220ms cubic-bezier(0.4, 0, 0.2, 1), transform 220ms cubic-bezier(0.4, 0, 0.2, 1), visibility 220ms ease;
        pointer-events: none;
        z-index: 100;
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(12px);
    }

    .nebula-hero__contact-tooltip::before {
        content: '';
        position: absolute;
        top: 100%;
        inset-inline-end: 12px;
        width: 0;
        height: 0;
        border-inline: 8px solid transparent;
        border-block-start: 8px solid rgba(15, 23, 42, 0.98);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    .nebula-hero__button--contact:hover .nebula-hero__contact-tooltip,
    .nebula-hero__button--contact:focus-visible .nebula-hero__contact-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .nebula-hero__button--contact.is-tooltip-visible .nebula-hero__contact-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .nebula-hero__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .nebula-hero__meta-item {
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 0.76rem;
    }

    .nebula-hero__meta-item strong {
        font-size: 0.68rem;
    }
    
    /* Featured image in article content - mobile - نفس شكل الديسك توب */
    .nebula-article__cover {
        margin: 0 !important;
        padding: 20px !important;
        border-radius: 24px !important;
        background: linear-gradient(135deg, rgba(97, 87, 255, 0.08), rgba(0, 198, 215, 0.08)) !important;
    }
    
    .nebula-article__cover-image {
        width: 170px !important;
        height: 130px !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 20px !important;
        box-shadow: 
            0 8px 24px rgba(97, 87, 255, 0.25),
            0 0 0 8px rgba(97, 87, 255, 0.1),
            0 0 0 12px rgba(0, 198, 215, 0.08) !important;
        background: linear-gradient(135deg, rgba(97, 87, 255, 0.15), rgba(0, 198, 215, 0.15)) !important;
        padding: 8px !important;
        margin: 0 auto !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        box-sizing: border-box !important;
        will-change: auto !important;
    }

    .nebula-hero__table {
        gap: 12px;
    }

    .nebula-hero__table-column {
        gap: 8px;
    }

    .nebula-info-table th,
    .nebula-info-table td {
        padding: 10px 12px;
    }

    .nebula-mini-card {
        grid-template-columns: 60px minmax(0, 1fr);
        padding: 12px 14px;
        border-radius: 18px;
        gap: 10px;
        position: relative;
        overflow: visible;
    }
    
    .nebula-mini-card__link {
        position: absolute;
        inset: 0;
        z-index: 10;
        cursor: pointer;
    }

    .nebula-mini-card__thumb {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        position: relative;
        z-index: 2;
        pointer-events: none;
    }
    
    .nebula-mini-card__body {
        position: relative;
        z-index: 2;
        pointer-events: none;
    }
    
    .nebula-mini-card__body a,
    .nebula-mini-card__body * {
        pointer-events: auto;
        position: relative;
        z-index: 11;
    }

    .nebula-mini-card__title {
        font-size: 0.9rem;
    }
    

    .nebula-mini-card__meta,
    .nebula-mini-card__tag {
        font-size: 0.72rem;
    }

    .nebula-section-title {
        font-size: 1.05rem;
    }

    .nebula-download-chip {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin-inline: 0 !important;
        margin-block-start: 0 !important;
        margin-block-end: 5px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        position: relative;
        overflow: visible;
        gap: 10px;
    }

    /* الروابط التالية (غير الأساسية) بدون أيقونة وبعرض الصفحة */
    .nebula-download-chip:not(.is-primary) {
        gap: 0 !important;
    }

    .nebula-download-chip:first-child {
        margin-block-start: 0 !important;
    }

    .nebula-download-chip:last-child {
        margin-block-end: 0 !important;
    }

    .nebula-download-chip::before {
        display: none !important;
    }

    .nebula-download-chip__figure {
        display: none !important;
    }

    .nebula-download-chip.is-primary .nebula-download-chip__figure {
        display: none !important; /* إخفاء الأيقونة المنفصلة */
    }

    .nebula-download-chip__icon {
        font-size: 1.8rem !important;
        line-height: 1;
        color: rgba(0, 0, 0, 0.85) !important;
    }

    .nebula-download-chip__icon-img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 12px !important;
        object-fit: cover !important;
    }

    .nebula-download-chip__content {
        display: none !important;
    }

    .nebula-download-chip__button {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 16px 20px !important;
        margin-inline: 0 !important;
        margin-block: 0 !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        background: linear-gradient(135deg, #2c3e50, #34495e) !important;
        color: #ffffff !important;
        border: 2px solid rgba(44, 62, 80, 0.3) !important;
        box-shadow: 0 4px 12px rgba(44, 62, 80, 0.25) !important;
        transition: none !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none !important;
        text-align: center;
        order: 2;
        letter-spacing: 0.02em;
        position: relative;
    }


    /* الروابط التالية (غير الأساسية) بعرض الصفحة */
    .nebula-download-chip:not(.is-primary) .nebula-download-chip__button {
        width: 100% !important;
        flex: none !important;
    }

    .nebula-download-chip.is-primary .nebula-download-chip__button {
        background: linear-gradient(135deg, #1a252f, #2c3e50) !important;
        box-shadow: 0 4px 12px rgba(26, 37, 47, 0.3) !important;
        border-color: rgba(26, 37, 47, 0.35) !important;
        height: 55px !important;
        padding: 12px 20px !important;
    }


    .nebula-download-chip__button:hover,
    .nebula-download-chip__button:focus {
        transform: none !important;
        box-shadow: 0 4px 12px rgba(44, 62, 80, 0.35) !important;
        background: linear-gradient(135deg, #2c3e50, #34495e) !important;
        color: #ffffff !important;
    }

    .nebula-download-chip.is-primary .nebula-download-chip__button:hover,
    .nebula-download-chip.is-primary .nebula-download-chip__button:focus {
        box-shadow: 0 4px 12px rgba(26, 37, 47, 0.4) !important;
        background: linear-gradient(135deg, #1a252f, #2c3e50) !important;
        color: #ffffff !important;
    }

    .nebula-download-chip__button-text,
    .nebula-download-chip__button-version {
        color: #ffffff !important;
    }

    .nebula-download-chip__button-version {
        font-size: 0.9rem;
        font-weight: 700;
        opacity: 1;
    }

    .nebula-download-chip__verify {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
        font-size: 0.85rem !important;
        line-height: 1 !important;
        margin-inline-start: 6px !important;
        flex-shrink: 0 !important;
    }

    /* تحسين علامة التوثيق للروابط التالية */
    .nebula-download-chip__verify.is-secondary {
        background: rgba(255, 255, 255, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    .nebula-article__content {
        padding: 20px 16px !important;
        margin-inline: 10px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        margin-top: 0 !important;
        border: 2px solid rgba(108, 92, 231, 0.3) !important;
        border-top: none !important;
        border-radius: 0 0 18px 18px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 16px rgba(108, 92, 231, 0.1) !important;
        text-align: right !important;
        direction: rtl !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .nebula-article__content p,
    .nebula-article__content li {
        text-align: right !important;
        direction: rtl !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .nebula-article__content h2,
    .nebula-article__content h3,
    .nebula-article__content h4 {
        text-align: right !important;
        direction: rtl !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        margin: 20px 0 12px !important;
        padding: 14px 16px !important;
        border-radius: 12px !important;
        font-size: clamp(1.2rem, 2.8vw, 1.5rem) !important;
    }
    
    .nebula-article__content h3 {
        font-size: clamp(1.1rem, 2.4vw, 1.35rem) !important;
        padding: 12px 16px !important;
    }
    
    .nebula-article__content h4 {
        font-size: clamp(1rem, 2.2vw, 1.2rem) !important;
        padding: 10px 16px !important;
    }
    
    .nebula-article__content ul,
    .nebula-article__content ol {
        padding-right: 20px !important;
        padding-left: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .nebula-article__content img,
    .nebula-article__content iframe,
    .nebula-article__content video {
        max-width: 100% !important;
        height: auto !important;
    }

    .nebula-unified-card,
    .nebula-download-section,
    .nebula-gallery,
    .nebula-help {
        padding: 18px 16px;
        border-radius: 18px;
    }

    /* نموذج طلب التحديث */
    .nebula-report-section {
        margin-inline: 5px !important;
        margin-block: 10px !important;
    }

    .nebula-report-trigger {
        width: 100% !important;
        padding: 14px 18px !important;
        border-radius: 16px !important;
        font-size: 0.95rem !important;
    }

    .nebula-report-modal__content {
        max-width: 95vw !important;
        padding: 24px 20px !important;
    }

    /* الفراغات بين العناصر */
    .nebula-help-trigger {
        margin-block-start: 0 !important;
        margin-block-end: 0 !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .nebula-help-trigger span {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        height: 100% !important;
    }

    .nebula-help-trigger strong {
        font-size: clamp(1.05rem, 2.6vw, 1.35rem) !important;
        font-weight: 800 !important;
    }

    .nebula-help-trigger__plus {
        display: inline-flex !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 2rem !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        color: #000000 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 10px !important;
        border: 2px solid rgba(108, 92, 231, 0.2) !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0 !important;
    }

    .nebula-help-wrapper {
        margin-block-start: 0 !important;
        margin-block-end: 10px !important;
    }

    .nebula-share.nebula-unified-card {
        margin-block-start: 10px !important;
    }
}

.nebula-hero::before {
    content: "";
    position: absolute;
    inset: 12px 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(-0.6deg);
    z-index: 0;
}

.nebula-hero::after {
    content: "";
    position: absolute;
    inset-inline-end: -160px;
    inset-block-start: -160px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
    opacity: 0.7;
    pointer-events: none;
}

.nebula-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    align-items: start;
}

@media (max-width: 640px) {
    .nebula-hero {
        position: relative !important;
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .nebula-hero__layout {
        align-items: stretch !important;
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .nebula-hero__body {
        position: relative !important;
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .nebula-hero__body .nebula-hero__table,
    .nebula-hero__body table {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .nebula-single__wrapper {
        display: block !important;
    }
    
    .nebula-single__wrapper > .nebula-hero + .nebula-article {
        margin-top: 0 !important;
    }
    
    .nebula-article {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .nebula-article__content {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
}

@media (min-width: 992px) {
    .nebula-hero__title {
        font-size: 18px !important;
    }
}

.nebula-hero__aside {
    display: grid;
    gap: 0;
    justify-items: stretch;
    width: 100%;
    margin: 0;
    padding: 16px;
    border: 2px solid #6c5ce7;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(0, 206, 201, 0.03));
    box-shadow: 
        0 4px 20px rgba(108, 92, 231, 0.15),
        inset 0 0 0 1px rgba(108, 92, 231, 0.1);
    position: relative;
}

.nebula-hero__aside::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #6c5ce7, #00cec9, #6c5ce7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.nebula-hero__heading {
    display: grid;
    gap: 4px;
    justify-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.nebula-hero__visual {
    width: 100%;
    margin: 0;
    padding: 0;
    max-height: 130px;
    min-height: 130px;
    height: 130px;
    overflow: hidden;
    position: relative;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 100% 130px;
}

.nebula-hero__visual img,
.nebula-hero__visual-media {
    width: 100%;
    height: 100%;
    min-height: 130px;
    display: block;
    border-radius: 24px;
    box-shadow: 0 20px 36px rgba(6, 14, 26, 0.3);
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    opacity: 0;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 100% 130px;
}

.nebula-hero__visual-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(2.4rem, 6vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.nebula-hero__body {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 24px;
    background: color-mix(in srgb, var(--hero-card-bg, rgba(23, 58, 96, 0.45)) 88%, rgba(8, 16, 30, 0.24));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    margin-top: 10px;
}

.nebula-hero__table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 14px 24px rgba(8, 16, 30, 0.18);
}

.nebula-hero__table-column {
    display: grid;
    gap: 10px;
}

.nebula-hero__table-row {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--hero-table-border, rgba(255, 255, 255, 0.18));
    width: 100%;
    box-sizing: border-box;
}

.nebula-hero__table-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(230, 236, 248, 0.85);
}

.nebula-hero__table-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
}

.nebula-hero__table-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    fill: none;
}


.nebula-hero__table-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.94);
    word-break: break-word;
    min-width: 0;
    flex: 1 1 auto;
}

.nebula-hero__table-value a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 0.12em;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.nebula-hero__title {
    margin: 0;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: var(--hero-title-size, 18px);
    line-height: 1.5;
    font-weight: 700;
    background: linear-gradient(135deg, 
        rgba(108, 92, 231, 0.08) 0%, 
        rgba(97, 87, 255, 0.06) 50%,
        rgba(0, 206, 201, 0.08) 100%);
    color: #ffffff;
    text-align: center;
    border: 1px solid rgba(108, 92, 231, 0.2);
    box-shadow: 
        0 2px 8px rgba(108, 92, 231, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    width: 100%;
    box-sizing: border-box;
}

.nebula-hero__tagline {
    margin: 0;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: rgba(226, 232, 245, 0.75);
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.nebula-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(6, 14, 28, 0.18);
    width: 100%;
    max-width: 220px;
    min-height: 44px;
    box-sizing: border-box;
    contain: layout style paint;
}

.nebula-hero__button:hover,
.nebula-hero__button:focus {
    box-shadow: 0 22px 40px rgba(6, 14, 28, 0.24);
}

.nebula-hero__download {
    display: grid;
    gap: 8px;
    width: 100%;
    justify-items: center;
    margin-block: 12px 8px;
    min-height: 60px;
    contain: layout style paint;
    content-visibility: auto;
    contain-intrinsic-size: 100% 60px;
}

.nebula-hero__buttons {
    display: grid;
    gap: 8px;
    width: 100%;
    justify-items: center;
    margin-block: 8px 12px;
}

.nebula-hero__button--primary {
    background: var(--hero-cta-primary, #42d6a0);
    color: var(--hero-cta-text, #0f2538);
}

.nebula-hero__button--secondary {
    background: linear-gradient(135deg, #0088cc, #229ED9) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.nebula-hero__button--secondary:hover,
.nebula-hero__button--secondary:focus {
    background: linear-gradient(135deg, #0077b5, #1e8bc3) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(0, 136, 204, 0.45) !important;
    transform: translateY(-2px);
}

.nebula-hero__button--whatsapp {
    background: linear-gradient(135deg, #25D366, #20BA5A) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.nebula-hero__button--whatsapp:hover,
.nebula-hero__button--whatsapp:focus {
    background: linear-gradient(135deg, #20BA5A, #1DA851) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45) !important;
    transform: translateY(-2px);
}

.nebula-hero__button--ghost {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(6, 14, 28, 0.18);
}

.nebula-hero__button--ghost:hover,
.nebula-hero__button--ghost:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    box-shadow: 0 20px 32px rgba(6, 14, 28, 0.24);
}

.nebula-hero__help-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.nebula-hero__help-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
    flex-shrink: 0;
}

.nebula-hero__help-toggle:hover,
.nebula-hero__help-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.nebula-hero__help-button-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nebula-hero__help-button-wrapper[hidden] {
    display: none !important;
}

.nebula-hero__button--help {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nebula-hero__button--help:hover,
.nebula-hero__button--help:focus {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.nebula-hero__button--help span {
    font-size: 1rem;
    font-weight: 700;
}

.nebula-hero__button--contact {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px;
    padding: 0 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.nebula-hero__button--contact:hover,
.nebula-hero__button--contact:focus-visible {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.nebula-hero__meta {
    display: grid;
    gap: 6px;
    width: 100%;
}

.nebula-hero__meta-item {
    display: grid;
    gap: 2px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: rgba(235, 240, 252, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.nebula-hero__meta-item strong {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.nebula-hero__lead {
    display: grid;
    gap: 8px;
}

.nebula-hero__badge {
    align-self: start;
    display: inline-flex;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.nebula-hero__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226, 234, 248, 0.8);
}

.nebula-hero__header {
    display: grid;
    gap: 12px;
}

.nebula-hero__title {
    margin: 0;
    font-size: clamp(1.9rem, 4.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.3;
}

.nebula-hero__tagline {
    font-size: 0.95rem;
    color: rgba(226, 232, 245, 0.86);
}

.nebula-hero__section-intro {
    display: grid;
    gap: 6px;
    margin-bottom: 6px;
}

@media (max-width: 1080px) {
    .nebula-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__visual {
        order: 0;
        justify-self: stretch;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__body {
        order: 1;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        padding: 12px !important;
        box-sizing: border-box !important;
    }
    
    .nebula-info-table {
        margin: 16px 0;
        border-radius: 16px;
        font-size: 0.9rem;
    }
    
    .nebula-info-table th,
    .nebula-info-table td {
        padding: 12px 14px;
        font-size: 0.88rem;
    }
    
    .nebula-info-table th {
        width: 40%;
        min-width: 100px;
        font-size: 0.85rem;
    }
    
    .nebula-hero__body .nebula-info-table,
    .nebula-hero__body .nebula-hero__table {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 760px) {
    .nebula-hero {
        margin-inline: 0 !important;
        border-radius: 0 !important;
        padding: 18px 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__layout {
        grid-template-columns: 1fr !important;
        justify-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
        gap: 0 !important;
    }

    .nebula-hero__aside {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        margin-inline: 0 !important;
        justify-items: stretch !important;
        box-sizing: border-box !important;
        border: 2px solid #6c5ce7 !important;
        border-radius: 20px !important;
        background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(0, 206, 201, 0.03)) !important;
        box-shadow: 
            0 4px 20px rgba(108, 92, 231, 0.15),
            inset 0 0 0 1px rgba(108, 92, 231, 0.1) !important;
        position: relative !important;
    }
    
    .nebula-hero__body {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        padding: 12px !important;
        box-sizing: border-box !important;
    }
    
    .nebula-hero__body .nebula-info-table,
    .nebula-hero__body .nebula-hero__table,
    .nebula-hero__body table {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__heading {
        width: 100% !important;
        padding-inline: 5px !important;
        justify-items: stretch !important;
        text-align: center !important;
    }

    .nebula-hero__visual {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 25px 10px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, 
            rgba(97, 87, 255, 0.12) 0%, 
            rgba(108, 92, 231, 0.08) 25%,
            rgba(0, 198, 215, 0.1) 50%,
            rgba(108, 92, 231, 0.08) 75%,
            rgba(97, 87, 255, 0.12) 100%) !important;
        position: relative;
        border-radius: 16px !important;
    }
    
    .nebula-hero__visual::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 16px;
        background: radial-gradient(circle at center, 
            rgba(97, 87, 255, 0.15) 0%, 
            rgba(0, 198, 215, 0.1) 50%,
            transparent 100%);
        pointer-events: none;
    }
    
    .nebula-hero__visual img,
    .nebula-hero__visual-media {
        width: 170px !important;
        height: 130px !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 20px !important;
        margin: 0 auto !important;
        padding: 8px !important;
        display: block !important;
        box-shadow: 
            0 8px 24px rgba(97, 87, 255, 0.25),
            0 0 0 8px rgba(97, 87, 255, 0.1),
            0 0 0 12px rgba(0, 198, 215, 0.08) !important;
        background: linear-gradient(135deg, rgba(97, 87, 255, 0.15), rgba(0, 198, 215, 0.15)) !important;
        border: none !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        will-change: auto !important;
        position: relative;
        z-index: 1;
        box-sizing: border-box !important;
    }
    
    .nebula-hero__visual-placeholder {
        width: 150px !important;
        height: 150px !important;
        border-radius: 24px !important;
        box-shadow: 
            0 12px 32px rgba(97, 87, 255, 0.35),
            0 0 0 10px rgba(97, 87, 255, 0.15),
            0 0 0 16px rgba(108, 92, 231, 0.12),
            0 0 0 22px rgba(0, 198, 215, 0.08) !important;
        background: linear-gradient(135deg, 
            rgba(97, 87, 255, 0.2), 
            rgba(108, 92, 231, 0.18),
            rgba(0, 198, 215, 0.2)) !important;
        border: 3px solid rgba(255, 255, 255, 0.3) !important;
        opacity: 1 !important;
        transform: scale(1) translateY(0) !important;
        margin: 0 auto !important;
        position: relative;
        z-index: 1;
    }

    .nebula-hero__download {
        width: 100% !important;
        padding-inline: 5px !important;
        margin-inline: 0 !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__download .nebula-hero__button {
        width: 100% !important;
        margin-inline: 0 !important;
        padding: 16px 20px !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        border-radius: 18px !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 
            0 12px 28px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    }

    .nebula-hero__buttons {
        width: 100% !important;
        padding-inline: 5px !important;
        margin-inline: 0 !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__buttons .nebula-hero__button {
        width: 100% !important;
        margin-inline: 0 !important;
        padding: 14px 18px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        border-radius: 16px !important;
        border: 2px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 
            0 10px 24px rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }

    .nebula-hero__table {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 10px !important;
        padding: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nebula-hero__table-column {
        gap: 8px !important;
        display: grid !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* جدول المعلومات على الموبايل - في نفس السطر */
    .nebula-hero__table-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 8px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    
    .nebula-hero__table-label {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        min-width: 0 !important;
    }
    
    .nebula-hero__table-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        font-size: 0.9rem !important;
        flex-shrink: 0 !important;
    }
    
    
    .nebula-hero__table-value {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        text-align: end !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        width: auto !important;
    }

    .nebula-hero__actions {
        justify-content: stretch;
    }

    .nebula-hero__button {
        flex: 1 1 100%;
    }
}

.nebula-article {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: grid;
    gap: 10px;
}

.nebula-article__head {
    display: grid;
    gap: 10px;
}

.nebula-article__head-inner {
    display: grid;
    gap: 10px;
}

.nebula-article__badge {
    justify-self: start;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.16), rgba(0, 206, 201, 0.18));
    color: rgba(26, 29, 47, 0.9);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
}

.nebula-article__title {
    margin: 0;
    font-size: clamp(1.8rem, 4.2vw, 2.6rem);
    line-height: 1.25;
    color: #141626;
}

.nebula-article__cover {
    margin: 0;
    border-radius: 24px;
    overflow: visible;
    position: relative;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(97, 87, 255, 0.08), rgba(0, 198, 215, 0.08));
    transition: transform 200ms ease;
}

.nebula-article__cover::before {
    display: none;
}

.nebula-article__cover.has-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 26, 0) 20%, rgba(8, 10, 26, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.nebula-article__cover-image {
    display: block;
    width: 170px;
    height: 130px;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    box-shadow: 
        0 8px 24px rgba(97, 87, 255, 0.25),
        0 0 0 8px rgba(97, 87, 255, 0.1),
        0 0 0 12px rgba(0, 198, 215, 0.08);
    background: linear-gradient(135deg, rgba(97, 87, 255, 0.15), rgba(0, 198, 215, 0.15));
    padding: 8px;
    margin: 0 auto;
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
    box-sizing: border-box;
}

@keyframes nebula-featured-image-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.nebula-interaction-lazy {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    display: block;
}

/* LCP image - show with animation */
.nebula-article__cover-image {
    visibility: visible;
}

/* Show images after interaction */
.nebula-interaction-lazy.loaded {
    opacity: 1;
    visibility: visible;
}

.nebula-article__cover-badge {
    position: absolute;
    inset-inline-start: 24px;
    top: 24px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--badge-color, rgba(108, 92, 231, 0.8));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 20px 32px rgba(8, 10, 26, 0.25);
}

.nebula-article__info {
    border-radius: 28px;
    background: linear-gradient(145deg, var(--post-info-bg, rgba(238, 240, 255, 0.75)) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: clamp(26px, 4vw, 36px);
    display: grid;
    gap: 24px;
    box-shadow:
        0 32px 70px rgba(17, 19, 37, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.nebula-article__info-head h2 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    color: #101323;
}

.nebula-article__info-head p {
    margin: 6px 0 0;
    color: rgba(17, 19, 37, 0.68);
    font-size: 0.96rem;
}

.nebula-article__info--table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(17, 19, 37, 0.05);
}

.nebula-article__info--table th,
.nebula-article__info--table td {
    padding: 18px 24px;
    text-align: start;
    border-bottom: 1px solid rgba(17, 19, 37, 0.05);
    font-size: 0.98rem;
}

.nebula-article__info--table th {
    width: 240px;
    color: rgba(17, 19, 37, 0.7);
    font-weight: 700;
    background: rgba(17, 19, 37, 0.03);
}

.nebula-article__info--table tr:last-child th,
.nebula-article__info--table tr:last-child td {
    border-bottom: none;
}

.nebula-article__info--minimal .nebula-info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 16px;
}

.nebula-info-list li {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 16px 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    box-shadow:
        0 12px 30px rgba(17, 19, 37, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.nebula-info-list strong {
    color: rgba(17, 19, 37, 0.68);
    font-weight: 700;
}

.nebula-info-list span {
    font-weight: 600;
    color: rgba(17, 19, 37, 0.88);
}

.nebula-info-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.nebula-info-grid__item {
    display: grid;
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 18px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 18px 42px rgba(17, 19, 37, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.nebula-info-grid__label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: rgba(20, 22, 38, 0.7);
    font-size: 0.96rem;
}

.nebula-info-grid__icon {
    font-size: 1.15rem;
    display: inline-flex;
}

.nebula-info-grid__value {
    font-weight: 600;
    color: rgba(20, 22, 38, 0.92);
    font-size: 1.02rem;
}

.nebula-info-grid__value a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(108, 92, 231, 0.4);
}

.nebula-info-grid__store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.85), rgba(0, 206, 201, 0.65));
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(108, 92, 231, 0.28);
}

.nebula-article__content {
    --article-pad: clamp(24px, 4vw, 32px);
    --article-border: rgba(167, 178, 213, 0.38);
    width: 100%;
    justify-self: stretch;
    display: grid;
    gap: 12px;
    padding: var(--article-pad);
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--article-border);
    box-shadow: none;
    font-size: 1.02rem;
    color: rgba(20, 22, 38, 0.92);
    line-height: 1.85;
}

/* Images in article content - show on hover */
.nebula-article__content img {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.nebula-article__content:hover img,
.nebula-article__content img:hover {
    opacity: 1;
    transform: scale(1);
}

/* Ensure images are visible when article is hovered */
.nebula-article:hover .nebula-article__content img {
    opacity: 1;
    transform: scale(1);
}

.nebula-article__content h2,
.nebula-article__content h3,
.nebula-article__content h4 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: clamp(28px, 5vw, 36px) 0 clamp(12px, 2vw, 18px);
    margin-inline: calc(var(--article-pad) * -1);
    padding: 18px var(--article-pad);
    min-height: auto;
    max-height: none;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(108, 92, 231, 0.03));
    border: 2px solid rgba(108, 92, 231, 0.15);
    border-right: 4px solid rgba(108, 92, 231, 0.4);
    box-shadow: 
        0 4px 12px rgba(108, 92, 231, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #1a1d2f;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.nebula-article__content h2:hover,
.nebula-article__content h3:hover,
.nebula-article__content h4:hover {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(108, 92, 231, 0.06));
    border-color: rgba(108, 92, 231, 0.25);
    border-right-color: rgba(108, 92, 231, 0.5);
    box-shadow: 
        0 6px 16px rgba(108, 92, 231, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateX(-2px);
}


.nebula-article__content h2::before,
.nebula-article__content h3::before,
.nebula-article__content h4::before {
    content: '';
    width: 4px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.6), rgba(108, 92, 231, 0.3));
    border-radius: 0 16px 16px 0;
}

.nebula-article__content h2::after,
.nebula-article__content h3::after,
.nebula-article__content h4::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.4);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.nebula-article__content h2 {
    font-size: clamp(1.4rem, 3.2vw, 1.8rem);
    padding: 20px var(--article-pad);
}

.nebula-article__content h3 {
    font-size: clamp(1.25rem, 2.8vw, 1.55rem);
    padding: 16px var(--article-pad);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(108, 92, 231, 0.02));
    border-right-width: 3px;
}

.nebula-article__content h3::before {
    width: 3px;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.5), rgba(108, 92, 231, 0.25));
}

.nebula-article__content h3::after {
    width: 6px;
    height: 6px;
    right: 16px;
}

.nebula-article__content h4 {
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    padding: 14px var(--article-pad);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(108, 92, 231, 0.01));
    border-right-width: 2px;
}

.nebula-article__content h4::before {
    width: 2px;
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.4), rgba(108, 92, 231, 0.2));
}

.nebula-article__content h4::after {
    width: 5px;
    height: 5px;
    right: 14px;
}

.nebula-article__content > *:first-child {
    margin-top: 0;
}

.nebula-article__content p {
    margin: 0;
}

.nebula-article__content a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #182246;
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
    box-shadow: 0 10px 24px rgba(108, 92, 231, 0.16);
}

.nebula-article__content a:hover,
.nebula-article__content a:focus {
    background: rgba(95, 179, 255, 0.22);
    color: #10243f;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(95, 179, 255, 0.18);
}

.nebula-article__content ul,
.nebula-article__content ol {
    padding-inline-start: 20px;
    margin: 0;
    display: grid;
    gap: 10px;
}

.nebula-article__content li::marker {
    color: rgba(108, 92, 231, 0.85);
    font-weight: 700;
}

.nebula-article__content blockquote {
    margin: 0;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(108, 92, 231, 0.08);
    border-inline-start: 4px solid rgba(108, 92, 231, 0.65);
    color: #141c38;
    font-style: italic;
}

.nebula-article__content code {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(20, 30, 55, 0.08);
    font-size: 0.92rem;
}

.nebula-article__content hr {
    margin: 10px 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(108, 92, 231, 0.4), rgba(0, 206, 201, 0.2));
}

.nebula-download-section {
    position: relative;
    display: grid;
    gap: 10px;
    padding: clamp(24px, 4vw, 34px);
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--download-bg-from, #ff4d6d) 78%, rgba(12, 22, 42, 0.55)) 0%,
        color-mix(in srgb, var(--download-bg-to, #ff6b81) 82%, rgba(8, 14, 28, 0.62)) 100%
    );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 34px 76px rgba(12, 18, 32, 0.28);
    overflow: hidden;
}

.nebula-download-section::after {
    content: "";
    position: absolute;
    inset-inline-end: -140px;
    inset-block-start: -160px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.26) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.nebula-download-section__head {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}

.nebula-download-section__head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    font-weight: 800;
    color: var(--download-heading-color, #f5fbff);
}

/* تقليل الفراغات للديسك توب فقط */
@media (min-width: 1024px) {
    .nebula-download-section {
        padding: clamp(12px, 2vw, 18px);
        gap: 8px;
    }

    .nebula-download-section__head {
        gap: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .nebula-download-section__head h2 {
        margin: 0;
        padding: 0;
        line-height: 1.2;
        font-size: clamp(1.3rem, 2.5vw, 1.6rem);
        color: #1a1d2f !important;
    }

    .nebula-download-section__head p {
        margin: 0;
        padding: 0;
        line-height: 1.3;
        color: #2d3748 !important;
    }
}

.nebula-download-section__head p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--download-heading-subcolor, rgba(228, 236, 255, 0.76));
}

.nebula-download-deck {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nebula-download-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 22px;
    background: color-mix(in srgb, var(--download-chip-bg, rgba(255, 255, 255, 0.88)) 92%, rgba(255, 255, 255, 0));
    color: var(--download-chip-text, #0f2840);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 20px 36px rgba(8, 16, 36, 0.15);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.nebula-download-chip:hover,
.nebula-download-chip:focus-within {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--download-chip-hover, rgba(255, 255, 255, 0.96)) 92%, rgba(255, 255, 255, 0));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 18px 32px rgba(8, 16, 36, 0.18);
}

.nebula-download-chip.is-primary {
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--download-bg-from, #ff4d6d) 80%, #ffffff 15%) 0%,
        color-mix(in srgb, var(--download-bg-to, #ff6b81) 82%, #ffffff 10%) 100%
    );
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 28px 52px rgba(8, 14, 32, 0.26);
}

.nebula-download-chip__figure {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--download-chip-icon-bg, rgba(255, 255, 255, 0.78));
    display: grid;
    place-items: center;
}

.nebula-download-chip__icon {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--download-chip-icon, #3b5bfd);
}

.nebula-download-chip__icon-img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.nebula-download-chip__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.nebula-download-chip__label {
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.nebula-download-chip__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 34, 56, 0.12);
    color: inherit;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nebula-download-chip__meta {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--download-chip-meta, rgba(17, 29, 47, 0.66));
}

.nebula-download-chip__button {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--download-chip-button, #ffffff), color-mix(in srgb, var(--download-chip-button, #ffffff) 60%, transparent));
    color: var(--download-chip-button-text, #0777b7);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(9, 19, 32, 0.16);
    transition: transform 140ms ease, box-shadow 140ms ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.nebula-download-chip__button-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nebula-download-chip__button-version {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(13, 112, 219, 0.12);
    color: var(--download-chip-button-text, #0777b7);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nebula-download-chip__verify {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    width: 1.6em;
    height: 1.6em;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
}

.nebula-download-chip__button:hover,
.nebula-download-chip__button:focus {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(9, 19, 32, 0.22);
}

.nebula-download-chip.is-primary .nebula-download-chip__badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.nebula-download-chip.is-primary .nebula-download-chip__meta {
    color: rgba(255, 255, 255, 0.82);
}

.nebula-download-chip.is-primary .nebula-download-chip__button {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 18px 36px rgba(8, 14, 32, 0.24);
}

.nebula-download-chip.is-primary .nebula-download-chip__verify {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5) !important;
}

.nebula-download-chip.is-primary .nebula-download-chip__button-version {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.nebula-download-chip.is-primary .nebula-download-chip__button:hover,
.nebula-download-chip.is-primary .nebula-download-chip__button:focus {
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 26px 44px rgba(8, 14, 32, 0.3);
}

.nebula-download-chip + .nebula-download-chip {
    margin-top: 26px;
}

.nebula-download-chip + .nebula-download-chip::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 18px;
    right: 18px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.15));
    box-shadow: 0 6px 16px rgba(8, 16, 36, 0.25);
}

@media (max-width: 720px) {
    .nebula-download-deck {
        grid-template-columns: 1fr;
    }

    .nebula-download-chip {
        flex-direction: column;
        align-items: flex-start;
    }

    .nebula-download-chip__button {
        margin-inline-start: 0;
    }
}

.nebula-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--download-gradient-from, #ff4d6d), var(--download-gradient-to, #ff6b81));
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 24px 46px rgba(255, 77, 109, 0.28);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.nebula-download-button:hover,
.nebula-download-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 32px 60px rgba(255, 77, 109, 0.34);
}

.nebula-download-card {
    display: none;
}

.nebula-download-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 180ms ease;
}

.nebula-download-card:hover::after,
.nebula-download-card:focus-within::after {
    opacity: 1;
}

.nebula-download-card--primary {
    background: linear-gradient(135deg, var(--download-gradient-from, #ff4d6d) 0%, var(--download-gradient-to, #ff6b81) 100%);
    color: #ffffff;
    box-shadow: 0 32px 70px rgba(255, 77, 109, 0.35);
}

.nebula-download-card__body {
    display: grid;
    gap: 6px;
}

.nebula-download-card__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.nebula-download-card--primary .nebula-download-card__eyebrow {
    opacity: 0.85;
}

.nebula-download-card__title {
    margin: 0;
    font-size: clamp(1.05rem, 2.6vw, 1.4rem);
    font-weight: 800;
    color: inherit;
}

.nebula-download-card__meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(17, 19, 37, 0.65);
}

.nebula-download-card--primary .nebula-download-card__meta {
    color: rgba(255, 255, 255, 0.82);
}

.nebula-download-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.9), rgba(0, 206, 201, 0.85));
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(108, 92, 231, 0.28);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.nebula-download-card__button:hover,
.nebula-download-card__button:focus {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(108, 92, 231, 0.35);
}

.nebula-download-card__button--light {
    background: #ffffff;
    color: var(--download-gradient-from, #ff4d6d);
    box-shadow: none;
}

.nebula-download-card__button--light:hover,
.nebula-download-card__button--light:focus {
    box-shadow: 0 18px 36px rgba(255, 255, 255, 0.28);
}

.nebula-download-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.nebula-download-grid .nebula-download-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
}

.nebula-download-grid .nebula-download-card__button {
    margin-top: 10px;
}

.nebula-share {
    --share-pad: clamp(22px, 4vw, 32px);
    --section-title-pad: var(--share-pad);
    display: grid;
    gap: 16px;
    padding: var(--share-pad);
    margin-top: 10px;
    border-radius: 26px;
    background: radial-gradient(circle at top right, rgba(94, 144, 255, 0.24), transparent 55%), linear-gradient(135deg, rgba(16, 22, 40, 0.98), rgba(38, 72, 132, 0.94) 50%, rgba(110, 83, 220, 0.9));
    border: 1px solid rgba(113, 136, 214, 0.35);
    box-shadow: 0 40px 72px rgba(11, 18, 40, 0.35);
    color: #f3f6ff;
}

.nebula-section-title,
.nebula-share__title {
    --title-pad: var(--section-title-pad, clamp(18px, 4vw, 26px));
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: clamp(18px, 4vw, 26px) 0 0;
    margin-inline: calc(var(--title-pad) * -1);
    padding: 12px var(--title-pad);
    min-height: 46px;
    max-height: 50px;
    border-radius: 0;
    background: #ffffff;
    border-inline: 1px solid rgba(167, 178, 213, 0.38);
    border-bottom: 3px solid rgba(82, 119, 220, 0.82);
    color: #17213e;
    font-size: clamp(1.18rem, 2.6vw, 1.48rem);
    font-weight: 800;
    letter-spacing: 0.006em;
    box-shadow: none;
}

.nebula-section-title:first-child,
.nebula-share__title:first-child {
    margin-top: 0;
}

.nebula-section-title::before,
.nebula-share__title::before {
    content: none;
}

.nebula-share__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nebula-share__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #0f1a39;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    box-shadow: 0 18px 42px rgba(11, 18, 40, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.nebula-share__button--copy {
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
}

.nebula-share__button:hover,
.nebula-share__button:focus {
    transform: translateY(-2px);
    background: rgba(245, 247, 255, 0.3);
    box-shadow: 0 24px 48px rgba(13, 22, 48, 0.28);
}

.nebula-share__icon {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(230, 233, 248, 0.6));
    display: grid;
    place-items: center;
    color: var(--share-color, #6c5ce7);
    box-shadow: inset 0 0 0 1px rgba(122, 140, 255, 0.32);
}

.nebula-share__icon svg {
    width: 16px;
    height: 16px;
}

.nebula-share__label {
    font-size: 0.9rem;
    color: #0f1f46;
}

.nebula-share__status {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(230, 235, 255, 0.78);
    transition: color 140ms ease;
}

.nebula-share__status[data-state="success"] {
    color: #34d399;
}

.nebula-share__status[data-state="error"] {
    color: #f87171;
}

.nebula-suggestions {
    display: grid;
    gap: 16px;
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
    margin-inline: 0;
    padding: clamp(18px, 3vw, 26px);
    border-radius: 28px;
    background:
        radial-gradient(110% 140% at 90% 10%, rgba(118, 141, 255, 0.22), transparent 60%),
        linear-gradient(135deg, rgba(244, 246, 255, 0.96), rgba(233, 238, 255, 0.9));
    border: 1px solid rgba(168, 182, 229, 0.38);
    box-shadow: 0 32px 64px rgba(21, 30, 62, 0.12);
}

.nebula-shelf {
    --shelf-pad: 5px;
    --section-title-pad: var(--shelf-pad);
    display: grid;
    gap: clamp(14px, 3vw, 20px);
    padding: var(--shelf-pad);
    margin-left: 0;
    margin-right: 0;
    margin-inline: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(199, 207, 243, 0.45);
    box-shadow: 0 18px 44px rgba(21, 30, 62, 0.12);
}

.nebula-shelf__head {
    display: block;
}

.nebula-shelf__head h2 {
    width: 100%;
}

.nebula-shelf__grid {
    --shelf-desktop-columns-value: var(--shelf-desktop-columns, 3);
    --shelf-mobile-columns-value: var(--shelf-mobile-columns, 1);
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(var(--shelf-desktop-columns-value), minmax(0, 1fr));
    padding: 5px;
}

.nebula-mini-card {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--shelf-card-bg, rgba(255, 255, 255, 0.92));
    border: 1px solid var(--shelf-card-border, rgba(223, 228, 255, 0.8));
    box-shadow:
        rgba(17, 19, 37, 0.08) 0 14px 24px -12px,
        inset 0 0 0 1px rgba(255, 255, 255, 0.38);
    transition: transform 160ms ease, box-shadow 160ms ease;
    position: relative;
    overflow: visible;
}

.nebula-mini-card__link {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}

@media (min-width: 769px) {
    .nebula-mini-card:hover,
    .nebula-mini-card:focus-within {
        transform: translateY(-2px);
        box-shadow: 0 18px 32px rgba(15, 19, 37, 0.12);
    }
}

.nebula-mini-card__thumb {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(108, 92, 231, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.nebula-mini-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nebula-mini-card__thumb-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
    color: rgba(108, 92, 231, 0.7);
}

.nebula-mini-card__body {
    display: grid;
    gap: 6px;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.nebula-mini-card__body a,
.nebula-mini-card__body * {
    pointer-events: auto;
    position: relative;
    z-index: 11;
}

.nebula-mini-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #13172b;
    line-height: 1.2;
}

.nebula-mini-card__title a {
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 11;
}

.nebula-mini-card__title a:hover,
.nebula-mini-card__title a:focus {
    text-decoration: underline;
}


.nebula-mini-card__meta,
.nebula-mini-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: color-mix(in srgb, var(--shelf-card-accent, #6c5ce7) 40%, #101428 60%);
}

.nebula-mini-card__tag {
    color: #000000 !important;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0;
    text-transform: none;
}

.nebula-mini-card__meta-icon {
    font-size: 1rem;
}

/* تقليل الفراغ بين التحميل وطلب التحديث في الموبايل */
@media (max-width: 640px) {
    .nebula-download-section + .nebula-unified-actions {
        margin-top: 10px !important;
    }
}

/* أيقونة Premium Unlocked */
.nebula-mini-card__tag .nebula-mini-card__meta-icon {
    color: #000000 !important;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .nebula-shelf__grid {
        grid-template-columns: repeat(var(--shelf-mobile-columns-value), minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nebula-shelf__grid {
        grid-template-columns: repeat(var(--shelf-mobile-columns-value), minmax(0, 1fr));
    }
}

/* Mobile frame for related/sections - add breathing space and distinctive border */
@media (max-width: 720px) {
    .nebula-suggestions {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 20px 0 !important;
        padding: 20px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .nebula-shelf {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline-start: 0 !important;
        margin-inline-end: 0 !important;
        margin-inline: 0 !important;
        padding: 20px 16px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        border-radius: 18px !important;
        border: 2px solid rgba(168, 182, 229, 0.45) !important;
        box-shadow: 0 18px 36px rgba(21, 30, 62, 0.12) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .nebula-suggestions {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .nebula-shelf__grid {
        gap: 10px !important;
        padding: 5px !important;
    }
    
    .nebula-shelf__head {
        text-align: center !important;
        padding: 0 5px !important;
        margin-bottom: 12px !important;
    }
    
    .nebula-shelf__head h2 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .nebula-section-title {
        text-align: center !important;
        width: 100% !important;
    }
}

/* تم نقل CSS للعناوين إلى الأعلى */

.nebula-download-chip__verify.is-secondary {
    background: rgba(13, 112, 219, 0.18);
    color: #0d70db;
    border-color: rgba(13, 112, 219, 0.28);
}

.nebula-download-chip.is-primary .nebula-download-chip__verify.is-secondary {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.nebula-gateway {
    min-height: 100vh;
    display: grid;
    background: radial-gradient(circle at top, rgba(12, 28, 52, 0.9) 0%, rgba(10, 18, 32, 0.94) 48%, rgba(8, 14, 30, 0.98) 100%);
    color: #f4f6ff;
}

.nebula-gateway__hero {
    padding: clamp(40px, 8vw, 96px) clamp(24px, 6vw, 120px) clamp(20px, 6vw, 60px);
}

.nebula-gateway__hero-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 32px;
}

.nebula-gateway__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.nebula-gateway__title {
    margin: 12px 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
}

.nebula-gateway__subtitle {
    margin: 0;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: rgba(244, 246, 255, 0.82);
    font-weight: 700;
}

.nebula-gateway__lead {
    margin: 10px 0 0;
    font-size: 1rem;
    color: rgba(229, 232, 255, 0.78);
    max-width: 720px;
    line-height: 1.6;
}

.nebula-gateway__countdown {
    display: grid;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 22px;
    background: linear-gradient(130deg, rgba(13, 32, 64, 0.9), rgba(13, 40, 82, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 60px rgba(5, 10, 22, 0.55);
}

.nebula-gateway__timer {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
}

.nebula-gateway__timer-number {
    font-size: clamp(2.6rem, 6vw, 3.6rem);
    font-weight: 900;
}

.nebula-gateway__timer-label {
    font-size: 1rem;
    color: rgba(229, 232, 255, 0.78);
}

.nebula-gateway__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.nebula-gateway__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(48, 204, 150, 1), rgba(46, 160, 235, 1));
    color: #0b1324;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(12, 24, 42, 0.35);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.nebula-gateway__cta:hover,
.nebula-gateway__cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(12, 24, 42, 0.4);
}

.nebula-gateway__cta.is-disabled {
    pointer-events: none;
    opacity: 0.55;
    filter: grayscale(12%);
}

.nebula-gateway__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #0b1324;
    font-weight: 800;
}

.nebula-gateway__fallback {
    display: inline-flex;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    color: rgba(229, 232, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
}

.nebula-gateway__hint,
.nebula-gateway__notice {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(229, 232, 255, 0.82);
}

.nebula-gateway__notice {
    font-weight: 600;
}

.nebula-gateway__body {
    background: #f4f6ff;
    color: #0c1730;
    padding: clamp(40px, 6vw, 80px) clamp(18px, 6vw, 120px);
    display: grid;
    gap: clamp(28px, 4vw, 48px);
}

.nebula-gateway__download-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 62px rgba(15, 31, 58, 0.08);
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(12, 23, 48, 0.08);
}

.nebula-gateway__download-info {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.nebula-gateway__thumb {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(91, 125, 255, 0.18), rgba(101, 232, 203, 0.22));
    display: grid;
    place-items: center;
    overflow: hidden;
}

.nebula-gateway__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nebula-gateway__download-meta h2 {
    margin: 0 0 12px;
    font-size: 1.3rem;
    font-weight: 800;
}

.nebula-gateway__download-meta ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 0.98rem;
}

.nebula-gateway__info {
    background: #ffffff;
    border-radius: 22px;
    padding: clamp(20px, 4vw, 40px);
    box-shadow: 0 18px 46px rgba(15, 31, 58, 0.08);
    border: 1px solid rgba(12, 23, 48, 0.08);
}

.nebula-gateway__info h2 {
    margin: 0 0 18px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0c1730;
}

.nebula-gateway__info table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
}

.nebula-gateway__info th,
.nebula-gateway__info td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(12, 23, 48, 0.08);
    font-size: 0.96rem;
}

.nebula-gateway__faq {
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(22px, 4vw, 42px);
    box-shadow: 0 18px 46px rgba(15, 31, 58, 0.08);
    border: 1px solid rgba(12, 23, 48, 0.08);
    display: grid;
    gap: 16px;
}

.nebula-gateway__faq h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #091122;
}

.nebula-gateway__faq-item {
    border: 1px solid rgba(12, 23, 48, 0.08);
    border-radius: 16px;
    background: rgba(246, 248, 255, 0.86);
    padding: 0 18px;
}

.nebula-gateway__faq-item + .nebula-gateway__faq-item {
    margin-top: 6px;
}

.nebula-gateway__faq-item summary {
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    list-style: none;
}

.nebula-gateway__faq-item summary::-webkit-details-marker {
    display: none;
}

.nebula-gateway__faq-icon {
    font-size: 1.1rem;
    transition: transform 180ms ease;
}

.nebula-gateway__faq-item[open] .nebula-gateway__faq-icon {
    transform: rotate(45deg);
}

.nebula-gateway__faq-item p {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: #29344d;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .nebula-gateway__download-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .nebula-gateway__hero {
        padding-inline: 18px;
    }
}

.nebula-download-chip.is-primary .nebula-download-chip__button-version {
     background: rgba(255, 255, 255, 0.2);
     color: #ffffff;
 }

.nebula-download-slider {
    margin: clamp(32px, 6vw, 52px) 0;
    padding: clamp(18px, 4vw, 32px);
    border: 1px solid rgba(15, 28, 52, 0.12);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(247, 250, 255, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow: 0 32px 80px rgba(12, 18, 36, 0.1);
    position: relative;
    overflow: hidden;
}

.nebula-download-slider__viewport {
    overflow: hidden;
    border-radius: 18px;
}

.nebula-download-slider__track {
    display: flex;
    gap: clamp(18px, 4vw, 24px);
    transition: transform 360ms ease;
}

.nebula-download-slider__item {
    flex: 0 0 100%;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #0e182c;
    color: #fff;
}

.nebula-download-slider__item img {
    width: 100%;
    height: clamp(240px, 50vw, 380px);
    object-fit: cover;
    display: block;
}

.nebula-download-slider__item figcaption {
    margin: 0;
    padding: 14px 18px;
    background: linear-gradient(180deg, rgba(12, 17, 33, 0.82), rgba(12, 17, 33, 0.45));
    font-size: 0.95rem;
    font-weight: 600;
}

.nebula-download-slider__controls {
    margin-top: clamp(16px, 3vw, 24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nebula-download-slider__arrow {
    appearance: none;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f78ff, #1fc997);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.nebula-download-slider__arrow:hover,
.nebula-download-slider__arrow:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(36, 120, 212, 0.32);
}

.nebula-download-slider__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    flex: 1;
}

.nebula-download-slider__dot {
    appearance: none;
    border: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(12, 24, 52, 0.18);
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.nebula-download-slider__dot.is-active {
    background: linear-gradient(135deg, #2f78ff, #1fc997);
    transform: scale(1.08);
}

@media (max-width: 720px) {
    .nebula-download-slider {
        padding: 18px;
    }

    .nebula-download-slider__item img {
        height: clamp(200px, 60vw, 280px);
    }

    .nebula-download-slider__controls {
        flex-direction: column;
    }

    .nebula-download-slider__dots {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .nebula-download-deck {
        grid-template-columns: 1fr;
    }
}

/* AdSense Ads Styling - Professional Design */
.nebula-adsense {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
    padding: 16px;
    width: 100%;
    min-height: 60px;
    position: relative;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.04), rgba(0, 206, 201, 0.02));
    border: 1px solid rgba(108, 92, 231, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.nebula-adsense:hover {
    border-color: rgba(108, 92, 231, 0.2);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(0, 206, 201, 0.03));
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.1);
}

.nebula-adsense > * {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

/* Below Header Ad */
.nebula-adsense--below-header {
    margin-top: 0;
    margin-bottom: 24px;
    border-radius: 0 0 16px 16px;
    border-top: none;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05), rgba(0, 206, 201, 0.03));
}

/* Below Info Table Ad */
.nebula-adsense--below-info-table {
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Before Gallery Ad */
.nebula-adsense--before-gallery {
    margin-top: 32px;
    margin-bottom: 24px;
}

/* Before Download Ad */
.nebula-adsense--before-download {
    margin-top: 32px;
    margin-bottom: 24px;
}

/* After Download Ad */
.nebula-adsense--after-download {
    margin-top: 32px;
    margin-bottom: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nebula-adsense {
        margin: 16px 0;
        padding: 12px;
        border-radius: 12px;
    }
    
    .nebula-adsense--below-header {
        margin-top: 0;
        margin-bottom: 16px;
        border-radius: 0 0 12px 12px;
    }
    
    .nebula-adsense--below-info-table,
    .nebula-adsense--before-gallery,
    .nebula-adsense--before-download,
    .nebula-adsense--after-download {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Ensure AdSense ads are responsive */
.nebula-adsense ins,
.nebula-adsense iframe,
.nebula-adsense div {
    max-width: 100% !important;
    height: auto !important;
}

.nebula-adsense iframe {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 8px;
}

/* AdSense loading state - removed to prevent performance issues */

/* ========================================
   الأيقونات المعلقة (Floating Buttons)
   ======================================== */

.nebula-floating-buttons {
    position: fixed;
    bottom: 80px;
    left: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

/* السماح للأزرار بالتفاعل */
.nebula-floating-buttons .nebula-floating-btn {
    pointer-events: auto;
}

.nebula-floating-btn {
    width: 56px;
    height: 56px;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--floating-btn-bg, #ffffff);
    color: var(--floating-btn-color, #6c5ce7);
    border: 2px solid var(--floating-btn-color, #6c5ce7);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    outline: none;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nebula-floating-btn:hover,
.nebula-floating-btn:focus {
    background: var(--floating-btn-hover, #00cec9);
    color: var(--floating-btn-bg, #ffffff);
    border-color: var(--floating-btn-hover, #00cec9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nebula-floating-btn:active {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.nebula-floating-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* حالات الظهور/الاختفاء */
/* زر الهوم دائماً ظاهر */
.nebula-floating-btn--home {
    display: flex !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
}

.nebula-floating-btn.is-visible {
    display: flex !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nebula-floating-btn:not(.is-visible):not(.nebula-floating-btn--home) {
    display: none !important;
    opacity: 0 !important;
    transform: scale(0.8) !important;
    pointer-events: none !important;
}

/* Responsive - الموبايل */
@media (max-width: 768px) {
    .nebula-floating-buttons {
        bottom: 80px;
        left: 16px;
        gap: 10px;
    }

    .nebula-floating-btn {
        width: 52px;
        height: 52px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    }

    .nebula-floating-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* شاشات صغيرة جداً */
@media (max-width: 480px) {
    .nebula-floating-buttons {
        bottom: 80px;
        left: 12px;
        gap: 8px;
    }

    .nebula-floating-btn {
        width: 48px;
        height: 48px;
    }

    .nebula-floating-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* تحسينات الوصول (Accessibility) */
.nebula-floating-btn:focus-visible {
    outline: 2px solid var(--floating-btn-color, #6c5ce7);
    outline-offset: 2px;
}

.nebula-floating-btn[aria-hidden="true"] {
    display: none !important;
}





