.carousel-container {
	position: relative;
	width: 100%;
	max-width: 1600px;
	height: 600px;
	/* 轮播图高度 */
	overflow: hidden;
	/* 隐藏超出部分 */
	margin: 0 auto;
}

/* 轨道：Flex布局，用于横向排列卡片 */
.carousel-track {
	display: flex;
	height: 100%;
	align-items: center;
	will-change: transform;
	
	/* 性能优化 */
}

/* 单个卡片样式 */
.slide-my {
	background-size: cover;
	min-width: 60%;
	/* 默认显示宽度，配合JS居中 */
	height: 500px;
	margin: 0 10px;
	/* 卡片间距 */
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	position: relative;
	transition: all 0.5s ease-in-out;
	/* 平滑过渡动画 */
	opacity: 0.5;
	/* 默认半透明 */
	transform: scale(0.85);
	/* 默认缩小 */
	filter: grayscale(80%);
	/* 默认灰度 */
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
	flex-shrink: 0;
	/* 防止被压缩 */
    cursor: pointer; /* 鼠标悬停显示“可点击”状态 */
}

/* 激活状态（中间那张） */
.slide-my.active {
	opacity: 1;
	transform: scale(1);
	/* 放大到原尺寸 */
	filter: grayscale(0%);
	/* 恢复色彩 */
	z-index: 2;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 卡片内容遮罩与文字 */
.slide-my-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
    width: 96%;
    padding: 30px 2%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	color: white;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.slide-my-title {
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.slide-my-desc {
	font-size: 14px;
	opacity: 0.9;
}

/* 左右箭头按钮 */
.nav-btn {
	position: absolute;
	top: 60%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: white;
	border: none;
	cursor: pointer;
	z-index: 10;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	font-size: 20px;
	color: #333;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-btn:hover {
	background: #333;
	color: white;
}

.prev-btn {
	left: 20px;
}

.next-btn {
	right: 20px;
}

/* 移动端适配 */
@media (max-width: 768px) {
	.slide-my {
		min-width: 80%;
		height: 300px;
	}

	.nav-btn {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}