



.recommend-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    margin: 10px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 252, 0.9) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px;
    border: 1px solid rgba(255, 152, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommend-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.2);
}

.recommend-item a {
    align-items: center;
    justify-self: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.recommend-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid rgba(255, 152, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: linear-gradient(135deg, #ffcc80 0%, #ff9800 100%);
    padding: 3px;
}

.recommend-item:hover img {
    transform: scale(1.02);
    border-color: rgba(255, 152, 0, 0.4);
}

.recommend-item-info{
    display: flex;
    flex-direction: column;
    padding: 8px;
    width: 100%;
    position: relative;
}

.recommend-item-info h3 {
    color: #ff9800;
    font-size: 0.95rem;
    margin: 0 0 5px 0;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(255, 152, 0, 0.3);
    text-align: center;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recommend-item-info p {
    display: flex;
    color: #e65100;
    font-size: 0.75rem;
    margin: 0 0 10px 0;
    font-weight: 500;
    justify-content: center;
    opacity: 0.8;
}

.recommend-item-btn a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.recommend-item-btn {
    display: flex;
    width: 100%;
    height: 30px;
    background: linear-gradient(45deg, #ff9800, #ffb74d, #ffcc80);
    border-radius: 8px;
    right: 0px;
    box-shadow: 0 3px 12px rgba(255, 152, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background-size: 200% auto;
    align-items: center;
    justify-content: center;
}

.recommend-item-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(255, 152, 0, 0.5);
    background-position: right center;
}

.recommend-item-btn img {
    width: 28px;
    height: 16px;
    border: none;
    padding: 0;
    background: none;
}

/* 添加热门标签效果 */
.recommend-item.hot::before {
    content: 'HOT';
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #ff9800, #f57c00);
    color: white;
    font-size: 0.6rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.5);
    z-index: 10;
    text-transform: uppercase;
}

.xmafes-recommend-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns layout */
    gap: 15px;
    /* Gap between items */
    /* padding: 0.5rem 1rem; */
    margin: 10px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 243, 230, 0.8) 100%);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.xmafes-recommend-content img {
    width: 100%;
}

.xmafes-recommend-content-hot{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Four columns layout */
    gap: 12px;
    /* Gap between items */
    /* padding: 0.5rem 1rem; */
    margin: 10px 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 243, 230, 0.8) 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.xmafes-recommend-content-hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, #ffb74d, #ffcc80, #ffe0b2, #fff3e0);
}

.xmafes-recommend-content-hot img {
    width: 100%;
}




