.nebula-home {
    background:
        linear-gradient(180deg, rgba(246, 247, 255, 1) 0%, rgba(238, 241, 255, 1) 65%, rgba(246, 247, 255, 1) 100%);
    padding: 36px 0 48px;
    width: 100%;
    max-width: 1200px;
    margin: 28px auto 32px;
    border-radius: 34px;
    box-shadow:
        0 32px 70px -40px rgba(17, 23, 39, 0.32),
        0 18px 50px -48px rgba(21, 217, 217, 0.32);
}

.nebula-home__container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: grid;
    gap: 36px;
    padding: 0;
}

.nebula-home-section {
    --section-accent: #6157ff;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 30px;
    border: 1px solid rgba(26, 29, 47, 0.08);
    padding: 32px 0 36px;
    box-shadow: 0 30px 60px -34px rgba(17, 23, 39, 0.35);
    position: relative;
    overflow: hidden;
}

.nebula-home-section::before {
    content: "";
    position: absolute;
    inset: -55% 20% auto;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--section-accent) 45%, transparent) 0%, transparent 68%);
    opacity: 0.65;
}

.nebula-home-section::after {
    content: "";
    position: absolute;
    inset-inline-start: 18px;
    inset-block-start: 18px;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    opacity: 0.35;
}

.nebula-home-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.nebula-home-section__title {
    margin: 0;
    font-size: 1.48rem;
    font-weight: 800;
    position: relative;
    padding-inline-start: 20px;
    padding-bottom: 10px;
}

.nebula-home-section__title::before {
    content: "";
    position: absolute;
    inset-block: 6px;
    inset-inline-start: 0;
    width: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--section-accent), rgba(21, 217, 217, 0.6));
}

.nebula-home-section__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--section-accent), rgba(21, 217, 217, 0.8));
}

.nebula-home-section__grid {
    --home-cards-desktop: var(--cards-per-row, 4);
    --home-cards-mobile: var(--cards-per-row-mobile, 1);
    position: relative;
    z-index: 1;
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(var(--home-cards-desktop), minmax(0, 1fr));
    /* Performance optimizations */
    contain: layout style paint;
}

.nebula-home-section__empty {
    min-height: 160px;
    border-radius: 22px;
    border: 1px dashed rgba(26, 29, 47, 0.18);
    background: rgba(244, 245, 255, 0.6);
    display: grid;
    gap: 10px;
    justify-items: center;
    align-content: center;
    text-align: center;
    color: rgba(17, 23, 39, 0.65);
    font-size: 0.96rem;
}

.nebula-home-section__empty-icon {
    font-size: 1.4rem;
}

.nebula-home-section--latest {
    --section-accent: #6c5ce7;
    background: linear-gradient(160deg, rgba(108, 92, 231, 0.06), rgba(255, 255, 255, 0.94));
}

.nebula-home-section--latest .nebula-home-section__grid {
    grid-template-columns: repeat(var(--home-cards-desktop), minmax(0, 1fr));
    gap: 12px;
}

.nebula-home-section--latest .nebula-archive-card__cover {
    aspect-ratio: 1 / 1;
    height: 160px;
    min-height: 160px;
    max-height: 160px;
    /* خلفية ملونة متداخلة مميزة - ألوان واضحة ومتداخلة */
    background: 
        linear-gradient(135deg, 
            rgba(147, 197, 253, 0.25) 0%, 
            rgba(196, 181, 253, 0.22) 20%, 
            rgba(165, 243, 252, 0.2) 40%, 
            rgba(254, 202, 202, 0.23) 60%,
            rgba(251, 207, 232, 0.21) 80%,
            rgba(167, 243, 208, 0.22) 100%),
        radial-gradient(ellipse at 25% 35%, rgba(147, 197, 253, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse at 75% 65%, rgba(196, 181, 253, 0.32) 0%, transparent 65%),
        radial-gradient(ellipse at 50% 50%, rgba(165, 243, 252, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse at 10% 80%, rgba(254, 202, 202, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(167, 243, 208, 0.27) 0%, transparent 60%);
    background-size: 180% 180%, 140% 140%, 130% 130%, 150% 150%, 160% 160%, 145% 145%;
    background-position: 0% 0%, 25% 35%, 75% 65%, 50% 50%, 10% 80%, 90% 20%;
    transition: background-position 0.5s ease-out;
}

.nebula-home-section--latest .nebula-archive-card:hover .nebula-archive-card__cover,
.nebula-home-section--latest .nebula-archive-card:focus-within .nebula-archive-card__cover,
.nebula-home-section--latest .nebula-archive-card:active .nebula-archive-card__cover {
    background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
}

.nebula-home-section--latest .nebula-archive-card:hover .nebula-archive-card__image,
.nebula-home-section--latest .nebula-archive-card:focus-within .nebula-archive-card__image,
.nebula-home-section--latest .nebula-archive-card:active .nebula-archive-card__image,
.nebula-home-section--latest .nebula-archive-card:hover .nebula-card-image-lazy,
.nebula-home-section--latest .nebula-archive-card:focus-within .nebula-card-image-lazy,
.nebula-home-section--latest .nebula-archive-card:active .nebula-card-image-lazy {
    transform: scale(1.03) translateY(-1px);
}

.nebula-home-section--latest .nebula-archive-card__meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(247, 248, 255, 0.6);
    border: 1px solid rgba(97, 87, 255, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.nebula-home-section--latest .nebula-archive-card__meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    border: 1px solid rgba(97, 87, 255, 0.15);
    background: rgba(255, 255, 255, 0.95);
    transition: all 150ms ease;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(97, 87, 255, 0.1);
    font-size: 0.65rem;
    width: 100%;
}

.nebula-home-section--latest .nebula-archive-card__meta-item--size {
    background: rgba(9, 132, 227, 0.12);
    border-color: rgba(9, 132, 227, 0.25);
    color: #0984e3;
}

.nebula-home-section--latest .nebula-archive-card__meta-item--version {
    background: rgba(46, 213, 115, 0.12);
    border-color: rgba(46, 213, 115, 0.25);
    color: #2ed573;
}

.nebula-home-section--latest .nebula-archive-card__meta-icon {
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(97, 87, 255, 0.1);
    flex-shrink: 0;
}

.nebula-home-section--latest .nebula-archive-card__meta-item--size .nebula-archive-card__meta-icon {
    background: rgba(9, 132, 227, 0.15);
    color: #0984e3;
}

.nebula-home-section--latest .nebula-archive-card__meta-item--version .nebula-archive-card__meta-icon {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
}

.nebula-home-section--popular {
    --section-accent: #ff9f43;
    background: linear-gradient(170deg, rgba(255, 132, 87, 0.08), rgba(255, 255, 255, 0.95));
}

.nebula-home-section--popular .nebula-home-section__grid {
    grid-template-columns: repeat(var(--home-cards-desktop), minmax(0, 1fr));
    gap: 12px;
}

.nebula-home-section--popular .nebula-archive-card__cover {
    aspect-ratio: 1 / 1;
    height: 160px;
    min-height: 160px;
    max-height: 160px;
    /* خلفية ملونة متداخلة مميزة - ألوان واضحة ومتداخلة */
    background: 
        linear-gradient(135deg, 
            rgba(147, 197, 253, 0.25) 0%, 
            rgba(196, 181, 253, 0.22) 20%, 
            rgba(165, 243, 252, 0.2) 40%, 
            rgba(254, 202, 202, 0.23) 60%,
            rgba(251, 207, 232, 0.21) 80%,
            rgba(167, 243, 208, 0.22) 100%),
        radial-gradient(ellipse at 25% 35%, rgba(147, 197, 253, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse at 75% 65%, rgba(196, 181, 253, 0.32) 0%, transparent 65%),
        radial-gradient(ellipse at 50% 50%, rgba(165, 243, 252, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse at 10% 80%, rgba(254, 202, 202, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(167, 243, 208, 0.27) 0%, transparent 60%);
    background-size: 180% 180%, 140% 140%, 130% 130%, 150% 150%, 160% 160%, 145% 145%;
    background-position: 0% 0%, 25% 35%, 75% 65%, 50% 50%, 10% 80%, 90% 20%;
    transition: background-position 0.5s ease-out;
}

.nebula-home-section--popular .nebula-archive-card:hover .nebula-archive-card__cover,
.nebula-home-section--popular .nebula-archive-card:focus-within .nebula-archive-card__cover,
.nebula-home-section--popular .nebula-archive-card:active .nebula-archive-card__cover {
    background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
}

.nebula-home-section--popular .nebula-archive-card:hover .nebula-archive-card__image,
.nebula-home-section--popular .nebula-archive-card:focus-within .nebula-archive-card__image,
.nebula-home-section--popular .nebula-archive-card:active .nebula-archive-card__image,
.nebula-home-section--popular .nebula-archive-card:hover .nebula-card-image-lazy,
.nebula-home-section--popular .nebula-archive-card:focus-within .nebula-card-image-lazy,
.nebula-home-section--popular .nebula-archive-card:active .nebula-card-image-lazy {
    transform: scale(1.03) translateY(-1px);
}

.nebula-home-section--popular .nebula-archive-card__meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(247, 248, 255, 0.6);
    border: 1px solid rgba(97, 87, 255, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.nebula-home-section--popular .nebula-archive-card__meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    border: 1px solid rgba(97, 87, 255, 0.15);
    background: rgba(255, 255, 255, 0.95);
    transition: all 150ms ease;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(97, 87, 255, 0.1);
    font-size: 0.65rem;
    width: 100%;
}

.nebula-home-section--popular .nebula-archive-card__meta-item--size {
    background: rgba(9, 132, 227, 0.12);
    border-color: rgba(9, 132, 227, 0.25);
    color: #0984e3;
}

.nebula-home-section--popular .nebula-archive-card__meta-item--version {
    background: rgba(46, 213, 115, 0.12);
    border-color: rgba(46, 213, 115, 0.25);
    color: #2ed573;
}

.nebula-home-section--popular .nebula-archive-card__meta-icon {
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(97, 87, 255, 0.1);
    flex-shrink: 0;
}

.nebula-home-section--popular .nebula-archive-card__meta-item--size .nebula-archive-card__meta-icon {
    background: rgba(9, 132, 227, 0.15);
    color: #0984e3;
}

.nebula-home-section--popular .nebula-archive-card__meta-item--version .nebula-archive-card__meta-icon {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
}

.nebula-home-section--featured-games {
    --section-accent: #00b894;
    background: linear-gradient(165deg, rgba(0, 184, 148, 0.07), rgba(255, 255, 255, 0.94));
}

/* تأثيرات hover للألعاب المميزة - لجميع الأجهزة */
.nebula-home-section--featured-games .nebula-archive-card__cover {
    /* خلفية ملونة متداخلة مميزة - ألوان واضحة ومتداخلة */
    background: 
        linear-gradient(135deg, 
            rgba(147, 197, 253, 0.25) 0%, 
            rgba(196, 181, 253, 0.22) 20%, 
            rgba(165, 243, 252, 0.2) 40%, 
            rgba(254, 202, 202, 0.23) 60%,
            rgba(251, 207, 232, 0.21) 80%,
            rgba(167, 243, 208, 0.22) 100%),
        radial-gradient(ellipse at 25% 35%, rgba(147, 197, 253, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse at 75% 65%, rgba(196, 181, 253, 0.32) 0%, transparent 65%),
        radial-gradient(ellipse at 50% 50%, rgba(165, 243, 252, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse at 10% 80%, rgba(254, 202, 202, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(167, 243, 208, 0.27) 0%, transparent 60%);
    background-size: 180% 180%, 140% 140%, 130% 130%, 150% 150%, 160% 160%, 145% 145%;
    background-position: 0% 0%, 25% 35%, 75% 65%, 50% 50%, 10% 80%, 90% 20%;
    transition: background-position 0.5s ease-out;
}

.nebula-home-section--featured-games .nebula-archive-card:hover .nebula-archive-card__cover,
.nebula-home-section--featured-games .nebula-archive-card:focus-within .nebula-archive-card__cover,
.nebula-home-section--featured-games .nebula-archive-card:active .nebula-archive-card__cover {
    background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
}

.nebula-home-section--featured-games .nebula-archive-card:hover .nebula-archive-card__image,
.nebula-home-section--featured-games .nebula-archive-card:focus-within .nebula-archive-card__image,
.nebula-home-section--featured-games .nebula-archive-card:active .nebula-archive-card__image,
.nebula-home-section--featured-games .nebula-archive-card:hover .nebula-card-image-lazy,
.nebula-home-section--featured-games .nebula-archive-card:focus-within .nebula-card-image-lazy,
.nebula-home-section--featured-games .nebula-archive-card:active .nebula-card-image-lazy {
    transform: scale(1.03) translateY(-1px);
}

.nebula-home-section--featured-apps {
    --section-accent: #0984e3;
    background: linear-gradient(165deg, rgba(9, 132, 227, 0.07), rgba(255, 255, 255, 0.94));
}

/* تأثيرات hover للتطبيقات المميزة - لجميع الأجهزة */
.nebula-home-section--featured-apps .nebula-archive-card__cover {
    /* خلفية ملونة متداخلة مميزة - ألوان واضحة ومتداخلة */
    background: 
        linear-gradient(135deg, 
            rgba(147, 197, 253, 0.25) 0%, 
            rgba(196, 181, 253, 0.22) 20%, 
            rgba(165, 243, 252, 0.2) 40%, 
            rgba(254, 202, 202, 0.23) 60%,
            rgba(251, 207, 232, 0.21) 80%,
            rgba(167, 243, 208, 0.22) 100%),
        radial-gradient(ellipse at 25% 35%, rgba(147, 197, 253, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse at 75% 65%, rgba(196, 181, 253, 0.32) 0%, transparent 65%),
        radial-gradient(ellipse at 50% 50%, rgba(165, 243, 252, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse at 10% 80%, rgba(254, 202, 202, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(167, 243, 208, 0.27) 0%, transparent 60%);
    background-size: 180% 180%, 140% 140%, 130% 130%, 150% 150%, 160% 160%, 145% 145%;
    background-position: 0% 0%, 25% 35%, 75% 65%, 50% 50%, 10% 80%, 90% 20%;
    transition: background-position 0.5s ease-out;
}

.nebula-home-section--featured-apps .nebula-archive-card:hover .nebula-archive-card__cover,
.nebula-home-section--featured-apps .nebula-archive-card:focus-within .nebula-archive-card__cover,
.nebula-home-section--featured-apps .nebula-archive-card:active .nebula-archive-card__cover {
    background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
}

.nebula-home-section--featured-apps .nebula-archive-card:hover .nebula-archive-card__image,
.nebula-home-section--featured-apps .nebula-archive-card:focus-within .nebula-archive-card__image,
.nebula-home-section--featured-apps .nebula-archive-card:active .nebula-archive-card__image,
.nebula-home-section--featured-apps .nebula-archive-card:hover .nebula-card-image-lazy,
.nebula-home-section--featured-apps .nebula-archive-card:focus-within .nebula-card-image-lazy,
.nebula-home-section--featured-apps .nebula-archive-card:active .nebula-card-image-lazy {
    transform: scale(1.05) translateY(-2px);
}

/* دعم اللمس على الأجهزة المحمولة - حركات أبسط */
@media (hover: none) and (pointer: coarse) {
    .nebula-home-section--latest .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--latest .nebula-archive-card:active .nebula-card-image-lazy,
    .nebula-home-section--popular .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--popular .nebula-archive-card:active .nebula-card-image-lazy,
    .nebula-home-section--featured-posts .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--featured-games .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--featured-games .nebula-archive-card:active .nebula-card-image-lazy,
    .nebula-home-section--featured-apps .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--featured-apps .nebula-archive-card:active .nebula-card-image-lazy {
        transform: scale(1.02) translateY(-1px);
    }

    .nebula-home-section--latest .nebula-archive-card:active .nebula-archive-card__cover,
    .nebula-home-section--popular .nebula-archive-card:active .nebula-archive-card__cover,
    .nebula-home-section--featured-posts .nebula-archive-card:active .nebula-archive-card__cover,
    .nebula-home-section--featured-games .nebula-archive-card:active .nebula-archive-card__cover,
    .nebula-home-section--featured-apps .nebula-archive-card:active .nebula-archive-card__cover {
        background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
    }
}

/* ============================================
   قواعد خاصة لـ featured-posts - مباشرة بعد القواعد العامة
   ============================================ */
/* إزالة padding و margin من القواعد العامة */
body .nebula-home-section--featured-posts,
.nebula-home .nebula-home-section--featured-posts,
.nebula-home-section--featured-posts {
    --section-accent: #ff6b9d;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 32px !important;
    /* باك جراوند احترافي بلمسة بصرية */
    background: 
        linear-gradient(135deg, 
            rgba(255, 107, 157, 0.22) 0%, 
            rgba(108, 92, 231, 0.18) 20%,
            rgba(0, 206, 201, 0.16) 40%,
            rgba(255, 159, 67, 0.14) 60%,
            rgba(116, 185, 255, 0.16) 80%,
            rgba(255, 107, 157, 0.22) 100%),
        linear-gradient(180deg, 
            rgba(17, 23, 39, 0.14) 0%, 
            rgba(26, 29, 47, 0.12) 50%,
            rgba(17, 23, 39, 0.14) 100%),
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"%3E%3Cg opacity="0.22"%3E%3Cpath d="M150 30 L180 90 L240 90 L195 135 L210 195 L150 150 L90 195 L105 135 L60 90 L120 90 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="150" cy="105" r="35" fill="%2300cec9"/%3E%3Crect x="110" y="140" width="80" height="80" rx="12" fill="%236c5ce7"/%3E%3Ccircle cx="80" cy="80" r="20" fill="%23ff9f43"/%3E%3Cpath d="M220 80 L210 100 L240 100 L220 115 L230 140 L200 120 L170 140 L185 115 L165 100 L195 100 Z" fill="%2374b9ff"/%3E%3Cpath d="M50 200 L70 230 L100 230 L75 250 L85 280 L50 260 L15 280 L25 250 L0 230 L30 230 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="250" cy="200" r="25" fill="%2300cec9"/%3E%3C/g%3E%3C/svg%3E') repeat,
        radial-gradient(circle at 0% 0%, rgba(255, 107, 157, 0.32) 0%, transparent 66%),
        radial-gradient(circle at 100% 100%, rgba(0, 206, 201, 0.29) 0%, transparent 66%),
        radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.24) 0%, transparent 71%),
        radial-gradient(circle at 0% 50%, rgba(255, 159, 67, 0.22) 0%, transparent 66%),
        radial-gradient(circle at 100% 0%, rgba(116, 185, 255, 0.22) 0%, transparent 66%),
        radial-gradient(circle at 50% 100%, rgba(255, 107, 157, 0.19) 0%, transparent 64%),
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 157, 0.14) 100px, rgba(255, 107, 157, 0.14) 101px),
        repeating-linear-gradient(135deg, transparent, transparent 120px, rgba(0, 206, 201, 0.12) 120px, rgba(0, 206, 201, 0.12) 121px),
        repeating-linear-gradient(90deg, transparent, transparent 150px, rgba(108, 92, 231, 0.1) 150px, rgba(108, 92, 231, 0.1) 151px) !important;
    background-size: 
        250px 250px,
        auto,
        auto,
        auto,
        auto,
        auto,
        auto,
        auto,
        auto,
        auto !important;
    background-color: rgba(240, 248, 255, 0.97) !important;
    backdrop-filter: blur(55px) saturate(320%) !important;
    -webkit-backdrop-filter: blur(55px) saturate(320%) !important;
    border-radius: 32px !important;
    border: 3px solid rgba(255, 255, 255, 0.65) !important;
    box-shadow: 
        0 70px 140px -55px rgba(255, 107, 157, 0.65),
        0 45px 90px -45px rgba(0, 206, 201, 0.5),
        0 35px 70px -35px rgba(108, 92, 231, 0.45),
        0 25px 50px -25px rgba(17, 23, 39, 0.4),
        inset 0 4px 0 rgba(255, 255, 255, 0.6),
        inset 0 -4px 0 rgba(255, 107, 157, 0.45) !important;
    position: relative !important;
    overflow: hidden !important;
}

.nebula-home__container > .nebula-home-section--featured-posts:first-child {
    margin-top: 0 !important;
}

.nebula-home-section--featured-posts .nebula-home-section__head {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 20px !important;
}

.nebula-home-section--featured-posts .nebula-home-section__title {
    margin-bottom: 0 !important;
    padding-bottom: 5px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (max-width: 1200px) {
    .nebula-home__container {
        padding: 0;
        gap: 28px;
    }

    .nebula-home-section {
        padding: 28px 0;
    }

    /* إلغاء padding من القواعد العامة للـ featured-posts - مباشرة بعد القواعد العامة */
    .nebula-home-section--featured-posts {
        padding-top: 0 !important;
        padding-bottom: 32px !important;
        margin-top: 0 !important;
    }
}

/* قواعد قوية للديسك توب - مباشرة بعد media query 1200px */
@media (min-width: 769px) and (max-width: 1200px) {
    /* إلغاء padding من القواعد العامة للـ featured-posts */
    .nebula-home-section--featured-posts {
        padding-top: 0 !important;
        padding-bottom: 32px !important;
        margin-top: 0 !important;
        /* التأكد من تطبيق الباك جراوند */
        background: 
            linear-gradient(135deg, 
                rgba(255, 107, 157, 0.22) 0%, 
                rgba(108, 92, 231, 0.18) 20%,
                rgba(0, 206, 201, 0.16) 40%,
                rgba(255, 159, 67, 0.14) 60%,
                rgba(116, 185, 255, 0.16) 80%,
                rgba(255, 107, 157, 0.22) 100%),
            linear-gradient(180deg, 
                rgba(17, 23, 39, 0.14) 0%, 
                rgba(26, 29, 47, 0.12) 50%,
                rgba(17, 23, 39, 0.14) 100%),
            url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"%3E%3Cg opacity="0.22"%3E%3Cpath d="M150 30 L180 90 L240 90 L195 135 L210 195 L150 150 L90 195 L105 135 L60 90 L120 90 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="150" cy="105" r="35" fill="%2300cec9"/%3E%3Crect x="110" y="140" width="80" height="80" rx="12" fill="%236c5ce7"/%3E%3Ccircle cx="80" cy="80" r="20" fill="%23ff9f43"/%3E%3Cpath d="M220 80 L210 100 L240 100 L220 115 L230 140 L200 120 L170 140 L185 115 L165 100 L195 100 Z" fill="%2374b9ff"/%3E%3Cpath d="M50 200 L70 230 L100 230 L75 250 L85 280 L50 260 L15 280 L25 250 L0 230 L30 230 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="250" cy="200" r="25" fill="%2300cec9"/%3E%3C/g%3E%3C/svg%3E') repeat,
            radial-gradient(circle at 0% 0%, rgba(255, 107, 157, 0.32) 0%, transparent 66%),
            radial-gradient(circle at 100% 100%, rgba(0, 206, 201, 0.29) 0%, transparent 66%),
            radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.24) 0%, transparent 71%),
            radial-gradient(circle at 0% 50%, rgba(255, 159, 67, 0.22) 0%, transparent 66%),
            radial-gradient(circle at 100% 0%, rgba(116, 185, 255, 0.22) 0%, transparent 66%),
            radial-gradient(circle at 50% 100%, rgba(255, 107, 157, 0.19) 0%, transparent 64%),
            repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 157, 0.14) 100px, rgba(255, 107, 157, 0.14) 101px),
            repeating-linear-gradient(135deg, transparent, transparent 120px, rgba(0, 206, 201, 0.12) 120px, rgba(0, 206, 201, 0.12) 121px),
            repeating-linear-gradient(90deg, transparent, transparent 150px, rgba(108, 92, 231, 0.1) 150px, rgba(108, 92, 231, 0.1) 151px) !important;
        background-size: 
            250px 250px,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto !important;
        background-color: rgba(240, 248, 255, 0.97) !important;
        backdrop-filter: blur(55px) saturate(320%) !important;
        -webkit-backdrop-filter: blur(55px) saturate(320%) !important;
    }

    .nebula-home-section--featured-posts .nebula-home-section__head {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 20px !important;
    }

    .nebula-home-section--featured-posts .nebula-home-section__title {
        margin-bottom: 0 !important;
        padding-bottom: 5px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* قواعد للديسك توب الكبير (أكبر من 1200px) */
@media (min-width: 1201px) {
    .nebula-home-section--featured-posts {
        padding-top: 0 !important;
        padding-bottom: 32px !important;
        margin-top: 0 !important;
        /* التأكد من تطبيق الباك جراوند */
        background: 
            linear-gradient(135deg, 
                rgba(255, 107, 157, 0.22) 0%, 
                rgba(108, 92, 231, 0.18) 20%,
                rgba(0, 206, 201, 0.16) 40%,
                rgba(255, 159, 67, 0.14) 60%,
                rgba(116, 185, 255, 0.16) 80%,
                rgba(255, 107, 157, 0.22) 100%),
            linear-gradient(180deg, 
                rgba(17, 23, 39, 0.14) 0%, 
                rgba(26, 29, 47, 0.12) 50%,
                rgba(17, 23, 39, 0.14) 100%),
            url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"%3E%3Cg opacity="0.22"%3E%3Cpath d="M150 30 L180 90 L240 90 L195 135 L210 195 L150 150 L90 195 L105 135 L60 90 L120 90 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="150" cy="105" r="35" fill="%2300cec9"/%3E%3Crect x="110" y="140" width="80" height="80" rx="12" fill="%236c5ce7"/%3E%3Ccircle cx="80" cy="80" r="20" fill="%23ff9f43"/%3E%3Cpath d="M220 80 L210 100 L240 100 L220 115 L230 140 L200 120 L170 140 L185 115 L165 100 L195 100 Z" fill="%2374b9ff"/%3E%3Cpath d="M50 200 L70 230 L100 230 L75 250 L85 280 L50 260 L15 280 L25 250 L0 230 L30 230 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="250" cy="200" r="25" fill="%2300cec9"/%3E%3C/g%3E%3C/svg%3E') repeat,
            radial-gradient(circle at 0% 0%, rgba(255, 107, 157, 0.32) 0%, transparent 66%),
            radial-gradient(circle at 100% 100%, rgba(0, 206, 201, 0.29) 0%, transparent 66%),
            radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.24) 0%, transparent 71%),
            radial-gradient(circle at 0% 50%, rgba(255, 159, 67, 0.22) 0%, transparent 66%),
            radial-gradient(circle at 100% 0%, rgba(116, 185, 255, 0.22) 0%, transparent 66%),
            radial-gradient(circle at 50% 100%, rgba(255, 107, 157, 0.19) 0%, transparent 64%),
            repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 157, 0.14) 100px, rgba(255, 107, 157, 0.14) 101px),
            repeating-linear-gradient(135deg, transparent, transparent 120px, rgba(0, 206, 201, 0.12) 120px, rgba(0, 206, 201, 0.12) 121px),
            repeating-linear-gradient(90deg, transparent, transparent 150px, rgba(108, 92, 231, 0.1) 150px, rgba(108, 92, 231, 0.1) 151px) !important;
        background-size: 
            250px 250px,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto !important;
        background-color: rgba(240, 248, 255, 0.97) !important;
        backdrop-filter: blur(55px) saturate(320%) !important;
        -webkit-backdrop-filter: blur(55px) saturate(320%) !important;
    }

    .nebula-home-section--featured-posts .nebula-home-section__head {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 20px !important;
    }

    .nebula-home-section--featured-posts .nebula-home-section__title {
        margin-bottom: 0 !important;
        padding-bottom: 5px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

.nebula-home-section:first-of-type {
    margin-top: 0;
}

/* ============================================
   Desktop Styles - تصغير الخط للديسك توب
   ============================================ */

/* تكبير الخط لرقم الإصدار والحجم للديسك توب - درجتين + بنط عريض */
@media (min-width: 769px) {
    .nebula-home .nebula-archive-card__meta {
        font-size: 0.55rem !important;
        gap: 5px !important;
        padding: 5px 8px !important;
        font-weight: 700 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }

    .nebula-home .nebula-archive-card__meta-item {
        font-size: 0.55rem !important;
        padding: 5px 7px !important;
        gap: 4px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        border-radius: 7px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .nebula-home .nebula-archive-card__meta-icon {
        width: 16px !important;
        height: 16px !important;
        font-size: 0.55rem !important;
        font-weight: 700 !important;
    }

    .nebula-home .nebula-archive-card__meta-info {
        font-size: 0.55rem !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
    }
}

@media (max-width: 980px) {
    .nebula-home {
        padding: 28px 0 40px;
        margin: 22px auto 26px;
    }

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

@media (max-width: 768px) {
@media (max-width: 768px) {
    .nebula-home {
        padding: 18px 0 26px;
        margin: 0;
        border-radius: 0;
        background: linear-gradient(180deg, rgba(249, 250, 255, 1) 0%, rgba(235, 240, 255, 1) 100%);
    }

    .nebula-home__container {
        padding: 0;
        gap: 12px;
    }

    .nebula-home-section {
        padding: 16px 0 18px;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(24, 31, 62, 0.06);
        box-shadow: 0 18px 28px -22px rgba(17, 23, 39, 0.2);
        position: relative;
        overflow: hidden;
    }

    .nebula-home-section::before {
        inset: -60% 14% auto;
        opacity: 0.5;
    }

    .nebula-home-section__head {
        gap: 8px;
        margin: 0 0 12px;
    }

    .nebula-home-section__title::before {
        width: 4px;
    }

    .nebula-home-section__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        margin: 0;
        padding: 0 5px;
    }
    
    .nebula-home-section--latest .nebula-home-section__grid,
    .nebula-home-section--popular .nebula-home-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
        padding: 0 5px !important;
    }

}

/* ============================================
   Featured Posts Section - المقالات المختارة
   تصميم زجاجي مميز - صفين للديسك توب (كل صف 5) - عمودين للموبايل
   ============================================ */

.nebula-home-section--featured-posts {
    --section-accent: #ff6b9d;
    /* باك جراوند احترافي بلمسة بصرية - للديسك توب والموبايل */
    background: 
        /* تدرج ديناميكي احترافي - يشعرك بالألعاب والحماس */
        linear-gradient(135deg, 
            rgba(255, 107, 157, 0.22) 0%, 
            rgba(108, 92, 231, 0.18) 20%,
            rgba(0, 206, 201, 0.16) 40%,
            rgba(255, 159, 67, 0.14) 60%,
            rgba(116, 185, 255, 0.16) 80%,
            rgba(255, 107, 157, 0.22) 100%),
        /* خلفية داكنة ديناميكية للألعاب */
        linear-gradient(180deg, 
            rgba(17, 23, 39, 0.14) 0%, 
            rgba(26, 29, 47, 0.12) 50%,
            rgba(17, 23, 39, 0.14) 100%),
        /* صور SVG ديناميكية للألعاب والتطبيقات - تصميم حماسي */
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"%3E%3Cg opacity="0.22"%3E%3Cpath d="M150 30 L180 90 L240 90 L195 135 L210 195 L150 150 L90 195 L105 135 L60 90 L120 90 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="150" cy="105" r="35" fill="%2300cec9"/%3E%3Crect x="110" y="140" width="80" height="80" rx="12" fill="%236c5ce7"/%3E%3Ccircle cx="80" cy="80" r="20" fill="%23ff9f43"/%3E%3Cpath d="M220 80 L210 100 L240 100 L220 115 L230 140 L200 120 L170 140 L185 115 L165 100 L195 100 Z" fill="%2374b9ff"/%3E%3Cpath d="M50 200 L70 230 L100 230 L75 250 L85 280 L50 260 L15 280 L25 250 L0 230 L30 230 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="250" cy="200" r="25" fill="%2300cec9"/%3E%3C/g%3E%3C/svg%3E') repeat,
        /* تدرجات دائرية قوية - طاقة وحماس */
        radial-gradient(circle at 0% 0%, rgba(255, 107, 157, 0.32) 0%, transparent 66%),
        radial-gradient(circle at 100% 100%, rgba(0, 206, 201, 0.29) 0%, transparent 66%),
        radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.24) 0%, transparent 71%),
        radial-gradient(circle at 0% 50%, rgba(255, 159, 67, 0.22) 0%, transparent 66%),
        radial-gradient(circle at 100% 0%, rgba(116, 185, 255, 0.22) 0%, transparent 66%),
        radial-gradient(circle at 50% 100%, rgba(255, 107, 157, 0.19) 0%, transparent 64%),
        /* خطوط ديناميكية - حركة وحماس */
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 157, 0.14) 100px, rgba(255, 107, 157, 0.14) 101px),
        repeating-linear-gradient(135deg, transparent, transparent 120px, rgba(0, 206, 201, 0.12) 120px, rgba(0, 206, 201, 0.12) 121px),
        repeating-linear-gradient(90deg, transparent, transparent 150px, rgba(108, 92, 231, 0.1) 150px, rgba(108, 92, 231, 0.1) 151px) !important;
    background-size: 
        250px 250px,
        auto,
        auto,
        auto,
        auto,
        auto,
        auto,
        auto,
        auto,
        auto !important;
    background-color: rgba(240, 248, 255, 0.97) !important;
    backdrop-filter: blur(55px) saturate(320%) !important;
    -webkit-backdrop-filter: blur(55px) saturate(320%) !important;
    border-radius: 32px !important;
    border: 3px solid rgba(255, 255, 255, 0.65) !important;
    padding: 0 0 32px !important;
    margin-top: 0 !important;
    box-shadow: 
        0 70px 140px -55px rgba(255, 107, 157, 0.65),
        0 45px 90px -45px rgba(0, 206, 201, 0.5),
        0 35px 70px -35px rgba(108, 92, 231, 0.45),
        0 25px 50px -25px rgba(17, 23, 39, 0.4),
        inset 0 4px 0 rgba(255, 255, 255, 0.6),
        inset 0 -4px 0 rgba(255, 107, 157, 0.45) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* خلفية ديكورية مع صور على الحواف - تصميم 2026 احترافي - ألعاب وتطبيقات */
.nebula-home-section--featured-posts::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        /* صور SVG مميزة للألعاب في الزوايا */
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cg opacity="0.3"%3E%3Ccircle cx="50" cy="50" r="35" fill="none" stroke="%23ff6b9d" stroke-width="3"/%3E%3Cpath d="M50 30 L55 45 L70 45 L58 54 L63 69 L50 58 L37 69 L42 54 L30 45 L45 45 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="50" cy="50" r="8" fill="%23ff6b9d"/%3E%3C/g%3E%3C/svg%3E') no-repeat 3% 8% / 90px 90px,
        /* أيقونة تطبيق في الزاوية اليمنى */
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cg opacity="0.3"%3E%3Crect x="25" y="25" width="50" height="50" rx="12" fill="none" stroke="%2300cec9" stroke-width="3"/%3E%3Cpath d="M40 40 L50 50 L40 60" stroke="%2300cec9" stroke-width="5" fill="none" stroke-linecap="round"/%3E%3Ccircle cx="60" cy="40" r="5" fill="%2300cec9"/%3E%3Crect x="30" y="55" width="20" height="3" rx="1.5" fill="%2300cec9"/%3E%3C/g%3E%3C/svg%3E') no-repeat 97% 8% / 90px 90px,
        /* أيقونة لعبة في الزاوية السفلية اليسرى */
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cg opacity="0.25"%3E%3Ccircle cx="50" cy="50" r="32" fill="%23ff6b9d"/%3E%3Ccircle cx="50" cy="50" r="22" fill="%23ffffff"/%3E%3Ccircle cx="50" cy="50" r="15" fill="%23ff6b9d"/%3E%3Ccircle cx="50" cy="50" r="8" fill="%23ffffff"/%3E%3C/g%3E%3C/svg%3E') no-repeat 3% 92% / 80px 80px,
        /* أيقونة تطبيق في الزاوية السفلية اليمنى */
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cg opacity="0.3"%3E%3Cpath d="M50 20 L60 35 L77 35 L63 47 L70 67 L50 55 L30 67 L37 47 L23 35 L40 35 Z" fill="none" stroke="%2300cec9" stroke-width="3"/%3E%3Ccircle cx="50" cy="50" r="15" fill="%2300cec9"/%3E%3Ccircle cx="50" cy="50" r="8" fill="%23ffffff"/%3E%3C/g%3E%3C/svg%3E') no-repeat 97% 92% / 80px 80px,
        /* خطوط ديكورية محسّنة */
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 157, 0.05) 100px, rgba(255, 107, 157, 0.05) 101px),
        repeating-linear-gradient(135deg, transparent, transparent 120px, rgba(0, 206, 201, 0.04) 120px, rgba(0, 206, 201, 0.04) 121px);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
    animation: nebulaFeaturedIcons 15s ease-in-out infinite;
}

@keyframes nebulaFeaturedIcons {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.nebula-home-section--featured-posts::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(255, 107, 157, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 85% 80%, rgba(0, 206, 201, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(108, 92, 231, 0.1) 0%, transparent 65%),
        radial-gradient(circle at 25% 60%, rgba(255, 159, 67, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 75% 30%, rgba(116, 185, 255, 0.08) 0%, transparent 55%);
    filter: blur(80px);
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
    animation: nebulaFeaturedGlow 12s ease-in-out infinite;
}

@keyframes nebulaFeaturedGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.5;
    }
}

/* عناصر ديكورية على الحواف - أيقونات ألعاب وتطبيقات - تصميم 2026 */
.nebula-featured-decor {
    position: absolute;
    width: 90px;
    height: 90px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 6px 16px rgba(255, 107, 157, 0.25));
    animation: nebulaDecorFloat 8s ease-in-out infinite;
}

.nebula-featured-decor--top-left {
    top: 20px;
    left: 20px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"%3E%3Ccircle cx="40" cy="40" r="32" fill="none" stroke="rgba(255,107,157,0.25)" stroke-width="2.5"/%3E%3Cpath d="M40 22 L46 36 L61 36 L49 44 L53 59 L40 50 L27 59 L31 44 L19 36 L34 36 Z" fill="rgba(255,107,157,0.3)"/%3E%3C/svg%3E');
    animation-delay: 0s;
}

.nebula-featured-decor--top-right {
    top: 20px;
    right: 20px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"%3E%3Crect x="18" y="18" width="44" height="44" rx="12" fill="none" stroke="rgba(0,206,201,0.25)" stroke-width="2.5"/%3E%3Cpath d="M33 26 L47 40 L33 54" stroke="rgba(0,206,201,0.35)" stroke-width="4.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/%3E%3Ccircle cx="40" cy="40" r="6" fill="rgba(0,206,201,0.3)"/%3E%3C/svg%3E');
    animation-delay: 1.5s;
}

.nebula-featured-decor--bottom-left {
    bottom: 20px;
    left: 20px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"%3E%3Ccircle cx="40" cy="40" r="30" fill="rgba(255,107,157,0.15)"/%3E%3Ccircle cx="40" cy="40" r="20" fill="rgba(255,107,157,0.2)"/%3E%3Ccircle cx="40" cy="40" r="12" fill="rgba(255,107,157,0.3)"/%3E%3Ccircle cx="40" cy="40" r="6" fill="rgba(255,107,157,0.4)"/%3E%3C/svg%3E');
    animation-delay: 3s;
}

.nebula-featured-decor--bottom-right {
    bottom: 20px;
    right: 20px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"%3E%3Cpath d="M40 12 L50 28 L68 28 L54 38 L60 58 L40 46 L20 58 L26 38 L12 28 L30 28 Z" fill="none" stroke="rgba(0,206,201,0.25)" stroke-width="2.5"/%3E%3Ccircle cx="40" cy="40" r="14" fill="rgba(0,206,201,0.3)"/%3E%3Ccircle cx="40" cy="40" r="8" fill="rgba(0,206,201,0.4)"/%3E%3C/svg%3E');
    animation-delay: 4.5s;
}

@keyframes nebulaDecorFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 0.4;
    }
}

/* إخفاء العناصر الديكورية على الموبايل */
@media (max-width: 768px) {
    .nebula-featured-decor {
        display: none;
    }
}

/* إزالة الفراغ بين الـ header والـ grid - للديسك توب والموبايل */
.nebula-home__container > .nebula-home-section--featured-posts:first-child {
    margin-top: 0 !important;
}

.nebula-home-section--featured-posts {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.nebula-home-section--featured-posts .nebula-home-section__head {
    z-index: 2 !important;
    position: relative;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 20px !important;
}

.nebula-home-section--featured-posts .nebula-home-section__title {
    margin-bottom: 0 !important;
    padding-bottom: 5px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* أيقونات جانبية للعنوان - تصميم حماسي */
.nebula-featured-title-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
    position: relative;
    flex-shrink: 0;
}

.nebula-featured-title-icon--left {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"%3E%3Cg opacity="0.9"%3E%3Cpath d="M60 20 L75 45 L100 45 L82 62 L88 88 L60 72 L32 88 L38 62 L20 45 L45 45 Z" fill="%23ff6b9d" opacity="0.8"/%3E%3Ccircle cx="60" cy="55" r="20" fill="%2300cec9" opacity="0.7"/%3E%3Crect x="45" y="70" width="30" height="30" rx="6" fill="%236c5ce7" opacity="0.6"/%3E%3Cpath d="M25 25 L35 40 L50 40 L40 50 L45 65 L25 55 L5 65 L10 50 L0 40 L15 40 Z" fill="%23ff9f43" opacity="0.7"/%3E%3C/g%3E%3C/svg%3E');
    transform: translateX(-30px);
    margin-left: -20px;
    animation: nebulaTitleIconFloatLeft 4s ease-in-out infinite;
}

.nebula-featured-title-icon--right {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"%3E%3Cg opacity="0.9"%3E%3Cpath d="M60 20 L75 45 L100 45 L82 62 L88 88 L60 72 L32 88 L38 62 L20 45 L45 45 Z" fill="%2300cec9" opacity="0.8"/%3E%3Ccircle cx="60" cy="55" r="20" fill="%2374b9ff" opacity="0.7"/%3E%3Crect x="45" y="70" width="30" height="30" rx="6" fill="%23ff6b9d" opacity="0.6"/%3E%3Cpath d="M95 25 L105 40 L120 40 L110 50 L115 65 L95 55 L75 65 L80 50 L70 40 L85 40 Z" fill="%23ff9f43" opacity="0.7"/%3E%3C/g%3E%3C/svg%3E');
    transform: translateX(30px);
    margin-right: -20px;
    animation: nebulaTitleIconFloatRight 4s ease-in-out infinite;
}

@keyframes nebulaTitleIconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-8px) scale(1.05);
        opacity: 1;
    }
}

.nebula-featured-title-icon--left {
    animation: nebulaTitleIconFloatLeft 4s ease-in-out infinite;
}

.nebula-featured-title-icon--right {
    animation: nebulaTitleIconFloatRight 4s ease-in-out infinite;
}

@keyframes nebulaTitleIconFloatLeft {
    0%, 100% {
        transform: translateX(-30px) translateY(0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateX(-35px) translateY(-8px) scale(1.05);
        opacity: 1;
    }
}

@keyframes nebulaTitleIconFloatRight {
    0%, 100% {
        transform: translateX(30px) translateY(0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateX(35px) translateY(-8px) scale(1.05);
        opacity: 1;
    }
}

/* للديسك توب - أيقونات أكبر */
@media (min-width: 769px) {
    .nebula-home-section--featured-posts .nebula-home-section__title {
        gap: 20px;
    }
    
    .nebula-featured-title-icon {
        width: 100px;
        height: 100px;
    }
    
    .nebula-featured-title-icon--left {
        transform: translateX(-40px);
        margin-left: -30px;
    }
    
    .nebula-featured-title-icon--right {
        transform: translateX(40px);
        margin-right: -30px;
    }
}

/* للموبايل - أيقونات أصغر */
@media (max-width: 768px) {
    .nebula-home-section--featured-posts .nebula-home-section__title {
        gap: 12px;
    }
    
    .nebula-featured-title-icon {
        width: 50px;
        height: 50px;
        opacity: 0.6;
    }
    
    .nebula-featured-title-icon--left {
        transform: translateX(-15px);
        margin-left: -10px;
    }
    
    .nebula-featured-title-icon--right {
        transform: translateX(15px);
        margin-right: -10px;
    }
}

/* ============================================
   قواعد قوية جداً للديسك توب - في النهاية للتأكد من التطبيق
   ============================================ */
@media (min-width: 769px) {
    /* إزالة الفراغ بين الهيدر والقسم - specificity عالي جداً */
    .nebula-home .nebula-home__container > .nebula-home-section--featured-posts:first-child {
        margin-top: 0 !important;
        margin-bottom: 36px !important;
    }

    /* تطبيق الباك جراوند - specificity عالي جداً */
    .nebula-home .nebula-home-section--featured-posts,
    body .nebula-home-section--featured-posts {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 32px !important;
        /* باك جراوند احترافي - لمسة بصرية */
        background: 
            linear-gradient(135deg, 
                rgba(255, 107, 157, 0.22) 0%, 
                rgba(108, 92, 231, 0.18) 20%,
                rgba(0, 206, 201, 0.16) 40%,
                rgba(255, 159, 67, 0.14) 60%,
                rgba(116, 185, 255, 0.16) 80%,
                rgba(255, 107, 157, 0.22) 100%),
            linear-gradient(180deg, 
                rgba(17, 23, 39, 0.14) 0%, 
                rgba(26, 29, 47, 0.12) 50%,
                rgba(17, 23, 39, 0.14) 100%),
            url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"%3E%3Cg opacity="0.22"%3E%3Cpath d="M150 30 L180 90 L240 90 L195 135 L210 195 L150 150 L90 195 L105 135 L60 90 L120 90 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="150" cy="105" r="35" fill="%2300cec9"/%3E%3Crect x="110" y="140" width="80" height="80" rx="12" fill="%236c5ce7"/%3E%3Ccircle cx="80" cy="80" r="20" fill="%23ff9f43"/%3E%3Cpath d="M220 80 L210 100 L240 100 L220 115 L230 140 L200 120 L170 140 L185 115 L165 100 L195 100 Z" fill="%2374b9ff"/%3E%3Cpath d="M50 200 L70 230 L100 230 L75 250 L85 280 L50 260 L15 280 L25 250 L0 230 L30 230 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="250" cy="200" r="25" fill="%2300cec9"/%3E%3C/g%3E%3C/svg%3E') repeat,
            radial-gradient(circle at 0% 0%, rgba(255, 107, 157, 0.32) 0%, transparent 66%),
            radial-gradient(circle at 100% 100%, rgba(0, 206, 201, 0.29) 0%, transparent 66%),
            radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.24) 0%, transparent 71%),
            radial-gradient(circle at 0% 50%, rgba(255, 159, 67, 0.22) 0%, transparent 66%),
            radial-gradient(circle at 100% 0%, rgba(116, 185, 255, 0.22) 0%, transparent 66%),
            radial-gradient(circle at 50% 100%, rgba(255, 107, 157, 0.19) 0%, transparent 64%),
            repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 157, 0.14) 100px, rgba(255, 107, 157, 0.14) 101px),
            repeating-linear-gradient(135deg, transparent, transparent 120px, rgba(0, 206, 201, 0.12) 120px, rgba(0, 206, 201, 0.12) 121px),
            repeating-linear-gradient(90deg, transparent, transparent 150px, rgba(108, 92, 231, 0.1) 150px, rgba(108, 92, 231, 0.1) 151px) !important;
        background-size: 
            250px 250px,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto !important;
        background-color: rgba(240, 248, 255, 0.97) !important;
        background-attachment: scroll !important;
        backdrop-filter: blur(55px) saturate(320%) !important;
        -webkit-backdrop-filter: blur(55px) saturate(320%) !important;
        border-radius: 32px !important;
        border: 3px solid rgba(255, 255, 255, 0.65) !important;
        box-shadow: 
            0 70px 140px -55px rgba(255, 107, 157, 0.65),
            0 45px 90px -45px rgba(0, 206, 201, 0.5),
            0 35px 70px -35px rgba(108, 92, 231, 0.45),
            0 25px 50px -25px rgba(17, 23, 39, 0.4),
            inset 0 4px 0 rgba(255, 255, 255, 0.6),
            inset 0 -4px 0 rgba(255, 107, 157, 0.45) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* إزالة padding من القواعد العامة */
    .nebula-home .nebula-home-section--featured-posts,
    body .nebula-home-section--featured-posts {
        padding: 0 0 32px !important;
    }

    /* إزالة margin-bottom من head */
    .nebula-home .nebula-home-section--featured-posts .nebula-home-section__head,
    body .nebula-home-section--featured-posts .nebula-home-section__head {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 20px !important;
    }

    /* إزالة padding-bottom من title */
    .nebula-home .nebula-home-section--featured-posts .nebula-home-section__title,
    body .nebula-home-section--featured-posts .nebula-home-section__title {
        margin-bottom: 0 !important;
        padding-bottom: 5px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

.nebula-home-section--featured-posts .nebula-home-section__grid {
    z-index: 2 !important;
    position: relative;
}

/* إخفاء version و size من app-card بشكل كامل - للديسك توب والموبايل - بدون أخطاء */
.nebula-home-section--featured-posts article .nebula-archive-card__meta,
.nebula-home-section--featured-posts .nebula-archive-card .nebula-archive-card__meta,
.nebula-home-section--featured-posts .nebula-archive-card__meta,
.nebula-home-section--featured-posts .nebula-archive-card__meta *,
.nebula-home-section--featured-posts article .nebula-archive-card__meta-item,
.nebula-home-section--featured-posts .nebula-archive-card .nebula-archive-card__meta-item,
.nebula-home-section--featured-posts .nebula-archive-card__meta-item,
.nebula-home-section--featured-posts .nebula-archive-card__meta-item--version,
.nebula-home-section--featured-posts .nebula-archive-card__meta-item--size,
.nebula-home-section--featured-posts .nebula-archive-card__meta-icon,
.nebula-home-section--featured-posts .nebula-archive-card__meta-info {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    max-height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

.nebula-home-section--featured-posts article .nebula-archive-card__hover,
.nebula-home-section--featured-posts .nebula-archive-card .nebula-archive-card__hover,
.nebula-home-section--featured-posts .nebula-archive-card__hover,
.nebula-home-section--featured-posts .nebula-archive-card__hover *,
.nebula-home-section--featured-posts .nebula-archive-card__hover-content,
.nebula-home-section--featured-posts .nebula-archive-card__hover-item {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    max-height: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
}

/* تصميم زجاجي مميز للكروت - نفس الموبايل للديسك توب */
.nebula-home-section--featured-posts .nebula-archive-card {
    border-radius: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 14px 12px !important;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 
        0 8px 24px -8px rgba(255, 107, 157, 0.25),
        0 4px 12px -6px rgba(17, 23, 39, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nebula-home-section--featured-posts .nebula-archive-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.1) 0%, 
        rgba(255, 107, 157, 0) 50%,
        rgba(0, 206, 201, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.nebula-home-section--featured-posts .nebula-archive-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 40px -12px rgba(255, 107, 157, 0.35),
        0 6px 20px -8px rgba(17, 23, 39, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 107, 157, 0.3) !important;
}

.nebula-home-section--featured-posts .nebula-archive-card:hover::before {
    opacity: 1;
}

/* تأثير لامع إضافي */
.nebula-home-section--featured-posts .nebula-archive-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

.nebula-home-section--featured-posts .nebula-archive-card:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

/* صورة دائرية في الأعلى - للديسك توب والموبايل */
.nebula-home-section--featured-posts .nebula-archive-card__cover {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.2 / 1 !important;
    border-radius: 18px !important;
    margin-bottom: 12px;
    overflow: hidden;
    /* خلفية ملونة متداخلة مميزة - ألوان واضحة ومتداخلة */
    background: 
        linear-gradient(135deg, 
            rgba(147, 197, 253, 0.25) 0%, 
            rgba(196, 181, 253, 0.22) 20%, 
            rgba(165, 243, 252, 0.2) 40%, 
            rgba(254, 202, 202, 0.23) 60%,
            rgba(251, 207, 232, 0.21) 80%,
            rgba(167, 243, 208, 0.22) 100%),
        radial-gradient(ellipse at 25% 35%, rgba(147, 197, 253, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse at 75% 65%, rgba(196, 181, 253, 0.32) 0%, transparent 65%),
        radial-gradient(ellipse at 50% 50%, rgba(165, 243, 252, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse at 10% 80%, rgba(254, 202, 202, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 20%, rgba(167, 243, 208, 0.27) 0%, transparent 60%) !important;
    background-size: 180% 180%, 140% 140%, 130% 130%, 150% 150%, 160% 160%, 145% 145% !important;
    background-position: 0% 0%, 25% 35%, 75% 65%, 50% 50%, 10% 80%, 90% 20% !important;
    padding: 16px !important;
    position: relative;
    flex-shrink: 0;
    transition: background-position 0.5s ease-out !important;
}

.nebula-home-section--featured-posts .nebula-archive-card:hover .nebula-archive-card__cover,
.nebula-home-section--featured-posts .nebula-archive-card:focus-within .nebula-archive-card__cover,
.nebula-home-section--featured-posts .nebula-archive-card:active .nebula-archive-card__cover {
    background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30% !important;
}

.nebula-home-section--featured-posts .nebula-archive-card:hover .nebula-archive-card__image,
.nebula-home-section--featured-posts .nebula-archive-card:focus-within .nebula-archive-card__image,
.nebula-home-section--featured-posts .nebula-archive-card:active .nebula-archive-card__image {
    transform: scale(1.03) translateY(-1px) !important;
}

.nebula-home-section--featured-posts .nebula-archive-card__image {
    width: 100% !important;
    height: 100% !important;
    border-radius: 14px !important;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease-out !important;
    transform: scale(1) translateY(0) !important;
    opacity: 0;
    background: linear-gradient(135deg, rgba(240, 244, 255, 0.8) 0%, rgba(247, 250, 255, 0.9) 100%);
    will-change: opacity, transform;
}

.nebula-home-section--featured-posts .nebula-archive-card__image.is-loading {
    background: linear-gradient(90deg, 
        rgba(240, 244, 255, 0.8) 0%, 
        rgba(247, 250, 255, 0.9) 50%, 
        rgba(240, 244, 255, 0.8) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.nebula-home-section--featured-posts .nebula-archive-card__image.is-loaded,
.nebula-home-section--featured-posts .nebula-archive-card__image.loaded,
.nebula-home-section--featured-posts .nebula-archive-card__image[data-loaded] {
    opacity: 1 !important;
    animation: none;
    background: transparent;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.nebula-home-section--featured-posts .nebula-archive-card__placeholder {
    border-radius: 14px;
}

/* العنوان في الأسفل - للديسك توب والموبايل */
.nebula-home-section--featured-posts .nebula-archive-card__body {
    padding: 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.nebula-home-section--featured-posts .nebula-archive-card__title {
    margin: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #1a1d2f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.nebula-home-section--featured-posts .nebula-archive-card__title a {
    color: #1a1d2f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nebula-home-section--featured-posts .nebula-archive-card__title a:hover {
    color: #ff6b9d;
}

/* Grid - 6 أعمدة للديسك توب - بدون فراغ فوق */
.nebula-home-section--featured-posts .nebula-home-section__grid {
    --home-cards-desktop: 6;
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 20px !important;
    margin-top: 0 !important;
    position: relative;
    z-index: 1;
}

/* الموبايل - تصميم دائري احترافي - عمودين */
@media (max-width: 768px) {
    .nebula-home-section--featured-posts {
        padding: 24px 0 28px;
        border-radius: 24px;
    }
    
    .nebula-home-section--featured-posts .nebula-home-section__head {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .nebula-home-section--featured-posts .nebula-home-section__title {
        padding-bottom: 8px !important;
        margin-bottom: 0 !important;
    }
    
    .nebula-home-section--featured-posts .nebula-home-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
        padding: 0 5px !important;
        margin-top: 0 !important;
    }
    
    .nebula-home-section--featured-posts .nebula-archive-card__cover {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        padding: 20px !important;
    }
    
    .nebula-home-section--featured-posts .nebula-archive-card__image {
        width: 100px !important;
        height: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }
    
    .nebula-home-section--featured-posts .nebula-archive-card__placeholder {
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
        min-height: 100px !important;
        border-radius: 50% !important;
    }
    
    /* تأثير hover للموبايل - حركات أبسط */
    .nebula-home-section--featured-posts .nebula-archive-card:hover .nebula-archive-card__cover,
    .nebula-home-section--featured-posts .nebula-archive-card:focus-within .nebula-archive-card__cover,
    .nebula-home-section--featured-posts .nebula-archive-card:active .nebula-archive-card__cover {
        background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30% !important;
    }

    .nebula-home-section--featured-posts .nebula-archive-card:hover .nebula-archive-card__image,
    .nebula-home-section--featured-posts .nebula-archive-card:focus-within .nebula-archive-card__image,
    .nebula-home-section--featured-posts .nebula-archive-card:active .nebula-archive-card__image {
        transform: scale(1.03) translateY(-1px) !important;
    }

    .nebula-home-section--featured-posts .nebula-archive-card:active {
        transform: scale(0.98);
    }

    /* التأكد من عمل التأثيرات لجميع الأقسام على الموبايل - حركات أبسط */
    .nebula-home-section--latest .nebula-archive-card:hover .nebula-archive-card__cover,
    .nebula-home-section--latest .nebula-archive-card:focus-within .nebula-archive-card__cover,
    .nebula-home-section--latest .nebula-archive-card:active .nebula-archive-card__cover {
        background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
    }

    .nebula-home-section--latest .nebula-archive-card:hover .nebula-archive-card__image,
    .nebula-home-section--latest .nebula-archive-card:focus-within .nebula-archive-card__image,
    .nebula-home-section--latest .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--latest .nebula-archive-card:hover .nebula-card-image-lazy,
    .nebula-home-section--latest .nebula-archive-card:focus-within .nebula-card-image-lazy,
    .nebula-home-section--latest .nebula-archive-card:active .nebula-card-image-lazy {
        transform: scale(1.03) translateY(-1px);
    }

    .nebula-home-section--popular .nebula-archive-card:hover .nebula-archive-card__cover,
    .nebula-home-section--popular .nebula-archive-card:focus-within .nebula-archive-card__cover,
    .nebula-home-section--popular .nebula-archive-card:active .nebula-archive-card__cover {
        background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
    }

    .nebula-home-section--popular .nebula-archive-card:hover .nebula-archive-card__image,
    .nebula-home-section--popular .nebula-archive-card:focus-within .nebula-archive-card__image,
    .nebula-home-section--popular .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--popular .nebula-archive-card:hover .nebula-card-image-lazy,
    .nebula-home-section--popular .nebula-archive-card:focus-within .nebula-card-image-lazy,
    .nebula-home-section--popular .nebula-archive-card:active .nebula-card-image-lazy {
        transform: scale(1.03) translateY(-1px);
    }

    .nebula-home-section--featured-games .nebula-archive-card:hover .nebula-archive-card__cover,
    .nebula-home-section--featured-games .nebula-archive-card:focus-within .nebula-archive-card__cover,
    .nebula-home-section--featured-games .nebula-archive-card:active .nebula-archive-card__cover {
        background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
    }

    .nebula-home-section--featured-games .nebula-archive-card:hover .nebula-archive-card__image,
    .nebula-home-section--featured-games .nebula-archive-card:focus-within .nebula-archive-card__image,
    .nebula-home-section--featured-games .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--featured-games .nebula-archive-card:hover .nebula-card-image-lazy,
    .nebula-home-section--featured-games .nebula-archive-card:focus-within .nebula-card-image-lazy,
    .nebula-home-section--featured-games .nebula-archive-card:active .nebula-card-image-lazy {
        transform: scale(1.03) translateY(-1px);
    }

    .nebula-home-section--featured-apps .nebula-archive-card:hover .nebula-archive-card__cover,
    .nebula-home-section--featured-apps .nebula-archive-card:focus-within .nebula-archive-card__cover,
    .nebula-home-section--featured-apps .nebula-archive-card:active .nebula-archive-card__cover {
        background-position: 20% 20%, 35% 45%, 65% 55%, 50% 50%, 15% 70%, 85% 30%;
    }

    .nebula-home-section--featured-apps .nebula-archive-card:hover .nebula-archive-card__image,
    .nebula-home-section--featured-apps .nebula-archive-card:focus-within .nebula-archive-card__image,
    .nebula-home-section--featured-apps .nebula-archive-card:active .nebula-archive-card__image,
    .nebula-home-section--featured-apps .nebula-archive-card:hover .nebula-card-image-lazy,
    .nebula-home-section--featured-apps .nebula-archive-card:focus-within .nebula-card-image-lazy,
    .nebula-home-section--featured-apps .nebula-archive-card:active .nebula-card-image-lazy {
        transform: scale(1.03) translateY(-1px);
    }
}

/* ============================================
   قواعد نهائية قوية جداً للديسك توب - في النهاية للتأكد من التطبيق
   ============================================ */
@media (min-width: 769px) {
    /* إزالة الفراغ بين الهيدر والقسم - specificity عالي جداً */
    .nebula-home .nebula-home__container > .nebula-home-section--featured-posts:first-child {
        margin-top: 0 !important;
        margin-bottom: 36px !important;
    }

    /* تطبيق الباك جراوند - specificity عالي جداً */
    .nebula-home .nebula-home-section--featured-posts,
    body .nebula-home-section--featured-posts {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 32px !important;
        /* باك جراوند احترافي - لمسة بصرية */
        background: 
            linear-gradient(135deg, 
                rgba(255, 107, 157, 0.22) 0%, 
                rgba(108, 92, 231, 0.18) 20%,
                rgba(0, 206, 201, 0.16) 40%,
                rgba(255, 159, 67, 0.14) 60%,
                rgba(116, 185, 255, 0.16) 80%,
                rgba(255, 107, 157, 0.22) 100%),
            linear-gradient(180deg, 
                rgba(17, 23, 39, 0.14) 0%, 
                rgba(26, 29, 47, 0.12) 50%,
                rgba(17, 23, 39, 0.14) 100%),
            url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"%3E%3Cg opacity="0.22"%3E%3Cpath d="M150 30 L180 90 L240 90 L195 135 L210 195 L150 150 L90 195 L105 135 L60 90 L120 90 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="150" cy="105" r="35" fill="%2300cec9"/%3E%3Crect x="110" y="140" width="80" height="80" rx="12" fill="%236c5ce7"/%3E%3Ccircle cx="80" cy="80" r="20" fill="%23ff9f43"/%3E%3Cpath d="M220 80 L210 100 L240 100 L220 115 L230 140 L200 120 L170 140 L185 115 L165 100 L195 100 Z" fill="%2374b9ff"/%3E%3Cpath d="M50 200 L70 230 L100 230 L75 250 L85 280 L50 260 L15 280 L25 250 L0 230 L30 230 Z" fill="%23ff6b9d"/%3E%3Ccircle cx="250" cy="200" r="25" fill="%2300cec9"/%3E%3C/g%3E%3C/svg%3E') repeat,
            radial-gradient(circle at 0% 0%, rgba(255, 107, 157, 0.32) 0%, transparent 66%),
            radial-gradient(circle at 100% 100%, rgba(0, 206, 201, 0.29) 0%, transparent 66%),
            radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.24) 0%, transparent 71%),
            radial-gradient(circle at 0% 50%, rgba(255, 159, 67, 0.22) 0%, transparent 66%),
            radial-gradient(circle at 100% 0%, rgba(116, 185, 255, 0.22) 0%, transparent 66%),
            radial-gradient(circle at 50% 100%, rgba(255, 107, 157, 0.19) 0%, transparent 64%),
            repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 157, 0.14) 100px, rgba(255, 107, 157, 0.14) 101px),
            repeating-linear-gradient(135deg, transparent, transparent 120px, rgba(0, 206, 201, 0.12) 120px, rgba(0, 206, 201, 0.12) 121px),
            repeating-linear-gradient(90deg, transparent, transparent 150px, rgba(108, 92, 231, 0.1) 150px, rgba(108, 92, 231, 0.1) 151px) !important;
        background-size: 
            250px 250px,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto,
            auto !important;
        background-color: rgba(240, 248, 255, 0.97) !important;
        background-attachment: scroll !important;
        backdrop-filter: blur(55px) saturate(320%) !important;
        -webkit-backdrop-filter: blur(55px) saturate(320%) !important;
        border-radius: 32px !important;
        border: 3px solid rgba(255, 255, 255, 0.65) !important;
        box-shadow: 
            0 70px 140px -55px rgba(255, 107, 157, 0.65),
            0 45px 90px -45px rgba(0, 206, 201, 0.5),
            0 35px 70px -35px rgba(108, 92, 231, 0.45),
            0 25px 50px -25px rgba(17, 23, 39, 0.4),
            inset 0 4px 0 rgba(255, 255, 255, 0.6),
            inset 0 -4px 0 rgba(255, 107, 157, 0.45) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* إزالة padding من القواعد العامة */
    .nebula-home .nebula-home-section--featured-posts,
    body .nebula-home-section--featured-posts {
        padding: 0 0 32px !important;
    }

    /* إزالة margin-bottom من head */
    .nebula-home .nebula-home-section--featured-posts .nebula-home-section__head,
    body .nebula-home-section--featured-posts .nebula-home-section__head {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        padding-top: 20px !important;
    }

    /* إزالة padding-bottom من title */
    .nebula-home .nebula-home-section--featured-posts .nebula-home-section__title,
    body .nebula-home-section--featured-posts .nebula-home-section__title {
        margin-bottom: 0 !important;
        padding-bottom: 5px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

