/* 融悦首页样式 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-width: 1200px;
}

#app_index_bottom {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-width: 1200px;
}

/* 四列布局容器 */
.four-column-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    width: 1200px;
    min-width: 1200px;
    margin: 0 auto;
}

/* 单列样式 */
.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 267px;
}

/* 通用样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
h1 {
    text-align: center;
    color: #2c3e50;
    margin: 50px 0;
    font-size: 2.5rem;
    font-weight: 300;
}

/* 卡片容器样式 */
.card-container {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

/* 卡片样式 */
.card {
    width: 267px;
    height: 180px;
    background: #FFFFFF;
    box-shadow: 0px 0px 8px 0px rgba(199,199,199,0.39);
    border-radius: 10px;
    display: flex;
    overflow: hidden;
}

/* 卡片左侧图片区域 */
.card-left {
    width: 87px;
    height: 180px;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 卡片右侧内容区域 */
.card-right {
    flex: 1;
    padding: 15px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 卡片标题 */
.card-title {
    font-family: PingFang;
    font-weight: 500;
    font-size: 18px;
    color: #111111;
    line-height: 24px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 标签容器 */
.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-self: flex-start;
}

/* 免费标签 */
.card-tag {
    width: 40px;
    height: 19px;
    background: #BD0000;
    border-radius: 5px;
    font-family: AlibabaPuHuiTi;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 热门下载标签 */
.card-tag-hot {
    font-family: AlibabaPuHuiTi;
    height: 22px;
    background: red;
    border-radius: 11px;
    padding: 0 10px;
    font-family: AlibabaPuHuiTi;
    font-weight: 600;
    font-size: 13px;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(229, 90, 43, 0.4);
    animation: hotGlow 2s ease-in-out infinite alternate;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-tag-hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: hotShine 3s ease-in-out infinite;
}

.hot-icon {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

@keyframes hotGlow {
    0% {
        box-shadow: 0 2px 6px rgba(229, 90, 43, 0.4);
    }
    100% {
        box-shadow: 0 3px 10px rgba(229, 90, 43, 0.7), 0 0 15px rgba(230, 194, 0, 0.5);
    }
}

@keyframes hotShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 统计信息 */
.card-stats {
    font-family: PingFang;
    font-weight: 500;
    font-size: 14px;
    color: #999999;
    line-height: 24px;
    margin-bottom: 12px;
    align-self: flex-end;
}

/* 下载按钮 */
.card-download-btn {
    width: 116px;
    height: 32px;
    background: #EAEAEA;
    border-radius: 16px;
    color: #BD0000;
    border: none;
    font-family: PingFang;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    transition: all 0.3s ease;
}

.card-download-btn:hover {
    background: #BD0000;
    color: #FFFFFF;
}

/* 下部分内容区域样式 */
.bottom-section {
    width: 267px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 0px 8px 0px rgba(199,199,199,0.39);
}

/* 下部分单个项目样式 */
.bottom-item {
    display: flex;
    flex-direction: column;
    padding: 20px 15px 10px;
    position: relative;
}

/* 上部分区域 */
.item-top {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

/* 下部分区域 */
.item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PDF图标 */
.pdf-icon {
    width: 39px;
    height: 49px;
    object-fit: contain;
    margin-right: 30px;
}

/* 下载人数统计 */
.download-count {
    font-family: PingFang;
    font-weight: 500;
    font-size: 12px;
    color: #999999;
    white-space: nowrap;
}

/* 底部标题 */
.bottom-title {
    font-family: PingFang;
    font-weight: 500;
    font-size: 16px;
    color: #111111;
    line-height: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 小下载按钮 */
.small-download-btn {
    width: 64px;
    height: 24px;
    background: #EAEAEA;
    border-radius: 12px;
    border: none;
    font-family: PingFang;
    font-weight: 500;
    font-size: 12px;
    color: #BD0000;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 24px;
}

.small-download-btn:hover {
    background: #BD0000;
    color: #FFFFFF;
}

/* 分割线 */
.divider {
    width: 266px;
    height: 1px;
    border: 1px solid #E5E5E5;
}

/* 最后一个分割线（下载按钮上方） */
.final-divider {
    width: 266px;
    height: 1px;
    border: 1px solid #E5E5E5;
}

/* 下载更多资料按钮 */
.more-download-btn {
    width: 180px;
    height: 32px;
    background: #EAEAEA;
    border-radius: 16px;
    border: none;
    font-family: PingFang;
    font-weight: 500;
    font-size: 14px;
    color: #BD0000;
    cursor: pointer;
    display: block;
    margin: 15px auto;
    transition: all 0.3s ease;
}

.more-download-btn:hover {
    background: #BD0000;
    color: #FFFFFF;
}

/* 响应式设计 - 移除1200px断点，保持最小宽度 */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        margin: 30px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .four-column-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 15px;
    }
    
    .column {
        width: 100%;
        max-width: 300px;
    }
    
    .card-container {
        padding: 0;
    }
    
    .bottom-section {
        width: 100%;
        margin: 0;
    }
    
    .divider {
        width: 90%;
    }
}