/* ==========================================================================
   Downloads page - BusOva Viewer
   ========================================================================== */

/* ---- Hero ---------------------------------------------------------------- */
.bo-dl-hero {
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
    color: #fff;
    background: linear-gradient(135deg,
        var(--color-primary) 0%,
        var(--color-primary-hover) 100%);
}

.bo-dl-hero-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 2.1rem;
}

.bo-dl-hero-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 0.5rem;
    letter-spacing: 0.3px;
}

.bo-dl-hero-sub {
    max-width: 560px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
    line-height: 1.5;
    opacity: 0.95;
}

.bo-dl-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.bo-dl-btn {
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.bo-dl-meta {
    font-size: 0.9rem;
    opacity: 0.92;
}

/* ---- Feature grid -------------------------------------------------------- */
.bo-dl-feature {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.bo-dl-feature > i {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(var(--color-primary-rgb), 0.12);
    color: var(--color-primary);
    font-size: 1.1rem;
}

.bo-dl-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--text-primary);
}

.bo-dl-feature p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ---- Requirements note --------------------------------------------------- */
.bo-dl-requirements {
    margin-top: 2rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.bo-dl-requirements i {
    color: var(--color-success);
}

/* ---- Changelog ----------------------------------------------------------- */
.bo-dl-changelog {
    position: relative;
    padding-left: 1.5rem;
}

/* vertical timeline line */
.bo-dl-changelog::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--border-color);
}

.bo-dl-release {
    position: relative;
    padding-bottom: 1.75rem;
}

.bo-dl-release:last-child {
    padding-bottom: 0;
}

/* timeline dot */
.bo-dl-release::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--color-primary);
}

.bo-dl-release-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.bo-dl-version {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.bo-dl-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: #fff;
}

.bo-dl-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bo-dl-notes {
    margin: 0 0 0.6rem;
    padding-left: 1.1rem;
}

.bo-dl-notes li {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.bo-dl-version-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.bo-dl-version-link:hover {
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .bo-dl-hero { padding: 2.25rem 1rem 2rem; }
}
