/* ===== WARISAN SECTION (upgrade selaras video.css) ===== */

#warisanSection .card-soft {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(15,23,42,.08);
  position: relative;
  overflow: hidden;
  transition: all .28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* accent bar atas */
#warisanSection .card-soft::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #22c55e);
  opacity: .9;
}

#warisanSection .card-soft:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15,23,42,.14);
  border-color: rgba(11,122,117,.32);
}

body.dark-mode #warisanSection .card-soft {
  background: linear-gradient(135deg, rgba(30,41,59,.78), rgba(15,23,42,.94));
  border-color: rgba(148,163,184,.26);
  box-shadow: 0 14px 34px rgba(0,0,0,.78);
}

/* ruang antar kartu hasil */
.warisan-result .card-soft {
  margin-bottom: .6rem;
}

/* tombol info kecil */
.warisan-info-btn {
  border: 1px solid rgba(148,163,184,.25);
  background: linear-gradient(135deg, #f8fafc, #e5e7eb);
  width: 26px;
  height: 26px;
  border-radius: .6rem;
  display: grid;
  place-items: center;
  font-size: .7rem;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(15,23,42,.12);
  transition: all .22s cubic-bezier(0.4, 0, 0.2, 1);
}

.warisan-info-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--color-primary), #0ea5e9);
  color: #ffffff;
  border-color: rgba(11,122,117,.45);
  box-shadow: 0 6px 16px rgba(15,23,42,.18);
}

body.dark-mode .warisan-info-btn {
  background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(30,64,175,.8));
  color: #e2e8f0;
  border-color: rgba(148,163,184,.4);
  box-shadow: 0 4px 12px rgba(0,0,0,.6);
}

/* box penjelasan / note */
.warisan-info-box {
  background: linear-gradient(135deg, rgba(248,250,252,.94), rgba(241,245,249,.96));
  border: 1px solid rgba(148,163,184,.35);
  border-radius: .7rem;
  padding: .5rem .6rem;
  font-size: .64rem;
  line-height: 1.35;
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
}

body.dark-mode .warisan-info-box {
  background: linear-gradient(135deg, rgba(15,23,42,.9), rgba(15,23,42,.96));
  border-color: rgba(148,163,184,.4);
  color: #e5e7eb;
  box-shadow: 0 10px 24px rgba(0,0,0,.7);
}
