/**
 * KUSHMAYY homepage conversion sections.
 * Dark-cosmic street: glass cards, grid overlay, hover glow.
 */

.hp-section {
	--hp-violet: #6c5ce7;
	--hp-orange: #ff6b00;
	--hp-off: #f5f6fa;
	--hp-glass: rgba(255, 255, 255, 0.03);
	position: relative;
	padding: 3.2rem 0;
	color: var(--hp-off);
}

.hp-section::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.28;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.hp-head {
	position: relative;
	z-index: 1;
	margin-bottom: 1.6rem;
	text-align: center;
}

.hp-head h2 {
	margin: 0 0 0.4rem;
	font-size: clamp(1.7rem, 4.2vw, 2.6rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--hp-off);
}

.hp-head p {
	margin: 0 auto;
	max-width: 42ch;
	color: #b7b4c7;
}

.hp-kicker {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--hp-orange);
}

.hp-kicker a:hover,
.hp-kicker a:focus-visible {
	color: var(--hp-off);
}

.hp-card {
	position: relative;
	background: var(--hp-glass);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1.15rem;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

/* ------------------------------------------------------------------ */
/* Features                                                            */
/* ------------------------------------------------------------------ */

.hp-features__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hp-features__card {
	display: grid;
	gap: 0.55rem;
	padding: 1.35rem 1.2rem 1.4rem;
}

.hp-features__card h3 {
	margin: 0;
	font-size: 1.02rem;
	letter-spacing: -0.01em;
	color: var(--hp-off);
}

.hp-features__card p {
	margin: 0;
	color: #b7b4c7;
	font-size: 0.92rem;
}

.hp-features__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 0.9rem;
	color: var(--hp-violet);
	background: rgba(108, 92, 231, 0.14);
	box-shadow: 0 0 0 1px rgba(108, 92, 231, 0.28);
}

.hp-features__icon svg {
	width: 1.7rem;
	height: 1.7rem;
}

.hp-features__card:hover,
.hp-features__card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(108, 92, 231, 0.55);
	box-shadow: 0 12px 36px rgba(108, 92, 231, 0.18);
}

.hp-features__card:hover .hp-features__icon {
	color: var(--hp-orange);
	background: rgba(255, 107, 0, 0.14);
	box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.35);
}

/* ------------------------------------------------------------------ */
/* Category orbit — compact rectangles so products sit higher           */
/* ------------------------------------------------------------------ */

.hp-orbit.hp-section {
	padding: 0.6rem 0 1.35rem;
}

.hp-orbit .hp-head {
	margin-bottom: 0.75rem;
	text-align: left;
}

.hp-orbit .hp-head h2 {
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.hp-orbit__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
}

.hp-orbit__tile {
	position: relative;
	display: grid;
	grid-template-rows: 7rem auto;
	min-height: 0;
	overflow: hidden;
	border-radius: 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--hp-off);
}

.hp-orbit__media,
.hp-orbit__media img {
	position: relative;
	inset: auto;
	width: 100%;
	height: 7rem;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-orbit__fallback {
	object-fit: contain;
	padding: 12%;
	opacity: 0.28;
	filter: drop-shadow(0 0 24px rgba(108, 92, 231, 0.4));
}

.hp-orbit__tile--street {
	background:
		radial-gradient(circle at 80% 10%, rgba(255, 107, 0, 0.45), transparent 38%),
		radial-gradient(circle at 10% 90%, rgba(108, 92, 231, 0.4), transparent 42%),
		#161022;
}

.hp-orbit__tile--kids {
	background:
		radial-gradient(circle at 20% 18%, rgba(124, 240, 255, 0.32), transparent 40%),
		radial-gradient(circle at 90% 80%, rgba(108, 92, 231, 0.38), transparent 45%),
		#101824;
}

.hp-orbit__tile--new {
	background:
		radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.5), transparent 42%),
		radial-gradient(circle at 80% 100%, rgba(255, 107, 0, 0.35), transparent 40%),
		#14111f;
}

.hp-orbit__tile--blanks {
	background:
		radial-gradient(circle at 18% 12%, rgba(196, 181, 253, 0.38), transparent 40%),
		radial-gradient(circle at 88% 88%, rgba(255, 107, 0, 0.32), transparent 42%),
		#12141f;
}

.hp-orbit__glass {
	position: relative;
	inset: auto;
	z-index: 1;
	display: grid;
	gap: 0.25rem;
	padding: 0.5rem 0.6rem 0.6rem;
	background: rgba(15, 15, 26, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.hp-orbit__badge {
	justify-self: start;
	padding: 0.18rem 0.45rem;
	border-radius: 999px;
	background: rgba(108, 92, 231, 0.28);
	border: 1px solid rgba(108, 92, 231, 0.55);
	font-size: 0.52rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hp-orbit__tile--street .hp-orbit__badge {
	background: rgba(255, 107, 0, 0.22);
	border-color: rgba(255, 107, 0, 0.55);
}

.hp-orbit__title {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	line-height: 1.2;
}

.hp-orbit__cta {
	display: none;
}

.hp-orbit__tile:hover .hp-orbit__media,
.hp-orbit__tile:focus-visible .hp-orbit__media {
	transform: scale(1.06);
}

.hp-orbit__tile:hover,
.hp-orbit__tile:focus-visible {
	border-color: rgba(108, 92, 231, 0.7);
	box-shadow: 0 0 24px rgba(108, 92, 231, 0.28);
}

/* ------------------------------------------------------------------ */
/* UGC masonry                                                         */
/* ------------------------------------------------------------------ */

.hp-ugc__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 9.5rem;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hp-ugc__tile {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: var(--hp-glass);
}

.hp-ugc__tile:nth-child(3n + 1) {
	grid-row: span 2;
}

.hp-ugc__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.hp-ugc__look {
	position: absolute;
	inset: auto 0.55rem 0.55rem;
	display: grid;
	gap: 0.2rem;
	padding: 0.75rem 0.8rem;
	border-radius: 0.9rem;
	background: rgba(15, 15, 26, 0.82);
	border: 1px solid rgba(108, 92, 231, 0.4);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hp-ugc__tag {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.25;
}

.hp-ugc__price {
	margin: 0;
	color: var(--hp-orange);
	font-size: 0.78rem;
	font-weight: 700;
}

.hp-ugc__shop {
	margin-top: 0.35rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.64rem;
	pointer-events: auto;
}

.hp-ugc__tile:hover img,
.hp-ugc__tile:focus-within img {
	transform: scale(1.07);
}

.hp-ugc__tile:hover .hp-ugc__look,
.hp-ugc__tile:focus-within .hp-ugc__look {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.hp-ugc__tile:hover {
	box-shadow: 0 0 28px rgba(108, 92, 231, 0.28);
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.hp-faq__list {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0.7rem;
	max-width: 46rem;
	margin-inline: auto;
}

.hp-faq__item {
	background: var(--hp-glass);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1rem;
	padding: 0 1.1rem;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.hp-faq__item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 0;
	font-weight: 700;
	color: var(--hp-off);
}

.hp-faq__item summary::-webkit-details-marker {
	display: none;
}

.hp-faq__item summary::after {
	content: "+";
	flex: 0 0 auto;
	width: 1.6rem;
	height: 1.6rem;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: rgba(108, 92, 231, 0.2);
	color: var(--hp-violet);
	font-size: 1.1rem;
	line-height: 1;
}

.hp-faq__item[open] summary::after {
	content: "–";
	color: var(--hp-orange);
	background: rgba(255, 107, 0, 0.16);
}

.hp-faq__item[open] {
	border-color: rgba(108, 92, 231, 0.4);
}

.hp-faq__item p {
	margin: 0 0 1.1rem;
	color: #b7b4c7;
	max-width: 58ch;
}

.hp-faq__item summary:focus-visible {
	outline: 2px solid var(--hp-violet);
	outline-offset: 4px;
}

/* ------------------------------------------------------------------ */
/* VIP CTA                                                             */
/* ------------------------------------------------------------------ */

.hp-cta {
	padding-bottom: 4rem;
}

.hp-cta__panel {
	position: relative;
	z-index: 1;
	padding: 2rem 1.25rem 1.6rem;
	border-radius: 1.4rem;
	overflow: hidden;
	border: 1px solid rgba(108, 92, 231, 0.45);
	background:
		radial-gradient(700px 280px at 8% 0%, rgba(108, 92, 231, 0.5), transparent 55%),
		radial-gradient(520px 240px at 100% 100%, rgba(255, 107, 0, 0.38), transparent 50%),
		rgba(255, 255, 255, 0.03);
	box-shadow: 0 0 48px rgba(108, 92, 231, 0.18);
}

.hp-cta__head h2 {
	max-width: 16ch;
	margin-inline: auto;
}

.hp-cta .nl-form {
	max-width: 42rem;
	margin-inline: auto;
}

.hp-cta .nl-form__submit {
	background: #ff6b00;
	color: #160800;
	box-shadow: 0 0 24px rgba(255, 107, 0, 0.35);
}

.hp-cta .nl-form__submit:hover,
.hp-cta .nl-form__submit:focus-visible {
	filter: brightness(1.08);
}

.hp-cta__note {
	position: relative;
	z-index: 1;
	margin: 0.9rem auto 0;
	max-width: 40ch;
	text-align: center;
	color: #b7b4c7;
	font-size: 0.88rem;
}

/* ------------------------------------------------------------------ */
/* Live proof ticker                                                   */
/* ------------------------------------------------------------------ */

.live-proof {
	position: fixed;
	left: 1rem;
	bottom: 1.15rem;
	z-index: 45;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	max-width: min(22.5rem, calc(100vw - 2rem));
	padding: 0.75rem 0.7rem 0.75rem 0.9rem;
	border-radius: 999px;
	background: rgba(15, 15, 26, 0.92);
	border: 1px solid rgba(108, 92, 231, 0.5);
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35), 0 0 28px rgba(108, 92, 231, 0.22);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.live-proof.is-on {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.live-proof[hidden] {
	display: none;
}

.live-proof.is-on[hidden] {
	display: flex;
}

.live-proof__pulse {
	flex: 0 0 auto;
	width: 0.62rem;
	height: 0.62rem;
	border-radius: 50%;
	background: #ff6b00;
	box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.55);
	animation: hp-pulse 1.8s ease-out infinite;
}

.live-proof__text {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.35;
	color: #f5f6fa;
}

.live-proof__close {
	flex: 0 0 auto;
	width: 1.6rem;
	height: 1.6rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #f5f6fa;
	font-size: 1.1rem;
	line-height: 1;
}

.is-checkout-flow .live-proof {
	display: none;
}

@keyframes hp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.55); }
	70% { box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.hp-card,
	.hp-orbit__media,
	.hp-ugc__tile img,
	.hp-ugc__look,
	.live-proof {
		transition: none;
	}

	.live-proof__pulse {
		animation: none;
	}
}

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

	.hp-ugc__grid {
		grid-template-columns: repeat(3, 1fr);
		grid-auto-rows: 10.5rem;
	}

	.hp-cta__panel {
		padding: 2.4rem 2rem 1.8rem;
	}

	.hp-cta .nl-form__row {
		grid-template-columns: 1fr 1fr auto;
		align-items: end;
	}
}

@media (min-width: 960px) {
	.hp-section {
		padding: 3.8rem 0;
	}

	.hp-features__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.hp-orbit__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.hp-orbit__tile {
		min-height: 0;
	}

	.hp-ugc__grid {
		grid-template-columns: repeat(5, 1fr);
		grid-auto-rows: 11rem;
	}

	.hp-ugc__tile:nth-child(3n + 1) {
		grid-row: auto;
	}

	.hp-ugc__tile:nth-child(1),
	.hp-ugc__tile:nth-child(5),
	.hp-ugc__tile:nth-child(8) {
		grid-row: span 2;
	}
}

@media (max-width: 639px) {
	.hp-orbit__grid {
		display: flex;
		gap: 0.6rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 0.35rem;
	}

	.hp-orbit__tile {
		flex: 0 0 8.4rem;
		scroll-snap-align: start;
	}

	.hp-ugc__look {
		opacity: 1;
		transform: none;
		pointer-events: auto;
		inset: auto 0.4rem 0.4rem;
		padding: 0.55rem 0.6rem;
	}

	.live-proof {
		left: 0.7rem;
		right: 0.7rem;
		bottom: 0.85rem;
		max-width: none;
		border-radius: 1.1rem;
	}
}
