/* Poster Card Styles */
.poster-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: transparent;
    margin-bottom: 20px;
    text-decoration: none !important;
    position: relative;
    width: 100%;
}
.poster-card:hover {
    transform: translateY(-5px);
}
.poster-card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    background: transparent;
}

.poster-img {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 比例 */
    overflow: hidden;
    border-radius: 12px;
    background: #2c2c2c;
}
.poster-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.poster-card:hover .poster-thumb {
    transform: scale(1.05);
}

/* 图片底部的覆盖层 */
.poster-img-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 10px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 1;
}

.poster-index {
    color: #999;
    font-size: 18px;
    font-weight: bold;
    margin-right: 12px;
    opacity: 0.8;
}
.poster-brand {
    display: flex;
    align-items: center;
    flex-grow: 1;
}
.brand-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}
.brand-name {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.poster-content {
    padding: 10px 2px;
    flex-grow: 1;
    min-height: 52px; /* 约两行文字的高度 */
}
.poster-description {
    font-size: 14px;
    color: #999;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .poster-index {
        font-size: 16px;
    }
    .brand-name {
        font-size: 14px;
    }
    .poster-description {
        font-size: 13px;
    }
}
