:root {
  --lime: #aed423;
  --dark-green: #045b5c;
  --blue: #3894fb;
  --blue-dark: #2c4c99;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.78);
  --border: rgba(255, 255, 255, 0.25);
}

html, body {
  height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lime), var(--dark-green));
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: clamp(12px, 4vh, 24px);
}

.page {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  padding: clamp(16px, 4vh, 32px) 28px;
  text-align: center;
  overflow: hidden;
}

.logo {
  width: clamp(72px, 16vh, 160px);
  height: clamp(72px, 16vh, 160px);
  margin: 0 auto clamp(8px, 2vh, 16px);
  object-fit: contain;
}

h1 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
}

.subtitle {
  margin: 0 0 clamp(12px, 3vh, 24px);
  color: var(--text-secondary);
  font-size: 14px;
}

.version-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: clamp(12px, 3vh, 20px);
  backdrop-filter: blur(4px);
}

.version-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.version-number {
  font-size: 18px;
  font-weight: 700;
}

.version-date {
  font-size: 12px;
  color: var(--text-secondary);
}

.download-button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--blue-dark);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: opacity 0.15s ease;
}

.download-button:hover {
  opacity: 0.9;
}

.download-size {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
}

.changelog {
  text-align: left;
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.changelog h2 {
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--text);
}

.changelog-content {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  white-space: pre-wrap;
}

.changelog-empty {
  margin: 0;
}

.changelog-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text);
  text-decoration: underline;
}

.install-help {
  margin: 24px 0 0;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}
