/* 基础样式设置 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #6c63ff;
    --secondary: #ff6b6b;
    --accent: #43cea2;
    --dark: #333333;
    --light: #f9f9f9;
    --gradient: linear-gradient(90deg, var(--primary), var(--accent));
    --star-color: rgba(255, 255, 255, 0.8);
    --shooting-star: linear-gradient(45deg, rgba(255, 255, 255, 0.8), transparent);
    --nebula1: rgba(138, 43, 226, 0.4); /* 紫色星云 */
    --nebula2: rgba(255, 105, 180, 0.3); /* 粉色星云 */
    --nebula3: rgba(64, 224, 208, 0.3); /* 青色星云 */
    --nebula4: rgba(255, 215, 0, 0.2); /* 金色星云 */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

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

h1, h2 {
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
}

section {
    padding: 80px 0;
}

/* 自定义鼠标跟随效果 */
.cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.3);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

/* 头部样式 */
header {
    height: 100vh;
    background: #0a0a2a; /* 深色背景以便星星更明显 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

header::after {
    display: none;
}

/* 星空背景效果 */
#stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: var(--star-shadows-1); /* 通过JS动态生成 */
    animation: animateStar 50s linear infinite;
}

#stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: var(--star-shadows-2); /* 通过JS动态生成 */
    animation: animateStar 100s linear infinite;
}

#stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: var(--star-shadows-3); /* 通过JS动态生成 */
    animation: animateStar 150s linear infinite;
}

@keyframes animateStar {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-2000px);
    }
}

.header-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 span {
    display: block;
    font-size: 6rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 随机文字滚动效果 */
.text-scramble {
    margin-bottom: 20px;
}

.scramble-text {
    position: relative;
    display: inline-block;
    font-size: 6rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
    color: white;
}

.scramble-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    animation: textScramble 5s infinite;
}

@keyframes textScramble {
    0%, 100% { width: 0%; }
    50% { width: 100%; }
}

/* 打字机效果 */
.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent);
    animation: typing 4s steps(40) 1s infinite, blink-caret 0.75s step-end infinite;
    padding-right: 5px;
}

@keyframes typing {
    0% { width: 0 }
    50% { width: 100% }
    90% { width: 100% }
    100% { width: 0 }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent) }
}

/* 团队简介部分 */
.team-intro {
    background-color: white;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-stats {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    flex-wrap: wrap;
    flex: 1;
    min-width: 300px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--dark);
    font-size: 0.9rem;
}

/* 团队成员部分 */
.team-members {
    background-color: #f9f9f9;
    position: relative;
}

.filter-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    border: none;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
}

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

.member-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.member-image {
    width: 100%;
    height: 250px;
    background-color: #ddd;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.member-card:hover .member-image img {
    filter: grayscale(0%);
}

.member-info {
    padding: 20px;
    position: relative;
}

.member-name {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.member-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--primary);
    color: white;
}

/* 联系部分 */
.contact {
    background: var(--dark);
    color: white;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

/* 页脚部分 */
footer {
    background: var(--dark);
    color: white;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

social-links {
    display: flex;
    gap: 15px;
}

social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

social-links a:hover {
    color: var(--accent);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 星空云朵效果 */更新为随机形状云朵 */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;e: screen;
    mix-blend-mode: screen;r;
    transform-origin: center;
}
/* 删除旧的cloud1-4样式，用新的自然形状云朵替代 */
.cloud1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--nebula1) 0%, transparent 70%);
    top: 10%; absolute;
    left: 15%;
    animation: cloudFloat 30s infinite alternate ease-in-out;
}cloud::before,
.cloud::after {
.cloud2 {nt: '';
    width: 500px;olute;
    height: 500px;rrentColor;
    background: radial-gradient(circle, var(--nebula2) 0%, transparent 70%);
    top: 60%;
    left: 60%;
    animation: cloudFloat 25s infinite alternate-reverse ease-in-out;
}   color: var(--nebula1);
    animation: cloudFloat 30s infinite alternate ease-in-out;
.cloud3 {10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--nebula3) 0%, transparent 70%);
    top: 30%;re {
    left: 70%;px;
    animation: cloudFloat 35s infinite alternate ease-in-out;
}   top: 0;
    left: 40px;
.cloud4 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--nebula4) 0%, transparent 70%);
    top: 40%;00px;
    left: 25%;;
    animation: cloudFloat 40s infinite alternate-reverse ease-in-out;
    animation-delay: 5s;
}
.cloud2 {
/* 添加额外的随机形状云朵 */2);
.cloud5 {ation: cloudFloat 25s infinite alternate-reverse ease-in-out;
    color: rgba(147, 112, 219, 0.4); /* 紫罗兰色星云 */
    top: 20%;eft: 60%;
    left: 40%;form: scale(1.4) rotate(10deg);
    transform: scale(1.3) rotate(-8deg);
    animation: cloudFloat 38s infinite alternate ease-in-out;
    animation-delay: 2s;efore {
}
eight: 100px;
.cloud5::before {   top: 0;
    width: 110px;    left: 80px;
    height: 110px;
    top: -10px;
    left: 20px;
    box-shadow: 
        60px -30px 0 25px currentColor,x;
        -30px 30px 0 15px currentColor;
}

.cloud5::after {
    width: 90px;cloud3 {
    height: 90px;    color: var(--nebula3);
    top: 30px;dFloat 35s infinite alternate ease-in-out;
    left: 100px; 30%;
}

.cloud6 {
    color: rgba(70, 130, 180, 0.4); /* 钢蓝色星云 */
    top: 65%;
    left: 30%;idth: 110px;
    transform: scale(1.5) rotate(12deg);: 110px;
    animation: cloudFloat 45s infinite alternate-reverse ease-in-out;
    animation-delay: 8s;
}

.cloud6::before {.cloud3::after {
    width: 120px;90px;
    height: 120px;
    top: -15px;
    left: 60px;
}

.cloud6::after {cloud4 {
    width: 100px;    color: var(--nebula4);





























































}    .intro-content { flex-direction: column; }    section { padding: 60px 0; }    header h1 span { font-size: 4rem; }    h1 { font-size: 2.5rem; }@media (max-width: 768px) {/* 响应式设计 */}    }        transform: translateX(500px) translateY(500px) rotate(0);        opacity: 0;    100% {    }        opacity: 1;    70% {    }        transform: translateX(0) translateY(0) rotate(0);        opacity: 1;    0% {@keyframes meteor {}    z-index: 2;    animation: meteor 1s linear forwards;    filter: drop-shadow(0 0 2px white);    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));    height: 1px;    width: 200px;    position: absolute;.meteor {/* 流星效果 */}    }        filter: blur(30px);        transform: translate(-3%, -3%) scale(1) rotate(0deg);    100% {    }        filter: blur(25px);        transform: translate(-2%, 3%) scale(0.95) rotate(-2deg);    66% {    }        filter: blur(35px);        transform: translate(3%, -2%) scale(1.05) rotate(2deg);    33% {    }        filter: blur(30px);        transform: translate(0, 0) scale(1) rotate(0deg);    0% {@keyframes cloudFloat {/* 创建更丰富的云朵动画 */}        -20px 40px 0 15px currentColor;        -60px -20px 0 20px currentColor,    box-shadow:     left: 130px;    top: 15px;    height: 100px;    animation: cloudFloat 40s infinite alternate-reverse ease-in-out;
    animation-delay: 5s;
    top: 40%;
    left: 25%;
    transform: scale(1.6) rotate(5deg);
}

.cloud4::before {
    width: 130px;
    height: 130px;
    top: -20px;
    left: 30px;
}

.cloud4::after {
    width: 120px;
    height: 120px;
    top: 10px;
    left: 120px;
}

/* 添加额外的云朵细节 */
.cloud1::after, .cloud3::after {
    box-shadow: 
        -70px 30px 0 10px currentColor,
        -30px 20px 0 8px currentColor;
}

.cloud2::after, .cloud4::before {
    box-shadow: 
        40px -50px 0 15px currentColor,
        -40px 10px 0 20px currentColor;
}

/* 流星效果 */
.meteor {
    position: absolute;
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    filter: drop-shadow(0 0 2px white);
    animation: meteor 1s linear forwards;
    z-index: 2;
}

@keyframes meteor {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0);
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(500px) translateY(500px) rotate(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    header h1 span { font-size: 4rem; }
    section { padding: 60px 0; }
    .intro-content { flex-direction: column; }
}
