/* 3D Plugin Front-end Coverflow Styles */

.three-d-slider-container {
	position: relative;
	width: 100%;
	max-width: 1350px;
	margin: 0 auto;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	user-select: none;
	-webkit-user-select: none;
}

.three-d-slider-viewport {
	position: relative;
	width: 100%;
	height: calc(var(--card-height, 480px) + 50px);
	perspective: var(--perspective, 1000px);
	perspective-origin: 50% 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.three-d-slider-deck {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-style: preserve-3d;
}

.three-d-slide-card {
	position: absolute;
	width: var(--card-width, 320px);
	height: var(--card-height, 480px);
	border-radius: var(--card-radius, 16px);
	transform-style: preserve-3d;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
	cursor: pointer;
	will-change: transform, opacity;
}

.three-d-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: var(--card-radius, 16px);
	overflow: hidden;
	/* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), 0 5px 15px rgba(0, 0, 0, 0.1); */
	background: #1e293b;
}

.three-d-card-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	transition: transform 0.6s ease;
}

/* Card Text Overlay */
.three-d-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 15, 26, 0.95) 0%, rgba(10, 15, 26, 0.6) 45%, rgba(10, 15, 26, 0) 80%);
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #ffffff;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.three-d-card-content {
	transform: translateY(10px);
	transition: transform 0.5s ease;
}

.three-d-slide-card.is-active .three-d-card-overlay {
	opacity: 1;
}

.three-d-slide-card.is-active .three-d-card-content {
	transform: translateY(0);
}

.three-d-card-subtitle {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 6px;
}

h3.three-d-card-title {
	font-size: 30px;
	letter-spacing: 1px;
}

.three-d-card-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 10px 0;
	color: #ffffff;
	letter-spacing: -0.3px;
}

.three-d-card-divider {
	width: 32px;
	height: 2px;
	background: #ffffff;
	margin-bottom: 12px;
	border-radius: 2px;
}

.three-d-card-desc {
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.three-d-card-link {
	position: absolute;
	inset: 0;
	z-index: 10;
}

/* Position Transforms calculated via JS for smooth dynamics */
.three-d-slide-card.is-active {
	z-index: 100;
}

/* Circular Navigation Buttons */
.three-d-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95) !important;
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: #0f172a;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 200;
	transition: all 0.25s ease;
	outline: none;
}

.three-d-nav-btn:hover {
	background: #202020 !important;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.three-d-nav-btn:active {
	transform: translateY(-50%) scale(0.95);
}

.three-d-nav-prev {
	left: 20px;
}

.three-d-nav-next {
	right: 20px;
}

/* Dots Pagination */
.three-d-dots-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	align-items: center;
	margin-top: 24px;
}

.three-d-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
	outline: none;
}

.three-d-dot:hover {
	background: #94a3b8;
}

.three-d-dot.is-active {
	width: 28px;
	border-radius: 14px;
	background: #1e293b;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.three-d-slider-container {
		--card-width: 260px !important;
		--card-height: 390px !important;
	}

	.three-d-slider-viewport {
		height: calc(var(--card-height, 390px) + 30px);
	}

	.three-d-nav-prev {
		left: 8px;
	}

	.three-d-nav-next {
		right: 8px;
	}

	.three-d-card-title {
		font-size: 18px;
	}
}