/* Inline Related (text-only) */
.nebula-related-inline {
	margin: 16px 0 20px;
	padding: clamp(16px, 3vw, 22px);
	background: linear-gradient(135deg, rgba(46, 89, 255, 0.06), rgba(108, 219, 255, 0.08));
	border: 1px solid rgba(46, 89, 255, 0.2);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(10, 20, 40, 0.08);
}
.nebula-related-inline__head {
	margin: 0 0 10px;
}
.nebula-related-inline__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: #0a1533;
}
.nebula-related-inline__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
}
@media (min-width: 960px) {
	.nebula-related-inline__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.nebula-related-inline__item { margin: 0; }
.nebula-related-inline__link {
	display: inline-block;
	max-width: 100%;
	color: #0b2a6b;
	text-decoration: none;
	border-bottom: 1px dashed rgba(46, 89, 255, 0.35);
	padding-bottom: 2px;
	transition: color .12s ease, border-color .12s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nebula-related-inline__link:hover,
.nebula-related-inline__link:focus {
	color: #1c56d8;
	border-color: #1c56d8;
}
/* Exclusive Similar Apps Recent - New Design */
.appx-similar-recent {
	margin: 24px 0;
	width: 100%;
	box-sizing: border-box;
}
.appx-similar-recent__container {
	max-width: 980px;
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 40px);
	width: 100%;
	box-sizing: border-box;
	background: linear-gradient(135deg, rgba(47, 123, 255, 0.08), rgba(108, 219, 255, 0.06));
	border: 1px solid rgba(47, 123, 255, 0.18);
	border-radius: 20px;
	box-shadow: 0 12px 32px rgba(10, 24, 56, 0.1);
}
.appx-similar-recent__header {
	margin: 0;
	padding: 20px 0 16px;
	border-bottom: 1px solid rgba(47, 123, 255, 0.12);
}
.appx-similar-recent__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0a1533;
	letter-spacing: -0.01em;
}
.appx-similar-recent__list {
	list-style: none;
	margin: 0;
	padding: 18px 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
	width: 100%;
	box-sizing: border-box;
}
.appx-similar-recent__item {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}
.appx-similar-recent__link {
	display: block;
	width: 100%;
	padding: 10px 14px;
	box-sizing: border-box;
	color: #0b2a6b;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(47, 123, 255, 0.2);
	border-radius: 12px;
	font-size: 0.95rem;
	line-height: 1.5;
	transition: all 0.2s ease;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
}
.appx-similar-recent__link:hover,
.appx-similar-recent__link:focus {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(47, 123, 255, 0.4);
	color: #1c56d8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(47, 123, 255, 0.15);
}
@media (min-width: 960px) {
	.appx-similar-recent__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.appx-similar-recent {
		margin: 20px 0;
	}
	.appx-similar-recent__container {
		padding-inline: 20px;
		border-radius: 16px;
	}
	.appx-similar-recent__header {
		padding: 16px 0 12px;
	}
	.appx-similar-recent__title {
		font-size: 1.05rem;
	}
	.appx-similar-recent__list {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 14px 0;
	}
	.appx-similar-recent__item {
		width: 100%;
		min-width: 0;
	}
	.appx-similar-recent__link {
		width: 100%;
		max-width: 100%;
		padding: 12px 16px;
		font-size: 0.92rem;
		word-break: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		display: block;
	}
}
/* ============================================
   Unified Card Styles
   ============================================ */

.nebula-unified-card {
    position: relative;
    margin: 10px 0;
    border-radius: 28px;
    background: var(--nebula-section-bg, #f6f8ff);
    border: 2px solid var(--nebula-section-border, rgba(12, 32, 66, 0.16));
    box-shadow: var(--nebula-section-shadow, 0 28px 58px rgba(12, 28, 60, 0.12));
    overflow: hidden;
}

.nebula-unified-card--template-aura {
    background: linear-gradient(135deg, var(--nebula-section-bg, #f6f8ff) 0%, var(--nebula-section-bg-alt, rgba(47, 120, 255, 0.08)) 100%);
}

.nebula-unified-card--template-glass {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    border: 1px solid var(--nebula-section-border, rgba(12, 32, 66, 0.16));
    box-shadow: var(--nebula-section-shadow, 0 32px 64px rgba(12, 32, 68, 0.16));
}

.nebula-unified-card--template-minimal {
    background: var(--nebula-section-bg, #f6f8ff);
    border: 1px solid var(--nebula-section-border, rgba(12, 32, 66, 0.14));
    box-shadow: none;
}

.nebula-unified-card--template-minimal::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

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

.nebula-unified-card > *:last-child {
    margin-bottom: 0;
}

.nebula-share.nebula-unified-card {
    padding: clamp(22px, 5vw, 32px);
    display: grid;
    gap: clamp(18px, 3vw, 26px);
}

.nebula-share.nebula-unified-card .nebula-share__title {
    margin: 0;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 800;
    color: #0a1a36;
}

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

.nebula-share.nebula-unified-card .nebula-share__button {
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, var(--nebula-section-accent-soft, rgba(47, 120, 255, 0.18)) 100%);
    color: #0a1a36;
    border: 1px solid rgba(12, 26, 52, 0.12);
    box-shadow: 0 12px 26px rgba(12, 26, 52, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nebula-share.nebula-unified-card .nebula-share__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(12, 26, 52, 0.16);
}

/* ============================================
   Gallery Styles - REMOVED (Now using .nebula-screenshots)
   ============================================ */

/* Old gallery CSS removed - using .nebula-screenshots from screenshots.css */

/* ============================================
   Button Icons Styles
   ============================================ */

.nebula-hero__button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-inline-end: 0.5em;
}

.nebula-hero__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

/* إصلاح ألوان الأزرار في الموبايل - ألوان تليجرام وواتساب */
@media (max-width: 640px) {
    .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--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--secondary svg,
    .nebula-hero__button--whatsapp svg {
        fill: #ffffff !important;
        stroke: #ffffff !important;
        color: #ffffff !important;
    }
    
    .nebula-hero__button--secondary:hover,
    .nebula-hero__button--whatsapp:hover {
        opacity: 0.95 !important;
        transform: none !important;
    }
    
    .nebula-hero__button--help {
        background: var(--nebula-cta-secondary-color, #338cff) !important;
        color: var(--nebula-cta-text-color, #0f2538) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 12px 24px rgba(6, 14, 28, 0.18) !important;
    }
    
    .nebula-hero__button--help svg {
        fill: var(--nebula-cta-text-color, #0f2538) !important;
        stroke: var(--nebula-cta-text-color, #0f2538) !important;
        color: var(--nebula-cta-text-color, #0f2538) !important;
    }
    
    .nebula-hero__button--help:hover {
        background: var(--nebula-cta-secondary-color, #338cff) !important;
        opacity: 0.9 !important;
        color: var(--nebula-cta-text-color, #0f2538) !important;
        transform: none !important;
    }
    
    /* إصلاح زر شروحات ومساعدة المنبثق في الموبايل */
    .nebula-help-trigger {
        background: var(--nebula-cta-secondary-color, #338cff) !important;
        color: var(--nebula-cta-text-color, #0f2538) !important;
    }
}

/* ============================================
   Help Trigger Styles
   ============================================ */

.nebula-help-trigger {
    margin: 0;
    padding: 0;
    border: 3px solid var(--nebula-section-border, rgba(12, 32, 66, 0.28));
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--nebula-section-accent-soft, rgba(47, 120, 255, 0.18)), rgba(255, 255, 255, 0.28));
    color: #0a1a36;
    font-weight: 800;
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    letter-spacing: -0.01em;
    padding: 0 18px;
    height: 50px;
    cursor: pointer;
    box-shadow: var(--nebula-section-shadow, 0 30px 64px rgba(8, 24, 58, 0.18));
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nebula-help-trigger::before {
    content: "";
    position: absolute;
    inset: auto auto -40% -5%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(75, 146, 255, 0.42) 0, rgba(75, 146, 255, 0) 65%);
    opacity: 0.7;
}

.nebula-help-trigger::after {
    content: "";
    position: absolute;
    inset: -60% -10% auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(16, 214, 197, 0.38) 0, rgba(16, 214, 197, 0) 70%);
    opacity: 0.6;
}

.nebula-help-trigger span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.nebula-help-trigger i {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(10, 26, 54, 0.14);
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 1.4rem;
    color: #0c224a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.nebula-help-trigger__plus {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: inherit;
}

.nebula-help-trigger[aria-expanded="true"] {
    box-shadow: 0 34px 72px rgba(8, 24, 58, 0.2);
    transform: translateY(-1px);
}

.nebula-help-trigger[aria-expanded="true"] .nebula-help-trigger__plus {
    transform: rotate(45deg);
}

@media (max-width: 640px) {
    .nebula-help-trigger__plus {
        display: inline-flex !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 1.8rem !important;
        color: #000000 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 8px !important;
        font-weight: 800 !important;
        opacity: 1 !important;
        visibility: visible !important;
        border: 2px solid rgba(108, 92, 231, 0.2) !important;
    }
}

.nebula-help-wrapper {
    margin-top: 0;
    margin-bottom: 10px;
    border-radius: 30px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    box-shadow: 0 42px 90px rgba(9, 24, 52, 0.16);
}

.nebula-help-wrapper.is-open {
    max-height: 1800px;
    opacity: 1;
}

.nebula-help {
    margin: 0;
    padding: clamp(26px, 6vw, 42px);
    border: none;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(242, 246, 255, 0.95), rgba(218, 238, 255, 0.9));
    display: grid;
    gap: clamp(24px, 5vw, 36px);
    position: relative;
}

.nebula-help::before,
.nebula-help::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.nebula-help::before {
    width: 340px;
    height: 340px;
    inset: -140px auto auto -90px;
    background: radial-gradient(circle at center, rgba(76, 132, 255, 0.35) 0, rgba(76, 132, 255, 0) 65%);
    opacity: 0.8;
}

.nebula-help::after {
    width: 460px;
    height: 460px;
    inset: auto -160px -220px auto;
    background: radial-gradient(circle at center, rgba(18, 214, 197, 0.32) 0, rgba(18, 214, 197, 0) 70%);
    opacity: 0.6;
}

.nebula-help__header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(14px, 3vw, 22px);
    align-items: center;
    justify-content: space-between;
    padding: clamp(16px, 3vw, 24px);
    border-radius: 26px;
    background: linear-gradient(120deg, rgba(46, 89, 255, 0.12), rgba(18, 214, 197, 0.18));
    box-shadow: 0 22px 46px rgba(18, 42, 112, 0.16);
}

.nebula-help__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #123066;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(15, 46, 120, 0.18);
}

.nebula-help__badge::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f78ff, #20c793);
    box-shadow: 0 0 0 5px rgba(47, 120, 255, 0.2);
}

.nebula-help__title {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.3rem);
    font-weight: 900;
    color: #071331;
    letter-spacing: -0.018em;
    text-shadow: 0 18px 38px rgba(8, 20, 48, 0.2);
}

.nebula-help__subtitle {
    margin: 0;
    font-size: 0.98rem;
    color: #1f2b46;
    opacity: 0.88;
    max-width: 560px;
    line-height: 1.7;
}

.nebula-help__tabs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    padding: 12px 14px;
    box-shadow: inset 0 0 0 1px rgba(18, 42, 92, 0.08);
    backdrop-filter: blur(12px);
}

.nebula-help__tab {
    position: relative;
    appearance: none;
    border: none;
    padding: 13px 20px;
    border-radius: 16px;
    font-size: 0.96rem;
    font-weight: 700;
    color: #1f3156;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nebula-help__tab::after {
    content: "";
    position: absolute;
    inset: 4px;
    z-index: -1;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nebula-help__tab[aria-selected="true"] {
    color: #061738;
    transform: translateY(-1px);
}

.nebula-help__tab[aria-selected="true"]::after {
    opacity: 1;
    background: linear-gradient(135deg, rgba(48, 118, 255, 0.35), rgba(27, 214, 197, 0.3));
}

.nebula-help__tab:hover {
    color: #061738;
}

.nebula-help__panels {
    border-radius: 24px;
    background: #fff;
    padding: clamp(24px, 5.5vw, 36px);
    box-shadow: 0 26px 60px rgba(12, 28, 60, 0.14);
    position: relative;
    overflow: hidden;
}

.nebula-help__panel {
    display: none;
    animation: nebulaHelpFade 0.32s ease both;
}

.nebula-help__panel.is-active {
    display: grid;
    gap: 18px;
}

.nebula-help__panel h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 800;
    color: #101b3c;
}

.nebula-help__panel p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #1f2b46;
}

.nebula-help__panel ul,
.nebula-help__panel ol {
    margin: 0;
    padding-inline-start: 22px;
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
    color: #233154;
}

.nebula-help__panel li strong {
    color: #0f2146;
}

.nebula-help__highlights {
    display: grid;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(45, 110, 255, 0.12), rgba(45, 200, 255, 0.16));
    color: #0f2b58;
    font-size: 0.93rem;
    box-shadow: 0 22px 40px rgba(16, 56, 125, 0.12);
}

.nebula-help__panel .nebula-help__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(17, 41, 96, 0.12);
    font-size: 0.8rem;
    font-weight: 700;
    color: #112d63;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nebula-help__panel .nebula-help__tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f78ff, #20c793);
    box-shadow: 0 0 0 4px rgba(47, 120, 255, 0.2);
}

@keyframes nebulaHelpFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .nebula-help-trigger {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nebula-help-trigger svg {
        align-self: flex-end;
    }
    
    .nebula-help-wrapper {
        margin-top: 10px;
    }
    
    .nebula-help {
        padding: 24px;
    }
    
    .nebula-help__header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nebula-help__tabs {
        flex-direction: column;
        background: rgba(255, 255, 255, 0.7);
    }
    
    .nebula-help__tab {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   Lightbox Styles
   ============================================ */

body.nebula-lightbox-open {
    overflow: hidden !important;
}

.nebula-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 13, 27, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: clamp(20px, 5vw, 40px);
    opacity: 0;
    transition: opacity 300ms ease;
}

.nebula-lightbox.is-active {
    display: flex;
    opacity: 1;
}

.nebula-lightbox__inner {
    position: relative;
    max-width: min(960px, 92vw);
    width: 100%;
    display: grid;
    gap: 18px;
    transform: scale(0.9);
    transition: transform 300ms ease;
}

.nebula-lightbox.is-active .nebula-lightbox__inner {
    transform: scale(1);
}

.nebula-lightbox__media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(4, 10, 24, 0.5);
}

.nebula-lightbox__image {
    width: 100%;
    height: min(72vh, 640px);
    object-fit: contain;
    background: #050b1a;
    display: block;
}

.nebula-lightbox__caption {
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #f2f6ff;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.98rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
}

.nebula-lightbox__counter {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 600;
}

.nebula-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 200ms ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nebula-lightbox__close:hover,
.nebula-lightbox__close:focus {
    transform: scale(1.1) rotate(90deg);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.nebula-lightbox__close:active {
    transform: scale(0.95);
}

.nebula-lightbox__nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 5;
}

.nebula-lightbox__button {
    pointer-events: auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 200ms ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nebula-lightbox__button:hover,
.nebula-lightbox__button:focus {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.nebula-lightbox__button:active {
    transform: scale(0.9);
}

.nebula-lightbox__button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1);
}

/* ============================================
   Unified Actions Styles
   ============================================ */

.nebula-unified-actions {
    margin: 30px 0;
    padding: clamp(24px, 4vw, 32px);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.98) 100%);
    border: 2px solid rgba(108, 92, 231, 0.15);
    box-shadow:
        0 20px 60px rgba(17, 19, 37, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: grid;
    gap: clamp(20px, 3vw, 28px);
}

/* Report Trigger Button */
.nebula-report-trigger {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    transition: all 200ms ease;
    position: relative;
    overflow: hidden;
}

.nebula-report-trigger::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 200ms ease;
}

.nebula-report-trigger:hover::before {
    opacity: 1;
}

.nebula-report-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.4);
}

.nebula-report-trigger:active {
    transform: translateY(0);
}

.nebula-report-trigger__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Help Section inside Unified Actions */
.nebula-unified-actions .nebula-help-section {
    margin: 0;
    padding: 0;
}

/* Share Section inside Unified Actions */
.nebula-unified-actions .nebula-share {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.nebula-unified-actions .nebula-share__title {
    margin: 0 0 16px;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 800;
    color: #0a1a36;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(108, 92, 231, 0.15);
}

.nebula-unified-actions .nebula-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nebula-unified-actions .nebula-share__button {
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(108, 92, 231, 0.08) 100%);
    color: #0a1a36;
    border: 1px solid rgba(108, 92, 231, 0.2);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.1);
    transition: all 200ms ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.nebula-unified-actions .nebula-share__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(108, 92, 231, 0.12) 100%);
}

.nebula-unified-actions .nebula-share__icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 6px;
}

/* ============================================
   Report Modal Styles
   ============================================ */

.nebula-report-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    transition: opacity 300ms ease;
}

.nebula-report-modal.is-active {
    display: flex;
    opacity: 1;
}

.nebula-report-modal__content {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 300ms ease;
    position: relative;
}

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

.nebula-report-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;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
}

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

.nebula-report-modal__title {
    margin: 0 0 24px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
}

.nebula-report-form {
    display: grid;
    gap: 20px;
}

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

.nebula-report-form__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nebula-report-form__label .required {
    color: #ff6b35;
}

.nebula-report-form__input,
.nebula-report-form__select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: #333;
    transition: all 200ms ease;
    box-sizing: border-box;
}

.nebula-report-form__input:focus,
.nebula-report-form__select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.nebula-report-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 18px center;
    padding-left: 48px;
    cursor: pointer;
}

.nebula-report-form__submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 200ms ease;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.nebula-report-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.nebula-report-form__submit:active {
    transform: translateY(0);
}

.nebula-report-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   Mobile Styles
   ============================================ */

/* Old gallery mobile styles removed - now using .nebula-screenshots */

@media (max-width: 640px) {
    .nebula-lightbox {
        padding: 10px;
    }

    .nebula-lightbox__inner {
        gap: 12px;
    }

    .nebula-lightbox__caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .nebula-lightbox__button {
        width: 48px;
        height: 48px;
        font-size: 1.6rem;
        padding: 0 16px;
    }

    .nebula-lightbox__close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
        border-width: 2px;
    }

    .nebula-lightbox__nav {
        padding: 0 12px;
    }

    .nebula-lightbox__image {
        height: min(60vh, 500px);
    }

    .nebula-unified-actions {
        padding: 20px;
        border-radius: 20px;
        gap: 10px;
        margin: 10px 0 !important;
    }

    .nebula-report-modal {
        padding: 10px;
    }

    .nebula-report-modal__content {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .nebula-report-modal__title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .nebula-report-form {
        gap: 16px;
    }

    .nebula-report-trigger {
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: 12px;
        background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
    }

    .nebula-unified-actions .nebula-share {
        margin: 0 !important;
        padding: 0 !important;
    }

    .nebula-unified-actions .nebula-share__title {
        margin: 0 0 12px !important;
        font-size: 1.1rem !important;
    }

    .nebula-unified-actions .nebula-share__buttons {
        gap: 8px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .nebula-unified-actions .nebula-share__button {
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        justify-content: center;
    }
}

/* ============================================
   Desktop Styles
   ============================================ */

/* Old gallery desktop styles removed - now using .nebula-screenshots */

/* ============================================
   Comments Section
   ============================================ */

.nebula-comments-section {
	margin: 32px 0;
}

.nebula-comments-section__head {
	margin-bottom: 28px;
}

.nebula-comments-section__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: clamp(1.4rem, 4vw, 1.8rem);
	font-weight: 800;
	color: var(--nebula-section-accent, #2f78ff);
	letter-spacing: -0.02em;
}

.nebula-comments-section__icon {
	font-size: 1.2em;
}

.nebula-comments-section__count {
	font-weight: 600;
	color: rgba(0, 0, 0, 0.5);
	font-size: 0.85em;
}

/* Comments Form */
.nebula-comments-section__form-wrapper {
	margin-bottom: 32px;
}

.nebula-comments-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 32px;
}

.nebula-comments-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 640px) {
	.nebula-comments-form__row {
		grid-template-columns: repeat(2, 1fr);
	}
}

.nebula-comments-form__submit-wrapper {
	margin-top: 10px;
}

/* WordPress Comments Form Fields Layout */
.nebula-comments-form p.comment-form-author,
.nebula-comments-form p.comment-form-email {
	margin: 0;
}

@media (min-width: 640px) {
	.nebula-comments-form p.comment-form-author,
	.nebula-comments-form p.comment-form-email {
		display: inline-block;
		width: calc(50% - 8px);
		vertical-align: top;
	}
	
	.nebula-comments-form p.comment-form-author {
		margin-right: 16px;
	}
}

.nebula-comments-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nebula-comments-form__label {
	font-weight: 600;
	font-size: 0.95rem;
	color: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	gap: 4px;
}

.nebula-comments-form__label .required {
	color: #ef4444;
	font-weight: 700;
}

.nebula-comments-form__input,
.nebula-comments-form__textarea {
	width: 100%;
	padding: 14px 16px;
	font-size: 1rem;
	font-family: inherit;
	border: 2px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	background: #ffffff;
	color: #000;
	transition: all 0.2s ease;
	outline: none;
}

.nebula-comments-form__input:focus,
.nebula-comments-form__textarea:focus {
	border-color: var(--nebula-section-accent, #2f78ff);
	box-shadow: 0 0 0 3px rgba(47, 120, 255, 0.1);
}

.nebula-comments-form__textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.6;
}

.nebula-comments-form__hint {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	background: rgba(255, 193, 7, 0.1);
	border: 1px solid rgba(255, 193, 7, 0.3);
	border-radius: 8px;
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.7);
	margin-top: 4px;
}

.nebula-comments-form__hint-icon {
	font-size: 1.1em;
}

.nebula-comments-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	font-size: 1rem;
	font-weight: 700;
	color: #ffffff;
	background: linear-gradient(135deg, var(--nebula-section-accent, #2f78ff), #6366f1);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(47, 120, 255, 0.3);
	position: relative;
	overflow: hidden;
}

.nebula-comments-form__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(47, 120, 255, 0.4);
}

.nebula-comments-form__submit:active {
	transform: translateY(0);
}

.nebula-comments-form__submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.nebula-comments-form__submit-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.nebula-comments-form__submit:disabled .nebula-comments-form__submit-spinner {
	display: block;
}

.nebula-comments-form__submit:disabled .nebula-comments-form__submit-text {
	opacity: 0;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.nebula-comments-form__message {
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	display: none;
}

.nebula-comments-form__message.is-success {
	display: block;
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.3);
	color: #16a34a;
}

.nebula-comments-form__message.is-error {
	display: block;
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #dc2626;
}

/* Comments List */
.nebula-comments-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 32px;
}

.nebula-comments-list .comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.nebula-comment {
	display: flex;
	gap: 16px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	transition: all 0.2s ease;
}

.nebula-comment:hover {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(47, 120, 255, 0.2);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nebula-comment__avatar {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--nebula-section-accent, #2f78ff), #6366f1);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(47, 120, 255, 0.3);
}

.nebula-comment__avatar-initial {
	font-size: 1.3rem;
	font-weight: 700;
	color: #ffffff;
	text-transform: uppercase;
}

.nebula-comment__body {
	flex: 1;
	min-width: 0;
}

.nebula-comment__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.nebula-comment__author {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: rgba(0, 0, 0, 0.9);
}

.nebula-comment__date {
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.5);
	text-decoration: none;
}

.nebula-comment__content {
	font-size: 0.95rem;
	line-height: 1.7;
	color: rgba(0, 0, 0, 0.8);
	word-wrap: break-word;
}

.nebula-comment__content p {
	margin: 0 0 8px;
}

.nebula-comment__content p:last-child {
	margin-bottom: 0;
}

.nebula-comment__moderation {
	margin-top: 10px;
	padding: 8px 12px;
	background: rgba(255, 193, 7, 0.1);
	border: 1px solid rgba(255, 193, 7, 0.3);
	border-radius: 6px;
	font-size: 0.875rem;
	color: rgba(0, 0, 0, 0.7);
}

.nebula-comment__moderation em {
	font-style: normal;
}

.nebula-comment__body .comment-reply-link {
	display: inline-block;
	margin-top: 12px;
	padding: 6px 14px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--nebula-section-accent, #2f78ff);
	background: rgba(47, 120, 255, 0.1);
	border: 1px solid rgba(47, 120, 255, 0.3);
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.nebula-comment__body .comment-reply-link:hover {
	background: rgba(47, 120, 255, 0.15);
	border-color: rgba(47, 120, 255, 0.5);
	color: var(--nebula-section-accent, #2f78ff);
}

/* WordPress Comments Pagination */
.comments-pagination {
	margin-top: 32px;
	text-align: center;
}

.comments-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.comments-pagination .page-numbers {
	padding: 8px 16px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	text-decoration: none;
	color: var(--nebula-section-accent, #2f78ff);
	transition: all 0.2s ease;
}

.comments-pagination .page-numbers:hover,
.comments-pagination .page-numbers.current {
	background: var(--nebula-section-accent, #2f78ff);
	color: #ffffff;
	border-color: var(--nebula-section-accent, #2f78ff);
}

/* Nested Comments (Replies) */
.nebula-comment .children {
	list-style: none;
	margin: 24px 0 0 0;
	padding: 0 0 0 24px;
	border-left: 2px solid rgba(47, 120, 255, 0.2);
}

.nebula-comment .children .nebula-comment {
	margin-bottom: 16px;
}

/* WordPress Comment Form Submit Button Spinner */
.nebula-comments-form__submit:disabled .nebula-comments-form__submit-spinner {
	display: inline-block;
}

.nebula-comments-form__submit:disabled .nebula-comments-form__submit-text {
	opacity: 0;
}

.nebula-comments-list__empty {
	text-align: center;
	padding: 48px 20px;
	color: rgba(0, 0, 0, 0.5);
}

.nebula-comments-list__empty-icon {
	display: block;
	font-size: 3rem;
	margin-bottom: 16px;
	opacity: 0.6;
}

.nebula-comments-list__empty p {
	margin: 0;
	font-size: 1rem;
}

/* Loading State */
.nebula-comments-list__loading {
	text-align: center;
	padding: 48px 20px;
	color: rgba(0, 0, 0, 0.5);
}

.nebula-comments-list__loading-spinner {
	display: inline-block;
	width: 40px;
	height: 40px;
	border: 3px solid rgba(47, 120, 255, 0.2);
	border-top-color: var(--nebula-section-accent, #2f78ff);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-bottom: 16px;
}

.nebula-comments-list__loading p {
	margin: 0;
	font-size: 1rem;
}

/* Load More Button */
.nebula-comments-section__load-more {
	margin-top: 32px;
	text-align: center;
}

.nebula-comments-section__load-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--nebula-section-accent, #2f78ff);
	background: rgba(47, 120, 255, 0.1);
	border: 2px solid rgba(47, 120, 255, 0.3);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.nebula-comments-section__load-more-btn:hover {
	background: rgba(47, 120, 255, 0.15);
	border-color: rgba(47, 120, 255, 0.5);
	transform: translateY(-2px);
}

.nebula-comments-section__load-more-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.nebula-comments-section__load-more-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(47, 120, 255, 0.3);
	border-top-color: var(--nebula-section-accent, #2f78ff);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.nebula-comments-section__load-more-btn:disabled .nebula-comments-section__load-more-spinner {
	display: block;
}

.nebula-comments-section__load-more-btn:disabled span:first-child {
	opacity: 0;
}

/* Responsive */
@media (max-width: 640px) {
	.nebula-comments-section {
		margin: 24px 0;
	}

	.nebula-comments-section__title {
		font-size: 1.3rem;
	}

	.nebula-comment {
		padding: 16px;
		gap: 12px;
	}

	.nebula-comment__avatar {
		width: 40px;
		height: 40px;
	}

	.nebula-comment__avatar-initial {
		font-size: 1.1rem;
	}

	.nebula-comments-form__submit {
		padding: 14px 24px;
		font-size: 0.95rem;
	}
}

