/* 团队成员页面样式 */

/* 成员区域标题样式 */
.member-section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin: 40px 0 30px 0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 分割线样式 */
.member-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #666, transparent);
    margin: 30px 0;
    position: relative;
}

.member-divider::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #666;
    border-radius: 50%;
}

/* 成员网格容器 */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 响应式调整 - 确保最多3列 */
@media (min-width: 1200px) {
    .member-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .member-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* 成员卡片容器 */
.member-card {
    perspective: 1000px;
    height: 350px;
    position: relative;
}

/* 卡片内容容器 */
.member-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

/* 卡片翻转效果 */
.member-card:hover .member-card-inner {
    transform: rotateY(180deg);
}

/* 卡片正面和背面共同样式 */
.member-card-front, .member-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 卡片正面样式 */
.member-card-front {
    /* background: linear-gradient(135deg, #CDB79E 0%, #EED5B7 100%); */
    background:	#7C6553;
    color: #FFFFFF;
    /* color: #8B7765; */
}

/* 卡片背面样式 */
.member-card-back {
    background: linear-gradient(135deg, #90816F 65%, #CDB79E 100%);
    /* background: #90816F; */
    font-family: comic sans ms, sans-serif;
    color: white;
    transform: rotateY(180deg);
    padding: 35px 30px; /* 增大内边距 */
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
}

/* 成员头像样式 */
.member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.member-card:hover .member-avatar {
    transform: scale(1.05);
}

/* 成员姓名样式 */
.member-name {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 成员职位样式 */
.member-position {
    font-size: 1.1em;
    opacity: 0.9;
    font-weight: 300;
}

/* 成员信息项样式 */
.member-info-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.member-info-label {
    font-weight: bold;
    min-width: 50px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9em;
    flex-shrink: 0;
}

.member-info-value {
    flex: 1;
    color: white;
    font-size: 0.9em;
    word-break: break-word;
    line-height: 1.6;
}

/* 成员专业技能标签 */
.member-contributions {
    text-align: left;
}

.member-contributions-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    margin: 2px 4px 2px 0;
    border-radius: 12px;
    font-size: 0.8em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 新增：成员卡片底部区域样式 */
.member-card-bottompicture {
    width: 100px;
    height: auto;
    display: inline-block;
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0.5;
    z-index: -1000;
}

/* 响应式调整成员卡片 */
@media (max-width: 600px) {
    .member-card {
        height: 300px;
    }
    
    .member-avatar {
        width: 120px;
        height: 120px;
    }
    
    .member-name {
        font-size: 1.3em;
    }
    
    .member-position {
        font-size: 1em;
    }
}