/* ==========================================================
   下载专区页 · YuniTuner 屿宁调校
   ========================================================== */

.dl-page {
    padding: calc(var(--nav-h) + 40px) 0 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.dl-page .container {
    width: 100%;
}

/* 顶部标题块 */
.dl-head {
    max-width: 720px;
}
.dl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--accent-ink);
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 600;
}
.dl-eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}
.dl-title {
    margin-bottom: 20px;
}
.dl-title-text {
    font-family: var(--font-kukuhei);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.15;
    color: var(--ink);
}
.dl-title-accent { color: var(--accent-ink); }
.dl-version {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 1.15rem;
}
.dl-version .vb-cn {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--muted);
    font-size: 0.82em;
    letter-spacing: 1px;
}
.dl-version .vb-ver {
    font-family: var(--font-zen);
    color: var(--accent);
    font-size: 1.1em;
    letter-spacing: 1.5px;
}
.dl-version .dl-new {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    color: var(--accent-ink);
    background: var(--accent-soft);
    border: 1px solid rgba(78, 90, 212, 0.22);
    border-radius: var(--radius-pill);
    padding: 5px 12px;
    transition: border-color .25s ease, background .25s ease;
}
.dl-version .dl-new:hover {
    border-color: rgba(78, 90, 212, 0.4);
    background: rgba(78, 90, 212, 0.12);
}
.dl-lead {
    font-size: 1.02rem;
    color: var(--ink-soft);
    line-height: 2;
    max-width: 640px;
    margin-bottom: 12px;
}

/* 渠道面板：两列大卡 */
.dl-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin-top: 30px;
}
.dl-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 20px 18px 18px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    color: inherit;
    text-decoration: none;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1),
                box-shadow .35s ease, border-color .3s ease,
                background .3s ease;
}
.dl-panel:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(78, 90, 212, 0.32);
    box-shadow: var(--shadow-md);
}
.dl-panel.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.dl-panel-tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: rgba(78, 90, 212, 0.06);
    border: 1px solid rgba(78, 90, 212, 0.16);
    border-radius: var(--radius-pill);
    padding: 3px 9px;
    margin-bottom: 8px;
    white-space: nowrap;
}
.dl-panel-name {
    font-family: var(--font-body);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ink);
}
.dl-panel-note {
    font-size: 0.86rem;
    color: var(--ink-soft);
    line-height: 1.8;
    flex: 1;
    margin-bottom: 8px;
}
.dl-panel-tip {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    padding: 6px 9px;
    border-radius: var(--r-sm);
    border: 1px dashed rgba(78, 90, 212, 0.30);
    background: rgba(78, 90, 212, 0.05);
    font-size: 0.72rem;
    color: var(--accent-ink);
    line-height: 1.6;
}
.dl-panel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: .3px;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.45);
    transition: background .3s ease, transform .3s cubic-bezier(.22, 1, .36, 1),
                box-shadow .3s ease, gap .25s ease;
}
.dl-panel-btn span { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.dl-panel:hover .dl-panel-btn {
    background: var(--accent);
    box-shadow: 0 14px 28px -12px rgba(78, 90, 212, 0.55);
}
.dl-panel:hover .dl-panel-btn span { transform: translateX(3px); }

/* 底部提示 */
.dl-hint {
    margin-top: 34px;
    font-size: 0.86rem;
    color: var(--muted);
    letter-spacing: .3px;
}
.dl-hint a {
    color: var(--accent-ink);
    font-weight: 600;
    border-bottom: 1px solid rgba(78, 90, 212, 0.4);
    padding-bottom: 1px;
    transition: border-color .25s ease;
}
.dl-hint a:hover { border-color: transparent; }

/* 入场动画（仿更新日志节奏，逐层浮现） */
@keyframes dlRise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dl-eyebrow { animation: dlRise .7s cubic-bezier(.22, 1, .36, 1) both; }
.dl-title   { animation: dlRise .7s cubic-bezier(.22, 1, .36, 1) .08s both; }
.dl-version { animation: dlRise .7s cubic-bezier(.22, 1, .36, 1) .14s both; }
.dl-lead    { animation: dlRise .7s cubic-bezier(.22, 1, .36, 1) .20s both; }
.dl-panel   { animation: dlRise .7s cubic-bezier(.22, 1, .36, 1) .30s both; }
.dl-panel:nth-child(2) { animation-delay: .38s; }
.dl-hint    { animation: dlRise .7s cubic-bezier(.22, 1, .36, 1) .46s both; }

/* 尊重系统减弱动态 */
@media (prefers-reduced-motion: reduce) {
    .dl-eyebrow, .dl-title, .dl-version, .dl-lead, .dl-panel, .dl-hint { animation: none; }
}

@media (max-width: 720px) {
    .dl-page { padding-top: calc(var(--nav-h) + 30px); }
    .dl-panels { margin-top: 28px; }
    .dl-panel { padding: 22px 22px 20px; }
}