/* Fix for H1UserAgentFontSizeInSection deprecation warning */
/* Ensure section elements don't inherit font-size from user agent */
section {
    font-size: inherit;
}

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

.nebula-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.98));
    border-radius: 18px;
    overflow: hidden;
    margin: 28px 0;
    border: 2px solid rgba(0, 168, 89, 0.2);
    box-shadow: 
        0 12px 32px rgba(0, 168, 89, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08);
}

.nebula-info-table th,
.nebula-info-table td {
    padding: 16px 20px;
    text-align: right;
}

.nebula-info-table th {
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.15), rgba(0, 180, 216, 0.12));
    color: #00a859;
    font-weight: 800;
    font-size: 1rem;
    border-bottom: 2px solid rgba(0, 168, 89, 0.25);
    width: 35%;
    min-width: 120px;
    padding: 18px 24px;
    letter-spacing: -0.01em;
}

.nebula-info-table td {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 168, 89, 0.1);
    line-height: 1.7;
    padding: 18px 24px;
    transition: background 0.2s ease;
}
.nebula-info-table tr:hover td {
    background: rgba(249, 251, 255, 1);
}

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

/* تحسين الجداول داخل محتوى المقال */
.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:
        /* Pattern overlay - نمط ألعاب وتطبيقات */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 168, 89, 0.03) 2px,
            rgba(0, 168, 89, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 180, 216, 0.03) 2px,
            rgba(0, 180, 216, 0.03) 4px
        ),
        /* App/Game icons pattern - نمط أيقونات التطبيقات */
        radial-gradient(circle at 10% 20%, rgba(0, 168, 89, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 90% 30%, rgba(0, 180, 216, 0.12) 0%, transparent 25%),
        radial-gradient(circle at 20% 80%, rgba(0, 168, 89, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(0, 180, 216, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(0, 168, 89, 0.08) 0%, transparent 30%),
        /* Base gradient - تدرج أساسي */
        linear-gradient(135deg, 
            #f0f9ff 0%, 
            #e0f2fe 20%, 
            #f0f9ff 40%, 
            #fafafa 60%, 
            #f0f9ff 80%, 
            #e0f2fe 100%);
    background-attachment: fixed;
    background-size: 
        50px 50px,
        50px 50px,
        200px 200px,
        200px 200px,
        180px 180px,
        200px 200px,
        150px 150px,
        100% 200%;
    background-position:
        0 0,
        0 0,
        10% 20%,
        90% 30%,
        20% 80%,
        80% 70%,
        50% 50%,
        0 0;
    color: #1e293b;
    direction: rtl;
    text-align: right;
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* App/Game icons overlay - طبقة أيقونات التطبيقات */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        /* App icon shapes - أشكال أيقونات التطبيقات */
        radial-gradient(circle 60px at 15% 25%, rgba(0, 168, 89, 0.12) 0%, transparent 50%),
        radial-gradient(circle 50px at 85% 35%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
        radial-gradient(circle 55px at 25% 75%, rgba(0, 168, 89, 0.1) 0%, transparent 50%),
        radial-gradient(circle 45px at 75% 65%, rgba(0, 180, 216, 0.08) 0%, transparent 50%),
        radial-gradient(circle 40px at 50% 15%, rgba(0, 168, 89, 0.08) 0%, transparent 50%),
        radial-gradient(circle 35px at 10% 60%, rgba(0, 180, 216, 0.06) 0%, transparent 50%),
        radial-gradient(circle 30px at 90% 80%, rgba(0, 168, 89, 0.06) 0%, transparent 50%);
    background-size: 
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
    mix-blend-mode: multiply;
}

/* Game/App icons decorative layer - طبقة زخرفية لأيقونات الألعاب */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        /* Square app icons - أيقونات مربعة */
        linear-gradient(45deg, transparent 48%, rgba(0, 168, 89, 0.05) 49%, rgba(0, 168, 89, 0.05) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 180, 216, 0.05) 49%, rgba(0, 180, 216, 0.05) 51%, transparent 52%),
        /* Rounded corners effect - تأثير الزوايا المدورة */
        radial-gradient(circle 8px at 20% 30%, rgba(0, 168, 89, 0.1) 0%, transparent 50%),
        radial-gradient(circle 8px at 80% 40%, rgba(0, 180, 216, 0.08) 0%, transparent 50%),
        radial-gradient(circle 8px at 30% 70%, rgba(0, 168, 89, 0.08) 0%, transparent 50%),
        radial-gradient(circle 8px at 70% 80%, rgba(0, 180, 216, 0.06) 0%, transparent 50%);
    background-size:
        100px 100px,
        100px 100px,
        200px 200px,
        200px 200px,
        180px 180px,
        180px 180px;
    background-position:
        15% 25%,
        85% 35%,
        20% 30%,
        80% 40%,
        30% 70%,
        70% 80%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

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 0;
}

/* استثناء صفحة VPN من CSS العام */
main.vpn-page {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}









.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 0 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 0;
    }

    .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;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
    }

    /* استثناء main.nebula-single و main.vpn-page من padding: 0 */
    main:not(.nebula-single):not(.vpn-page) {
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* main.nebula-single على الموبايل - يحتفظ بـ padding و margin */
    main.nebula-single {
        margin: 10px auto 40px !important;
        padding: 10px 0 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    /* صفحة VPN - إزالة كل شيء */
    main.vpn-page {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

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

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

.nebula-single {
    padding: 10px 0;
    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;
}

/* مسار التنقل (Breadcrumb) - تصميم احترافي */
.nebula-breadcrumb {
    display: inline-flex;
    align-items: center;
    margin: 16px 0;
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    font-size: 0.95rem;
    font-weight: 600;
}

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

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

.nebula-breadcrumb li:first-child a::before {
    content: '🏠';
    margin-inline-end: 6px;
    font-size: 1.1em;
}

.nebula-breadcrumb li + li::before {
    content: "›";
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.4);
    margin-inline: 4px;
}

.nebula-breadcrumb a {
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.nebula-breadcrumb a:hover,
.nebula-breadcrumb a:focus {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.1);
}

.nebula-breadcrumb span[aria-current="page"] {
    font-weight: 800;
    color: #0f172a;
    padding: 4px 8px;
}

.nebula-hero {
    margin: 0;
    padding: 32px;
    border-radius: 24px;
    background: 
        linear-gradient(135deg, rgba(0, 168, 89, 0.12) 0%, rgba(0, 180, 216, 0.08) 50%, rgba(0, 168, 89, 0.12) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    color: #0f172a;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 168, 89, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 168, 89, 0.1);
    border: 2px solid rgba(0, 168, 89, 0.2);
}
.nebula-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00a859, #00b4d8, #00a859);
    border-radius: 24px 24px 0 0;
}

@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: 12px 0 !important;
        padding: 10px 16px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid rgba(15, 23, 42, 0.1) !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
        border-radius: 10px !important;
    }
    
    .nebula-breadcrumb ol {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 6px !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: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nebula-breadcrumb li:first-child a::before {
        content: '🏠' !important;
        margin-inline-end: 6px !important;
        font-size: 1.1em !important;
    }
    
    .nebula-breadcrumb li + li::before {
        content: "›" !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: rgba(15, 23, 42, 0.4) !important;
        margin-inline: 4px !important;
    }
    
    .nebula-breadcrumb a {
        font-weight: 600 !important;
        color: #6366f1 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        font-size: 0.9rem !important;
    }
    
    .nebula-breadcrumb a:hover,
    .nebula-breadcrumb a:focus {
        color: #4f46e5 !important;
        background: rgba(99, 102, 241, 0.1) !important;
    }
    
    .nebula-breadcrumb span[aria-current="page"] {
        font-weight: 800 !important;
        color: #0f172a !important;
        padding: 4px 8px !important;
        font-size: 0.9rem !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: 20px 16px !important;
        border-radius: 12px !important;
        margin-inline: 5px !important;
        margin-block-start: 0 !important;
        margin-block-end: 10px !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        overflow: visible !important;
    }

    .nebula-download-section__head {
        padding-inline: 0 !important;
        margin-block-end: 16px !important;
        margin-block-start: 0 !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    .nebula-download-section__head h2 {
        font-size: 1.15rem !important;
        color: #1a1a1a !important;
        text-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em !important;
        line-height: 1.3 !important;
        --download-heading-color: #1a1a1a !important;
    }

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

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

    .nebula-hero {
        padding: 10px 8px !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: 12px 14px !important;
        margin-inline: 0 !important;
        justify-items: stretch !important;
        box-sizing: border-box !important;
        border: 2.5px solid rgba(255, 159, 67, 0.4) !important;
        border-radius: 24px !important;
        background: linear-gradient(145deg, 
            rgba(255, 159, 67, 0.1) 0%, 
            rgba(255, 132, 87, 0.08) 50%,
            rgba(255, 107, 107, 0.1) 100%) !important;
        box-shadow: 
            0 8px 32px rgba(255, 159, 67, 0.25),
            0 2px 8px rgba(255, 132, 87, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(255, 159, 67, 0.15) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .nebula-hero__aside::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, 
            rgba(255, 159, 67, 0.7) 0%,
            rgba(255, 132, 87, 0.9) 50%,
            rgba(255, 107, 107, 0.7) 100%);
        border-radius: 24px 24px 0 0;
    }

    .nebula-hero__heading {
        width: 100% !important;
        max-width: 100% !important;
        padding-inline: 0 !important;
        margin-inline: 0 !important;
        margin-block-end: 10px !important;
        justify-items: stretch !important;
        text-align: center !important;
        box-sizing: border-box !important;
        position: relative;
    }

    /* العنوان - تصميم عصري احترافي مع حواف مميزة */
    .nebula-hero__title {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        padding: 10px 16px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        line-height: 1.3 !important;
        letter-spacing: -0.01em !important;
        border-radius: 14px !important;
        background: linear-gradient(145deg, 
            rgba(255, 159, 67, 0.18) 0%, 
            rgba(255, 132, 87, 0.15) 50%,
            rgba(255, 107, 107, 0.18) 100%) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 159, 67, 0.35) !important;
        box-shadow: 
            0 4px 16px rgba(255, 159, 67, 0.3),
            0 2px 8px rgba(255, 132, 87, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(255, 159, 67, 0.25) !important;
        text-align: center !important;
        backdrop-filter: blur(8px) !important;
        position: relative;
        overflow: hidden;
    }

    .nebula-hero__title::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.2), 
            transparent);
        transition: left 0.6s ease;
    }

    .nebula-hero__title:hover::before {
        left: 100%;
    }

    .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: 200px !important;
        max-width: 200px !important;
        height: 140px !important;
        min-height: 140px !important;
        max-height: 140px !important;
        margin: 0 auto 12px auto !important;
        padding: 8px !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(108, 92, 231, 0.1) 0%, 
            rgba(0, 206, 201, 0.08) 50%,
            rgba(108, 92, 231, 0.1) 100%) !important;
        position: relative;
        border-radius: 16px !important;
        border: 3px solid transparent !important;
        box-shadow: 
            0 8px 32px rgba(108, 92, 231, 0.25),
            0 4px 16px rgba(0, 206, 201, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }
    
    .nebula-hero__visual::before {
        content: '' !important;
        position: absolute;
        inset: -3px;
        border-radius: 20px;
        padding: 3px;
        background: linear-gradient(135deg, 
            #6c5ce7 0%, 
            #00cec9 50%,
            #6c5ce7 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: 0;
        pointer-events: none;
    }
    
    .nebula-hero__visual::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 17px;
        background: radial-gradient(circle at 30% 30%, 
            rgba(108, 92, 231, 0.2) 0%, 
            transparent 60%);
        pointer-events: none;
        z-index: 1;
    }
    
    .nebula-hero__visual img,
    .nebula-hero__visual-media {
        width: 184px !important;
        height: 124px !important;
        max-width: 184px !important;
        max-height: 124px !important;
        min-width: 184px !important;
        min-height: 124px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 10px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: block !important;
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
        background: transparent !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        will-change: auto !important;
        position: relative;
        z-index: 2;
        box-sizing: border-box !important;
    }
    
    .nebula-hero__visual img:hover,
    .nebula-hero__visual-media:hover {
        transform: none !important;
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    }
    
    .nebula-hero__visual-placeholder {
        width: 184px !important;
        height: 124px !important;
        max-width: 184px !important;
        max-height: 124px !important;
        min-width: 184px !important;
        min-height: 124px !important;
        border-radius: 12px !important;
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
        background: linear-gradient(135deg, 
            rgba(108, 92, 231, 0.15) 0%, 
            rgba(0, 206, 201, 0.12) 100%) !important;
        border: none !important;
        opacity: 1 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative;
        z-index: 2;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 3.8rem !important;
        font-weight: 800 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        box-sizing: border-box !important;
    }

    /* أزرار التحميل - تصميم عصري احترافي */
    .nebula-hero__download {
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
        margin-block-start: 0 !important;
        margin-block-end: 12px !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        display: grid !important;
        box-sizing: border-box !important;
        justify-items: stretch !important;
        min-height: auto !important;
    }

    .nebula-hero__download .nebula-hero__button {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 42px !important;
        margin-inline: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding: 10px 18px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        border: 2.5px solid rgba(255, 255, 255, 0.4) !important;
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(108, 92, 231, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .nebula-hero__download .nebula-hero__button::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(145deg, 
            rgba(255, 255, 255, 0.25), 
            rgba(255, 255, 255, 0.1),
            transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nebula-hero__download .nebula-hero__button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .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:active::after {
        width: 300px;
        height: 300px;
    }

    .nebula-hero__download .nebula-hero__button:hover,
    .nebula-hero__download .nebula-hero__button:focus-visible {
        transform: translateY(-2px) !important;
        box-shadow: 
            0 12px 32px rgba(0, 0, 0, 0.35),
            0 6px 16px rgba(108, 92, 231, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.35),
            inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
    }

    /* أزرار التواصل - تصميم عصري احترافي */
    .nebula-hero__buttons {
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
        margin-block: 0 0 !important;
        margin-inline: 0 !important;
        padding: 12px !important;
        display: grid !important;
        box-sizing: border-box !important;
        background: linear-gradient(145deg, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(255, 248, 240, 0.95) 100%) !important;
        border: 2.5px solid rgba(255, 159, 67, 0.35) !important;
        border-radius: 16px !important;
        box-shadow: 
            0 8px 24px rgba(255, 159, 67, 0.2),
            0 2px 8px rgba(255, 132, 87, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(255, 159, 67, 0.15) !important;
        position: relative;
    }

    .nebula-hero__buttons::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, 
            rgba(255, 159, 67, 0.6) 0%,
            rgba(255, 132, 87, 0.8) 50%,
            rgba(255, 107, 107, 0.6) 100%);
        border-radius: 20px 20px 0 0;
    }

    .nebula-hero__buttons .nebula-hero__button {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding: 10px 16px !important;
        min-height: 40px !important;
        border-radius: 12px !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        border: 2px solid rgba(255, 159, 67, 0.35) !important;
        box-shadow: 
            0 4px 12px rgba(255, 159, 67, 0.22),
            0 2px 6px rgba(255, 132, 87, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(255, 159, 67, 0.2) !important;
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .nebula-hero__buttons .nebula-hero__button::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(145deg, 
            rgba(255, 255, 255, 0.2), 
            rgba(255, 255, 255, 0.1),
            transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .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 {
        transform: translateY(-2px) !important;
        box-shadow: 
            0 8px 20px rgba(255, 159, 67, 0.3),
            0 4px 10px rgba(255, 132, 87, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(255, 159, 67, 0.25) !important;
        border-color: rgba(255, 159, 67, 0.45) !important;
    }

    .nebula-hero__buttons .nebula-hero__button:active {
        transform: translateY(0) !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: 8px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        position: relative;
        overflow: visible;
        gap: 0;
        min-height: auto !important;
    }

    /* الروابط التالية (غير الأساسية) بدون أيقونة وبعرض الصفحة */
    .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: 100% !important;
        min-width: 0 !important;
        padding: 14px 20px !important;
        margin-inline: 0 !important;
        margin-block: 0 !important;
        border-radius: 12px !important;
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        background: #00a859 !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 
            0 3px 10px rgba(0, 168, 89, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !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 !important;
        position: relative;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }


    /* الروابط التالية (غير الأساسية) بعرض الصفحة */
    .nebula-download-chip:not(.is-primary) .nebula-download-chip__button {
        width: 100% !important;
        flex: none !important;
        background: #ffffff !important;
        color: #0f172a !important;
        border: 2px solid #e2e8f0 !important;
        box-shadow: 
            0 2px 6px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        text-shadow: none !important;
    }

    .nebula-download-chip.is-primary .nebula-download-chip__button {
        background: linear-gradient(135deg, #00a859 0%, #00b884 100%) !important;
        box-shadow: 
            0 3px 10px rgba(0, 168, 89, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        height: auto !important;
        padding: 14px 20px !important;
        color: #ffffff !important;
    }


    .nebula-download-chip__button:hover,
    .nebula-download-chip__button:focus {
        box-shadow: 
            0 4px 12px rgba(0, 168, 89, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
        background: linear-gradient(135deg, #008a4a 0%, #00a873 100%) !important;
        color: #ffffff !important;
    }

    .nebula-download-chip:not(.is-primary) .nebula-download-chip__button:hover,
    .nebula-download-chip:not(.is-primary) .nebula-download-chip__button:focus {
        background: #f1f5f9 !important;
        color: #0f172a !important;
        border-color: #cbd5e1 !important;
        box-shadow: 
            0 3px 8px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.9) !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(0, 168, 89, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
        background: linear-gradient(135deg, #008a4a 0%, #00a873 100%) !important;
        color: #ffffff !important;
    }

    .nebula-download-chip__button-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 1;
    }

    .nebula-download-chip__button-text {
        color: inherit !important;
        font-weight: 800 !important;
        line-height: 1.4 !important;
        font-size: 1.05rem !important;
        letter-spacing: 0.02em !important;
        text-shadow: inherit !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }

    /* إخفاء الحجم والإصدار على الموبايل */
    .nebula-download-chip__button-meta {
        display: none !important;
    }

    .nebula-download-chip__button-version,
    .nebula-download-chip__button-size {
        display: none !important;
    }

    .nebula-download-chip__verify {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 18px !important;
        height: 18px !important;
        border-radius: 50% !important;
        background: rgba(34, 197, 94, 0.15) !important;
        color: #22c55e !important;
        font-size: 0.7rem !important;
        line-height: 1 !important;
        margin-inline-start: 6px !important;
        flex-shrink: 0 !important;
        border: 1px solid rgba(34, 197, 94, 0.2) !important;
    }

    .nebula-download-chip.is-primary .nebula-download-chip__verify {
        background: rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }

    /* تحسين علامة التوثيق للروابط التالية */
    .nebula-download-chip__verify.is-secondary {
        background: rgba(34, 197, 94, 0.15) !important;
        border: 1px solid rgba(34, 197, 94, 0.2) !important;
        color: #22c55e !important;
        box-shadow: none !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;
    }
    
    /* Ensure ads inside article content don't overflow and are centered */
    .nebula-article__content .nebula-adsense {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-inline: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        text-align: center !important;
    }
    
    .nebula-article__content .nebula-adsense ins,
    .nebula-article__content .nebula-adsense iframe,
    .nebula-article__content .nebula-adsense div,
    .nebula-article__content .nebula-adsense > * {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        display: block !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__table {
        padding: 12px 16px !important;
        gap: 8px !important;
        border-radius: 14px !important;
    }
    
    .nebula-hero__table-row {
        padding: 8px 12px !important;
        gap: 5px !important;
        border-radius: 10px !important;
        min-height: auto !important;
    }
    
    .nebula-hero__table-label {
        font-size: 0.75rem !important;
        gap: 6px !important;
        line-height: 1.3 !important;
    }
    
    .nebula-hero__table-icon {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 0.8rem !important;
    }
    
    .nebula-hero__table-value {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }
    
    .nebula-hero__title {
        font-size: 18px !important;
    }
    
    .nebula-hero__aside {
        justify-items: center !important;
        text-align: center !important;
        align-items: center !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
    
    .nebula-hero__heading {
        justify-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nebula-hero__title {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nebula-hero__tagline {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nebula-hero__visual {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nebula-hero__download {
        justify-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    .nebula-hero__download .nebula-hero__button {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nebula-hero__buttons {
        justify-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    .nebula-hero__buttons .nebula-hero__button {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nebula-hero__visual {
        max-width: 220px;
        width: 220px;
        max-height: 170px;
        min-height: 170px;
        height: 170px;
        margin: 0 auto 20px auto !important;
        padding: 12px;
        box-sizing: border-box;
        overflow: visible;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(135deg, 
            rgba(108, 92, 231, 0.1) 0%, 
            rgba(0, 206, 201, 0.08) 50%,
            rgba(108, 92, 231, 0.1) 100%);
        position: relative;
        border-radius: 20px;
        border: 3px solid transparent;
        box-shadow: 
            0 8px 32px rgba(108, 92, 231, 0.25),
            0 4px 16px rgba(0, 206, 201, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .nebula-hero__visual::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 20px;
        padding: 3px;
        background: linear-gradient(135deg, 
            #6c5ce7 0%, 
            #00cec9 50%,
            #6c5ce7 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: 0;
        pointer-events: none;
    }
    
    .nebula-hero__visual::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 17px;
        background: radial-gradient(circle at 30% 30%, 
            rgba(108, 92, 231, 0.2) 0%, 
            transparent 60%);
        pointer-events: none;
        z-index: 1;
    }
    
    .nebula-hero__visual img,
    .nebula-hero__visual-media {
        width: 196px !important;
        height: 146px !important;
        max-width: 196px !important;
        max-height: 146px !important;
        min-width: 196px !important;
        min-height: 146px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 12px;
        margin: 0 auto !important;
        padding: 0;
        display: block !important;
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
        background: transparent;
        border: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
        will-change: auto !important;
        position: relative;
        z-index: 2;
        box-sizing: border-box;
    }
    
    .nebula-hero__visual img:hover,
    .nebula-hero__visual-media:hover {
        transform: none !important;
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
}

.nebula-hero__aside {
    display: grid;
    gap: 0;
    justify-items: center;
    width: 100%;
    margin: 0;
    padding: 16px;
    padding-left: 16px;
    padding-right: 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: 220px;
    margin: 0 auto 20px auto;
    padding: 12px;
    max-height: 170px;
    min-height: 170px;
    height: 170px;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(108, 92, 231, 0.1) 0%, 
        rgba(0, 206, 201, 0.08) 50%,
        rgba(108, 92, 231, 0.1) 100%);
    border-radius: 20px;
    border: 3px solid transparent;
    box-shadow: 
        0 8px 32px rgba(108, 92, 231, 0.25),
        0 4px 16px rgba(0, 206, 201, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.nebula-hero__visual::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, 
        #6c5ce7 0%, 
        #00cec9 50%,
        #6c5ce7 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    pointer-events: none;
}

.nebula-hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 17px;
    background: radial-gradient(circle at 30% 30%, 
        rgba(108, 92, 231, 0.2) 0%, 
        transparent 60%);
    pointer-events: none;
    z-index: 1;
}


.nebula-hero__visual img,
.nebula-hero__visual-media {
    width: 196px;
    height: 146px;
    min-width: 196px;
    min-height: 146px;
    max-width: 196px;
    max-height: 146px;
    display: block;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent;
    border: none;
    transition: none !important;
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.nebula-hero__visual img:hover,
.nebula-hero__visual-media:hover {
    transform: none !important;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.nebula-hero__visual-placeholder {
    width: 180px;
    height: 130px;
    min-width: 180px;
    min-height: 130px;
    max-width: 180px;
    max-height: 130px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    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;
    box-sizing: border-box;
}

.nebula-hero__body {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.98) 100%);
    box-shadow:
        0 8px 24px rgba(0, 168, 89, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 168, 89, 0.15);
    margin-top: 8px;
}

.nebula-hero__table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 252, 255, 0.98) 100%);
    box-shadow:
        0 8px 24px rgba(0, 168, 89, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 168, 89, 0.2);
}

@media (min-width: 992px) {
    .nebula-hero__table {
        padding: 16px 20px;
        gap: 12px;
    }
    
    .nebula-hero__table-row {
        padding: 12px 16px;
        gap: 8px;
    }
    
    .nebula-hero__table-label {
        font-size: 0.85rem;
    }
    
    .nebula-hero__table-value {
        font-size: 0.9rem;
    }
}

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

.nebula-hero__table-row {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 251, 255, 0.98) 100%);
    border: 2px solid rgba(0, 168, 89, 0.18);
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.nebula-hero__table-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00a859, #00b4d8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nebula-hero__table-row:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 250, 255, 1) 100%);
    border-color: rgba(0, 168, 89, 0.35);
    box-shadow: 
        0 8px 20px rgba(0, 168, 89, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}
.nebula-hero__table-row:hover::before {
    transform: scaleX(1);
}

.nebula-hero__table-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #00a859;
    letter-spacing: -0.01em;
}

.nebula-hero__table-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.18), rgba(0, 180, 216, 0.15));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #00a859;
    flex-shrink: 0;
    border: 2px solid rgba(0, 168, 89, 0.25);
    box-shadow: 0 2px 8px rgba(0, 168, 89, 0.15);
}

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


.nebula-hero__table-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.5;
}

.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: 16px 24px;
    border-radius: 14px;
    font-size: var(--hero-title-size, 20px);
    line-height: 1.4;
    font-weight: 800;
    background: linear-gradient(135deg, 
        rgba(0, 168, 89, 0.1) 0%, 
        rgba(0, 180, 216, 0.08) 50%,
        rgba(0, 168, 89, 0.1) 100%);
    color: #0f172a;
    text-align: center;
    border: 2px solid rgba(0, 168, 89, 0.25);
    box-shadow: 0 4px 12px rgba(0, 168, 89, 0.1);
    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;
    margin-left: auto;
    margin-right: auto;
}

.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;
    margin-left: auto;
    margin-right: auto;
    min-height: 60px;
}

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

.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;
    }

    /* استخدام التصميم المحسّن من 640px - لا حاجة لتكرار الكود */
    
    .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;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* إزالة التصميمات المتعارضة - سيتم استخدام التصميم من 640px */

    .nebula-hero__table {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        padding: 10px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 70px !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(0, 168, 89, 0.3) transparent !important;
        align-items: stretch !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nebula-hero__table::-webkit-scrollbar {
        height: 6px !important;
    }
    
    .nebula-hero__table::-webkit-scrollbar-track {
        background: rgba(0, 168, 89, 0.05) !important;
        border-radius: 10px !important;
    }
    
    .nebula-hero__table::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #00a859, #00b4d8) !important;
        border-radius: 10px !important;
    }
    
    .nebula-hero__table::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(90deg, #008a4a, #0099c0) !important;
    }

    .nebula-hero__table-column {
        display: contents !important;
    }
    
    /* جدول المعلومات على الموبايل - صف واحد أفقي */
    .nebula-hero__table-row {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding: 0 14px !important;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        width: auto !important;
        min-width: 180px !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(249, 251, 255, 0.98) 100%) !important;
        border: 2px solid rgba(0, 168, 89, 0.18) !important;
        white-space: nowrap !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nebula-hero__table-label {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        color: #00a859 !important;
        line-height: 1 !important;
        margin: 0 !important;
    }
    
    .nebula-hero__table-icon {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        font-size: 0.8rem !important;
        flex-shrink: 0 !important;
    }
    
    .nebula-hero__table-value {
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        text-align: start !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 120px !important;
        color: #0f172a !important;
        line-height: 1 !important;
        margin: 0 !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: rgba(108, 92, 231, 0.16);
    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: rgba(97, 87, 255, 0.08);
}

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

.nebula-article__cover.has-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 26, 0.55);
    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;
    background: rgba(97, 87, 255, 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: 20px;
    padding: clamp(28px, 4vw, 36px);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 2px solid rgba(0, 168, 89, 0.2);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 168, 89, 0.08);
    overflow: visible;
    min-height: auto;
}

.nebula-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00a859, #00b4d8, #00a859);
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.nebula-download-section::after {
    display: none;
}

.nebula-download-section__head {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(0, 168, 89, 0.2);
}

.nebula-download-section__head h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: #00a859;
    letter-spacing: -0.01em;
}

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

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

    .nebula-download-section__head h2 {
        margin: 0;
        padding: 0;
        line-height: 1.3;
        font-size: clamp(1.25rem, 2.2vw, 1.35rem);
        color: #1a1a1a;
    }

    .nebula-download-section__head p {
        margin: 0;
        padding: 0;
        line-height: 1.5;
        color: #666;
    }
}

.nebula-download-section__head p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

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

/* ملحوظة روابط التحميل - تصميم احترافي عصري */
.nebula-download-notice {
    margin-top: 24px;
    padding: 22px 20px;
    border-radius: 20px;
    background: linear-gradient(145deg, 
        rgba(255, 159, 67, 0.12) 0%, 
        rgba(255, 132, 87, 0.08) 50%,
        rgba(255, 107, 107, 0.12) 100%);
    border: 2px solid rgba(255, 159, 67, 0.3);
    box-shadow: 
        0 8px 24px rgba(255, 159, 67, 0.15),
        0 2px 8px rgba(255, 132, 87, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 159, 67, 0.1);
    position: relative;
    overflow: hidden;
}

.nebula-download-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 159, 67, 0.7) 0%,
        rgba(255, 132, 87, 0.9) 50%,
        rgba(255, 107, 107, 0.7) 100%);
    border-radius: 20px 20px 0 0;
}

.nebula-download-notice__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid rgba(255, 159, 67, 0.25);
}

.nebula-download-notice__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.nebula-download-notice__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1d2f;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.nebula-download-notice__content {
    display: grid;
    gap: 16px;
}

.nebula-download-notice__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid rgba(255, 159, 67, 0.2);
    transition: all 0.3s ease;
}

.nebula-download-notice__item:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 159, 67, 0.35);
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 67, 0.15);
}

.nebula-download-notice__item-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.nebula-download-notice__item-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.nebula-download-notice__item-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1d2f;
    line-height: 1.4;
}

.nebula-download-notice__item-text span {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(26, 29, 47, 0.75);
}

/* تصميم خاص لصفحة التحميل */
.nebula-download-notice--gateway {
    margin-top: 28px;
    background: linear-gradient(145deg, 
        rgba(47, 123, 255, 0.1) 0%, 
        rgba(32, 200, 149, 0.08) 50%,
        rgba(47, 123, 255, 0.1) 100%);
    border-color: rgba(47, 123, 255, 0.25);
    box-shadow: 
        0 8px 24px rgba(47, 123, 255, 0.12),
        0 2px 8px rgba(32, 200, 149, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(47, 123, 255, 0.1);
}

.nebula-download-notice--gateway::before {
    background: linear-gradient(90deg, 
        rgba(47, 123, 255, 0.6) 0%,
        rgba(32, 200, 149, 0.8) 50%,
        rgba(47, 123, 255, 0.6) 100%);
}

.nebula-download-notice--gateway .nebula-download-notice__header {
    border-bottom-color: rgba(47, 123, 255, 0.2);
}

.nebula-download-notice--gateway .nebula-download-notice__item {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(47, 123, 255, 0.2);
}

.nebula-download-notice--gateway .nebula-download-notice__item:hover {
    border-color: rgba(47, 123, 255, 0.3);
    box-shadow: 0 4px 12px rgba(47, 123, 255, 0.12);
}

/* تصميم الموبايل */
@media (max-width: 640px) {
    .nebula-download-notice {
        margin-top: 18px;
        padding: 18px 16px;
        border-radius: 18px;
    }

    .nebula-download-notice__header {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .nebula-download-notice__icon {
        font-size: 1.3rem;
    }

    .nebula-download-notice__title {
        font-size: 1.1rem;
    }

    .nebula-download-notice__content {
        gap: 12px;
    }

    .nebula-download-notice__item {
        padding: 12px 14px;
        gap: 12px;
    }

    .nebula-download-notice__item-icon {
        font-size: 1.2rem;
    }

    .nebula-download-notice__item-text strong {
        font-size: 0.9rem;
    }

    .nebula-download-notice__item-text span {
        font-size: 0.85rem;
    }
}

.nebula-download-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.95) 100%);
    color: #1a1a1a;
    border: 2px solid rgba(0, 168, 89, 0.2);
    box-shadow: 
        0 6px 20px rgba(0, 168, 89, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.nebula-download-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00a859, #00b4d8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nebula-download-chip:hover,
.nebula-download-chip:focus-within {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 250, 255, 1) 100%);
    box-shadow: 
        0 10px 28px rgba(0, 168, 89, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 168, 89, 0.35);
    transform: translateY(-3px);
}
.nebula-download-chip:hover::before,
.nebula-download-chip:focus-within::before {
    transform: scaleX(1);
}

.nebula-download-chip.is-primary {
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.12), rgba(0, 180, 216, 0.1));
    color: #0f172a;
    border-color: rgba(0, 168, 89, 0.35);
    box-shadow: 
        0 8px 24px rgba(0, 168, 89, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.06);
}
.nebula-download-chip.is-primary::before {
    background: linear-gradient(90deg, #00a859, #00b4d8, #00a859);
}
.nebula-download-chip.is-primary:hover,
.nebula-download-chip.is-primary:focus-within {
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.18), rgba(0, 180, 216, 0.15));
    border-color: rgba(0, 168, 89, 0.45);
    box-shadow: 
        0 12px 32px rgba(0, 168, 89, 0.22),
        0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

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

.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: 12px;
    min-width: 0;
    flex: 1;
}

.nebula-download-chip__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.nebula-download-chip__label {
    font-size: 1.1rem;
    font-weight: 800;
    display: block;
    color: #00a859;
    margin: 0;
    letter-spacing: -0.01em;
}

.nebula-download-chip__info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nebula-download-chip__version,
.nebula-download-chip__size {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.1), rgba(0, 180, 216, 0.08));
    border-radius: 8px;
    border: 1px solid rgba(0, 168, 89, 0.2);
    font-size: 0.9rem;
}

.nebula-download-chip__info-label {
    font-weight: 600;
    color: #64748b;
}

.nebula-download-chip__info-value {
    font-weight: 700;
    color: #00a859;
}

.nebula-download-chip.is-primary .nebula-download-chip__version,
.nebula-download-chip.is-primary .nebula-download-chip__size {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.3);
}

.nebula-download-chip.is-primary .nebula-download-chip__info-value {
    color: #008a4a;
}

.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.9rem;
    font-weight: 700;
    color: var(--download-chip-meta, #00a859);
    display: block;
    margin-top: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.1), rgba(0, 180, 216, 0.08));
    border-radius: 8px;
    border: 1px solid rgba(0, 168, 89, 0.2);
    width: fit-content;
    letter-spacing: 0.02em;
}

.nebula-download-chip__button {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: #00a859;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 168, 89, 0.25);
    transition: background 0.2s ease;
    border: 1px solid rgba(0, 168, 89, 0.3);
    flex-shrink: 0;
    min-width: 100px;
}

.nebula-download-chip__button-icon {
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

@media (max-width: 720px) {
    .nebula-download-chip__button-icon {
        font-size: 1.1rem;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
    }
}

.nebula-download-chip__button-text {
    font-weight: 700;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
}

.nebula-download-chip__button-version {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0.85;
}

.nebula-download-chip__verify {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    line-height: 1;
    width: 22px;
    height: 22px;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background: rgba(0, 168, 89, 0.15);
    color: #00a859;
    border: 1px solid rgba(0, 168, 89, 0.25);
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 168, 89, 0.1);
    flex-shrink: 0;
}

.nebula-download-chip__button:hover,
.nebula-download-chip__button:focus {
    background: #008a4a;
    box-shadow: 0 3px 8px rgba(0, 168, 89, 0.3);
}

.nebula-download-chip.is-primary .nebula-download-chip__badge {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.nebula-download-chip.is-primary .nebula-download-chip__meta {
    color: #008a4a;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.3);
}

.nebula-download-chip.is-primary .nebula-download-chip__button {
    background: linear-gradient(135deg, #00a859, #00b4d8);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 168, 89, 0.35);
}

.nebula-download-chip.is-primary .nebula-download-chip__verify {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
}

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

.nebula-download-chip.is-primary .nebula-download-chip__button:hover,
.nebula-download-chip.is-primary .nebula-download-chip__button:focus {
    background: linear-gradient(135deg, #008a4a, #0099c0);
    box-shadow: 0 6px 24px rgba(0, 168, 89, 0.45);
}

.nebula-download-chip:not(.is-primary) .nebula-download-chip__button {
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.08), rgba(0, 180, 216, 0.06));
    color: #00a859;
    border: 1px solid rgba(0, 168, 89, 0.2);
}

.nebula-download-chip:not(.is-primary) .nebula-download-chip__button:hover,
.nebula-download-chip:not(.is-primary) .nebula-download-chip__button:focus {
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.12), rgba(0, 180, 216, 0.1));
    color: #008a4a;
    border-color: rgba(0, 168, 89, 0.3);
}

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

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

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

    .nebula-download-chip {
        flex-direction: row;
        align-items: center;
    }

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

.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: 10px;
    margin: clamp(18px, 4vw, 26px) 0 0;
    margin-inline: 0;
    padding: 14px 20px;
    min-height: auto;
    max-height: none;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.1), rgba(0, 180, 216, 0.08));
    border: 2px solid rgba(0, 168, 89, 0.2);
    color: #00a859;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(0, 168, 89, 0.1);
}

.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: transparent;
    color: rgba(255, 255, 255, 0.9);
}

.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 - Simple and Natural - No animations or transitions */
.nebula-adsense {
    width: 100%;
    max-width: 100%;
    margin: 24px auto;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 90px; /* Prevent layout shift - reserved space */
    position: relative;
    display: block;
    /* Center ad and prevent layout shift */
    text-align: center;
}

/* Hide script tags inside ad containers - they should not be visible */
.nebula-adsense script {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Ensure ad content is always visible and centered */
.nebula-adsense ins,
.nebula-adsense iframe,
.nebula-adsense > div {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

/* Ad container is ready for loading - min-height maintained during load */

/* Below Header Ad - داخل المقال فقط، للموبايل فقط، مقاس 300x300 */
.nebula-adsense--below-header {
    margin-top: 0;
    margin-bottom: 24px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    display: none; /* مخفي على Desktop افتراضياً */
}

/* إظهار الإعلان للموبايل فقط */
@media (max-width: 768px) {
    .nebula-adsense--below-header {
        display: block !important;
        width: 300px !important;
        max-width: 300px !important;
        min-width: 300px !important;
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* حجز المساحة للإعلان الداخلي */
    .nebula-adsense--below-header ins,
    .nebula-adsense--below-header iframe,
    .nebula-adsense--below-header > div {
        width: 300px !important;
        max-width: 300px !important;
        min-width: 300px !important;
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }
}

/* 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 auto !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-inline: auto !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        text-align: center !important;
    }
    
    /* إعلان تحت الهيدر - مقاس ثابت 300x300 للموبايل */
    .nebula-adsense--below-header {
        margin-top: 0;
        margin-bottom: 24px;
        display: block !important;
        width: 300px !important;
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nebula-adsense--below-info-table,
    .nebula-adsense--before-gallery,
    .nebula-adsense--before-download,
    .nebula-adsense--after-download {
        margin-top: 20px;
        margin-bottom: 20px;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Force all ad content to not overflow on mobile */
    .nebula-adsense ins,
    .nebula-adsense iframe,
    .nebula-adsense div,
    .nebula-adsense > * {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow: hidden !important;
        display: block !important;
    }
}

/* Ensure AdSense ads are responsive and don't overflow */
.nebula-adsense ins,
.nebula-adsense iframe,
.nebula-adsense div,
.nebula-adsense > * {
    max-width: 100% !important;
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: block !important;
}

.nebula-adsense iframe {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Mobile: Force all ads to be contained */
@media (max-width: 768px) {
    .nebula-adsense iframe {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* Prevent ads from causing horizontal overflow */
.nebula-single__wrapper .nebula-adsense,
.nebula-article__content .nebula-adsense,
main .nebula-adsense {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    text-align: center !important;
}

/* Mobile: Force all ads to be contained and prevent page overflow */
@media (max-width: 768px) {
    /* Force all ad containers - with 10px padding from body */
    .nebula-single__wrapper .nebula-adsense,
    .nebula-article__content .nebula-adsense,
    main .nebula-adsense,
    .nebula-adsense {
        max-width: calc(100vw - 20px) !important;
        width: calc(100% - 20px) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-inline: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    /* Force all ad content inside - must not exceed container */
    .nebula-single__wrapper .nebula-adsense ins,
    .nebula-single__wrapper .nebula-adsense iframe,
    .nebula-single__wrapper .nebula-adsense div,
    .nebula-single__wrapper .nebula-adsense > *,
    .nebula-article__content .nebula-adsense ins,
    .nebula-article__content .nebula-adsense iframe,
    .nebula-article__content .nebula-adsense div,
    .nebula-article__content .nebula-adsense > *,
    main .nebula-adsense ins,
    main .nebula-adsense iframe,
    main .nebula-adsense div,
    main .nebula-adsense > *,
    .nebula-adsense ins,
    .nebula-adsense iframe,
    .nebula-adsense div,
    .nebula-adsense > * {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow: hidden !important;
        display: block !important;
    }
}

/* Ensure ads inside wrapper are contained */
.nebula-single__wrapper .nebula-adsense,
main.nebula-single .nebula-adsense {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    .nebula-adsense {
        max-width: calc(100% - 20px) !important;
        width: calc(100% - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-inline: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        text-align: center !important;
    }
    
    .nebula-adsense--below-header {
        max-width: calc(100% - 20px) !important;
        width: 300px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nebula-adsense ins,
    .nebula-adsense iframe,
    .nebula-adsense div,
    .nebula-adsense > * {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow: hidden !important;
        display: block !important;
    }
}

/* AdSense responsive height based on ad type */
@media (min-width: 769px) {
    /* Desktop - الإعلان مخفي */
    .nebula-adsense--below-header {
        display: none !important;
    }
    
    .nebula-adsense--below-info-table,
    .nebula-adsense--before-gallery,
    .nebula-adsense--before-download,
    .nebula-adsense--after-download {
        min-height: 280px; /* In-article ad height */
    }
}

@media (max-width: 768px) {
    .nebula-adsense {
        min-height: 100px; /* Mobile banner height */
    }
    
    /* إعلان تحت الهيدر - مقاس ثابت 300x300 للموبايل */
    .nebula-adsense--below-header {
        min-height: 300px !important;
        min-width: 300px !important;
    }
    
    .nebula-adsense--below-info-table,
    .nebula-adsense--before-gallery,
    .nebula-adsense--before-download,
    .nebula-adsense--after-download {
        min-height: 250px; /* Mobile in-article height */
    }
}

/* No animations - ads display immediately and naturally */
.nebula-adsense ins,
.nebula-adsense iframe {
    display: block;
}

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

.nebula-floating-buttons {
    position: fixed;
    bottom: 80px;
    left: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    /* CLS Fix: Fixed position outside document flow */
    contain: layout style paint;
}

/* السماح للأزرار بالتفاعل */
.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;
    /* CLS Fix: Use opacity/transform only for animation, never change layout */
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Ensure button doesn't affect document flow */
    contain: layout style paint;
}

.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);
    /* CLS Fix: Only transform, no layout changes */
    transform: scale(1.05);
}

.nebula-floating-btn:active {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    /* CLS Fix: Only transform, no layout changes */
    transform: scale(0.95);
}

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

/* حالات الظهور/الاختفاء */
/* زر Telegram - دائماً ظاهر ومميز */
.nebula-floating-btn--telegram {
    display: flex !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%) !important;
    color: #ffffff !important;
    border: 2px solid #0088cc !important;
    box-shadow: 
        0 4px 16px rgba(0, 136, 204, 0.4),
        0 0 0 0 rgba(0, 136, 204, 0.5) !important;
    animation: telegramPulse 2s ease-in-out infinite;
    position: relative;
    overflow: visible;
    /* CLS Fix: Fixed position, no layout impact */
    contain: layout style paint;
}

.nebula-floating-btn--telegram:hover,
.nebula-floating-btn--telegram:focus {
    background: linear-gradient(135deg, #0077b3 0%, #1e8ccc 100%) !important;
    border-color: #0077b3 !important;
    box-shadow: 
        0 6px 20px rgba(0, 136, 204, 0.5),
        0 0 0 8px rgba(0, 136, 204, 0.2) !important;
    /* CLS Fix: Only transform, no layout changes */
    transform: scale(1.1) !important;
}

.nebula-floating-btn--telegram svg {
    fill: currentColor;
    stroke: none;
    z-index: 2;
    position: relative;
}

/* Pulse animation for Telegram button */
@keyframes telegramPulse {
    0% {
        box-shadow: 
            0 4px 16px rgba(0, 136, 204, 0.4),
            0 0 0 0 rgba(0, 136, 204, 0.5);
    }
    50% {
        box-shadow: 
            0 4px 16px rgba(0, 136, 204, 0.4),
            0 0 0 6px rgba(0, 136, 204, 0.1);
    }
    100% {
        box-shadow: 
            0 4px 16px rgba(0, 136, 204, 0.4),
            0 0 0 0 rgba(0, 136, 204, 0.5);
    }
}

/* Pulse ring effect */
.nebula-floating-btn__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 136, 204, 0.3);
    animation: pulseRing 2s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* زر الهوم دائماً ظاهر */
.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;
    /* CLS Fix: Only opacity/transform animation, no layout changes */
    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):not(.nebula-floating-btn--telegram) {
    display: none !important;
    /* CLS Fix: Use opacity/transform only, position fixed already set */
    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;
    }

    .nebula-floating-btn--telegram {
        box-shadow: 
            0 3px 12px rgba(0, 136, 204, 0.35),
            0 0 0 0 rgba(0, 136, 204, 0.4) !important;
    }
}

/* شاشات صغيرة جداً */
@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;
}

/* ========================================
   Telegram Modal - نافذة Telegram المنبثقة
   ======================================== */

body.telegram-modal-open {
    overflow: hidden !important;
}

.nebula-telegram-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.nebula-telegram-modal.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nebula-telegram-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.nebula-telegram-modal__content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border-radius: 28px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 136, 204, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nebula-telegram-modal.is-active .nebula-telegram-modal__content {
    transform: scale(1) translateY(0);
}

.nebula-telegram-modal__close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.nebula-telegram-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.nebula-telegram-modal__close svg {
    width: 20px;
    height: 20px;
}

.nebula-telegram-modal__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 
        0 8px 24px rgba(0, 136, 204, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    animation: telegramIconPulse 2s ease-in-out infinite;
}

@keyframes telegramIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 24px rgba(0, 136, 204, 0.4),
            inset 0 2px 4px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 12px 32px rgba(0, 136, 204, 0.5),
            inset 0 2px 4px rgba(255, 255, 255, 0.2);
    }
}

.nebula-telegram-modal__icon svg {
    width: 40px;
    height: 40px;
}

.nebula-telegram-modal__title {
    margin: 0 0 16px;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1d2f;
    line-height: 1.3;
}

.nebula-telegram-modal__description {
    margin: 0 0 28px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a5568;
}

.nebula-telegram-modal__channel-info {
    margin: 0 0 32px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, rgba(34, 158, 217, 0.05) 100%);
    border: 2px solid rgba(0, 136, 204, 0.2);
    border-radius: 16px;
}

.nebula-telegram-modal__channel-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0088cc;
}

.nebula-telegram-modal__channel-name svg {
    width: 24px;
    height: 24px;
}

.nebula-telegram-modal__join-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 20px rgba(0, 136, 204, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.nebula-telegram-modal__join-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.nebula-telegram-modal__join-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nebula-telegram-modal__join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 28px rgba(0, 136, 204, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.nebula-telegram-modal__join-btn:active {
    transform: translateY(0);
}

.nebula-telegram-modal__join-btn svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
}

.nebula-telegram-modal__join-btn span {
    position: relative;
    z-index: 1;
}

.nebula-telegram-modal__hint {
    margin: 20px 0 0;
    font-size: 0.9rem;
    color: #718096;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .nebula-telegram-modal__content {
        padding: 36px 28px;
        max-width: 90vw;
    }

    .nebula-telegram-modal__icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .nebula-telegram-modal__icon svg {
        width: 35px;
        height: 35px;
    }

    .nebula-telegram-modal__title {
        font-size: 1.5rem;
    }

    .nebula-telegram-modal__description {
        font-size: 0.98rem;
    }

    .nebula-telegram-modal__join-btn {
        padding: 16px 28px;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .nebula-telegram-modal__content {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .nebula-telegram-modal__icon {
        width: 64px;
        height: 64px;
    }

    .nebula-telegram-modal__icon svg {
        width: 32px;
        height: 32px;
    }

    .nebula-telegram-modal__title {
        font-size: 1.35rem;
    }
}


