.nksb-slider {
	--nksb-ink: #fff8f6;
	--nksb-muted: rgba(255, 248, 246, 0.88);
	--nksb-shadow: 0 28px 64px rgba(48, 30, 59, 0.18);
	--nksb-border: rgba(255, 255, 255, 0.18);
	position: relative;
	overflow: hidden;
	border-radius: 32px;
	background: linear-gradient(135deg, #f8f0ff 0%, #f7f2fb 42%, #edf6ff 100%);
	box-shadow: var(--nksb-shadow);
	isolation: isolate;
}

.nksb-track {
	display: flex;
	will-change: transform;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.nksb-slide {
	position: relative;
	min-width: 100%;
	min-height: clamp(430px, 52vw, 620px);
}

.nksb-picture,
.nksb-image,
.nksb-overlay {
	position: absolute;
	inset: 0;
}

.nksb-picture {
	overflow: hidden;
	background: linear-gradient(135deg, #f5e7f6 0%, #ddd3f2 50%, #c6d6ff 100%);
}

.nksb-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nksb-overlay {
	background:
		linear-gradient(100deg, rgba(16, 9, 18, 0.22) 0%, rgba(16, 9, 18, 0.12) 32%, rgba(16, 9, 18, 0.06) 56%, rgba(16, 9, 18, 0.18) 100%),
		linear-gradient(180deg, rgba(11, 8, 18, 0.02) 0%, rgba(11, 8, 18, 0.14) 100%);
}

.nksb-slide-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.nksb-shell {
	position: relative;
	z-index: 2;
	display: grid;
	min-height: inherit;
	align-items: center;
	width: min(1200px, calc(100% - 110px));
	margin: 0 auto;
	padding: clamp(32px, 5vw, 52px) 0;
	pointer-events: none;
}

.nksb-copy {
	max-width: min(560px, 100%);
}

.nksb-kicker {
	display: inline-flex;
	align-items: center;
	margin: 0 0 16px;
	padding: 10px 16px;
	border: 1px solid var(--nksb-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px);
	color: var(--nksb-ink);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nksb-title {
	margin: 0;
	color: var(--nksb-ink);
	font-size: clamp(2.25rem, 5.1vw, 4.85rem);
	line-height: 0.94;
	letter-spacing: -0.055em;
	text-wrap: balance;
	text-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}

.nksb-text {
	max-width: 46ch;
	margin-top: 18px;
	color: var(--nksb-muted);
	font-size: clamp(1rem, 1.4vw, 1.08rem);
	line-height: 1.72;
	text-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
}

.nksb-text p:last-child {
	margin-bottom: 0;
}

.nksb-actions {
	margin-top: 22px;
	pointer-events: auto;
}

.nksb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 999px;
	background: linear-gradient(135deg, #f05a57, #ff8465);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 18px 30px rgba(224, 82, 69, 0.28);
}

.nksb-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	width: 54px;
	height: 126px;
	padding: 0;
	border: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	transform: translateY(-50%);
	transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.nksb-arrow:hover,
.nksb-arrow:focus-visible {
	filter: brightness(1.08);
}

.nksb-arrow--prev {
	left: 0;
	border-radius: 0 18px 18px 0;
}

.nksb-arrow--next {
	right: 0;
	border-radius: 18px 0 0 18px;
}

.nksb-arrow[hidden] {
	display: none;
}

.nksb-arrow__icon {
	display: inline-block;
	width: 22px;
	height: 22px;
	border-top: 6px solid #fff;
	border-right: 6px solid #fff;
}

.nksb-arrow--prev .nksb-arrow__icon {
	transform: rotate(-135deg);
	margin-left: 10px;
}

.nksb-arrow--next .nksb-arrow__icon {
	transform: rotate(45deg);
	margin-right: 10px;
}

.nksb-dots {
	position: absolute;
	left: 50%;
	bottom: 20px;
	z-index: 4;
	display: flex;
	gap: 10px;
	transform: translateX(-50%);
}

.nksb-dots[hidden] {
	display: none;
}

.nksb-dots button {
	width: 11px;
	height: 11px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.42);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.nksb-dots button.is-active {
	background: #fff;
	transform: scale(1.18);
}

@media (max-width: 1024px) {
	.nksb-slider {
		border-radius: 26px;
	}

	.nksb-shell {
		width: calc(100% - 88px);
	}

	.nksb-slide {
		min-height: 520px;
	}

	.nksb-title {
		max-width: 13ch;
	}
}

@media (max-width: 640px) {
	.nksb-slide {
		min-height: 540px;
	}

	.nksb-overlay {
		background: linear-gradient(180deg, rgba(15, 9, 18, 0.01) 0%, rgba(15, 9, 18, 0.08) 34%, rgba(15, 9, 18, 0.18) 100%);
	}

	.nksb-shell {
		width: calc(100% - 34px);
		align-items: end;
		padding: 22px 0 58px;
	}

	.nksb-title {
		max-width: 100%;
		font-size: clamp(1.9rem, 9.3vw, 3rem);
	}

	.nksb-text {
		max-width: 100%;
		font-size: 0.96rem;
		line-height: 1.6;
	}

	.nksb-arrow {
		width: 44px;
		height: 104px;
	}

	.nksb-arrow__icon {
		width: 18px;
		height: 18px;
		border-top-width: 5px;
		border-right-width: 5px;
	}
}

@media (orientation: portrait) and (max-width: 900px) {
	.nksb-slide {
		min-height: auto;
		aspect-ratio: 2 / 3;
	}

	.nksb-picture {
		background: transparent;
	}

	.nksb-image {
		object-fit: contain;
		object-position: center top;
	}

	.nksb-overlay {
		background: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nksb-track,
	.nksb-arrow,
	.nksb-dots button {
		transition: none;
	}
}
