.mode-card:nth-child(1) { --card-color: #ffd85c; }
.mode-card:nth-child(2) { --card-color: #8ee08c; }
.mode-card:nth-child(3) { --card-color: #aed8de; }
.mode-card:nth-child(4) { --card-color: #cbb0f4; }
.mode-card:nth-child(5) { --card-color: #ff9a8d; }
.mode-card:nth-child(6) { --card-color: #ffc17e; }
.mode-card:nth-child(7) { --card-color: #f5a9cf; }
.mode-card:nth-child(8) { --card-color: #79d9d2; }

.item-visual {
  display: grid;
  width: clamp(118px, 19vw, 190px);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
  font-size: clamp(4.5rem, 12vw, 8rem);
  line-height: 1;
  background: linear-gradient(145deg, #fffdeb, #eaf8e9);
  border: 5px solid white;
  border-radius: 34px;
  box-shadow: 0 9px 0 #cbe6c9, 0 15px 30px rgba(38, 94, 56, .18);
}

.item-visual--learn {
  width: clamp(236px, 38vw, 380px);
}

.vocab-image {
  display: block;
  object-fit: contain;
}

.vocab-image--mode {
  width: 58px;
  height: 58px;
}

.vocab-image--feature {
  width: 100%;
  height: 100%;
}

.item-name {
  margin: 16px 0 4px;
  color: var(--green-900);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.definition-card {
  width: min(760px, 100%);
  margin: 10px auto 0;
  padding: 12px 18px;
  color: #315744;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  background: #eef9e9;
  border: 3px solid #c2e7bc;
  border-radius: 18px;
}

.plant-skyline {
  position: absolute;
  right: 4%;
  bottom: 3%;
  z-index: -1;
  color: rgba(28, 112, 57, .08);
  font-size: min(22vw, 230px);
  pointer-events: none;
}
