body {
    padding: 0;
    margin: 0;
}

.page {
    min-width: 1430px;
    padding: 20px 100px;
    background: #F5F5F5;
}

.box1 {
    display: block;
}

.box2 {
    display: none;
}

/* .loading-box{
    display: block;
    transition: transform 1s ease;
}
.page-box{
    display: none;
    transition: transform 1s ease;
} */
/* .page-box {
    padding: 20px 100px;
} */

.hide {
    display: none;
}

.title {
    font-weight: 600;
    font-size: 36px;
    color: #333333;
    line-height: 50px;
}

/* 菜单部分 */
.menu {
    width: 100%;
    height: 80px;
    background: #B4141B;
    border-radius: 20px;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3.125rem;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    width: 74px;
    height: 50px;
}

.nav ul {
    display: flex;
    margin: 0;

    li {
        list-style: none;
        padding: 0 .9375rem;
        font-weight: 600;
        font-size: 20px;
        line-height: 37px;
        position: relative;
    }
}


a {
    text-decoration: none;
    color: #e4e0e0;
}

.active {
    margin: 0 auto;
    width: 2.9rem;
    height: .1875rem;
    background: #FFFFFF;
}

.inp {
    width: 17.5rem;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    /* opacity: 0.3; */
    padding-left: 10px;
    box-sizing: border-box;
    border: none;
    color: #FFFFFF;
}

.inp::placeholder {
    color: #FFFFFF;
    opacity: 0.5;
}

.inp:focus {
    outline: none;
}


.list {
    min-height: 480px;

    .list-menu {
        height: 30px;
        padding-left: 16px;
        margin: 16px 0 2px 0;
        display: flex;
        align-items: center;
        color: #333;
        font-size: 14px;

        span {
            color: #999999;
        }

        img {
            width: 15px;
            height: 15px;
            margin: 0 8px;
        }
    }

    .list-card {
        padding: 24px;
        background: #FFFFFF;
        border-radius: 20px;
        display: flex;
        justify-content: space-between;

        .list-card-left {
            display: flex;
            flex-wrap: wrap;
            width: 85%;

            .list-card-item {
                height: 20px;
                line-height: 20px;
                padding: 10px 30px;
                text-align: center;
                border: 1px solid #D9D9D9;
                border-radius: 6px;
                margin: 0 15px 5px 0;
                color: #333;
            }

            .card-active {
                color: #FFFFFF;
                background: #B4141B;
                border: none;
            }
        }

        .list-card-right {
            width: 13%;
            position: relative;

            input {
                width: 100%;
                height: 40px;
                box-sizing: border-box;
                padding: 0px 30px 0 10px;
                border-radius: 6px;
                border: 1px solid #D9D9D9;
            }

            input:focus {
                outline: none;
            }

            input::placeholder {
                color: #BFBFBF;
                font-size: 16px;
            }

            img {
                width: 20px;
                height: 20px;
                position: absolute;
                right: 5px;
                top: 10px;
            }
        }
    }

    .waterfall-container {
        position: relative;
        margin: 20px auto;
    }

    .vedio-back {
        opacity: 0;
        transition: all 0.3s ease;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 10px;
        background: rgba(9, 1, 0, 0.4);

        .open-url {
            width: 45px;
            height: 45px;
        }
    }

    .waterfall-column {
        width: calc(20% - 15px);
        display: inline-block;
        vertical-align: top;
        margin: 0 7.5px;
    }



    .card {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        padding: 24px;
        box-sizing: border-box;
        animation: fadeIn 0.5s ease forwards;
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);

        .vedio-back {
            opacity: 1;
        }
    }

    .card-image {
        width: 100%;
        display: block;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
    }

    .back-url {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .card:hover .back-url {
        transform: scale(1.05);
    }

    .card-info {
        padding-top: 16px;
    }

    .card-title {
        font-size: 18px;
        font-weight: 600;
        margin: 16px 0 5px 0;
        color: #333;
        -webkit-line-clamp: 3;
        max-height: 75px;
        line-height: 25px;
    }
    .card-title p{
        margin: 0;
    }

    .card-meta {
        display: flex;
        justify-content: space-between;
        color: #999;
        font-size: 0.85rem;
    }

    .card-user {
        display: flex;
        align-items: center;
        background: #F9EDED;
        border-radius: 6px;
        border: 1px solid #F5DFE0;
        padding: 5px 15px;
        color: #B4141B;
        font-size: 14px;
    }

    .user-avatar {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        margin-right: 8px;
        background: #f0f0f0;
        display: inline-block;
    }

    .card-stats {
        display: flex;
        align-items: center;
    }

    .stat-item {
        display: flex;
        align-items: center;
        margin-left: 12px;
        font-size: 16px;
    }

    .stat-item i {
        margin-right: 4px;
    }

    .load-more {
        text-align: center;
        margin: 30px 0;
    }

    .load-btn {
        background: white;
        border: 1px solid #eaeaea;
        padding: 12px 40px;
        border-radius: 30px;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .load-btn:hover {
        background: #ff9a9e;
        color: white;
        border-color: #ff9a9e;
    }

    .footer {
        text-align: center;
        padding: 30px 0;
        color: #999;
        font-size: 0.9rem;
        border-top: 1px solid #eee;
        margin-top: 20px;
    }

    .loading {
        text-align: center;
        padding: 20px;
        color: #999;
    }

    @media (max-width: 1200px) {
        .waterfall-column {
            width: calc(25% - 15px);
        }

        .card {
            padding: 0;
        }

    }

    @media (max-width: 768px) {
        .waterfall-column {
            width: calc(33.3% - 15px);
        }
    }

    @media (max-width: 480px) {
        .waterfall-column {
            width: calc(50% - 15px);
        }
    }

    @media (max-width: 340px) {
        .waterfall-column {
            width: 100%;
            margin: 0 0 15px 0;
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }




}


