body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.downloads-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 80px;
  position: relative;
  z-index: 5;
  text-align: center;
}

.downloads-hero {
  max-width: 760px;
  margin: 0 auto 30px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #82e9ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.downloads-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 4.5rem);
  line-height: 1.05;
}

.downloads-hero h1 span {
  color: #4fc3f7;
}

.downloads-intro {
  max-width: 700px;
  margin: 20px 0;
  color: #b9cbe0;
  font: 1rem/1.7 Arial, sans-serif;
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(79, 195, 247, 0.28);
  border-radius: 999px;
  color: #dcecff;
  background: rgba(10, 20, 38, 0.76);
  font-size: 0.82rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fc3f7;
  box-shadow: 0 0 10px #4fc3f7;
}

.recommendation {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 38px;
  padding: 18px 20px;
  border: 1px solid rgba(79, 195, 247, 0.5);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(79, 195, 247, 0.14), rgba(8, 14, 29, 0.88));
  box-shadow: 0 0 24px rgba(79, 195, 247, 0.12);
}

.recommendation-label {
  display: block;
  margin-bottom: 4px;
  color: #82e9ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommendation strong {
  font-size: 1rem;
}

.recommendation p {
  margin: 0;
  color: #b9cbe0;
  font: 0.88rem/1.5 Arial, sans-serif;
  text-align: center;
}

.section-heading {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.section-heading h2,
.download-help h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
}

.release-link,
.tutorial-link a {
  color: #82e9ff;
}

.release-link {
  padding-bottom: 3px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.release-link:hover,
.release-link:focus-visible,
.tutorial-link a:hover,
.tutorial-link a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(130, 233, 255, 0.2);
  border-radius: 14px;
  background: rgba(12, 21, 39, 0.88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(130, 233, 255, 0.5);
}

.download-card.recommended {
  border-color: #4fc3f7;
  background: linear-gradient(145deg, rgba(21, 64, 86, 0.93), rgba(10, 18, 34, 0.94));
  box-shadow: 0 0 28px rgba(79, 195, 247, 0.28);
}

.card-topline {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.platform-name {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 800;
}

.recommended-badge {
  padding: 5px 8px;
  border-radius: 999px;
  color: #06111b;
  background: #82e9ff;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.architecture {
  display: inline-block;
  margin: 10px 0 14px;
  color: #82e9ff;
  font-size: 0.82rem;
  font-weight: 750;
}

.download-filename {
  min-height: 2.8em;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
  color: #94a9c1;
  font: 0.78rem/1.4 Consolas, monospace;
}

.download-meta {
  margin: 0 0 16px;
  color: #b9cbe0;
  font: 0.8rem Arial, sans-serif;
}

.download-action {
  display: block;
  padding: 10px 13px;
  border: 1px solid #4fc3f7;
  border-radius: 8px;
  color: #06111b;
  background: #4fc3f7;
  font-size: 0.84rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.download-action:hover,
.download-action:focus-visible {
  background: #82e9ff;
  border-color: #82e9ff;
}

.download-help {
  margin-top: 54px;
  padding: 24px;
  border: 1px solid rgba(130, 233, 255, 0.16);
  border-radius: 14px;
  background: rgba(10, 18, 34, 0.82);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.guide-grid div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.guide-grid strong {
  color: #82e9ff;
}

.guide-grid span,
.tutorial-link,
.error-message {
  color: #b9cbe0;
  font: 0.84rem/1.5 Arial, sans-serif;
}

.tutorial-link {
  margin: 20px 0 0;
}

.error-message {
  padding: 18px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 10px;
}

@media (max-width: 900px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .downloads-main {
    width: min(100% - 22px, 1120px);
    padding-top: 48px;
  }

  .recommendation,
  .section-heading {
    align-items: center;
  }

  .recommendation p {
    text-align: center;
  }

  .download-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}
