/* Main colors */
:root {
	--main-dark: #0D1D2D;
	--main-middle: #52b4ED;
	--main-white: #EEEFF2;
}

a {
	color: inherit;
	text-decoration: none;
}

body {
	margin: 0;
	overflow: hidden;
}

#wholeContent {
	height: 100vh;
	width: 100vw;
	position: absolute;
	overflow: hidden;
	overflow-y: scroll;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

#wholeContent::-webkit-scrollbar {
	display: none;
}
  

.background {
	font-family: "font-family: 'Georgia', serif", serif;
	background-color: var(--main-dark);
}

#nav {
	position: fixed;
	width: 100%;
	height: 8vh;
	background-color: rgba(13, 29, 45, 0.7);
	-webkit-backdrop-filter: blur(25px);
	backdrop-filter: blur(25px);
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	overflow: hidden;

	display: flex;
	align-items: center;
	flex-flow: row;

	animation-name: fadeIn;
    animation-duration: 2s;
	animation-timing-function: ease;
}

#headName {
	color: var(--main-white);
	margin-left: 2vw;
	font-size: 4vh;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 2px;
	white-space: nowrap;
}

#itemBox {
	position: absolute;
	width: 40%;
	height: 100%;
	right: 8%;
	top: 0;
	display: flex;
	display: -webkit-flex;
	/* Safari */
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}

#extentButton {
    display: none;
}

#extentBoxBackground {
	display: none;
}

.navItems {
	color: var(--main-white);
	font-size: 2vh;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 1px;
}

#homeArea {
	position: relative;
	left: 8%;
	top: 8vh;
	height: 92vh;
	width: 92%;
	display: flex;
    align-items: center;
    justify-content: flex-start;
}

#homeDescription{
	height: 60%;
    width: 60%;
	z-index: 5;
	display: flex;
    justify-content: center;
	flex-direction: column;
}


.white {
	color: var(--main-white);
}

.blue {
	color: var(--main-middle);
}

#greetingText {
	position: relative;
	font-size: 5.7vw;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 4px;

	animation-name: fadeIn, slideInFromBottom;
    animation-duration: 2s, 1s;
	animation-timing-function: ease, ease;
}

#personalDescriptionText {
	position: relative;
	font-size: 4.2vw;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 3px;
}

#personalDescription {
	position: relative;
	font-size: 4.2vw;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 3px;
}

#nameSeparation {
	display: none;
}

#homeFullDescription {
	position: relative;
	font-size: 2vw;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 2px;
	top: 2vh;

	animation-name: fadeIn, slideInFromBottom;
    animation-duration: 2.5s, 1.5s;
	animation-timing-function: ease, ease;
}

#selfPictureArea {
	width: 40%;
	height: 60vh;
	display: flex;
    justify-content: center;
	flex-direction: column;
	position: relative;
	right: 3vw;
}

#mePic{
	position: absolute;
	width: 24vw;
	left: -12vw;
	top: 3.4vw;
	z-index: 3;

	animation-name: scaleUp;
    animation-duration: 1.5s;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 18vw solid transparent;
    border-right: 18vw solid transparent;
    border-bottom: 30vw solid var(--main-middle);
    position: relative;
	filter: drop-shadow(0 0 8px var(--main-middle)) drop-shadow(0 0 16px var(--main-middle)) drop-shadow(0 0 24px var(--main-middle));
	z-index: 2;
	opacity: 1;

	animation-name: fadeIn, scaleDown;
    animation-duration: 1.5s, 1s;
	animation-timing-function: ease, ease;
  }
  .triangle::after {
    content: '';
    position: relative;
    top: 2.5vw;
    left: -13.8vw;
    width: 0;
    height: 0;
    border-left: 13.8vw solid transparent;
    border-right: 13.8vw solid transparent;
    border-bottom: 24vw solid var(--main-dark);
	z-index: 1;
  }

#homeButtonArea {
	height: 7vh;
	width: 80%;
	left: 0;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 15%;

	animation-name: fadeIn, slideInFromBottom;
    animation-duration: 3s, 2s;
	animation-timing-function: ease, ease;
}

.homeButton {
	width: 35%;
	border-radius: 20px;
	background-color: var(--main-dark);
	border-color: var(--main-middle);

    font-family: 'Nunito', sans-serif;
	letter-spacing: 2px;
	font-weight: 600;
    color: var(--main-white);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5vw;
    cursor: pointer;
    transition: background-color 0.5s ease, transform 0.5s ease;
}

@media (max-aspect-ratio: 1/1) {
	.homeButton {
		width: 35%;
		border-radius: 20px;
		background-color: var(--main-dark);
		border-color: var(--main-middle);

		font-family: 'Nunito', sans-serif;
		letter-spacing: 2px;
		font-weight: 600;
		color: var(--main-white);
		text-align: center;
		text-decoration: none;
		display: inline-block;
		font-size: 4.5vw;
		cursor: pointer;
		transition: background-color 0.5s ease, transform 0.5s ease;
	}
}

.homeButton:hover {
    background-color: var(--main-middle);
	color: var(--main-white);
    transform: scale(1.1);
}

#educationArea {
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 98vh;
	overflow: hidden;
}

#educationBox {
	width: 50%;
	height: 50%;
	top: 13%;
	--progress: 0;
	left: calc(6% - 50% * (1 - var(--progress)));
	position: absolute;

	background: rgba( 82, 180, 237, 0.25 );
	box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
	backdrop-filter: blur( 15px );
	-webkit-backdrop-filter: blur( 15px );
	border-radius: 10px;
	border: 1px solid rgba( 255, 255, 255, 0.18 );

	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	flex-wrap: wrap;
	align-items: center;
}

.graduateText1 {
	font-family: 'Nunito', sans-serif;
	font-size: 2vw;
	letter-spacing: 2px;
	font-weight: 600;
    color: var(--main-white);
}

.graduateText2 {
	font-family: 'Nunito', sans-serif;
	font-size: 5vw;
	letter-spacing: 2px;
	font-weight: 800;
    color: #F7D164;;
}

#majorBox {
	width: 50%;
	height: 50%;
	top: 45%;
	--progress: 0;
	right: calc(6% - 50% * (1 - var(--progress)));
	position: absolute;

	background: rgba( 82, 180, 237, 0.4 );
	box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
	backdrop-filter: blur( 15px );
	-webkit-backdrop-filter: blur( 15px );
	border-radius: 20px;
	border: 1px solid rgba( 255, 255, 255, 0.18 );

	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	flex-wrap: wrap;
	align-items: center;
}

#educationText {
	color: var(--main-white);
	font-size: 11vw;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 5.5vw;
	left: 3vw;
	position: absolute;
	top: 45%;
}

.uciLogo {
	width: 85%;
	height: auto;
	position: relative;
}

.breakGap {
	display: inline;
}

.mobileOnly {
	display: none;
}

#csMajor {
	font-size: 3.2vw;
}

#projectsArea{
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 200vh;
	overflow: hidden;
	background-color: var(--main-dark);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

#projectBox{
	width: 90%;
	height: 60%;
	position: relative;
	top: 10%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	--progress: 0;
	opacity: calc((var(--progress)));
}

#projectsText{
	position: relative;
	font-size: 5vw;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 3px;
	color: var(--main-white);
	top: 15%;
	--progress: 0;
	scale: var(--progress)
}

.projectCard{
	width: 28%;
	height: 45%;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	overflow: hidden;
}

.projectCard:hover{
	transform: scale(1.1);
	transition-duration: 0.2s;
}

.projectImg{
	width: 100%;
	height: 100%;
	border-radius: 10px 10px 10px 10px;
	overflow: hidden;
}

.projectTitle{
	margin: 20px;
	font-size: 2vw;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 1px;
	color: var(--main-white);
}

/* Work section */
#workText {
	text-align: center;
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	--progress: 0;
	scale: var(--progress);
	font-size: 5vw;
	letter-spacing: 3px;
	color: var(--main-white);
}

#workTimeline {
	position: relative;
	width: 92%;
	margin: 0 auto;
}

#workTimeline:before {
	content: "";
	position: absolute;
	left: 20%;
	transform: translateX(-1px);
	top: 0;
	bottom: 0;
	width: 2px;
	background: rgba(255,255,255,0.18);
}
#workTimeline::after {
  	content: "";
  	position: absolute;
  	left: 20%;
  	transform: translateX(-1px);
  	top: 0;
  	width: 2px;
	--lineProgress: 0;
  	height: var(--lineProgress, 0%);
  	background: #52b4ED;
  	box-shadow: 0 0 0 1px rgba(82,180,237,0.35);
  	pointer-events: none;
}

.workItem {
	position: relative;
	margin: 0 0 70px 0;
	width: 100%;
}

.workItemButtom {
	position: relative;
	margin: 0 0 0 0;
	width: 100%;
}

.workDot {
	position: absolute;
	left: calc(20% - 8px);
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #52b4ED;
	box-shadow: 0 0 0 4px rgba(82,180,237,0.25);
}

.workContent {
	margin-left: calc(22% + 22px);
	color: #e5e7eb;
	font-family: 'Nunito', sans-serif;
	transition: opacity .35s ease, transform .35s ease;
	will-change: opacity, transform;
	position: relative;
	width: 55%;
}

/* 当前工作的卡片式高亮（半透明底 + 发光阴影） */
.workItem.current .workContent::before{
	content: "";
	position: absolute;
	left: -16px;
	right: -16px;
	top: -8px;
	bottom: -8px;
	background: rgba(82,180,237,0.08);                   /* 蓝色淡背景 */
	border: 1px solid rgba(82,180,237,0.25);             /* 细边框 */
	box-shadow: 0 8px 24px rgba(82,180,237,0.25),        /* 外发光 */
	inset 0 0 24px rgba(82,180,237,0.12);    /* 内发光 */
	border-radius: 12px;
	z-index: -1;                                         /* 在文字后面 */
}

/* 当前项的时间线圆点更显眼（换金色 + 更大柔光） */
.workItem.current .workDot{
	background: #F7D164;
	box-shadow: 0 0 0 5px rgba(247,209,100,0.28);
}

/* 标题后加一个 CURRENT 徽标（可按需删掉） */
.workItem.current .workTitle::after{
	content: "CURRENT";
	margin-left: 8px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: .6px;
	padding: 2px 8px;
	border-radius: 9999px;
	background: #52b4ED;
	color: #0D1D2D;
	vertical-align: middle;
}

.workTitle {
	display: block;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 2px;
	font-size: 1.5rem;
}

.workTime {
	display: block;
	font-size: 1.2rem;
	color: #9CA3AF;
	margin-bottom: 12px;
}

.workDesc {
	margin: 0;
	line-height: 1.6;
	font-size: 1.3rem;
}

#workArea{
	width: 100vw;
	min-height: 100vh;
	position: absolute;
	top: 300vh;
	overflow: visible;
	background-color: var(--main-dark);
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	gap: 24px;
	scroll-margin-top: 12vh;
}

.courseTitle{
	font-size: 2vw;
	font-weight: 800;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 1px;
	color: var(--main-white);
}

.courseDescription{
	font-size: 1.5vw;
	font-weight: 600;
	font-family: 'Nunito', sans-serif;
	letter-spacing: 1px;
	color: #AAAAAA;
}

#contactArea{
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 500vh;
	overflow: hidden;
	background-color: var(--main-dark);
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

#contactBox{
	width: 80%;
	height: 6vw;
	position: relative;
	left: 10%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
}

.contactItem{
	width: 6vw;
	height: 6vw;
	display: flex;
}

.contactItem:hover{
	transform: scale(1.1);
	transition-duration: 0.2s;
}

#homeLink{
	color: var(--main-middle);
}
#educationLink{
	color: var(--main-white);
}
#projectsLink{
	color: var(--main-white);
}
#skillsLink{
	color: var(--main-white);
}
#contactLink{
	color: var(--main-white);
}


@media (max-aspect-ratio: 1/1) {
	#homeLinkMobile{
		color: var(--main-middle);
	}
	#educationLinkMobile{
		color: var(--main-white);
	}
	#projectsLinkMobile{
		color: var(--main-white);
	}
	#skillsLinkMobile{
		color: var(--main-white);
	}
	#contactLinkMobile{
		color: var(--main-white);
	}
	#headName {
		color: var(--main-white);
		margin-left: 4vw;
		font-size: 3vh;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 2px;
	}

    #extentButton {
        display: block;
		height: 5vh;
		width: 5vh;
		top: 1.3vh;
		position: fixed;
		right: 4vw;
    }

	#extentButtonPic1 {
		width: 100%;
		height: 100%;
		position: absolute;
		opacity: 1;
		z-index: 3;
	}

	#extentButtonPic2 {
		width: 60%;
		height: 60%;
		left: 20%;
		top: 20%;
		position: absolute;
		opacity: 0;
		z-index: 2;
	}

	#extentBoxBackground {
		width: 100vw;
		height: 100vh;
		position: fixed;
		overflow: hidden;
		top: 0;
		z-index: 8;
		background: rgba(15, 15, 15, 0.70);
		backdrop-filter: blur(40px);
		-webkit-backdrop-filter: blur(40px);
		display: none;
		flex-direction: column;
		justify-content: space-evenly;
		align-items: center;
		color: var(--main-white);
		font-size: 3vh;
	}

	.navItems {
        display: none;
    }

	#homeArea {
		position: relative;
		left: 5%;
		top: 8vh;
		height: 80vh;
		width: 90%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-evenly;
	}

	#navItemsMobile {
		position: relative;
	}

	#homeDescription{
		height: 60%;
		width: 92%;
		z-index: 5;
		order: 2;
		display: flex;
		justify-content: center;
		flex-direction: column;
	}

	#greetingText {
		position: relative;
		font-size: 10vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 4px;

		animation-name: fadeIn, slideInFromRight;
		animation-duration: 2s, 1s;
		animation-timing-function: ease, ease;
	}

	#personalDescriptionText {
		position: relative;
		font-size: 6.5vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 3px;
	}

	#personalDescription {
		position: relative;
		font-size: 7vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 3px;
	}

	#nameSeparation {
		display: block;
	}

	#homeFullDescription {
		position: relative;
		font-size: 4vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 2px;
		top: 2vh;

		animation-name: fadeIn, slideInFromRight;
		animation-duration: 2.5s, 1.5s;
		animation-timing-function: ease, ease;
	}

	#selfPictureArea {
		width: 80%;
		height: 40vh;
		display: flex;
		justify-content: center;
		flex-direction: column;
		position: relative;
		left: 10%;
		order: 1;
	}
	#mePic{
		position: absolute;
		width: 48vw;
		left: -24vw;
		top: 7vw;
		z-index: 3;

		animation-name: scaleUp;
		animation-duration: 1.5s;
	}

	.triangle {
		width: 0;
		height: 0;
		border-left: 36vw solid transparent;
		border-right: 36vw solid transparent;
		border-bottom: 60vw solid var(--main-middle);
		position: relative;
		right: 12%;
		filter: drop-shadow(0 0 8px var(--main-middle)) drop-shadow(0 0 16px var(--main-middle)) drop-shadow(0 0 24px var(--main-middle));
		z-index: 2;
		opacity: 1;


	animation-name: fadeIn, scaleDown;
    animation-duration: 1.5s, 1s;
	animation-timing-function: ease, ease;
	  }
	  .triangle::after {
		content: '';
		position: absolute;
		top: 8vw;
		left: -27.6vw;
		width: 0;
		height: 0;
		border-left: 27.6vw solid transparent;
		border-right: 27.6vw solid transparent;
		border-bottom: 48vw solid var(--main-dark);
		z-index: 1;
	  }

	  #homeButtonArea {
		display: none;
	  }

	#educationArea {
		width: 100vw;
		height: 100vh;
		position: absolute;
		top: 110vh;
		overflow: hidden;
	}

	#educationBox {
		width: 65%;
		height: 40%;
		top: 5%;
		--progress: 0;
		left: calc(6% - 50% * (1 - var(--progress)));
		position: absolute;

		background: rgba( 82, 180, 237, 0.25 );
		box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
		backdrop-filter: blur( 15px );
		-webkit-backdrop-filter: blur( 15px );
		border-radius: 10px;
		border: 1px solid rgba( 255, 255, 255, 0.18 );

		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		flex-wrap: wrap;
		align-items: center;
	}

	.graduateText1 {
		font-family: 'Nunito', sans-serif;
		font-size: 5vw;
		letter-spacing: 2px;
		font-weight: 600;
		color: var(--main-white);
	}

	.graduateText2 {
		font-family: 'Nunito', sans-serif;
		font-size: 8vw;
		letter-spacing: 2px;
		font-weight: 800;
		color: #F7D164;;
	}

	.breakGap {
		display: none;
	}

	.mobileOnly {
		display: block;
	}

	#majorBox {
		width: 65%;
		height: 40%;
		top: 42%;
		--progress: 0;
		right: calc(6% - 50% * (1 - var(--progress)));
		position: absolute;

		background: rgba( 82, 180, 237, 0.4 );
		box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
		backdrop-filter: blur( 15px );
		-webkit-backdrop-filter: blur( 15px );
		border-radius: 10px;
		border: 1px solid rgba( 255, 255, 255, 0.18 );

		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		flex-wrap: wrap;
		align-items: center;
	}

	#educationText {
		color: var(--main-white)var(--main-white);
		font-size: 11vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 5.5vw;
		left: 3vw;
		position: absolute;
		top: 45%;
	}

	.uciLogo {
		width: 85%;
		height: auto;
		position: relative;
	}

	#csMajor {
		font-size: 4.5vw;
	}

	#projectsText{
		position: relative;
		font-size: 10vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 3px;
		color: var(--main-white);
		top: 16%;
		--progress: 0;
		scale: var(--progress)
	}

	.projectCard{
		width: 40%;
		height: 33%;
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
		align-items: center;
		overflow: hidden;
	}

	.projectCard:hover{
		transform: scale(1.1);
		transition-duration: 0.2s;
	}

	.projectTitle{
		margin: 20px;
		font-size: 3vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 1px;
		color: var(--main-white);
	}

	#courseArea{
		width: 100vw;
		height: 100vh;
		position: absolute;
		top: 300vh;
		overflow: hidden;
		background-color: var(--main-dark);
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}

	#courseText{
		position: relative;
		font-size: 8vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 3px;
		color: var(--main-white);
		top: 18%;
		margin-left: 5vw;
		margin-right: 5vw;
		--progress: 0;
		scale: var(--progress)
	}

	#courseBox{
		width: 90%;
		height: 60%;
		position: relative;
		top: 10%;
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}

	.courseTitle{
		font-size: 3vw;
		font-weight: 800;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 1px;
		color: var(--main-white);
	}

	.courseDescription{
		font-size: 2.3vw;
		font-weight: 600;
		font-family: 'Nunito', sans-serif;
		letter-spacing: 1px;
		color: #AAAAAA;
	}

	#contactBox{
		width: 80%;
		height: 70%;
		position: relative;
		left: 10%;
		top: 6%;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 30%;
		justify-content: space-evenly;
		align-items: center;
	}

	.contactItem{
		width: 15vw;
		height: 15vw;
		display: flex;
	}

	/* Work section */
	#workText {
		text-align: center;
		font-family: 'Nunito', sans-serif;
		font-weight: 800;
		--progress: 0;
		scale: var(--progress);
		font-size: 10vw;
		letter-spacing: 3px;
		color: var(--main-white);
	}

	#workTimeline {
		position: relative;
		width: 92%;
		margin: 0 auto;
	}

	#workTimeline:before {
		content: "";
		position: absolute;
		transform: translateX(-1px);
		top: 0;
		bottom: 0;
		width: 2px;
		background: rgba(255,255,255,0.18);
		left: 10px;
	}
	#workTimeline::after {
		content: "";
		position: absolute;
		transform: translateX(-1px);
		top: 0;
		width: 2px;
		--lineProgress: 0;
		height: var(--lineProgress, 0%);
		background: #52b4ED;
		box-shadow: 0 0 0 1px rgba(82,180,237,0.35);
		pointer-events: none;
		left: 10px;
	}

	.workItem {
		position: relative;
		margin: 0 0 70px 0;
		width: 100%;
	}

	.workItemButtom {
		position: relative;
		margin: 0 0 0 0;
		width: 100%;
	}

	.workDot {
		position: absolute;
		left: calc(10px - 10px);
		top: 6px;
		width: 20px;
		height: 20px;
		border-radius: 50%;
		background: #52b4ED;
		box-shadow: 0 0 0 4px rgba(82,180,237,0.25);
	}

	.workContent {
		margin-left: 60px;
		color: #e5e7eb;
		font-family: 'Nunito', sans-serif;
		transition: opacity .35s ease, transform .35s ease;
		will-change: opacity, transform;
		position: relative;
		width: 80%;
	}

	/* 当前工作的卡片式高亮（半透明底 + 发光阴影） */
	.workItem.current .workContent::before{
		content: "";
		position: absolute;
		left: -16px;
		right: -16px;
		top: -8px;
		bottom: -8px;
		background: rgba(82,180,237,0.08);                   /* 蓝色淡背景 */
		border: 1px solid rgba(82,180,237,0.25);             /* 细边框 */
		box-shadow: 0 8px 24px rgba(82,180,237,0.25),        /* 外发光 */
		inset 0 0 24px rgba(82,180,237,0.12);    /* 内发光 */
		border-radius: 12px;
		z-index: -1;                                         /* 在文字后面 */
	}

	/* 当前项的时间线圆点更显眼（换金色 + 更大柔光） */
	.workItem.current .workDot{
		background: #F7D164;
		box-shadow: 0 0 0 5px rgba(247,209,100,0.28);
	}

	/* 标题后加一个 CURRENT 徽标（可按需删掉） */
	.workItem.current .workTitle::after{
		content: "CURRENT";
		margin-left: 8px;
		font-size: 0.75rem;
		font-weight: 800;
		letter-spacing: .6px;
		padding: 2px 8px;
		border-radius: 9999px;
		background: #52b4ED;
		color: #0D1D2D;
		vertical-align: middle;
	}

	.workTitle {
		display: block;
		font-weight: 800;
		color: #ffffff;
		font-size: 1.5rem;
		margin-bottom: 2px;
	}

	.workTime {
		display: block;
		font-size: 1.2rem;
		color: #9CA3AF;
		margin-bottom: 12px;
	}

	.workDesc {
		margin: 0;
		line-height: 1.6;
		font-size: 1.3rem;
	}

	#workArea{
		width: 100vw;
		min-height: 100vh;
		position: absolute;
		top: 300vh;
		overflow: visible;
		background-color: var(--main-dark);
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: space-evenly;
		align-items: center;
		gap: 24px;
		scroll-margin-top: 12vh;
	}
}


/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////// Animation ///////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideInFromBottom {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideOutToRight {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

@keyframes scaleUp {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes scaleDown {
    from { transform: scale(2); }
    to { transform: scale(1); }
}

/* Simple modal overlay */
#resumeModalOverlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; }
#resumeModalContainer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #111827; color: #fff; width: min(92vw, 520px); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
#resumeModalHeader { padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.08); font-weight: 800; font-family: 'Nunito', sans-serif; letter-spacing: .3px; }
#resumeModalBody { padding: 18px 22px; line-height: 1.5; font-family: 'Nunito', sans-serif; }
#resumeModalActions { display: flex; gap: 12px; padding: 0 22px 22px; }
#resumeModalActions a, #resumeModalActions button { flex: 1 1 0; }
#resumeModalClose { position: absolute; right: 12px; top: 10px; background: transparent; border: none; font-size: 24px; color: #9CA3AF; cursor: pointer; }
#resumeModalClose:hover { color: #ffffff; }


/* === 卡片区域：固定 16:9，缩略图裁切填满 === */
.projectImg {
	aspect-ratio: 16 / 9;
	width: 100%;
	overflow: hidden;
	border-radius: 12px;
}
.projectImg img {
	width: 100%;
	height: 100%;
	object-fit: cover;         /* 列表中使用 cover，保证卡片整齐 */
	object-position: center;   /* 可按需改成 top / 25% 之类聚焦 */
	display: block;
}

/* 小的动效（可选） */
.projectCard {
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}
.projectCard:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* === 弹窗整体 === */
.projModal {
	position: fixed; inset: 0; display: none;
	background: rgba(0,0,0,.55);
	z-index: 9999;
}
.projModal.is-open { display: block; }
.projModal__panel {
	position: absolute; left: 50%; top: 50%;
	transform: translate(-50%,-50%);
	width: min(960px, 92vw);
	background: #0f1b28; color: #fff;
	border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
	overflow: hidden;
}
.projModal__close {
	position: absolute; right: 12px; top: 10px;
	background: transparent; border: 0; color: #9CA3AF;
	font-size: 28px; cursor: pointer;
}
.projModal__close:hover { color: #fff; }

/* 媒体区：弹窗里展示完整图，contain + 居中，不裁切 */
.projModal__media {
	background: radial-gradient(80% 80% at 50% 50%, rgba(255,255,255,.06), rgba(255,255,255,.02) 60%, transparent 100%);
	padding: 14px 14px 0 14px;
}
#projModalImg {
	width: 100%;
	max-height: 40vh;
	object-fit: contain;        /* 关键点：在弹窗中展示完整图 */
	object-position: center;
	display: block;
	border-radius: 12px;
}

/* 文本区 */
.projModal__body { padding: 16px 20px 22px; }
.projModal__body h3 {
	margin: 0 0 6px; font-weight: 800; font-family: 'Nunito', sans-serif;
}
.projModal__body p {
	margin: 0 0 14px; line-height: 1.6; color: #d1d5db;
}
.projModal__actions {
	display: flex;
	position: relative;
	gap: 30px;
	flex-wrap: wrap;
	width: 90%;
	left: 5%;
}
.projModal__actions .homeButton {
	flex: 1 1 200px; text-align: center;
}
#projModalDesc {
	white-space: pre-line;
	font-size: 1.2rem;
}

#projModalTitle {
	font-size: 1.5rem;
	font-weight: bold;
}

/* 小屏适配 */
@media (max-aspect-ratio: 1/1) {
	#projModalImg { max-height: 48vh; }
	#projModalDesc {
		white-space: pre-line;
		font-size: 2rem;
	}
	#projModalTitle {
		font-size: 2.3rem;
		font-weight: bold;
	}
}

#rewardArea {
	width: 100vw;
	min-height: 100vh;
	position: absolute;
	top: 400vh;
	overflow: visible;
	background-color: var(--main-dark);
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 32px;
	scroll-margin-top: 12vh;
}

#rewardText {
	display: block;
	font-family: 'Nunito', sans-serif;
	font-weight: 800;
	font-size: 5vw;
	margin-bottom: 28px;
	color: #fff;
	--progress: 0;
	scale: var(--progress)
}

@media (max-aspect-ratio: 1/1) {
	#rewardText {
		display: block;
		font-family: 'Nunito', sans-serif;
		font-weight: 800;
		font-size: 10vw;
		margin-bottom: 28px;
		color: #fff;
		--progress: 0;
		scale: var(--progress)
	}
}

#rewardList {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 30px 30px;
	margin: 30px 30px 30px 30px;
}

.rewardItem {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	padding: 16px 18px;
}

.rewardTitle {
	font-weight: 700;
	font-size: clamp(20px, 2.8vw, 30px);
	color: #F7D164;
	margin-bottom: 6px;
}

.rewardMeta {
	font-size: clamp(14px, 2.8vw, 20px);
	opacity: 0.8;
	margin-bottom: 8px;
	color: #fff;
}

.rewardDesc {
	font-size: clamp(15px, 2.8vw, 22px);
	line-height: 1.6;
	color: #fff;
	opacity: 0.9;
}