@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

body {
  background: #111;
  font-family: "Atkinson Hyperlegible", ui-sans-serif, sans-serif, system-ui;
  text-align: left;
  overflow-wrap: break-word;
  color: #fff;
  font-size: 20px;
  line-height: 1.7;
  width: 720px;
  max-width: calc(100% - 2em);
  margin: auto;
  padding: 3em 1em;
}

a {
  color: #0DBEFA;
}

/* a:visited {
  color: #5071FF;
} */

.muted {
  color: #ffffff7f;
}

.btn {
  background: #7125dc;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  padding: 6px 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  width: max-content;
  gap: 6px;
}

.btn:visited {
  color: #fff;
}

.btn:hover {
  background-color: #c5b4fe;
}

.btn-secondary {
  background: #333;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #555;
}

.button-group path,
.btn path {
  fill: #fff;
}

.buttons {
  margin: .5em 0;
}

.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}

.more-options path {
  fill: #c5b4fe;
}

.more-options {
  color: #c5b4fe;
  text-decoration: none;
}

.try {
  color: #c5b4fe;
  text-decoration: none;
  font-size: 0.9em;
  margin-bottom: 0.5em;
}

.try:hover {
  text-decoration: underline;
}

.more-options span:hover {
  text-decoration: underline;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
  opacity: 0.7;
}

.dropdown-container {
  position: relative;
}

.dropdown {
  text-wrap: nowrap;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #222;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 4px;
  min-width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
}

.dropdown.show {
  display: block;
}

.dropdown-item {
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  margin: 2px 0;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-item:hover {
  background: #333;
}

.dropdown-item .version-name {
  font-weight: 500;
}

.dropdown-item .version-size {
  color: #888;
  font-size: 14px;
  margin-left: 8px;
}

.dropdown-item .version-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommended-badge {
  outline: 2px solid #7125dc;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: 600;
}

.dropdown-loading {
  padding: 16px;
  text-align: center;
  color: #888;
}

.feat p {
  margin: .2em 0;
  font-size: .9em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


.background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.background::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image: url('/texture.png');
  background-size: 391px 391px;
  background-position: top left;
  background-repeat: repeat;
}

.backgroundGradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 130%;
  pointer-events: none;
}