.release-download-panel {
    gap: 1rem;
}

.hero-download-version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.38rem 0.68rem;
    border-radius: 999px;
    background: rgba(7, 16, 31, 0.22);
    color: rgba(241, 246, 255, 0.88);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-download-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.hero-download-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.85rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(235, 243, 255, 0.84);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-download-tab:hover,
.hero-download-tab.is-active {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.26);
    color: #fff;
}

.hero-download-tab-icon,
.hero-download-button-os-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    flex: 0 0 auto;
}

.hero-download-tab-icon svg,
.hero-download-button-os-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.hero-download-panel.is-windows .hero-download-badge,
.hero-download-panel.is-windows .hero-download-button {
    background-image: linear-gradient(135deg, rgba(53, 116, 255, 0.98), rgba(31, 194, 255, 0.96));
}

.hero-download-panel.is-linux .hero-download-badge,
.hero-download-panel.is-linux .hero-download-button {
    background-image: linear-gradient(135deg, rgba(255, 146, 64, 0.98), rgba(255, 87, 87, 0.96));
}

.hero-download-panel.is-macos .hero-download-badge,
.hero-download-panel.is-macos .hero-download-button {
    background-image: linear-gradient(135deg, rgba(109, 86, 255, 0.98), rgba(255, 116, 196, 0.96));
}

.hero-download-panel.is-windows .hero-download-tab.is-active {
    box-shadow: 0 0 0 1px rgba(69, 175, 255, 0.45) inset;
}

.hero-download-panel.is-linux .hero-download-tab.is-active {
    box-shadow: 0 0 0 1px rgba(255, 156, 92, 0.5) inset;
}

.hero-download-panel.is-macos .hero-download-tab.is-active {
    box-shadow: 0 0 0 1px rgba(173, 117, 255, 0.55) inset;
}

.release-download-loading {
    display: grid;
    gap: 0.5rem;
}

.release-download-loading strong {
    color: #fff;
    font-size: 1.36rem;
}

.release-download-loading p {
    color: rgba(236, 243, 255, 0.84);
    font-size: 0.94rem;
}

@media (max-width: 640px) {
    .hero-download-tabs {
        grid-template-columns: 1fr;
    }

    .hero-download-version {
        width: 100%;
    }
}
