/* ============================================
   底部推广卡片 + 页脚样式
   从 base.html 内联 style 属性中提取
   ============================================ */

/* ── 底部推广卡片区 ── */
.bottom-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin: 40px 0;
}

.bottom-card {
    flex: 1;
    min-width: 220px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    box-sizing: border-box;
}

.bottom-card--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bottom-card--blue {
    background-color: #f4f8fb;
    border-left: 5px solid #0052d9;
}

.bottom-card--orange {
    background-color: #fff9f5;
    border-left: 5px solid #ff5000;
}

.bottom-card--green {
    background-color: #f6ffed;
    border-left: 5px solid #07c160;
}

.bottom-card--sky {
    background-color: #e6f7ff;
    border-left: 5px solid #1890ff;
}

.bottom-card__title {
    margin-top: 0;
    color: #333;
    font-size: 16px;
}

.bottom-card--center .bottom-card__title {
    font-size: 15px;
    margin-bottom: 8px;
}

.bottom-card__desc {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.bottom-card__btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    transition: opacity 0.3s;
}

.bottom-card__btn:hover {
    opacity: 0.85;
}

.bottom-card__btn--blue {
    background-color: #0052d9;
}

.bottom-card__btn--orange {
    background-color: #ff5000;
}

.bottom-card__qr {
    width: 90px;
    height: 90px;
    margin-bottom: 8px;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    padding: 4px;
    background: #fff;
}

.bottom-card__text {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* ── 页脚 ── */
.site-footer {
    background-color: #1a1e29;
    padding: 40px 0;
    text-align: center;
    color: #8b949e;
    font-size: 13px;
    margin-top: 40px;
    width: 100%;
}

.site-footer__row {
    margin-bottom: 12px;
}

.site-footer__row:last-child {
    margin-bottom: 0;
}

.site-footer__sep {
    margin: 0 10px;
    color: #4b5563;
}

.site-footer__link {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer__link:hover {
    color: #3b82f6;
}

/* ── 移动端适配 ── */
@media (max-width: 640px) {
    .bottom-cards {
        flex-direction: column;
    }

    .bottom-card {
        min-width: auto;
    }
}
