/* IRGEZTNE Workspace download cards — scoped page layer */
.download-page { min-height: 60vh; }
.download-title-panel { position: relative; overflow: hidden; }
.download-title-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,210,255,.18), rgba(36,124,255,.09) 45%, transparent 70%);
  pointer-events: none;
}
.download-release-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.release-version,
.release-caution,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(122,180,255,.24);
  background: rgba(13,34,66,.72);
  color: #d9eaff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.release-version { border-color: rgba(25,210,255,.34); background: rgba(13,105,155,.22); }
.release-caution { color: var(--muted); }
.download-options { padding-top: 44px; }
.download-section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.75fr);
  gap: 32px;
  align-items: end;
}
.download-section-head p:last-child { justify-self: end; max-width: 56ch; }
.download-cards-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}
.download-card {
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.download-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -95px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,124,255,.18), transparent 70%);
  pointer-events: none;
}
.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126,193,255,.42);
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
}
.download-card.is-recommended {
  /* Recommendation is communicated by the badge, not by a second active-card highlight. */
}
.download-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.platform-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid rgba(126,193,255,.3);
  background: linear-gradient(145deg,rgba(36,124,255,.28),rgba(10,30,61,.84));
  color: #fff;
  font-size: 18px;
  font-weight: 1000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.status-pill { min-height: 28px; padding-inline: 10px; font-size: 11px; text-align: center; }
.status-recommended { color: #dffaff; border-color: rgba(25,210,255,.42); background: rgba(10,126,165,.23); }
.status-experimental { color: #d7e3f5; }
.platform-name {
  margin: 0 0 4px;
  color: #7dbaff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.download-card h2 { margin: 0; font-size: clamp(31px,2.1vw,42px); line-height: 1; letter-spacing: -.035em; }
.download-card > p { margin: 0; color: var(--muted); }
.download-button { width: 100%; margin-top: auto; gap: 10px; }
.download-button span:last-child { margin-left: 0; }
.download-notes-section { padding-top: 16px; }
.download-notes-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: stretch; }
.download-note-main, .download-release-card { padding: 32px; }
.download-note-main h2, .download-release-card h2 { margin: 0 0 14px; font-size: clamp(30px,3vw,46px); }
.download-note-main p, .download-release-card p { color: var(--muted); }
.code-note {
  overflow-x: auto;
  margin: 14px 0 20px;
  padding: 15px 17px;
  border-radius: 15px;
  border: 1px solid rgba(122,180,255,.2);
  background: rgba(1,7,14,.55);
  color: #dcecff;
  font-size: 14px;
}
.download-release-card { display: flex; flex-direction: column; }
.download-side-actions { display: grid; gap: 11px; margin-top: auto; padding-top: 22px; }
@media (max-width: 1280px) {
  .download-cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .download-card { min-height: 350px; }
}
@media (max-width: 900px) {
  .download-section-head, .download-notes-grid { grid-template-columns: 1fr; }
  .download-section-head p:last-child { justify-self: start; }
}
@media (max-width: 620px) {
  .download-cards-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 0; padding: 21px; }
  .download-note-main, .download-release-card { padding: 24px; }
  .download-release-line { align-items: stretch; }
  .release-version, .release-caution { width: 100%; justify-content: center; text-align: center; }
}
