/* 默认浅色主题 */
:root {
  --bg-color: #ffffff;
  --text-color: #222222;
  --card-bg: #f5f5f5;
}

/* 深色主题 */
[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #eaeaea;
  --card-bg: #1e1e1e;
}

/* 全局使用变量 */
body {
  background-color: var(--bg-color);
}

/* 右上角按钮样式 */
#theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999;
  padding: 8px 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 16px;
  background: var(--card-bg);
  color: var(--text-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

	* {
		margin: 0;
		padding: 0;
		color:#4D5656;
	}
	a {
		-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
		-webkit-user-select: none;
		-moz-user-focus: none;
		-moz-user-select: none;
		text-decoration: none;
	}
	ul li {
		list-style: none;
	}
	nav a{
		margin-left:32px;
	}
	nav a.active{
		color: #71b3dd;
	}
body {
   background-color: var(--bg-color);
  );
}

.section {
  margin-bottom: 60px;
}
	.container {
		width: 300px;
		height: 500px;
		position: absolute;
		top: 50%;
		left: 50%;
		z-index:1;
		-webkit-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		-ms-transform: translate(-50%, -50%);
		-o-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}
	.hander {
		width: 100%;
		height: 30px;
		line-height:30px;
		z-index:1;
	  background-color: var(--bg-color);
		border-radius: 15px;
		box-shadow: 5px 5px 10px #b1b4b6,
			-5px -5px 10px #ffffff;
	}
	
	.content {
		width: 100%;
		height: 400px;
		margin-top:20px;
	  background-color: var(--bg-color);
		border-radius: 15px;
		box-shadow: 5px 5px 10px #b1b4b6,
			-5px -5px 10px #ffffff;
	}
	.content section{
		position: absolute;
		opacity: 0;
		transition: .4s ease-out;
	}
	.content section.active-section{
		opacity: 1;
	}
	
	.main {
		width: 300px;
		height: 400px;
		z-index:1;
		display:inline-block;
		position:relative;
		overflow: hidden;
		border-radius: 10px;
	}
	.bgo {
		background-repeat: no-repeat;
		background-size: cover;
		width:100%;
	}
	.bgt {
		margin-bottom:40px;
		background-repeat: no-repeat;
		background-size: cover;
		width:100%;
	}
	.ato {
		width: 100px;
		height: 100px;
		position: absolute;
		top: 37%;
		left: 33%;
		border-radius: 50%;
	}
@keyframes glow {
    0% {
        box-shadow: 0 0 10px #00f2ff;
    }
    33% {
        box-shadow: 0 0 25px #9b59ff;
    }
    66% {
        box-shadow: 0 0 25px #ff5fd2;
    }
    100% {
        box-shadow: 0 0 10px #00f2ff;
    }
}

.ato {
    animation: glow 4s ease-in-out infinite;
}
.name {
    background: linear-gradient(90deg, #00f2ff, #ff2fd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 座右铭 */
.motto {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
    cursor: pointer;
}
	.ats {
		width: 60px;
		height: 60px;
		position: absolute;
		top: 70px;
		left: 120px;
		border-radius: 50%;
		animation: light 4s ease-in-out infinite;
		transition: 0.5s;
	}
		.ats:hover {
		transform: scale(1.15) rotate(720deg);
	}
	.name {
		margin:0 auto;
		margin-top: 75px;
		height:20px;
		line-height:20px;
		font-size: 22px;
		text-align: center;
	}
	.motto{
		margin:0 auto;
		font-size: 14px;
		text-align: center;
		margin-top:10px;
		width:130px;
		height:20px;
		line-height:20px;
	}
	.navo{
		text-align:center;
		position:fixed;
		bottom:65px;
	}
	.navo ul li{
		float:left;
		margin-left:30px;
		animation: light 4s ease-in-out infinite;
		transition: 0.5s;
	}
	.navo ul li:hover {
		transform: scale(1.15) rotate(720deg);
	}
	.about{
		font-size:12px;
		padding:10px;
		margin:40px;
		margin-top:0px;
		margin-bottom:0px;
		border-radius: 15px;
	  background-color: var(--bg-color);
		box-shadow: inset 5px 5px 10px #b1b4b6,
			inset -5px -5px 10px #ffffff;
	}
	.box{
	  background-color: var(--bg-color);
	}
	#boxs{
		font-size:12px;
		padding:10px;
		  height: 200px;
		  overflow-x: hidden;
  overflow-y: scroll;
		margin:40px;
		margin-top:0px;
		margin-bottom:0px;
		border-radius: 15px;
	  background-color: var(--bg-color);
		box-shadow: inset 5px 5px 10px #b1b4b6,
			inset -5px -5px 10px #ffffff;
	}

	#boxs::-webkit-scrollbar{
		width: 5px;
		height: 5px;
	}
	#boxs::-webkit-scrollbar-track{
		border-radius: 12px;
		background-color: #eee;
	}
	#boxs::-webkit-scrollbar-thumb{
		border-radius: 12px;
		background-color: #aaa;
	}
	.track-list li {
		position: relative;
		padding: 10px 0 0 20px;
		margin-left:15px;
		border-left: 2px solid #aaa;
	}
	.track-list li .node-icon {
		position: absolute;
		left: -10px;
		top: 50%;
		height:18px;
		border-radius: 50%;
		background-color:#ecf0f3;
	}
	.track-list li .time {
		position: relative;
		font-size:12px;
		width:100%;
		top:4px;
		display: inline-block;
		vertical-align: middle;
	}
	.track-list li .txt {
		position: relative;
		font-size:12px;
		top: 2px;
		display: inline-block;
		vertical-align: middle;
	}
	.web{
		width:75%;
		height:20px;
		text-align:center;
		background: #fafafa 
		repeating-linear-gradient(-45deg,#fff,#fff 1.125rem,transparent 1.125rem,transparent 2.25rem);
		box-shadow:0 2px 5px rgba(0,0,0,.15);
		margin:0 auto;
		margin-top:0px;
		margin-bottom:20px;
		padding:10px;
		border-radius:5px;
		font-size:15px;
		font-weight: 900;
	}
	.tips{
		width:73%;
		border-bottom-right-radius: 2px;
		border-left: 4px solid #2ECC71;
		border-top-right-radius: 2px;
		margin: 0 auto;
		text-align:center;
		padding: 10px;
		position: relative;
	  background-color: var(--bg-color);
		font-size:15px;
	}
	.footer{
	      background-color: var(--bg-color);
		width:100%;
		margin: 0 auto;
		font-size:11px;
		text-align:center;
		position:fixed;
		bottom:10px;
	}
	.web {
    padding: 14px;
    margin: 12px auto;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    width: 200px;
   
}



/* 漂浮背景元素 */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.float-item {
    position: absolute;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.float-item:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.float-item:nth-child(2) {
    width: 120px;
    height: 120px;
    left: 80%;
    top: 60%;
    animation-delay: -2s;
    animation-duration: 8s;
}

.float-item:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 70%;
    top: 10%;
    animation-delay: -4s;
    animation-duration: 7s;
}

.float-item:nth-child(4) {
    width: 100px;
    height: 100px;
    left: 20%;
    top: 70%;
    animation-delay: -1s;
    animation-duration: 9s;
}

.float-item:nth-child(5) {
    width: 140px;
    height: 140px;
    left: 50%;
    top: 40%;
    animation-delay: -3s;
    animation-duration: 10s;
}

/* 漂浮动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.5;
    }
}

/* 鼠标跟随效果 */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.8), rgba(79, 172, 254, 0.2));
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.5);
}

.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: rgba(79, 172, 254, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
}

/* 增强交互元素的漂浮效果 */
.ato, .ats {
    animation: pulse 2s infinite, gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 社交图标悬浮效果 */
.navo li a {
    position: relative;
    overflow: hidden;
}

.navo li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.navo li a:hover::before {
    width: 100px;
    height: 100px;
}




/* 响应式调整 */
@media (max-width: 768px) {
   
    
    .cursor-follower, .cursor-trail {
        display: none; /* 移动端隐藏鼠标跟随 */
    }
}
