/* Base Layout */
body {
  margin: 0;
  font-family: "Hanken Grotesk", Arial, sans-serif;
  background: hsl(221, 100%, 96%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  max-width: 740px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Left side */
.result {
  flex: 1 1 300px;
  background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
  color: white;
  text-align: center;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* This centers circle vertically */
}

.result h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: hsl(241, 100%, 89%);
  margin: 0;
}

.circle {
  background: linear-gradient(
    hsla(256, 72%, 46%, 1),
    hsla(241, 72%, 46%, 0)
  );
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.circle .score {
  font-size: 3.5rem;
  font-weight: 800;
}

.circle .of {
  font-size: 0.9rem;
  color: hsl(241, 100%, 89%);
}

.result h3 {
  font-size: 1.6rem;
  margin: 0.5rem 0 0 0;
}

.result p {
  color: hsl(241, 100%, 89%);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 230px;
  margin: 0 auto;
}

/* Right side */
.summary {
  flex: 1 1 300px;
  padding: 2.5rem 2rem;
}

.summary h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.item {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.item .max {
  color: gray;
  font-weight: 500;
}

/* Category colors */
.reaction {
  background: hsla(0, 100%, 67%, 0.07);
  color: hsl(0, 100%, 67%);
}

.memory {
  background: hsla(39, 100%, 56%, 0.07);
  color: hsl(39, 100%, 56%);
}

.verbal {
  background: hsla(166, 100%, 37%, 0.07);
  color: hsl(166, 100%, 37%);
}

.visual {
  background: hsla(234, 85%, 45%, 0.07);
  color: hsl(234, 85%, 45%);
}

.continue {
  width: 100%;
  padding: 1rem;
  background: hsl(224, 30%, 27%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
}

.continue:hover {
  background: hsl(224, 30%, 20%);
}

/* Responsive */
@media (max-width: 650px) {
  .container {
    flex-direction: column;
    border-radius: 0;
  }
}
