.category-container {
    width: 100vw;
    height: calc(100vh - 186px);
    position: fixed;
    padding: 0 0 4vh 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.category-container .content-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/*三列一行*/
.three-column-container {
    min-width: 1100px;
    width: 57.4vw;
}

.three-column-container .list-item {
    width: calc(33.3% - 4.7vw);
}

/*四列一行*/
.four-column-container {
    min-width: 1100px;
    width: 80vw;
}

.four-column-container .list-item {
    width: calc(25% - 5.3vw);
}

.list-item {
    margin-right: 7vw;
    margin-bottom: 10.3vh;
    position: relative;
}


.sub-category-a {
    width: 100%;
    height: 100%;
    color: #000000;
}

.right-item {
    margin-right: 0;
}

.last-row-item {
    margin-bottom: 0;
}

.category-container .category-card {
    width: 100%;
    height: 100%;
    padding: 3vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0px 0px 48px 2px rgba(255, 255, 255, 0.22), 0px 2px 8px 1px rgba(169, 186, 203, 0.48);
    border-radius: 16px 16px 16px 16px;
    border-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.38)) 2 2;
}

.category-container .desc {
    font-size: 1.6vh;
    width: 120%;
    color: #ffffff;
    height: 5vh;
    text-align: center;
    padding: 0 1vw;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-icon {
    width: auto;
    height: 10.7vh;
    margin: 0 0 1.8vh 0;
}
.category-name {
    width: 100%;
    text-align: center;
    word-break: break-all;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 500;
    font-size: 1.1vw;
    color: #274071;
    padding: 0 10px;
}

.content-container {
    position: relative;
}

/* 卡片的倒影效果 */
.reflect-box {
    position: absolute;
    top: 100%;
    left: 0;
    user-select: none;
    transform: scaleY(-0.6); /* 垂直翻转 */
    opacity: 0.5; /* 半透明效果 */
    /* 添加渐变遮罩，使倒影底部更透明 */
    mask-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 1200px) {
    .category-container {
        overflow-y: auto;
    }

    .three-column-container {
        width: 100vw !important;
        min-width: 100vw !important;
        padding: 10px;
    }
}
