:root {
	--primary-color: #d1000f;
	--secondary-color: #f10011;
	--dark-bg: #121212;
	--card-bg: #1e1e1e;
	--text-light: #ffffff;
	--text-gray: #b0b0b0;
	--accent-color: #00e5ff;
}
.product_view{ width: 100%; padding: 120px 0 0 0;}

.rare_all{background-color: var(--dark-bg);}
/* main */
.rare_main {margin-top: 0px;width: 100%;padding: 150px 0;height: 200px;text-align: center;position: relative;overflow: hidden;background-position:center; background-repeat:no-repeat; background-size:cover; }
.rare_main h1 {font-size: 3.5rem;margin-bottom: 20px;color: #fff;}
.rare_main p {font-size: 1.8rem;max-width: 700px;margin: 0 auto 10px;color: var(--text-light);}
@media (max-width: 1002px) {
	.rare_main{ margin-top: 0}
}
.rare_main_btn {display: flex;justify-content: center;gap: 15px;margin-top: 30px;font-size:14px;}
.r_btn {padding: 10px 20px;border-radius:5px;text-decoration: none;font-weight: 600;transition: all 0.3s;}
.btn-primary {background-color: var(--primary-color);color: white;}
.btn-primary:hover {background-color: var(--secondary-color);transform: translateY(-2px);}
.btn-secondary {background-color: transparent;color: var(--text-light);border: 1px solid rgba(255, 255, 255, 0.3);}
.btn-secondary:hover {background-color: rgba(255, 255, 255, 0.1);transform: translateY(-2px);}


/* 模块内容展示 */
.rare_con {padding:60px 0; width: 100%;opacity: 0;transition: opacity 0.1s ease, transform 0.1s ease;transform: translateY(50px);}
.rare_con .wrap{ width: 1100px;}
@media screen and (max-width:1200px){
	.rare_con .wrap{width: 1000px;}
}
@media screen and (max-width:1002px){
	.rare_con .wrap{width:calc(100% - 40px); padding:0 20px; box-sizing:border-box;}
}
@media screen and (max-width:758px){
	.rare_con .wrap{ padding:0 10px !important;width:calc(100% - 10px)}
}
.rare_con.visible {opacity: 1;transform: translate(0) scale(1);}
.rare_con_title {text-align: center;margin-bottom: 40px;opacity: 0;transition: opacity 0.8s ease, transform 0.8s ease;transform: translateY(200px);}
.rare_con_title h2 {font-size: 2.5rem;margin-bottom: 20px; color: #fff; font-weight: 600;}
.rare_con_title p {color: var(--text-light);margin: 0 auto; font-size: 18px; max-width: 1100px; line-height: 2;}
.rare_con_title.visible {opacity: 1;transform: translate(0) scale(1);}
.rare_con_view{opacity: 0;transition: opacity 0.8s ease, transform 0.8s ease;transform: translateY(500px);}
.rare_con_view.visible {opacity: 1;transform: translate(0) scale(1);}

/* 展示方式1： 单一图文 */
.model_grid_1 {width: 100%; overflow: hidden; position: relative;}
.model_grid_1 .model_card {overflow: hidden;}
.model_grid_1 .model_image {overflow: hidden; text-align: center;}
.model_grid_1 .model_image img{ width: 100%; object-fit: cover;}
.model_grid_1 .model_content {padding: 20px; display: none;}
.model_grid_1 .model_content h3 {font-size: 1.5rem; color: #fff; text-align: center;}


/* 展示方式2：图标栅格 */
.model_grid_2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(calc(25% - 30px), 1fr));
	gap: 30px;
}
@media (max-width: 768px) {
	.model_grid_2{ grid-template-columns: repeat(auto-fit, minmax(calc(50% - 30px), 1fr));}
}
.model_grid_2 .model_card {
	background-color: var(--card-bg);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.model_grid_2 .model_card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.model_grid_2 .model_image {
	height: 200px;
	background-color: #0d1b2a;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.model_grid_2 .model_image img{ max-width: 100%;}
.model_grid_2 .model_content {padding: 20px;}
.model_grid_2 .model_content h3 {font-size: 1.4rem; color: #fff; text-align: center;}


/* 展示方式3：图片栅格 */
.model_grid_3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(calc(25% - 30px), 1fr));
	gap: 30px;
}
@media (max-width: 768px) {
	.model_grid_3{ grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));}
}
.model_grid_3 .model_card {
	background-color: var(--card-bg);
	border-radius: 0px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	position: relative;
}
.model_grid_3 .model_card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.model_grid_3 .model_image {
	height: 200px;
	background-color: #0d1b2a;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.model_grid_3.few-items .model_image {
	height: 300px;
}
.model_grid_3 .model_image img{ width: 100%; height: 100%; object-fit: cover;}
.model_grid_3 .model_content {position: absolute; left: 0; bottom: 0; width: 100%; line-height: 40px; background: rgba(0,0,0,0.5); }
.model_grid_3 .model_content h3 {font-size: 1rem; color: #fff; text-align: center; }


/* 展示方式4：图片轮播 */
.rare_carousel_con {position: relative;overflow: hidden; width: 100%; margin: 0 auto;}
.model_grid_4 {display: flex;transition: transform 0.5s ease-in-out; width: 100%;}
.model_grid_4 .model_card {position: relative;width: 100%;}
.model_grid_4 .model_image {width:100%;height:500px;overflow: hidden;position: relative;display: flex;align-items: center;justify-content: center;}
@media (max-width: 768px) {
	.model_grid_4 .model_image {height: 300px;}
}
.model_grid_4 .model_image img{width: 100%;height: 100%;object-fit: cover;display: block;transition: transform 0.4s ease;}
.model_grid_4 .model_content {position: absolute; left: 0; bottom: 0; right: 0;  line-height: 40px; background: rgba(0,0,0,0.5); }
.model_grid_4 .model_content h3 {font-size: 1rem; color: #fff; text-align: center; }
.rare_carousel_btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.6);
	color: white;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
}
.rare_carousel_btn:hover {background: rgba(0, 0, 0, 0.9);transform: translateY(-50%) scale(1.1);}
.prev-btn {left: 15px;}
.next-btn {right: 15px;}
.rare_indicators {display: flex;justify-content: center;margin-top: 15px;gap: 8px;}
.rare_indicator {width: 10px;height: 10px;border-radius: 50%;background: rgba(255, 255, 255, 0.4);cursor: pointer;transition: all 0.3s ease;}
.rare_indicator.active {background: white;transform: scale(1.2);}


/* 展示方式5：图片切换 */
.model_grid_5 {width: 100%; overflow: hidden;}
.model_grid_5 .model_card {display: inline-block;width: 100%;}
.model_grid_5 .model_image {overflow: hidden; width: 100%;}
.model_grid_5 .model_image img{ width: 100%;object-fit: cover;}
.model_grid_5 .model_content {padding: 20px;display: none;}
.model_grid_5 .model_content h3 {font-size: 1.5rem; color: #fff; text-align: center;}
.model_grid_5 .model_desc {color:#ccc; margin: 0 auto; font-size: 14px; max-width: 1100px; line-height: 2;}

.rare_tabs {overflow: hidden; width: 100%; text-align: center; margin-bottom: 20px;}
.rare_tab {padding: 15px 25px;cursor: pointer;font-size: 16px; display: inline-block;position: relative; color: #999;}
.rare_tab:hover {color: #fff;}
.rare_tab.active {color:#fff;}
.rare_tab.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #d1000f;
}
.rare_tab_content {display: none;width: 100%;text-align: center; overflow: hidden;}
.rare_tab_content.active {display: block;animation: fadeIn 0.5s ease;}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}


/* 展示方式6：图片对比 */
.model_grid_6 {width: 100%; display: flex;flex-wrap: wrap;justify-content: center;gap: 30px;}
.model_grid_6 .model_card {overflow: hidden;transition: transform 0.3s ease, box-shadow 0.3s ease;width: 100%;}
.model_grid_6 .model_image { width: 100%;}
.comparison-container {position: relative;width: 100%;height: 500px;overflow: hidden;}
@media (max-width: 768px) {
	.comparison-container {height: 200px;}
}
.image-container {position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;}
.image-before {
	z-index: 1;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
	font-weight: bold;
}
.image-after {
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
	font-weight: bold;
	clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.slider {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 100%;
	background-color: #d1000f;
	z-index: 3;
	cursor: col-resize;
}
.slider-handle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	background-color: #d1000f;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 4;
	animation: pulse 2s infinite;
}
.slider-handle::before {content: '↔';color: #fff;font-weight: bold;font-size: 24px; line-height: 50px;}
.tooltip {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 14px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}
.slider-handle:hover .tooltip {opacity: 1;}
@keyframes pulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 rgba(209, 0, 15, 0.4);
		box-shadow: 0 0 0 0 rgba(209, 0, 15, 0.4);
	}
	100% {
		-webkit-box-shadow: 0 0 0 30px transparent;
		box-shadow: 0 0 0 30px transparent;
	}
}

/* 视频容器样式 */
.rare_video_container {
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.rare_video_player {
	width: 100%;
	height: auto;
	display: block;
}