.precontainer{
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 改为2列布局 */
    gap: 3rem; /* 增加间距 */
    max-width: 1400px;
    padding: 3rem;
    width: 100%;
}

.card {
    height: 450px; /* 增加高度 */
    width: 100%; /* 确保宽度填充 */
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border-radius: 20px; /* 更圆润的圆角 */
}

.card:hover {
    transform: rotateY(180deg) scale(1.02); /* 添加轻微放大效果 */
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); /* 添加渐变背景 */
}

.front {
    background: white;
}

.back {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    transform: rotateY(180deg);
}

.member-img {
    width: 100%; /* 增大头像 */
    height: 75%;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 20px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.member-name {
    font-size: 2rem; /* 增大字体 */
    font-weight: 500;
    text-wrap: nowrap;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.member-info p {
    text-align: center;
    margin: 15px 0;
    max-width: 280px;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr; /* 大屏幕也使用单列 */
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .card {
        height: 400px;
    }
    
    .member-img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    
    .card {
        height: 380px;
        gap: 1.5rem;
    }
    
    .member-img {
        width: 150px;
        height: 150px;
    }
}

.center{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}