/* 初始屏幕样式 */
.experience {
	position: relative;
	width: 100%;
	height: 628px;
	overflow: hidden;
	background-color: #000;
	z-index: 100;
	margin: 0;
}

.background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.slide-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	/* 覆盖整个容器 */
	background-position: center;
	/* 图片居中 */
	object-fit: cover;
	transition: transform 0.5s ease;
}

.content-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
	z-index: 10;
	/* background: rgba(0, 0, 0, 0.4); */
}

.main-title {
	font-size: 123px;
	font-weight: 700;
	color: #FFC107;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
	font-size: 77px;
	font-weight: 400;
	margin: 10px 0 20px 0;
	color: white;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.explore-button-first {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 86px;
	border: 2px solid white;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

/* 确保轮播图容器在初始时被隐藏 */
#swiperContainer {
	display: none;
}

/* 修改 .top-right-icon 样式块为以下内容 */
.top-right-icon {
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 1000;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	transition: all 0.3s ease;
	/* 添加过渡效果 */
}

.top-right-icon .icon-menu-s {
	font-size: 48px;
	color: white;
	transition: color 0.3s ease;
	/* 添加颜色过渡效果 */
	pointer-events: auto;
	/* 为图标启用鼠标事件 */
}

/* 添加悬停效果 */
.top-right-icon:hover .icon-menu-s {
	color: yellow;
}

.top-right-icon .icon-menu-s {
	font-size: 48px;
	color: white;
	transition: color 0.3s ease;
	/* 添加颜色过渡效果 */
	pointer-events: auto;
	/* 为图标启用鼠标事件 */
}

/* 添加悬停效果 */
.top-right-icon:hover .icon-menu-s {
	color: yellow;
}

/* CTA按钮样式 */
.explore-button-first {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 86px;
	border: 2px solid white;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

/* 添加基础的伪元素用于滑动效果 */
.explore-button-first::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: white;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
}

/* 悬停状态 - 从左到右的白色背景滑动 */
.explore-button-first:hover {
	color: #333;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 悬停时触发背景滑动 */
.explore-button-first:hover::before {
	left: 0;
}

/* 图标动画 */
.explore-button-first:hover .icon-youshangjiantou {
	animation: arrowMove 0.6s ease-in-out infinite alternate;
}



.swiper-container {
	width: 100%;
	height: 628px;
	position: relative;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.swiper-container-v {
	background: #eee;
}

.custom-navigation {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	display: flex;
	gap: 20px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
	color: #333;
	padding: 12px;
	border-radius: 50%;
	cursor: pointer;
	user-select: none;
	transition: all 0.3s ease;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
	background: yellow;
	transform: scale(1.05);
	border: 0px solid #fff;
}

.swiper-button-prev-custom.swiper-button-disabled,
.swiper-button-next-custom.swiper-button-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: rgba(255, 255, 255, 0);
	pointer-events: none;
	/* 禁用鼠标事件 */
}

/* 禁用状态悬停无效果 */
.swiper-button-prev-custom.swiper-button-disabled:hover,
.swiper-button-next-custom.swiper-button-disabled:hover {
	background: rgba(255, 255, 255, 0);
	transform: none;
	border: 2px solid #fff;
}

.icon-xiangzuojiantou,
.icon-xiangyoujiantou {
	font-size: 56px;
	color: white;
}

.icon-xiangzuojiantou:hover,
.icon-xiangyoujiantou:hover {
	color: #333;
}

/* 主要内容容器 */
.slide-content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding-top: 100px;
	color: white;
}

/* 移除原有的 animate.css 类，改用自定义动画 */
/* 数字剪影效果 */
.number {
	font-size: 319px;
	height: 319px;
	font-weight: bold;
	margin-top: -104px;
	line-height: 1;
	margin-bottom: 20px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	transform: translateY(100px);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 使用伪元素显示内容 */
.number::before {
	content: attr(data-content);
}

/* 激活状态下的动画 */
.swiper-slide-active .number {
	opacity: 0.9;
	transform: translateY(0);
}


/* 标题样式 */
.title {
	font-size: 40px;
	line-height: 44px;
	word-spacing: 5px;
	;
	margin-bottom: 30px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* CTA按钮样式 */
.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 86px;
	border: 2px solid white;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

/* 添加基础的伪元素用于滑动效果 */
.cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: white;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
}

/* 悬停状态 - 从左到右的白色背景滑动 */
.cta-button:hover {
	color: #333;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 悬停时触发背景滑动 */
.cta-button:hover::before {
	left: 0;
}

/* 图标动画 */
.cta-button:hover .icon-youshangjiantou {
	animation: arrowMove 0.6s ease-in-out infinite alternate;
}

@keyframes arrowMove {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(5px);
	}
}

.icon-youshangjiantou {
	font-size: 36px;
}

.button-text {
	font-size: 20px;
	font-weight: 600;
}

/* 修改弹窗样式 */
.content-modal {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 3000;
	/* overflow: hidden; */
}

.modal-content {
	width: 100%;
	padding-top: 20px;
	height: 630px;
	/* overflow: hidden; */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	position: relative;
}

/* 关闭按钮样式 - 放在弹窗顶部右侧 */
.close-button-span {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 36px;
	color: white;
	cursor: pointer;
	z-index: 1001;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}

/* 修改弹窗头部样式 */
.modal-header {
	color: white;
	position: relative;
	display: flex;
	align-items: flex-start;
	padding-left: 30px;
}

/* 01数字样式 - 左侧独立列 */
.modal-number {
	font-size: 150px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	min-width: 120px;
	text-align: left;
	font-weight: 600;
	line-height: 1;
}

/* 标题和内容容器 - 右侧列 */
.modal-header-content {
	flex: 1;
	padding-left: 30px;
	padding-top: 20px;
	max-width: 800px;
	min-height: 80px;
}

.modal-title {
	font-size: 32px;
	font-weight: 500;
	text-align: left;
}

/* 弹窗主体样式 */
.modal-body {
	color: #333;
	display: flex;
	margin-top: 22px;
	overflow: auto;
}

/* 描述内容样式 - 左侧列 */
.modal-description {
	flex: 1;
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
	padding-right: 30px;
}

/* 图片网格容器 - 右侧列 */
.modal-gallery-container {
	flex: 1;
	padding: 0px 30px;
}

/* 保持5列但允许响应式换行 */
.modal-gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 15px;
	margin-top: 0;
	min-width: 800px;
	overflow: auto;
}

/* @media screen and (max-width: 1400px) {
    .modal-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1200px) {
    .modal-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .modal-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .modal-gallery {
        grid-template-columns: 1fr;
    }
} */

.gallery-item-1 {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.3s ease;
	aspect-ratio: 1/1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	perspective: 1000px;
	transform-style: preserve-3d;
	width: 336px;
	height: 368px;
}

/* 确保翻转动画正确工作 */
.gallery-item-1:hover .card-front {
	transform: rotateY(180deg);
}

.gallery-item-1:hover .card-back {
	transform: rotateY(0deg);
}

/* 创建卡片的正面和背面 */
.gallery-item-1 .card-front,
.gallery-item-1 .card-back {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.6s;
	transform-style: preserve-3d;
}

/* 正面卡片 - 显示 image1.png 内容 */
.gallery-item-1 .card-front {
	transform: rotateY(0deg);
	background-color: #fff;
}

.gallery-item-1 .card-front img {
	height: 100%;
	background-size: cover;
	/* 覆盖整个容器 */
	background-position: center;
	/* 图片居中 */
	object-fit: cover;
}


/* 背面卡片 - 显示 image.png 内容 */
.gallery-item-1 .card-back {
	transform: rotateY(-180deg);
	background-color: #f5f5f5;
	color: #333;
	text-align: left;
	/* display: flex; */
	flex-direction: column;
	/* justify-content: center; */
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-back .card-title {
	font-size: 22px;
	line-height: 22px;
	font-weight: 600;
	padding: 20px 20px;
	margin-bottom: 10px;
	margin-top: 30px;
	color: #333;
	border-bottom: 1px solid #FFC107;
}

.card-back .card-title:hover {
	background-color: #FFC107;
}

/* 修改内容区域样式 */
.card-back .card-content {
	font-size: 18px;
	line-height: 1.5;
	padding: 0 20px;
	color: #666;
	/* margin-bottom: 15px; */
	max-height: 80px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	position: relative;
	/* 为分隔线留出空间 */
}

/* 添加分隔线 */
.card-back .separator {
	width: 60px;
	height: 3px;
	background-color: #333;
	border-radius: 1px;
	z-index: 1;
	margin-top: 15px;
}




.card-back .share-button:hover {
	color: #FFC107;
	transform: scale(1.02);
}

/* 添加喜欢按钮样式 */
.card-back .like-button {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0px;
	background-color: transparent;
	color: #333;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s ease;
}

.card-back .like-button:hover {
	background-color: #f5f5f5;
	transform: scale(1.02);
}

/* 添加图标样式 */
.card-back .icon-zhuanfa {
	font-size: 20px;
	color: #333;
}

.card-back .icon-zhuanfa:hover {
	font-size: 20px;
	color: yellow;
}

.cardFront img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

/* .gallery-item-1:hover img {
    transform: scale(1.1);
} */

/* 修改 gallery-text 样式 */
.gallery-text {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.5);
	color: #333;
	padding: 20px 10px 10px 25px;
	/* text-align: center; */
	transition: opacity 0.3s ease;
	font-weight: 600;
	overflow: hidden;
	display: block;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	height: 80px;
	font-size: 16px;
	line-height: 1.3;
	border-top: 1px dashed #fff;
}

/* 添加横线样式 */
.gallery-text::after {
	content: '';
	position: absolute;
	bottom: 65px;
	left: 26px;
	/* right: 0; */
	height: 3px;
	background-color: #333;
	width: 60px;
	margin: 0 auto;
	border-radius: 1px;
}

.gallery-text .like-icon {
	position: absolute;
	bottom: 10px;
	left: 21px;
	font-size: 14px;
	color: #BEBFC3;
	display: flex;
	align-items: center;
	gap: 5px;
}

.icon-alixin-text {
	font-size: 16px;
}

.icon-alixin {
	font-size: 23px;
}


.cardFront:hover .gallery-text {
	opacity: 1;
}

/* 添加底部操作区域样式 */
.card-back .bottom-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	padding: 15px 0;
	border-top: 1px solid #eee;
}

/* 探索按钮样式 */
.card-back .explore-button {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #333;
	border: none;
	flex: 1;
	/* position: absolute; */
	bottom: 0;
	justify-content: center;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	margin-top: 3px;
	min-width: 120px;
}

/* .card-back .explore-button:hover {
    background-color: #FFC107;
    transform: scale(1.02);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} */

.card-back .explore-button .icon-youshangjiantou {
	font-size: 30px;
	color: #fff;
}

.card-back .explore-button .icon-youshangjiantou:hover {
	font-size: 30px;
	color: #333;
}

/* 心形图标样式 */
.card-back .heart-icon {
	font-size: 24px;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 40px;
	height: 40px;
	margin-top: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card-back .heart-icon:hover {
	transform: scale(1.1);
	color: #333;
}

/* 确保底部区域不被遮挡 */
.card-back .bottom-actions {
	position: absolute;
	width: 100%;
	z-index: 1;
	bottom: 0px;
	background: #FFC107;
	border-top: 1px dashed #fff;
}

.line {
	position: absolute;
	z-index: 1;
	bottom: 80px;
	height: 3px;
	background-color: #333;
	width: 60px;
	margin: 13px 0px 8px 0px;
	border-radius: 1px;
}

/* 修改后的CSS样式 */
.image-gallery {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 600px;
	background: rgba(0, 0, 0, 0.8);
	z-index: 2000;
}

.gallery-header {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: white;
	z-index: 1001;
}

.close-button {
	font-size: 36px;
	cursor: pointer;
	color: white;
	transition: transform 0.3s ease;
	padding: 5px 10px;
	border-radius: 50%;
}

.close-button:hover {
	transform: scale(1.1);
	color: yellow;
}

.gallery-content {
	width: 100%;
	background: white;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	height: 630px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(2, 1fr);
	height: 100%;
}

/* 修改后的样式 */
.gallery-item {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s ease;
	aspect-ratio: 1/1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 1;
	/* 设置基础层级 */
}

.gallery-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	backdrop-filter: blur(16px);
	z-index: 1;
	transition: backdrop-filter 0.3s ease;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
	/* 图片层级高于背景模糊 */
}

.gallery-item:hover::before {
	backdrop-filter: blur(0);
}

.gallery-item:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* 更深的蒙层 */
/* .gallery-item::after {
    background: rgba(0, 0, 0, 0.5);
} */

/* 数字样式 */
.item-number {
	font-size: 150px;
	line-height: 150px;
	position: absolute;
	top: 30px;
	left: 21%;
	color: white;
	padding: 8px 12px;
	border-radius: 4px;
	font-weight: bold;
	text-align: center;
	transition: all 0.3s ease;
	z-index: 2;
}

/* 文字样式 */
.gallery-item .item-text {
	position: absolute;
	top: 190px;
	left: 0;
	right: 0;
	color: white;
	padding: 10px;
	text-align: center;
	font-size: 29px;
	transition: opacity 0.3s ease;
	z-index: 2;
}

@media screen and (max-width: 1700px) {
	.item-number {
		font-size: 178px;
	}

	.gallery-item .item-text {
		bottom: 80px;
		font-size: 24px;
	}

	.gallery-item .item-text-10 {
		bottom: 80px;
		font-size: 24px;
	}
}

@media screen and (max-width: 1600px) {
	.item-number {
		font-size: 158px;
	}

	.gallery-item .item-text {
		bottom: 40px;
		font-size: 22px;
	}

	.gallery-item .item-text-10 {
		bottom: 0px;
		font-size: 22px;
	}
}

@media screen and (max-width: 1500px) {
	.item-number {
		font-size: 128px;
	}

	.gallery-item .item-text {
		bottom: 20px;
		font-size: 17px;
	}

	.gallery-item .item-text-10 {
		bottom: 20px;
		font-size: 17px;
	}
}

/* 悬停时文字显示 */
.gallery-item:hover .item-text {
	opacity: 1;
}