
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


:root {
  --light-red: hsl(0, 100%, 67%);
  --orangey-yellow: hsl(39, 100%, 56%);
  --green-teal: hsl(166, 100%, 37%);
  --cobalt-blue: hsl(234, 85%, 45%);

  --bg-gradient: linear-gradient(
    hsl(252, 100%, 67%),
    hsl(241, 81%, 54%)
  );

  --circle-gradient: linear-gradient(
    hsla(256, 72%, 46%, 1),
    hsla(241, 72%, 46%, 0)
  );

  --white: hsl(0, 0%, 100%);
  --pale-blue: hsl(221, 100%, 96%);
  --light-lavender: hsl(241, 100%, 89%);
  --dark-gray-blue: hsl(224, 30%, 27%);
}


body {
  min-height: 100vh;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 18px;
  background-color: var(--pale-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}


.card {
  width: 100%;
  max-width: 740px;
  background-color: var(--white);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}


.result {
  background: var(--bg-gradient);
  color: var(--light-lavender);
  padding: 2.5rem 2rem;
  text-align: center;
}

.result h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.score-circle {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--circle-gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.total {
  font-size: 0.9rem;
  opacity: 0.7;
}

.result h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.result p {
  font-size: 1rem;
  line-height: 1.4;
  max-width: 260px;
  margin: 0 auto;
}


.summary {
  padding: 2rem;
}

.summary h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-gray-blue);
  margin-bottom: 1.5rem;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}


.summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
}

.summary-list .left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.summary-list img {
  width: 20px;
  height: 20px;
}

.summary-list .right {
  font-weight: 700;
  color: var(--dark-gray-blue);
}

.summary-list .right span {
  color: #9ca3af;
  font-weight: 500;
}




.reaction {
  background-color: hsla(0, 100%, 67%, 0.1);
  color: var(--light-red);
}

.memory {
  background-color: hsla(39, 100%, 56%, 0.1);
  color: var(--orangey-yellow);
}

.verbal {
  background-color: hsla(166, 100%, 37%, 0.1);
  color: var(--green-teal);
}

.visual {
  background-color: hsla(234, 85%, 45%, 0.1);
  color: var(--cobalt-blue);
}

.summary strong {
  color: var(--dark-gray-blue);
  font-weight: 700;
}


.btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 999px;
  background-color: var(--dark-gray-blue);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  background: var(--bg-gradient);
}


@media (min-width: 768px) {
  .card {
    grid-template-columns: 1fr 1fr;
  }

  .result {
    border-radius: 24px;
  }
}




