:root {
	--primary-dark: #121318;
	--secondary-dark: #1a1c24;
	--accent-green: #2ecc71;
	--accent-blue: #3498db;
	--accent-purple: #9b59b6;
	--highlight: rgba(46, 204, 113, 0.15);
	--text-light: #e0e0e0;
	--text-muted: #a0a0a0;
	--card-bg: rgba(26, 28, 36, 0.7);
	--border-color: rgba(255, 255, 255, 0.1);
	--gradient-dark: linear-gradient(135deg, #131417 0%, #1e1f26 100%);
	--gradient-accent: linear-gradient(135deg, #2ecc71, #3498db);
}

body {
	background: var(--gradient-dark);
	color: var(--text-light);
	min-height: 100vh;
	overflow-x: hidden;
	line-height: 1.6;
}

body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 10% 20%, rgba(46, 204, 113, 0.08) 0%, transparent 20%),
		radial-gradient(circle at 90% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 25%),
		radial-gradient(circle at 30% 80%, rgba(155, 89, 182, 0.08) 0%, transparent 30%);
	pointer-events: none;
	z-index: -1;
}

/* 简化后的漂浮气泡 */
.floating-bubbles {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: -1;
	overflow: hidden;
}

.bubble {
	position: absolute;
	border-radius: 50%;
	background: rgba(52, 152, 219, 0.1);
	border: 1px solid rgba(46, 204, 113, 0.15);
	animation: float 20s infinite ease-in-out;
	/* 性能优化属性 */
	will-change: transform;
	transform: translateZ(0);
	opacity: 0.6;
}

@keyframes float {

	0%,
	100% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(15px, -30px);
	}
}

/* 简化后的几何装饰元素 */
.floating-element {
	position: absolute;
	opacity: 0.08;
	z-index: -1;
	font-size: 5rem;
	animation: floatElement 50s linear infinite;
	/* 性能优化属性 */
	will-change: transform;
	transform: translateZ(0);
	pointer-events: none;
}

@keyframes floatElement {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}

	100% {
		transform: translate(100px, 50px) rotate(180deg);
	}
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

/* 顶部区域样式 */
header {
	text-align: center;
	padding: 60px 20px 40px;
	position: relative;
}

h1 {
	font-size: 3.5rem;
	font-weight: 300;
	margin-bottom: 20px;
	background: linear-gradient(90deg, #2ecc71, #3498db);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	position: relative;
	display: inline-block;
}

h1::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 10%;
	width: 80%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #2ecc71, #3498db, transparent);
}

.subtitle {
	font-size: 1.2rem;
	max-width: 600px;
	margin: 0 auto 30px;
	line-height: 1.6;
	color: var(--text-muted);
}

/* 导航标签样式 */
.nav-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 40px;
}

.tab {
	padding: 12px 25px;
	background: rgba(26, 28, 36, 0.8);
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.25s ease;
	font-weight: 500;
	backdrop-filter: blur(5px);
	border: 1px solid var(--border-color);
	color: var(--text-light);
}

.tab:hover,
.tab.active {
	background: var(--highlight);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	border-color: rgba(46, 204, 113, 0.3);
}

.tab-content {
	display: none;
	animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tab-content.active {
	display: block;
}

/* 内容区域样式 */
.section {
	background: var(--card-bg);
	border-radius: 20px;
	padding: 30px;
	margin-bottom: 30px;
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-color);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.section-title {
	font-size: 1.8rem;
	margin-bottom: 20px;
	color: var(--text-light);
	display: flex;
	align-items: center;
	gap: 10px;
}

.section-title i {
	color: var(--accent-green);
}

.showmore {
	display: block;
	width: 200px;
	margin: 20px auto;
	padding: 14px 25px;
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.7), rgba(52, 152, 219, 0.7));
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 1.1rem;
	cursor: pointer;
	transition: all 0.25s ease;
	text-align: center;
	backdrop-filter: blur(5px);
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.showmore:hover {
	background: linear-gradient(135deg, rgba(46, 204, 113, 0.9), rgba(52, 152, 219, 0.9));
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.showmore::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: all 0.35s ease;
}

.showmore:hover::after {
	left: 100%;
}

/* 卡片样式 */
.thoughts-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
}

.thought-card {
	background: rgba(30, 32, 40, 0.6);
	border-radius: 15px;
	padding: 20px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border-color);
	cursor: pointer;
}

.thought-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	background: rgba(35, 37, 45, 0.8);
	border-color: rgba(46, 204, 113, 0.3);
}

.thought-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: var(--gradient-accent);
	border-radius: 15px 0 0 15px;
}

.thought-title {
	font-size: 1.3rem;
	margin-bottom: 10px;
	color: var(--text-light);
}

.thought-title i {
	color: var(--accent-green);
	margin-right: 10px;
}

.thought-content {
	line-height: 1.6;
	color: var(--text-muted);
}

/* 灵感网格 */
.inspiration-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 25px;
}

.inspiration-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 25px;
}

.inspiration-item {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	height: 400px;
	transition: all 0.4s ease;
	cursor: pointer;
	border: 5px solid;
}

.inspiration-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
	transition: transform 0.3s ease;
}

.inspiration-item h3 {
	transition: color 0.3s ease;
}

.inspiration-item:hover img {
	transform: scale(1.1);
}

.inspiration-item:hover h3 {
	color: #55aa00;
}

.inspiration-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
	color: white;
	padding: 15px;
}

.inspiration-overlay>h3 {
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

/* 梦境日记 */
.dream-journal {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.dream-entry {
	background: rgba(30, 32, 40, 0.6);
	border-radius: 15px;
	padding: 20px;
	position: relative;
	border-left: 4px solid var(--accent-green);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.dream-entry:hover {
	background-color: rgba(46, 204, 113, 0.1);
	border-left: 4px solid var(--accent-blue);
}

.dream-date {
	font-weight: 600;
	color: var(--accent-green);
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.dream-content {
	line-height: 1.7;
	color: var(--text-muted);
}

/* 对话卡片 */
.conversation-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 20px;
	cursor: pointer;
}

.conversation-card {
	background: rgba(30, 32, 40, 0.7);
	border-radius: 18px;
	padding: 25px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.2, 0.8, 0.4, 1);
	backdrop-filter: blur(8px);
	border: 1px solid var(--border-color);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.conversation-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg,
			rgba(46, 204, 113, 0.1) 0%,
			rgba(41, 128, 185, 0.15) 50%,
			rgba(155, 89, 182, 0.1) 100%);
	z-index: -1;
	border-radius: 18px;
}

.conversation-card:hover {
	transform: scale(1.05) rotate(3deg);
	box-shadow: 0 15px 35px rgba(31, 135, 109, 0.25),
		0 0 30px rgba(168, 230, 207, 0.5);
	z-index: 2;
}

.conversation-header {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(52, 152, 219, 0.3);
}

.conversation-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--gradient-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	font-size: 1.4rem;
	color: white;
	font-weight: 600;
}

.conversation-title {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-light);
	margin: 0;
}

.conversation-content {
	color: var(--text-muted);
	line-height: 1.7;
	font-size: 1.05rem;
}

.conversation-date {
	margin-top: 15px;
	font-size: 0.9rem;
	color: var(--accent-green);
	text-align: right;
	font-weight: 500;
}

.conversation-icon {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(26, 28, 36, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	color: var(--accent-green);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	border: 1px solid var(--border-color);
}

.conversation-card:hover .conversation-icon {
	transform: scale(1.1) rotate(-5deg);
	/* 简化动画 */
	color: var(--accent-blue);
}

/* 引用区域 */
.quote-section {
	text-align: center;
	padding: 40px;
	margin: 40px 0;
	background: rgba(26, 28, 36, 0.7);
	border-radius: 20px;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border-color);
}

.quote-text {
	font-size: 1.8rem;
	font-style: italic;
	max-width: 800px;
	margin: 0 auto 20px;
	color: var(--text-light);
	position: relative;
	z-index: 2;
	line-height: 1.8;
}

.quote-author {
	font-size: 1.1rem;
	color: var(--accent-blue);
}

.quote-section::before {
	content: "" ";
 position: absolute;
	top: -30px;
	left: 20px;
	font-size: 12rem;
	color: rgba(46, 204, 113, 0.08);
	font-family: Georgia, serif;
	z-index: 1;
}

/* 作者 */
.oneself {
	border-color: #97e1a0; 
}

/* 核心角色 */
.coreRole {
	border-color: #990000;
}

/* 重要角色 */
.importantRole {
	border-color: #ffd608; 
}

/* 常驻配角 */
.supportingRole {
	border-color: #aaaaff;
}

/* 吉祥物 */
.mascot {
	border-color: #ffcff0;
}