body {
  background: linear-gradient(135deg, #ffe6f5, #dce0ff, #fff8c8);
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
  color: #4f50aa;
  text-align: center;
  padding: 30px;
}

/* main box */
.container {
  background: #fffdfd;
  border: 4px dashed #ffcce6;
  border-radius: 20px;
  padding: 20px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 0 10px #ffe0f0;
}

h1 {
  color: #7f8fff;
  font-size: 22px;
}

.subtitle {
  color: #ff80a0;
  margin-bottom: 10px;
}

/* cute buttons */
.tabs label {
  display: inline-block;
  background: #ffd0ee;
  border: 2px solid #d49fff;
  border-radius: 10px;
  padding: 8px 14px;
  margin: 5px;
  cursor: pointer;
  color: #7f8fff;
  transition: all 0.2s ease;
  box-shadow: 0 3px 0 #d49fff;
}

.tabs label:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 0 #d49fff;
}

.tabs input {
  display: none;
}

/* content box */
.content {
  background: #fff2fb;
  border: 2px solid #ffb6e0;
  border-radius: 14px;
  margin-top: 20px;
  padding: 15px;
  box-shadow: inset 0 0 8px #ffd6f0;
  text-align: left;
  font-size: 13px;
  max-height: 200px;
  overflow-y: auto;
}

/* show/hide logic */
#tab1:checked ~ .content .tos1,
#tab2:checked ~ .content .tos2,
#tab3:checked ~ .content .tos3 {
  display: block;
  animation: fadeIn 0.4s ease;
}

.tos1,
.tos2,
.tos3 {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* scrollbar for cute effect */
.content::-webkit-scrollbar {
  width: 8px;
}

.content::-webkit-scrollbar-thumb {
  background: #ffb6e0;
  border-radius: 10px;
}

.content::-webkit-scrollbar-track {
  background: #fff;
}
