/* ============================================================
   DOWNLOAD PAGE
   download.css
   ============================================================ */

/* ── MAIN CARD ──────────────────────────────────────────────── */
.dl-main-card { margin-bottom: 16px; }

.dl-main-card__body {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.dl-main-card__info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dl-main-card__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--teal), var(--teal-dim));
    box-shadow: 0 0 24px var(--teal-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.dl-main-card__title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.dl-main-card__version {
    font-size: 0.8rem;
    color: var(--teal-dim);
    margin-bottom: 8px;
}

.dl-main-card__meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.dl-main-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.dl-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.78rem;
}

.dl-btn--alt {
    background: transparent;
    border-color: rgba(0, 180, 160, 0.4);
    color: var(--text-dim);
}

.dl-btn--alt:hover { color: var(--teal); }

/* ── TWO-COL GRID ───────────────────────────────────────────── */
.dl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── REQUIREMENTS ───────────────────────────────────────────── */
.dl-req-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 180, 160, 0.07);
    font-size: 0.83rem;
}

.dl-req-label { color: var(--text-dim); }
.dl-req-value { color: var(--text); font-weight: 600; }

/* ── INSTALL STEPS ──────────────────────────────────────────── */
.dl-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 180, 160, 0.07);
}

.dl-step__num {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(0, 180, 160, 0.15);
    border: 1px solid var(--teal-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--teal);
    flex-shrink: 0;
}

.dl-step__text {
    font-size: 0.83rem;
    color: var(--text);
    padding-top: 2px;
}

/* ── PATCH NOTES ────────────────────────────────────────────── */
.dl-patch { margin-bottom: 20px; }

.dl-patch__version {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: var(--teal);
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.dl-patch__date {
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.dl-patch__notes {
    list-style: none;
    padding: 0;
}

.dl-patch__notes li {
    font-size: 0.82rem;
    color: var(--text);
    padding: 3px 0 3px 14px;
    position: relative;
}

.dl-patch__notes li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--teal-dim);
}

/* ── PATCH NOTES PANEL ──────────────────────────────────────── */
.dl-patches-panel { margin-top: 16px; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .dl-grid { grid-template-columns: 1fr; }
    .dl-main-card__body { flex-direction: column; align-items: flex-start; }
    .dl-main-card__actions { width: 100%; }
}
