/**
 * CreatorsServices — Mega Menu
 * mega-menu.css
 */

.cs-mega-menu {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 0 16px 20px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 90;
}

.cs-mega-menu.is-open,
.cs-header.is-mega-open .cs-mega-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.cs-mega-menu[aria-hidden="true"]:not(.is-open) {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.cs-mega-menu__shell {
	width: min(100%, 1240px);
	margin: 10px auto 0;
	padding: 22px;
	border-radius: 24px;
	background: rgba(14, 12, 32, 0.96);
	border: 1px solid rgba(148, 130, 255, 0.18);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(18px);
}

.cs-mega-menu__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.cs-mega-menu__eyebrow {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #a78bfa;
}

.cs-mega-menu__heading h2 {
	margin: 0 0 6px;
	font-size: 26px;
	color: #fff;
}

.cs-mega-menu__heading p {
	margin: 0;
	max-width: 520px;
	color: #b7b0d6;
	font-size: 14px;
	line-height: 1.6;
}

.cs-mega-menu__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #c4b5fd;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.cs-mega-menu__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
	gap: 18px;
}

.cs-mega-menu__categories {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.cs-mega-category {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 16px;
	border: 1px solid transparent;
	color: inherit;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
}

.cs-mega-category:hover {
	background: rgba(139, 92, 246, 0.1);
	border-color: rgba(167, 139, 250, 0.2);
}

.cs-mega-category__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: rgba(139, 92, 246, 0.12);
	color: #c4b5fd;
}

.cs-mega-category__content strong {
	display: block;
	color: #fff;
	margin-bottom: 3px;
}

.cs-mega-category__content span {
	display: block;
	color: #8b85ad;
	font-size: 12px;
	line-height: 1.4;
}

.cs-mega-category__arrow {
	color: #a78bfa;
	opacity: 0.5;
}

.cs-mega-category:hover .cs-mega-category__arrow {
	opacity: 1;
}

.cs-mega-featured {
	padding: 14px;
	border-radius: 20px;
	background: #100e22;
	border: 1px solid rgba(148, 130, 255, 0.14);
}

.cs-mega-featured__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.cs-mega-featured__label {
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #7d77a0;
	margin-bottom: 4px;
}

.cs-mega-featured__head h3 {
	margin: 0;
	color: #fff;
	font-size: 16px;
}

.cs-mega-featured__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(139, 92, 246, 0.14);
	color: #c4b5fd;
	font-size: 11px;
	font-weight: 750;
}

.cs-mega-featured__badge span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #34d399;
}

.cs-mega-featured__card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.cs-mega-featured__visual {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	aspect-ratio: 16 / 10;
	background: #090814;
}

.cs-mega-featured__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cs-mega-featured__preview {
	position: absolute;
	inset: auto 12px 12px auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(10, 8, 24, 0.82);
	color: #fff;
	font-size: 12px;
	font-weight: 750;
}

.cs-mega-featured__info {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	padding-top: 12px;
}

.cs-mega-featured__type {
	display: block;
	font-size: 11px;
	color: #7d77a0;
	margin-bottom: 4px;
}

.cs-mega-featured__info strong {
	display: block;
	color: #fff;
}

.cs-mega-featured__price,
.cs-mega-featured__discover {
	color: #c4b5fd;
	font-weight: 800;
}

.cs-mega-browser {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.cs-mega-browser__bar {
	display: flex;
	gap: 5px;
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.04);
}

.cs-mega-browser__bar span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3a3658;
}

.cs-mega-browser__bar span:nth-child(1) { background: #ff5f57; }
.cs-mega-browser__bar span:nth-child(2) { background: #febc2e; }
.cs-mega-browser__bar span:nth-child(3) { background: #28c840; }

.cs-mega-browser__screen {
	position: relative;
	flex: 1;
	padding: 14px;
}

.cs-mega-browser__glow {
	position: absolute;
	inset: 10px;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 70%);
}

.cs-mega-browser__hero span,
.cs-mega-browser__hero strong {
	display: block;
	position: relative;
	color: #d6d0f5;
}

.cs-mega-browser__hero i,
.cs-mega-browser__cards i {
	display: block;
	height: 8px;
	margin-top: 8px;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.08);
}

.cs-mega-browser__cards {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 6px;
	margin-top: 16px;
}

.cs-mega-browser__cards i {
	height: 36px;
}

.cs-mega-menu__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(148, 130, 255, 0.12);
}

.cs-mega-menu__benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	color: #b7b0d6;
	font-size: 13px;
	font-weight: 650;
}

.cs-mega-menu__benefits span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.cs-mega-menu__benefits svg {
	color: #a78bfa;
}

.cs-mega-menu__bottom-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #c4b5fd;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.cs-mega-menu {
		display: none;
	}
}
