html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.latest-dl-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
  align-items: stretch;
}

.latest-dl-btn {
  flex: 1 1 200px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.35rem;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.96) !important;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -18px 28px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  position: relative;
  overflow: hidden;
}

.latest-dl-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.08) 36%,
    rgba(255, 255, 255, 0) 52%
  );
  pointer-events: none;
}

.latest-dl-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -18px 28px rgba(0, 0, 0, 0.1),
    0 10px 22px rgba(0, 0, 0, 0.22);
  color: #fff !important;
}

.latest-dl-btn:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.latest-dl-btn__icon {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
}

.latest-dl-btn__icon--stroke {
  overflow: visible;
}

.latest-dl-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  position: relative;
  z-index: 1;
  text-align: left;
}

.latest-dl-btn__label {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.latest-dl-btn__hint {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.latest-dl-btn--windows {
  background: linear-gradient(180deg, #3d8eef 0%, #1565c0 45%, #0d47a1 100%);
}

.latest-dl-btn--linux {
  background: linear-gradient(180deg, #ff5f52 0%, #e53935 45%, #b71c1c 100%);
}

.latest-dl-btn--dotnet {
  background: linear-gradient(180deg, #58c270 0%, #2e7d32 45%, #1b5e20 100%);
}
