* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a192f;
    background: -webkit-linear-gradient(45deg, #0a192f, #112240); /* Safari 5.1-6.0 */
    background: linear-gradient(45deg, #0a192f, #112240);
    color: #64ffda;
}

/* 网格背景动画 */
.grid-background {
    position: fixed;
    width: 150%;
    height: 150vh;
    background-image: 
        linear-gradient(rgba(100,255,218,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100,255,218,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotate(-45deg);
    left: -25%;
    top: -25%;
    animation: gridMove 15s linear infinite;
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: rotate(-45deg) translateY(0); }
    100% { transform: rotate(-45deg) translateY(-50px); }
}

/* 主要内容区域 */
.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 1;
    overflow-x: hidden;
}
.container-1{
    height: 100vh;
    position: relative;
}
.container-2{
    min-height: 70vh;
    position: relative;
}

/* 标题样式 */
.title {
    font-size: 8rem;
    text-align: center;
    margin: 8rem 0;
    position: relative;
    opacity: 0; /* 初始透明 */
    animation: titleEntrance 1.5s ease forwards, textFlicker 3s infinite 1.5s;
}

/* 入场动画效果 */
@keyframes titleEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8);
        text-shadow: none;
    }
    20% {
        color: #64ffda;
        text-shadow: 
            -2px 0 #ff00ff,
            2px 0 #fff;
        opacity: 1;
    }
    40% {
        color: #ff00ff;
        text-shadow: 
            2px 0 #fff,
            -2px 0 #64ffda;
    }
    60% {
        color: #fff;
        text-shadow: 
            -2px 0 #64ffda,
            2px 0 #ff00ff;
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        color: #fff;
        text-shadow: 
            -2px 0 #64ffda,
            2px 0 #ff00ff;
        opacity: 1;
    }
}

/* 循环闪动动画效果 */
@keyframes textFlicker {
    0%, 85% {
        color: #fff;
        text-shadow: 
            -2px 0 #64ffda,
            2px 0 #ff00ff;
        opacity: 1;
    }
    86% {
        color: transparent;
        text-shadow: none;
        opacity: 0;
    }
    87% {
        color: #fff;
        text-shadow: 
            2px 0 #64ffda,
            -2px 0 #ff00ff;
        opacity: 1;
    }
    88% {
        color: transparent;
        text-shadow: none;
        opacity: 0;
    }
    89% {
        color: #fff;
        text-shadow: 
            -2px 0 #64ffda,
            2px 0 #ff00ff;
        opacity: 1;
    }
    90% {
        color: transparent;
        text-shadow: none;
        opacity: 0;
    }
    100% {
        color: #fff;
        text-shadow: 
            -2px 0 #64ffda,
            2px 0 #ff00ff;
        opacity: 1;
    }
}

/* 添加悬停效果 */
.title:hover {
    animation: textGlitch 0.5s infinite;
}

/* 故障效果动画 */
@keyframes textGlitch {
    0%, 100% {
        text-shadow: 
            -2px 0 #64ffda,
            2px 0 #ff00ff;
        opacity: 1;
    }
    25% {
        text-shadow: 
            2px 0 #64ffda,
            -2px 0 #ff00ff;
        opacity: 0.3;
    }
    50% {
        text-shadow: 
            -2px 0 #ff00ff,
            2px 0 #64ffda;
        opacity: 1;
    }
    75% {
        text-shadow: 
            2px 0 #ff00ff,
            -2px 0 #64ffda;
        opacity: 0.3;
    }
}

/* 团队介绍卡片 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    background: rgba(17, 34, 64, 0.6);
    border: 1px solid rgba(100,255,218,0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transform: translateY(50px);
    opacity: 0;
    animation: cardAppear 0.5s ease forwards;
}

.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.4s; }

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

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #64ffda;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #64ffda;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.team-card:hover .card-title::after {
    transform: scaleX(1);
    transform-origin: left;
}

.card-content {
    color: #8892b0;
    line-height: 1.6;
}

/* 悬浮效果 */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(100,255,218,0.1);
}

/* 装饰元素 */
.tech-circle {
    position: fixed;
    border: 2px solid rgba(100,255,218,0.1);
    border-radius: 0;
    pointer-events: none;
    transform-origin: center;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    animation: rotateSquare 20s linear infinite;
    border-right: 2px solid rgba(100,255,218,0.3);
    border-bottom: 2px solid rgba(100,255,218,0.2);
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 5%;
    animation: rotateSquare 15s linear infinite reverse;
    border-left: 2px solid rgba(100,255,218,0.3);
    border-top: 2px solid rgba(100,255,218,0.2);
}

@keyframes rotateSquare {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* 添加伪元素增加层次感 */
.tech-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(100,255,218,0.1);
    transform: rotate(45deg);
}

.tech-circle::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px solid rgba(100,255,218,0.1);
    top: 10%;
    left: 10%;
}

/* 时间轴容器 */
.timeline-container {
    margin-top: 6rem;
    padding: 2rem 0;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
    min-height: 150vh;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #64ffda;
}

/* 时间轴样式 */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #64ffda;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

/* 时间点样式 */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
}

.timeline-item-animation {
    animation: timelineAppear 0.5s ease forwards;
    animation-delay: calc(0.2s * (var(--item-index) - 1)); /* 动态计算延迟 */
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #64ffda;
    /* border: 2px solid #0a192f; */
    top: 50%;
    border-radius: 50%;
    z-index: 1;
}

/* 左侧时间点 */
.left {
    left: 0;
}
.left::after {
    right: -8px;
}

/* 右侧时间点 */
.right {
    left: 50%;
}
.right::after {
    left: -8px;
}

/* 内容卡片样式 */
.timeline-content {
    padding: 20px;
    background: rgba(17, 34, 64, 0.8);
    border: 1px solid rgba(100,255,218,0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-date {
    font-size: 0.9rem;
    color: #64ffda;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* 技术标签 */
.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tags span {
    padding: 2px 8px;
    background: rgba(100,255,218,0.1);
    border: 1px solid rgba(100,255,218,0.2);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #64ffda;
}

/* 时间轴动画 */
@keyframes timelineAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 示例：为每个子元素设置自定义属性 */
.timeline-item-animation:nth-child(1) { --item-index: 1; }
.timeline-item-animation:nth-child(2) { --item-index: 2; }
.timeline-item-animation:nth-child(3) { --item-index: 3; }
.timeline-item-animation:nth-child(4) { --item-index: 4; }
/* 可以继续添加更多子元素 */


.team-list {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 40px; /* 增加内边距 */
    color: #ffffff; /* 字体颜色 */
}

.team-list-title {
    font-size: 2.5rem; /* 标题字体大小 */
    margin-bottom: 15px; /* 下边距 */
    text-align: center; /* 中心对齐 */
}

.team-member {
    margin: 20px 0; /* 上下边距 */
    padding: 20px; /* 内边距 */
    border: 1px solid rgba(100, 255, 218, 0.5); /* 边框 */
    border-radius: 8px; /* 圆角 */
    background-color: rgba(100, 255, 218, 0.1); /* 背景色 */
    transition: transform 0.3s; /* 动画效果 */
}

.team-member:hover {
    transform: translateY(-5px); /* 悬停时上移 */
}

.member-name {
    font-size: 1.8rem; /* 成员姓名字体大小 */
    margin: 5px 0; /* 上下边距 */
}

.member-role {
    font-size: 1.2rem; /* 角色字体大小 */
    font-style: italic; /* 斜体 */
    color: #64ffda; /* 字体颜色 */
}

.member-description {
    margin-top: 5px; /* 上边距 */
    font-size: 1rem; /* 描述字体大小 */
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .right {
        left: 0;
    }
    
    .left::after, 
    .right::after {
        left: 23px;
    }
}

/* 添加到现有样式中 */
.title-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.title-container div.team_info {
    position: relative;
    font-size: 2rem;
    padding: 30px 60px;
    margin-top: 2rem;
    color: #64ffda;
    line-height: 1.8;
    letter-spacing: 2px;
}

/* 高亮文字样式 */
.highlight {
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(100,255,218,0.5);
    font-size: 2.2rem;
}

/* 旋转边框效果 */
.title-container div.team_info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #64ffda;
    border-radius: 3px;
    animation: rotateBorder 3s linear infinite;
}

/* 旋转动画 */
@keyframes rotateBorder {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    25% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    50% {
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
    75% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
}

.contact-email {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #8892b0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 2s;  /* 延迟2秒显示 */
}

.email-icon {
    font-size: 1.4rem;
    color: #64ffda;
    animation: bounce 2s infinite;
}

.contact-email a {
    color: #8892b0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.contact-email a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #64ffda;
    transition: width 0.3s ease;
}

.contact-email a:hover {
    color: #64ffda;
}

.contact-email a:hover::after {
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.email {
    font-size: 1.2rem;
    color: #8892b0;
    margin-top: 1rem;
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 2s;
}

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

/* 修改滚动提示图标的样式 */
.scroll-indicator {
    position: absolute;
    bottom: 20px; /* 距离底部20px */
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1s infinite; /* 添加弹跳动画 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 模拟滚轮的样式 */
.scroll-wheel {
    width: 20px; /* 滚轮宽度 */
    height: 40px; /* 滚轮高度 */
    background-color: #64ffda; /* 滚轮颜色 */
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5); /* 阴影效果 */
    margin: 0 auto; /* 居中 */
    position: relative; /* 为镂空效果定位 */
}

/* 镂空效果 */
.scroll-hole {
    position: absolute;
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    width: 10px; /* 镂空宽度 */
    height: 20px; /* 镂空高度 */
    background-color: transparent; /* 背景透明 */
    border: 2px solid #0a192f; /* 镂空边框颜色 */
    border-radius: 5px; /* 圆角 */
    transform: translate(-50%, -50%); /* 居中 */
}

/* footer 样式 */
.footer {
    background-color: #0a192f; /* 背景颜色 */
    color: #64ffda; /* 字体颜色 */
    text-align: center; /* 中心对齐 */
    padding: 20px; /* 内边距 */
    position: relative; /* 相对定位 */
    bottom: 0; /* 固定在底部 */
    width: 100%; /* 宽度100% */
    display: flex; /* 使用flex布局 */
    flex-direction: column; /* 垂直排列 */
    align-items: center; /* 水平居中 */
}

.footer-content {
    max-width: 1200px; /* 最大宽度 */
    margin: 0 auto; /* 居中 */
}

.social-links {
    margin-top: 10px; /* 上边距 */
    display: flex; /* 使用flex布局 */
    justify-content: center; /* 水平居中 */
}

.social-links a {
    color: #64ffda; /* 链接颜色 */
    margin: 0 15px; /* 左右边距 */
    text-decoration: none; /* 去掉下划线 */
}

.social-links a:hover {
    text-decoration: underline; /* 悬停时添加下划线 */
}

/* 移动端适配样式 */
@media screen and (max-width: 768px) {
    .container-1 {
        padding: 20px; /* 减少内边距 */
        text-align: center; /* 中心对齐内容 */
    }

    .title {
        font-size: 4rem; /* 调整标题字体大小 */
        margin: 4rem 0; /* 调整标题的上下边距 */
    }

    .team_info {
        font-size: 1.5rem; /* 调整团队信息字体大小 */
        padding: 20px; /* 减少内边距 */
    }

    .scroll-indicator {
        bottom: 10px; /* 调整滚动指示器的位置 */
    }

    .scroll-wheel {
        width: 18px; /* 调整滚轮宽度 */
        height: 30px; /* 调整滚轮高度 */
    }
    .highlight {
        font-size: 1.5rem;
    }
}