.aboutMe {
    /* background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); */
    height: 40vh;
    align-items: center;
    display: flex;
    width: 100%;
}

.aboutMe-container {
    width: 1250px;
    margin: 0 auto;
    overflow: hidden;
}

.content-wrapper {
    color: #fff;
    display: flex;
    flex-direction: row;
}

.about-section {
    width: 370px !important;
    flex-shrink: 0;
}

.about-title {
    font-size: 3.75rem;
    font-weight: 600;
}

.about-description {
    opacity: .7;
    display: block;
    margin-top: 15px;
    line-height: 1.6;
}

.cards-container {
    flex-grow: 1;
    margin-left: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
    /* 为隐藏滚动条提供空间 */
}

/* 隐藏滚动条但保持滚动功能 */
.cards-container::-webkit-scrollbar {
    display: none;
}

.cards-container {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.cards-scroll-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0 15px;
    width: max-content;
    /* 确保宽度由内容决定 */
}

.card {
    width: 320px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    height: 35vh;
    /* 稍低于容器高度，避免垂直滚动条 */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    /* 防止卡片缩小 */
}

.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 1300px) {
    .container {
        width: 95%;
        padding: 0 20px;
    }
}

@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }

    .about-section {
        width: 100% !important;
        margin-bottom: 30px;
    }

    .cards-container {
        margin-left: 0;
    }
}