.container {
	position: relative;
	width: 100%;
	height: 100vh;
	max-height: 900px;
	margin: 0 auto;
	overflow: hidden;
	touch-action: none;
}
.center-display {
	position: absolute;
	left: 50%;
	top: 55%;
	transform: translate(-50%, -50%);
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
	z-index: 10;
	width: 80%;
	max-width: 600px;
}
.center-display img {
	width: 100%;
	max-width: 550px;
	height: auto;
	aspect-ratio: 550 / 300;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.center-display .name {
	margin-top: 16px;
	font-size: clamp(1.4rem, 5vw, 2.2rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: #1a1a1a;
}
.center-display .type {
	margin-top: 6px;
	font-size: clamp(0.85rem, 2vw, 1.1rem);
	color: #6b6b6b;
	font-weight: 400;
}

.orbit {
	position: absolute;
	left: 50%;
	top: 50%;
	transform-style: preserve-3d;
	transform-origin: center center;
	width: 0;
	height: 0;
	pointer-events: none;
}
.orbit * {
	pointer-events: auto;
}

.project-item {
	position: absolute;
	left: 0;
	top: 0;
	transform-origin: center center;
	cursor: pointer;
	will-change: transform;
	touch-action: manipulation;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.project-item img {
	display: block;
	width: 60px;
	height: 40px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: #eaeef3;
}
.project-item:hover img {
	transform: scale(1.08);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.project-item.active img {
	transform: scale(1.15);
	box-shadow: 0 8px 28px rgba(74, 144, 217, 0.35);
	border: 2px solid #4a90d9;
}

.category-label {
	position: absolute;
	font-size: 13px;
	color: #2c3e50;
	font-weight: 500;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(4px);
	padding: 6px 16px;
	border-radius: 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.04);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	z-index: 6;
	pointer-events: auto;
	transform: translate(-50%, -50%);
}
.category-label:hover {
	background: rgba(255, 255, 255, 0.95);
	transform: translate(-50%, -50%) scale(1.05);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	color: #000;
}

/* ================================================================
电脑端：全椭圆
================================================================ */
@media (min-width: 1025px) {
	.orbit {
		left: 50%;
		top: 55%;
		transform: translate(-50%, -50%);
		width: 0;
		height: 0;
	}
	.center-display {
		top: 55%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.project-item img {
		width: 60px;
		height: 40px;
	}
	.category-label {
		display: block;
	}
}

/* ================================================================
手机/平板端：右半椭圆（竖着切一刀取右半）
占屏幕宽度45%，高度70%
================================================================ */
@media (max-width: 1024px) {
	.container {
		height: 100vh;
		max-height: inherit;
		border-radius: 28px;
		z-index: 100;
	}
	
	.center-display {
		top: 25%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 82%;
		max-width: 480px;
	}
	.center-display img {
		max-width: 100%;
		border-radius: 20px;
	}
	.center-display .name {
		font-size: clamp(1.2rem, 4.5vw, 1.8rem);
		margin-top: 12px;
	}
	.center-display .type {
		font-size: clamp(0.75rem, 1.8vw, 1rem);
	}

	.view{
		position: absolute;
		top: 44%;
		left: 20px;
		font-size: 18px;
		z-index: 999;
	}
	.view li {
		margin-right: 10px;
		display: inline;
	}
	
	.view a {
		border-bottom: 2px solid #333;
		z-index: 999;
		cursor: pointer;
	}
	
	/* ===== 右半椭圆：竖着切一刀，取右半 ===== */
	.orbit {
		position: absolute;
		left: -30px;
		top: 68%;
		transform: none !important;
		width: 0;
		height: 0;
		pointer-events: none;
	}
	.orbit * {
		pointer-events: auto;
	}
	
	.project-item img {
		width: 44px;
		height: 30px;
		border-radius: 8px;
	}
	.category-label {
		display: none;
	}
}

@media (max-width: 480px) {
	.orbit {
		top: 80%;
	}
	
	.view{
		position: absolute;
		top: 52%;
		left: 20px;
		font-size: 18px;
	}
	
	.view a {
		border-bottom: 2px solid #333;
		z-index: 999;
	}
	
	.container {
	height: 100vh;
		max-height: inherit;
		border-radius: 20px;
	}
	.center-display {
		top: 35%;
		width: 88%;
		max-width: 360px;
	}
	.project-item img {
		width: 38px;
		height: 26px;
		border-radius: 6px;
	}
}

@media (min-width: 1025px) {
	.orbit::before {
		display: none !important;
	}
}

.portList {
	margin: 0 auto;
	padding: 150px 0 60px;
	width: 80%;
}

.portList li {
	margin: 0 1% 30px;
	width: 31.33%;
	float: left;
}

.portList li img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	object-position: center center;
}

@media (max-width: 1024px) {
	.portList {
		width: 90%;
	}
	.portList li {
		margin: 0 1% 30px;
		width: 48%;
	}
	
	.portList li img {
		height: 200px;
	}

}

.portfolio {
	padding: 150px 0 100px;
	position: relative;
}

.portfolio .link {
	position: absolute;
	left: 10%;
	bottom: 100px;
	font-size: 30px;
}

.portfolio .link a {
	border-bottom: 2px solid #333;
}

.portfolio .link a:hover {
	border-bottom: none;
}

.portfolio .title {
	padding-top: 30px;
	width: 48%;
	float: left;
	font-size: 50px;
	font-family: montserrat;
	font-weight: bold;
}

.portfolio .title span {
	display: block;
}

.portfolio .photo {
	width: 48%;
	float: right;
}

.portfolio .photo img {
	width: 100%;
}

@media (max-width: 1024px) {
	.portfolio {
		padding: 80px 0;
	}
	
	.portfolio .link {
		margin-bottom: 20px;
		position: static;
		left: inherit;
		bottom: inherit;
	}
		
	.portfolio .title {
		padding: 30px 0 50px;
		width: 10%;
		float: none;
		font-size: 40px;
	}
	
	.portfolio .photo {
		width: auto;
		float: none;
	}
	
	.portfolio .photo img {
		width: 100%;
	}
	
}
