:root {
  color: #e8edf7;
  background: #0b1020;
  font-family: "Segoe UI", "Malgun Gothic", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(45, 113, 255, .24), transparent 28rem),
    radial-gradient(circle at 8% 42%, rgba(121, 70, 255, .14), transparent 24rem),
    #0b1020;
}

button, a { font: inherit; }

.page-shell {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 48px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 34px 0 46px;
}

.brand-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(142, 176, 255, .5);
  border-radius: 18px;
  background: linear-gradient(145deg, #477eff, #7e54ff);
  box-shadow: 0 16px 42px rgba(50, 105, 255, .35);
  color: white;
  font-size: 32px;
  font-weight: 800;
}

.eyebrow, .section-label {
  margin: 0 0 10px;
  color: #8eafff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}

h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(34px, 6vw, 64px); line-height: 1.03; letter-spacing: -.04em; }
h2 { margin-bottom: 0; font-size: 26px; letter-spacing: -.03em; }

.hero-copy { margin-bottom: 0; color: #aeb9cf; font-size: 17px; }

.notice, .help-card {
  border: 1px solid rgba(134, 159, 211, .2);
  border-radius: 18px;
  background: rgba(25, 35, 61, .78);
}

.notice {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 17px 20px;
  color: #b9c7e2;
}

.notice strong { color: #fff; white-space: nowrap; }

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 58px 0 18px;
}

.refresh-button {
  padding: 10px 15px;
  border: 1px solid rgba(142, 176, 255, .35);
  border-radius: 10px;
  background: rgba(54, 80, 138, .45);
  color: #dce6ff;
  cursor: pointer;
}

.refresh-button:hover { background: rgba(69, 103, 181, .6); }
.status { min-height: 22px; margin-bottom: 14px; color: #8795b3; font-size: 14px; }
.status.error { color: #ff9b9b; }

.release-list { display: grid; gap: 14px; }

.release-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(134, 159, 211, .2);
  border-radius: 18px;
  background: rgba(21, 29, 51, .86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}

.release-card:hover { border-color: rgba(115, 151, 255, .55); }
.release-name { margin: 0 0 9px; color: #f5f8ff; font-size: 21px; }
.release-meta { margin: 0 0 13px; color: #9facbf; font-size: 13px; }
.release-hash { display: block; overflow-wrap: anywhere; color: #7889ad; font-family: Consolas, monospace; font-size: 11px; line-height: 1.5; }

.download-button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 11px;
  background: #4b7fff;
  color: white;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.download-button:hover { background: #6c98ff; }

.empty-card {
  padding: 34px 24px;
  border: 1px dashed rgba(134, 159, 211, .32);
  border-radius: 18px;
  color: #9facbf;
  text-align: center;
}

.help-card { margin-top: 34px; padding: 25px; }
.help-card ol { margin: 18px 0 0; padding-left: 21px; color: #b9c7e2; line-height: 1.9; }
.security-note { margin: 18px 0 0; color: #7f8eaa; font-size: 13px; }

footer { margin-top: 30px; color: #7785a1; font-size: 12px; text-align: center; }
footer a { color: #9db8ff; }

@media (max-width: 640px) {
  .page-shell { width: min(100% - 24px, 1040px); padding-top: 28px; }
  .hero { align-items: flex-start; padding-bottom: 34px; }
  .brand-mark { width: 48px; height: 48px; border-radius: 14px; font-size: 25px; }
  .notice { display: block; }
  .notice span { display: block; margin-top: 7px; }
  .toolbar { margin-top: 42px; }
  .release-card { grid-template-columns: 1fr; }
  .download-button { justify-self: start; }
}
