/* 团队介绍部分样式 */
.team-section {
    position: relative;
    padding: 100px 0 0 0;
    background: linear-gradient(135deg, #0a0a23 0%, #1a1a2e 100%);
    color: #eaf6ff;
    overflow: hidden;
    width: 100%;
}

/* 标题样式 */
.team-section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.team-section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #eaf6ff;
    position: relative;
    display: inline-block;
}

.team-section-title .title-container {
    display: block;
    margin-bottom: 10px;
}

.team-section-title .english-title {
    display: inline;
    font-size: 1.8rem;
    color: #3fd0ff;
    margin-right: 10px;
    font-weight: 700;
}

.team-section-title .english-subtitle {
    display: inline;
    font-size: 1rem;
    color: #b3e0ff;
    font-weight: 400;
}

.team-title {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #3fd0ff;
    letter-spacing: 2px;
    font-weight: 800;
    text-shadow: 0 2px 16px #3fd0ff44, 0 0 2px #fff;
}

/* 团队网格布局 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 2px;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(90deg, #181c2a 0%, #232a3d 100%);
}

/* 团队成员样式 */
.team-member {
    position: relative;
    background: rgba(20, 30, 50, 0.95);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 #0ff2;
    border: 1.5px solid #2e4a7a22;
}

.team-member.empty-cell {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.team-member.empty-cell:hover {
    background: transparent;
}

.team-member:hover {
    background: rgba(30, 40, 60, 0.95);
}

.team-member:nth-child(odd) {
    background-color: #1e1e1e;
}

.team-member:hover:nth-child(odd) {
    background-color: #2a2a2a;
}

/* 不同样式的空白单元格 */
.team-member.empty-cell.dark-cell {
    background: transparent;
}

.team-member.empty-cell.dark-cell:hover {
    background: transparent;
}

.team-member.empty-cell.light-cell {
    background: transparent;
}

.team-member.empty-cell.light-cell:hover {
    background: transparent;
}

/* 成员头像基本样式 */
.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid #3fd0ff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 0 24px 0 #3fd0ff55;
}

.member-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 8px #3fd0ff33, 0 0 32px 8px #3fd0ff22;
    transition: box-shadow 0.4s ease;
}

.team-member:hover .member-photo::after {
    box-shadow: 0 0 0 8px #3fd0ff33, 0 0 32px 8px #3fd0ff22;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.1) brightness(1.08);
    transition: all 0.4s ease;
}

.team-member:hover .member-img {
    filter: grayscale(0%) contrast(1.15) brightness(1.15) drop-shadow(0 0 12px #3fd0ff66);
}

/* 成员信息基本样式 */
.member-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 单元格类型的特殊样式 */
.team-member.photo-cell {
    padding: 20px 10px;
    background: linear-gradient(135deg, #1a2a3a 60%, #2e4a7a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.team-member.photo-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(113, 167, 217, 0.1), transparent);
    z-index: -1;
    transition: height 0.4s ease;
}

.team-member.photo-cell:hover::before {
    height: 100%;
}

.team-member.info-cell {
    padding: 15px 20px;
    background: linear-gradient(135deg, #181c2a 60%, #1a2a3a 100%);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.team-member.info-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(113, 167, 217, 0.6));
    transition: width 0.4s ease;
}

.team-member.info-cell:hover::after {
    width: 100%;
}

.team-member.photo-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #2a2a2a;
}

.team-member.info-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #262626;
}

/* 成员头像 */
.photo-cell .member-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

/* 成员信息 */
.info-cell .member-info {
    padding: 10px 0;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.member-name a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.member-name a:hover {
    color: var(--secondary-color);
}

.member-title {
    font-size: 1.05rem;
    color: #3fd0ff;
    margin-bottom: 8px;
    font-weight: 600;
}

.member-specialty {
    font-size: 0.98rem;
    color: #b3e0ff;
    margin-bottom: 4px;
}

.member-desc {
    font-size: 0.97rem;
    color: #eaf6ff;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    opacity: 0.92;
}

/* === TEAM大字母动效与发光 === */
.team-big-letter {
    /* TEAM大字母尺寸设置，原为3.5rem，现提升为5.5rem */
    font-size: 5.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.2em;
    text-align: center;
    filter: drop-shadow(0 0 16px #3fd0ff) drop-shadow(0 0 32px #3fd0ff99);
    text-shadow: 0 0 24px #3fd0ff, 0 0 48px #3fd0ff99, 0 2px 8px #fff;
    animation: team-glow-breath 2.8s ease-in-out infinite alternate;
    background: linear-gradient(90deg, #3fd0ff 30%, #fff 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 垂直+水平居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

@keyframes team-glow-breath {
    0% {
        filter: drop-shadow(0 0 16px #3fd0ff) drop-shadow(0 0 32px #3fd0ff99);
        transform: scale(1) translateY(-5px);
    }
    50% {
        filter: drop-shadow(0 0 32px #3fd0ff) drop-shadow(0 0 64px #3fd0ffcc);
        transform: scale(1.08) translateY(-10px);
    }
    100% {
        filter: drop-shadow(0 0 16px #3fd0ff) drop-shadow(0 0 32px #3fd0ff99);
        transform: scale(1) translateY(-5px);
    }
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .team-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-big-letter {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-section-title {
        font-size: 2rem;
    }
    
    .team-section-title .english-title {
        font-size: 1.4rem;
    }
    
    .team-section-title .english-subtitle {
        font-size: 0.9rem;
    }
    
    .team-big-letter {
        font-size: 6rem;
    }
    
    .team-section {
        padding: 60px 0 0 0;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-big-letter {
        font-size: 5rem;
        padding: 1rem;
        display: none;
    }
} 