/* Inline Related (text-only) */
.nebula-related-inline {
	margin: 16px 0 20px;
	padding: clamp(16px, 3vw, 22px);
	background: rgba(46, 89, 255, 0.06);
	border: 1px solid rgba(46, 89, 255, 0.2);
	border-radius: 18px;
}
.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;
	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;
	display: block !important;
}
.appx-similar-recent__container {
	max-width: 980px;
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 40px);
	width: 100%;
	box-sizing: border-box;
	background: rgba(47, 123, 255, 0.08);
	border: 1px solid rgba(47, 123, 255, 0.18);
	border-radius: 20px;
	display: block !important;
}
.appx-similar-recent__header {
	margin: 0;
	padding: 20px 0 16px;
	border-bottom: 1px solid rgba(47, 123, 255, 0.12);
	display: block !important;
}
.appx-similar-recent__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0a1533;
	letter-spacing: -0.01em;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}
.appx-similar-recent__list {
	list-style: none;
	margin: 0;
	padding: 18px 0;
	display: grid !important;
	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;
	display: list-item !important;
}
.appx-similar-recent__link {
	display: block !important;
	width: 100%;
	padding: 10px 14px;
	box-sizing: border-box;
	color: #0b2a6b !important;
	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;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	min-height: 44px;
}
.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 !important;
}
@media (min-width: 960px) {
	.appx-similar-recent__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
/* Mobile - Show and improve display */
@media (max-width: 768px) {
	.appx-similar-recent {
		margin: 20px 0;
		display: block !important;
		width: 100% !important;
	}
	.appx-similar-recent__container {
		padding-inline: 16px;
		border-radius: 16px;
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.appx-similar-recent__header {
		padding: 16px 0 12px;
		display: block !important;
	}
	.appx-similar-recent__title {
		font-size: 1.1rem !important;
		font-weight: 800 !important;
		color: #0a1533 !important;
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.appx-similar-recent__list {
		grid-template-columns: 1fr !important;
		gap: 10px;
		padding: 14px 0;
		display: grid !important;
	}
	.appx-similar-recent__item {
		width: 100% !important;
		min-width: 0;
		display: block !important;
	}
	.appx-similar-recent__link {
		width: 100% !important;
		max-width: 100% !important;
		padding: 12px 16px;
		font-size: 0.95rem !important;
		word-break: break-word;
		overflow-wrap: break-word;
		white-space: normal;
		display: block !important;
		min-height: 44px;
		line-height: 1.5;
	}
}

@media (max-width: 640px) {
	.appx-similar-recent {
		margin: 18px 0;
	}
	.appx-similar-recent__container {
		padding-inline: 14px;
	}
	.appx-similar-recent__title {
		font-size: 1.05rem !important;
	}
	.appx-similar-recent__link {
		font-size: 0.92rem !important;
		padding: 10px 14px;
	}
}
/* ============================================
   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));
    overflow: hidden;
}

.nebula-unified-card--template-aura {
    background: var(--nebula-section-bg, #f6f8ff);
}

.nebula-unified-card--template-glass {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--nebula-section-border, rgba(12, 32, 66, 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));
}

.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: rgba(255, 255, 255, 0.94);
    color: #0a1a36;
    border: 1px solid rgba(12, 26, 52, 0.12);
}


/* ============================================
   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: rgba(47, 120, 255, 0.18);
    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;
    position: relative;
    overflow: hidden;
}


.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;
    flex-shrink: 0;
    color: inherit;
}

.nebula-help-trigger[aria-expanded="true"] {
}

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

.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: rgba(242, 246, 255, 0.95);
    display: grid;
    gap: clamp(24px, 5vw, 36px);
    position: relative;
}

.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: #2f78ff;
}

.nebula-help__title {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.3rem);
    font-weight: 900;
    color: #071331;
    letter-spacing: -0.018em;
}

.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;
    border: 1px solid rgba(18, 42, 92, 0.08);
}

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

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

.nebula-help__tab[aria-selected="true"] {
    color: #061738;
}

.nebula-help__tab[aria-selected="true"]::after {
    opacity: 1;
    background: rgba(48, 118, 255, 0.35);
}

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

.nebula-help__panels {
    border-radius: 24px;
    background: #fff;
    padding: clamp(24px, 5.5vw, 36px);
    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: rgba(45, 110, 255, 0.12);
    color: #0f2b58;
    font-size: 0.93rem;
}

.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: #2f78ff;
}

@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);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: clamp(20px, 5vw, 40px);
    opacity: 0;
}

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

.nebula-lightbox__inner {
    position: relative;
    max-width: min(960px, 92vw);
    width: 100%;
    display: grid;
    gap: 18px;
}

.nebula-lightbox.is-active .nebula-lightbox__inner {
}

.nebula-lightbox__media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

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

.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;
    z-index: 10;
}

.nebula-lightbox__close:hover,
.nebula-lightbox__close:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.nebula-lightbox__close:active {
}

.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: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(108, 92, 231, 0.15);
    display: grid;
    gap: clamp(20px, 3vw, 28px);
}

/* Report Trigger Button */
.nebula-report-trigger {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: #ff6b35;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.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: rgba(255, 255, 255, 0.94);
    color: #0a1a36;
    border: 1px solid rgba(108, 92, 231, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
}

.nebula-unified-actions .nebula-share__button:hover {
    background: rgba(255, 255, 255, 1);
}

.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: #ff6b35;
    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;
    }
}

/* ============================================
   Article Download Button
   ============================================ */

.nebula-article-download {
    margin: clamp(24px, 4vw, 32px) 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nebula-article-download__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: clamp(14px, 2.5vw, 18px) clamp(24px, 4vw, 32px);
    background: linear-gradient(135deg, #6c5ce7 0%, #5a4fcf 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 16px;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

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

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

.nebula-article-download__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(108, 92, 231, 0.45);
    background: linear-gradient(135deg, #7b6ff0 0%, #6a5fe0 100%);
}

.nebula-article-download__button:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.35);
}

.nebula-article-download__button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
}

.nebula-article-download__text {
    position: relative;
    z-index: 1;
    min-width: 120px;
    text-align: center;
}

@media (max-width: 640px) {
    .nebula-article-download {
        margin: 20px 0;
    }
    
    .nebula-article-download__button {
        width: 100%;
        max-width: 100%;
        padding: 16px 24px;
        font-size: 1.05rem;
    }
    
    .nebula-article-download__text {
        min-width: auto;
        flex: 1;
    }
}

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

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


