@font-face {
    font-family: 'Caramel Cheese Biscuit';
    src: url('/fonts/caramel_cheese_biscuit.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cat Cheese';
    src: url('/fonts/cat_cheese.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libai Pen';
    src: url('/fonts/libai_pen.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
	color: #e6e6e6;
	min-height: 100vh;
	padding: 20px;
	position: relative;
	overflow-x: hidden;
}

/* 霓虹灯效果容器 */
.cyber-card {
	max-width: 800px;
	margin: 40px auto;
	padding: 30px;
	border-radius: 15px;
	background: rgba(10, 10, 20, 0.7);
	box-shadow: 0 0 15px rgba(91, 33, 182, 0.6),
				0 0 25px rgba(113, 44, 226, 0.4),
				inset 0 0 15px rgba(66, 16, 156, 0.4);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.cyber-card::before {
	left: 60px;
	transform: rotate(-30deg);
}

.cyber-card::after {
	right: 60px;
	transform: rotate(30deg);
}

/* 标题样式 */
.title {
	text-align: center;
	margin-bottom: 30px;
	position: relative;
}

.title h1 {
	font-size: 2.5rem;
	text-shadow: 0 0 10px #7e3fff;
	letter-spacing: 2px;
	margin-bottom: 10px;
}

.title p {
	color: #a69df0;
	font-size: 1.1rem;
}

/* 内容区域 */
.content {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

/* 头像区域 */
.avatar-section {
	flex: 1;
	min-width: 250px;
	text-align: center;
}

.avatar-container {
	width: 200px;
	height: 200px;
	margin: 0 auto 20px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #7e3fff;
	box-shadow: 0 0 15px rgba(126, 63, 255, 0.5);
	position: relative;
}

.avatar-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 介绍区域 */
.intro-section {
	flex: 2;
	min-width: 300px;
}

.intro-box {
	background: rgba(20, 15, 45, 0.5);
	padding: 20px;
	border-radius: 10px;
	border-left: 3px solid #7e3fff;
}

.intro-box h2 {
	margin-bottom: 15px;
	color: #9d8aff;
}

.intro-link {
	--link-color: #9d8aff;
	position: relative;
	transition: color 0.4s ease;
	color: var(--link-color, #9d8aff);
	text-decoration: none;
}

.intro-link:hover {
	--link-color: #d4cfff;
}

.intro-link::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 2px;
	background-color: var(--link-color, #9d8aff);
	transition: width 0.4s ease, left 0.4s ease, background-color 0.4s ease;
	left: 50%;
	bottom: -1px;
	position: absolute;
}

.intro-link:hover::after {
	width: 100%;
	left: 0;
}

.creator-section {
	width: 100%;
	margin: 25px 0;
}

.creator-box {
	background: rgba(20, 15, 45, 0.5);
	padding: 25px;
	border-radius: 10px;
	border: 1px solid rgba(126, 63, 255, 0.4);
	position: relative;
	overflow: hidden;
}

.creator-box::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, 
		transparent, 
		#7e3fff, 
		#9d8aff, 
		#7e3fff, 
		transparent);
	animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

.creator-box h2 {
	color: #9d8aff;
	margin-bottom: 20px;
	text-align: center;
	position: relative;
	display: inline-block;
	padding: 0 15px;
	left: 50%;
	transform: translateX(-50%);
}

.creator-box h2::before,
.creator-box h2::after {
	content: '✦';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #7e3fff;
	font-size: 1.2rem;
}

.creator-box h2::before {
	right: 100%;
	margin-right: 10px;
}

.creator-box h2::after {
	left: 100%;
	margin-left: 10px;
}

.creator-content {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}

.creator-text {
	flex: 2;
	min-width: 300px;
}

.creator-text p {
	margin-bottom: 15px;
	line-height: 1.6;
}

.creator-signature {
	flex: 1;
	min-width: 200px;
	text-align: center;
	padding: 20px;
	background: rgba(40, 25, 90, 0.3);
	border-radius: 8px;
	border: 1px solid rgba(126, 63, 255, 0.3);
}

.signature {
	font-family: 'Cat Cheese', 'Caramel Cheese Biscuit', 'Libai Pen', 'Dancing Script', cursive;
	font-size: 2rem;
	color: #d4cfff;
	margin-bottom: 10px;
}

.creator-links {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 15px;
}

.creator-links a {
	--color: #a69df0;
	transition: color 0.3s ease;
	font-size: 1.5rem;
	text-decoration: none;
	position: relative;
}

.creator-links a:hover {
	--color: #7e3fff;
}

.creator-links a::after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background-color: var(--color, #a69df0);
	transition: width 0.3s ease, left 0.3s ease, background-color 0.3s ease;
	left: 50%;
	bottom: -1px;
	position: absolute;
}

.creator-links a:hover::after {
	width: 100%;
	left: 0;
}

/* 链接区域 */
.links-section {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 20px;
	flex-direction: column;
	align-items: center;
	gap: 15px;

}

.cyber-link {
	display: flex;
	align-items: center;
	padding: 12px 25px;
	background: rgba(40, 25, 90, 0.7);
	border-radius: 30px;
	text-decoration: none;
	color: #d4cfff;
	transition: all 0.3s ease;
	border: 1px solid #7e3fff;
	width: 70%;
	justify-content: center;
}

.cyber-link:hover {
	background: rgba(126, 63, 255, 0.3);
	box-shadow: 0 0 15px rgba(126, 63, 255, 0.7);
	transform: translateY(-3px);
}

.link-icon {
	width: 24px;
	height: 24px;
	margin-right: 10px;
	filter: brightness(1.2);
}

/* code {
	display: inline-block;
} */

/* 响应式调整 */
@media (max-width: 768px) {
	.cyber-card {
		margin: 20px auto;
		padding: 25px 20px;
	}

	.title h1 {
		font-size: 2rem;
	}

	.content {
		flex-direction: column;
		gap: 20px;
	}

	.creator-content {
		flex-direction: column;
	}

	.creator-text, .creator-signature {
		min-width: 100%;
	}

	.cyber-link {
		width: 80%;
	}
}
