.csd-slider-wrap {
	--csd-transition: 500ms;
	position: relative;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 60px;
	box-sizing: border-box;
}

.csd-slider-stage {
	position: relative;
	width: 100%;
	height: 420px;
	perspective: 1400px;
	overflow: hidden;
}

.csd-slider-track {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
}

.csd-slide {
	position: absolute;
	top: 0;
	left: 50%;
	width: 60%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform var(--csd-transition) ease, opacity var(--csd-transition) ease, filter var(--csd-transition) ease;
	will-change: transform, opacity;
}

.csd-slide img,
.csd-slide video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
	display: block;
	background: #000;
}

/* posisi tengah (aktif) — lurus, tidak miring */
.csd-pos-0 {
	transform: translateX(-50%) translateZ(0) rotateY(0deg) scale(1);
	opacity: 1;
	z-index: 50;
	filter: brightness(1);
}

/* satu langkah kiri/kanan dari aktif — miring */
.csd-pos--1 {
	transform: translateX(-95%) translateZ(-150px) rotateY(35deg) scale(0.82);
	opacity: 0.85;
	z-index: 40;
	filter: brightness(0.75);
}
.csd-pos-1 {
	transform: translateX(-5%) translateZ(-150px) rotateY(-35deg) scale(0.82);
	opacity: 0.85;
	z-index: 40;
	filter: brightness(0.75);
}

/* dua langkah kiri/kanan — makin miring & kecil */
.csd-pos--2 {
	transform: translateX(-135%) translateZ(-320px) rotateY(45deg) scale(0.65);
	opacity: 0.5;
	z-index: 30;
	filter: brightness(0.55);
}
.csd-pos-2 {
	transform: translateX(35%) translateZ(-320px) rotateY(-45deg) scale(0.65);
	opacity: 0.5;
	z-index: 30;
	filter: brightness(0.55);
}

/* sisanya disembunyikan */
.csd-pos-hidden {
	transform: translateX(-50%) translateZ(-500px) scale(0.4);
	opacity: 0;
	z-index: 0;
	pointer-events: none;
}

/* tombol geser */
.csd-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 60;
	transition: background 0.2s ease;
}
.csd-nav:hover { background: rgba(0, 0, 0, 0.85); }
.csd-prev { left: 0; }
.csd-next { right: 0; }

@media (max-width: 782px) {
	.csd-slider-wrap { padding: 15px 45px; }
	.csd-slider-stage { height: 260px; }
	.csd-slide { width: 78%; }
	.csd-nav { width: 36px; height: 36px; }
}
