/* ============ 游戏下载中心 download.css ============ */

.dl-page {
    padding: 90px 0 60px;
    background:
        radial-gradient(ellipse at top, rgba(139, 0, 0, 0.12) 0%, transparent 60%),
        #0a0604;
    min-height: calc(100vh - 320px);
}

/* 三张下载卡片 */
.dl-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.dl-card {
    position: relative;
    background: linear-gradient(180deg, #1a0e08 0%, #0d0604 100%);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 26px 22px 22px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.dl-card:hover {
    border-color: var(--color-fire);
    box-shadow: var(--shadow-fire);
    transform: translateY(-6px);
}
.dl-card-featured {
    border-color: var(--color-gold);
    box-shadow: 0 0 18px rgba(201, 169, 97, 0.25);
}

/* 卡片头部：图标 + 标题 + 徽章 */
.dl-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.dl-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.55) 0%, rgba(60, 8, 8, 0.55) 100%);
    border: 1px solid var(--color-blood);
    border-radius: 10px;
}
.dl-card-head h3 {
    font-family: "STXingkai", "华文行楷", "STKaiti", "楷体", serif;
    font-size: 24px;
    color: var(--color-gold-bright);
    text-shadow: 0 0 10px var(--color-blood);
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.dl-badge {
    display: inline-block;
    padding: 1px 10px;
    font-size: 11px;
    color: #fff;
    background: var(--color-blood);
    border-radius: 10px;
    letter-spacing: 1px;
}
.dl-badge.badge-green { background: #1f7a35; }
.dl-badge.badge-gold {
    background: linear-gradient(180deg, #b8860b 0%, #7a5b1c 100%);
    color: #1a0e08;
    font-weight: bold;
}

.dl-desc {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 14px;
    flex: 1;
}

.dl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 12px;
    color: var(--color-text-dim);
    padding: 10px 0;
    border-top: 1px dashed var(--color-border);
    border-bottom: 1px dashed var(--color-border);
    margin-bottom: 16px;
}

/* 三种下载方式按钮：pushable 立体按钮（三层阴影+边框+前景），三种不同颜色 */
.dl-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
}

/* ====== 公共 pushable 骨架（与你给的 CSS 一致） ====== */
.pushable {
    position: relative;
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
    outline-offset: 4px;
    outline-color: #f17f00;
    transition: filter 250ms;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    display: block;
    width: 100%;
    text-decoration: none;
    user-select: none;
}
.pushable:focus:not(:focus-visible) { outline: none; }
.pushable:hover { filter: brightness(110%); }

.shadow {
    position: absolute;
    top: 0; left: 0;
    height: 100%; width: 100%;
    border-radius: 8px;
    filter: blur(2px);
    will-change: transform;
    transform: translateY(2px);
    transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.edge {
    position: absolute;
    top: 0; left: 0;
    height: 100%; width: 100%;
    border-radius: 8px;
}
.front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    border-radius: 8px;
    padding: 12px 6px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 13px;
    transform: translateY(-4px);
    transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
    text-align: center;
    text-decoration: none;
}
.front .dl-btn-icon { font-size: 18px; line-height: 1; color: #fff; }

.pushable:hover .front {
    transform: translateY(-6px);
    transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}
.pushable:active .front {
    transform: translateY(-2px);
    transition: transform 34ms;
}
.pushable:hover .shadow {
    transform: translateY(4px);
    transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}
.pushable:active .shadow {
    transform: translateY(1px);
    transition: transform 34ms;
}

/* ====== 1. 本地下载：蓝色系 ====== */
.pushable.btn-local .shadow { background: hsl(220, 25%, 50%); }
.pushable.btn-local .edge {
    background: linear-gradient(
        to right,
        hsl(220, 45%, 30%) 0%,
        hsl(220, 55%, 45%) 8%,
        hsl(220, 45%, 30%) 92%,
        hsl(220, 45%, 20%) 100%
    );
}
.pushable.btn-local .front { background: hsl(220, 60%, 55%); }

/* ====== 2. 网盘下载：绿色系 ====== */
.pushable.btn-netdisk .shadow { background: hsl(145, 22%, 42%); }
.pushable.btn-netdisk .edge {
    background: linear-gradient(
        to right,
        hsl(145, 40%, 26%) 0%,
        hsl(145, 50%, 40%) 8%,
        hsl(145, 40%, 26%) 92%,
        hsl(145, 40%, 18%) 100%
    );
}
.pushable.btn-netdisk .front { background: hsl(145, 55%, 45%); }

/* ====== 3. 极速下载：橙色系 ====== */
.pushable.btn-fast .shadow { background: hsl(30, 60%, 42%); }
.pushable.btn-fast .edge {
    background: linear-gradient(
        to right,
        hsl(30, 75%, 28%) 0%,
        hsl(30, 85%, 45%) 8%,
        hsl(30, 75%, 28%) 92%,
        hsl(30, 75%, 18%) 100%
    );
}
.pushable.btn-fast .front { background: hsl(30, 85%, 55%); }

/* 安装说明 */
.dl-tips {
    margin-top: 40px;
    background: linear-gradient(180deg, rgba(40, 12, 12, 0.6) 0%, rgba(15, 6, 6, 0.8) 100%);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-fire);
    border-radius: 6px;
    padding: 22px 26px;
}
.dl-tips h3 {
    font-size: 18px;
    color: var(--color-gold-bright);
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.dl-tips ol {
    padding-left: 20px;
    color: var(--color-text);
    font-size: 13px;
    line-height: 2;
}
.dl-tips strong { color: var(--color-fire); }

/* 响应式 */
@media (max-width: 1024px) {
    .dl-cards { grid-template-columns: 1fr; }
}
