* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eaf6ff;
  background:
    radial-gradient(circle at top, #123b5c, transparent 40%),
    linear-gradient(135deg, #07111f, #020712);
}

.app {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 60px 0;
}

.hero {
  text-align: center;
  margin-bottom: 36px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(99, 210, 255, .4);
  border-radius: 999px;
  color: #63d2ff;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(42px, 8vw, 78px);
  margin: 0;
  letter-spacing: -0.05em;
}

p {
  color: #9bb7c9;
  font-size: 18px;
}

.card, .results {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(12px);
  margin-bottom: 22px;
}

label {
  display: block;
  color: #9bb7c9;
  margin-bottom: 10px;
}

select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: #07111f;
  color: #eaf6ff;
  font-size: 16px;
}

.status {
  margin-top: 14px;
  color: #63d2ff;
}

.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}

.results span {
  display: block;
  color: #9bb7c9;
}

.results strong {
  display: block;
  font-size: clamp(34px, 7vw, 62px);
  margin-top: 8px;
}

.results small {
  color: #63d2ff;
}

button {
  width: 100%;
  padding: 18px;
  border: 0;
  border-radius: 18px;
  color: #03101c;
  background: linear-gradient(135deg, #63d2ff, #2df5c8);
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
}

button:disabled {
  opacity: .5;
  cursor: wait;
}

.footer {
  text-align: center;
  color: #6f8ba0;
  margin-top: 30px;
}

@media (max-width: 700px) {
  .results {
    grid-template-columns: 1fr;
  }
}

.gauge-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 22px;
  text-align: center;
}

.gauge {
  --value: 0deg;
  width: 190px;
  height: 190px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background:
    conic-gradient(#2df5c8 var(--value), rgba(255,255,255,.12) 0deg);
  display: grid;
  place-items: center;
}

.gauge::before {
  content: "";
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: #07111f;
  position: absolute;
}

.gauge-center {
  position: relative;
  z-index: 1;
}

.gauge-center strong {
  display: block;
  font-size: 42px;
}

.gauge-center span,
.gauge-label {
  color: #9bb7c9;
}
